]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix dbl-64 atan in non-default rounding modes (bug 18197).
[glibc.git] / ChangeLog
CommitLineData
ae63c7eb
JM
12015-04-08 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #18197]
4 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5 (atan): Set FE_TONEAREST mode for internal computations.
6 * math/auto-libm-test-in: Add more tests of atan.
7 * math/auto-libm-test-out: Regenerated.
8
d5856d06
JC
92015-04-07 James Cowgill <james410@cowgill.org.uk>
10
11 [BZ #17930]
12 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
13
72301304
FW
142015-04-07 Florian Weimer <fweimer@redhat.com>
15
16 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
17
cfcfd461
FW
182015-04-07 Florian Weimer <fweimer@redhat.com>
19
20 * include/scratch_buffer.h: New file.
21 * malloc/scratch_buffer_grow.c: Likewise.
22 * malloc/scratch_buffer_grow_preserve.c: Likewise.
23 * malloc/scratch_buffer_set_array_size.c: Likewise.
24 * malloc/tst-scratch_buffer.c: Likewise.
25 * malloc/Makefile (routines): Add scratch_buffer_grow.
26 (tests): Add test case.
27 * malloc/Versions (GLIBC_PRIVATE): Export
28 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
29 __libc_scratch_buffer_set_array_size.
30
cc47c824
RH
312015-04-06 Richard Henderson <rth@redhat.com>
32
33 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 34 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 35
9e8c0381
RH
36 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
37 unsigned int before printing.
38
9781a370
OB
392015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40
41 [BZ #17596]
42 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
43 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44
37d60d97
FW
452015-04-02 Florian Weimer <fweimer@redhat.com>
46
47 * include/libc-internal.h (libc_max_align_t): Define.
48
b763f6ae
AS
492015-04-02 Andreas Schwab <schwab@suse.de>
50
51 [BZ #16850]
52 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
53
c26efef9
MG
542015-04-02 Mel Gorman <mgorman@suse.de>
55
56 [BZ #17195]
57 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
58 as well as the main arena.
59
a3d9ab50
L
602015-03-31 H.J. Lu <hongjiu.lu@intel.com>
61
62 [BZ #18185]
63 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
64 sharing L2 cache to 2 for Silvermont/Knights Landing.
65
83569fb8
L
662015-03-31 H.J. Lu <hongjiu.lu@intel.com>
67
68 [BZ #17711]
69 * config.make.in (have-protected-data): New.
70 * configure.ac: Check linker support for protected data symbol.
71 * configure: Regenerated.
72 * elf/Makefile (modules-names): Add tst-protected1moda and
73 tst-protected1modb if $(have-protected-data) is yes.
74 (tests): Add tst-protected1a and tst-protected1b if
75 $(have-protected-data) is yes.
76 ($(objpfx)tst-protected1a): New.
77 ($(objpfx)tst-protected1b): Likewise.
78 (tst-protected1modb.so-no-z-defs): Likewise.
79 * elf/tst-protected1a.c: New file.
80 * elf/tst-protected1b.c: Likewise.
81 * elf/tst-protected1mod.h: Likewise.
82 * elf/tst-protected1moda.c: Likewise.
83 * elf/tst-protected1modb.c: Likewise.
84
62da1e3b
L
852015-03-31 H.J. Lu <hongjiu.lu@intel.com>
86
87 [BZ #17711]
88 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
89 indicates it is called from do_lookup_x on relocation against
90 protected data, skip the data definion in the executable from
91 copy reloc.
92 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
93 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
94 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
95 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
96 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
97 otherwise to 0.
98 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
99 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
100 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
101 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
102 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
103 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
104
675ddb71
MG
1052015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
106
107 * sysdeps/nptl/pthread.h: Remove duplicate definition of
108 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
109
4d611e12
MG
1102015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
111
112 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
113 THREAD_SETMEM_NC.
114 * sysdeps/x86_64/nptl/tls.h: Ditto.
115
7285eb53
RM
1162015-03-27 Roland McGrath <roland@hack.frob.com>
117
118 * dlfcn/tststatic.c (main): Converted to ...
119 (do_test): ... this.
120 (TEST_FUNCTION): New macro.
121 Include test-skeleton.c.
122
19a6a3ac
AM
1232015-03-26 Alan Modra <amodra@gmail.com>
124
125 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
126 Don't segfault if ifunc resolver returns a NULL. Do set plt to
127 zero for undefined weak.
128 (elf_machine_plt_conflict): Similarly.
129
a9fe4c5a
JM
1302015-03-25 Joseph Myers <joseph@codesourcery.com>
131
efd5b641
JM
132 * math/auto-libm-test-in: Add more tests of acosh, asinh and
133 atanh.
134 * math/auto-libm-test-out: Regenerated.
135 * sysdeps/i386/fpu/libm-test-ulps: Update.
136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
137
e9b10151
JM
138 * math/auto-libm-test-in: Add another test of asin.
139 * math/auto-libm-test-out: Regenerated.
140 * sysdeps/i386/fpu/libm-test-ulps: Update.
141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
142
9fa55373
JM
143 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
144 Remove macro.
145 (LLL_EBX_REG): Likewise.
146 (LLL_ENTER_KERNEL): Likewise.
147
38755f14
JM
148 * math/auto-libm-test-in: Add more tests of asin.
149 * math/auto-libm-test-out: Regenerated.
150 * sysdeps/i386/fpu/libm-test-ulps: Update.
151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
152
a9fe4c5a
JM
153 [BZ #18138]
154 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
155 libc_do_syscall_args): New structure.
156 (INTERNAL_SYSCALL_MAIN_0): New macro.
157 (INTERNAL_SYSCALL_MAIN_1): Likewise.
158 (INTERNAL_SYSCALL_MAIN_2): Likewise.
159 (INTERNAL_SYSCALL_MAIN_3): Likewise.
160 (INTERNAL_SYSCALL_MAIN_4): Likewise.
161 (INTERNAL_SYSCALL_MAIN_5): Likewise.
162 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
163 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
164 Replace conditional definitions by conditional definitions of ....
165 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
166 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
167 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
168 (libpthread-sysdep_routines): Add libc-do-syscall.
169 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
170 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
171 to __NR_futex not 240.
172
afcd9480
AM
1732015-03-25 Alan Modra <amodra@gmail.com>
174
175 * NEWS: Advertise TLS optimization.
176 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
177 (DT_PPC_NUM): Increment.
178 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
179 (CHECK_STATIC_TLS): Use here.
180 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
181 TLS descriptors.
182 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
183 * sysdeps/powerpc/dl-tls.c: New file.
184 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
185 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
186 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
187 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
191
da9f3334
AM
1922015-03-25 Alan Modra <amodra@gmail.com>
193
194 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
195 for overlapping .opd entries" to "support...".
196 * sysdeps/powerpc/powerpc64/configure: Regenerate
197
bc899ea0
JM
1982015-03-25 Joseph Myers <joseph@codesourcery.com>
199
8d643971
JM
200 * math/auto-libm-test-in: Add more tests of acos.
201 * math/auto-libm-test-out: Regenerated.
202 * sysdeps/i386/fpu/libm-test-ulps: Update.
203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
204
bc899ea0
JM
205 * math/auto-libm-test-in: Add more tests of expm1.
206 * math/auto-libm-test-out: Regenerated.
207 * sysdeps/i386/fpu/libm-test-ulps: Update.
208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
209
7c84a504
JM
2102015-03-24 Joseph Myers <joseph@codesourcery.com>
211
239ed6f3
JM
212 * math/auto-libm-test-in: Add more tests of cosh and sinh.
213 * math/auto-libm-test-out: Regenerated.
214 * sysdeps/i386/fpu/libm-test-ulps: Update.
215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
216
a737e826
JM
217 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
219
7c84a504
JM
220 * math/auto-libm-test-in: Add more tests of log2.
221 * math/auto-libm-test-out: Regenerated.
222 * sysdeps/i386/fpu/libm-test-ulps: Update.
223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
224
7e9c7b9b
RM
2252015-03-23 Roland McGrath <roland@hack.frob.com>
226
227 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
228 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
229 _IO_IS_APPENDING bit in READ_WRITE instead.
230
98734cc5
FW
2312015-03-23 Florian Weimer <fweimer@redhat.com>
232
233 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
234 (__determine_cpumask_size): Replace extend_alloca with a
235 variable-length array. Do not treat res == 0 as an error.
236
2b028564
FW
2372015-03-23 Florian Weimer <fweimer@redhat.com>
238
239 [BZ #18100]
240 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
241 and integer overflow.
242 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
243 (main): Add integer overflow tests.
244 * manual/pattern.texi (Calling Wordexp): Document additional use
245 for WRDE_SYNTAX.
246
59261ad3
AM
2472015-03-23 Alan Modra <amodra@gmail.com>
248
249 * config.h.in: Remove HAVE_ASM_PPC_REL16.
250 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
251 and false branch of conditional.
252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
253 Likewise.
254
d583531a
ST
2552015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
256
257 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
258 libc-modules.h
868df0f9
ST
259 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
260 unused declaration of _hurd_intr_rpc_msg_in_trap.
261 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
262 defined instead of whether it is non-zero.
263 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
264 input constraint instead of both input and output constraint. Use ecx
265 clobber instead of %ecx.
266 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
267 mutex_unlock): Use a statement expression instead of an expression list.
268 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
269 type to vm_size_t instead of vm_address_t.
270 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
271 defined instead of whether it is non-zero.
272 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
273 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
274 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
275 comparisons with mapaddr.
276 * nscd/nscd-client.h: Include <time.h>.
277 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
278 9th parameter to __vm_region instead of int.
661a7dba 279 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
280 * scripts/check-local-headers.sh (exclude): Add device/,
281 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
282 cthreads.h.
d583531a 283
298e5d56
RM
2842015-03-19 Roland McGrath <roland@hack.frob.com>
285
286 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
287 to account for alignment padding.
288 * sysdeps/arm/memmove.S: Likewise.
289
becb26b8
CM
2902015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
291
292 * sysdeps/unix/sysv/linux/generic/README: New file.
293
c2f5813a
JM
2942015-03-18 Joseph Myers <joseph@codesourcery.com>
295
296 [BZ #18138]
297 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
298 (futex_abstimed_wait)
299 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
300 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
301 of lll_futex_timed_wait.
302
ed6b0fe7
BH
3032015-03-18 Brad Hubbard <bhubbard@redhat.com>
304
305 [BZ #17542]
306 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
307
f8aeae34
AO
3082015-03-17 Alexandre Oliva <aoliva@redhat.com>
309
310 [BZ #17090]
311 [BZ #17620]
312 [BZ #17621]
313 [BZ #17628]
314 * NEWS: Update.
315 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
316 entries with Static TLS too. Skip entries past the end of the
317 allocated DTV, from Alan Modra.
318 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
319 Static TLS DTV entry set up from...
320 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
321 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
322 * nptl/allocatestack.c (init_one_static_tls): ... and here...
323 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
324 for Static TLS.
325 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
326 that the slot we find is associated with the given map before
327 using its generation count.
328 * nptl_db/db_info.c: Include ldsodefs.h.
329 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
330 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
331 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
332 (link_map::l_tls_offset): New struct field.
333 (dtv_t::counter): Likewise.
334 (rtld_global): New struct.
335 (_rtld_global): New rtld variable.
336 (dl_tls_dtv_slotinfo_list): New rtld global field.
337 (dtv_slotinfo_list): New struct.
338 (dtv_slotinfo): Likewise.
339 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
340 (td_lookup): Rename to...
341 (td_mod_lookup): ... this. Use new mod parameter instead of
342 LIBPTHREAD_SO.
343 * nptl_db/td_thr_tlsbase.c: Include link.h.
344 (dtv_slotinfo_list, dtv_slotinfo): New functions.
345 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
346 addresses even if the DTV is out of date or missing them.
347 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
348 index zero-length arrays.
349 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
350 (td_lookup): Make it a macro implemented in terms of...
351 (td_mod_lookup): ... this declaration.
352 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
353 (DB_MAIN_VARIABLE): Likewise.
354
b97eb2bd
L
3552015-03-16 H.J. Lu <hongjiu.lu@intel.com>
356
357 [BZ #18134]
358 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
359
cb219290
PE
3602015-03-15 Paul Eggert <eggert@cs.ucla.edu>
361
362 * stdlib/setenv.c (__add_to_environ): Revert previous change.
363
a3905fd9
AS
3642015-03-14 Andreas Schwab <schwab@linux-m68k.org>
365
366 [BZ #18128]
367 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
368 (atomic_add, atomic_increment_and_test)
369 (atomic_decrement_and_test): Fix 64-bit arithmetic.
370
2ecccaed
PE
3712015-03-13 Paul Eggert <eggert@cs.ucla.edu>
372
373 * stdlib/setenv.c (__add_to_environ):
374 Dump core quickly if setenv (..., NULL, ...) is called.
375
cdaf79d0
RM
3762015-03-13 Roland McGrath <roland@hack.frob.com>
377
378 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
379 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
380 all the necessary asm magic in one place.
381 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
382 using those.
383
cf9313e7
CD
3842015-03-13 Carlos O'Donell <carlos@redhat.com>
385
386 [BZ #14906]
387 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
388 traced file mtime. Use consistent log message.
389 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
390 (register_traced_file): Call install_watches. Always set mtime.
391 (invalidate_cache): Iterate over all trace files. Call install_watches.
392 (inotify_check_files): Don't inline. Handle watching parent
393 directories and configuration file movement in and out.
394 (handle_inotify_events): New function.
395 (main_loop_poll): Call handle_inotify_events.
396 (main_loop_epoll): Likewise.
397 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
398 (struct traced_file): Use array of inotify fds. Add parent directory,
399 and basename.
400 (struct database_dyn): Remove unused file_mtime.
401 (init_traced_file): New inline function.
402 (define_traced_file): New macro.
403 * nss/nss_db/db-init.c: Use define_traced_file.
404 (_nss_db_init): Use init_traced_file.
405 * nss/nss_files/files-init.c: Use define_traced_file.
406 (_nss_files_init): Use init_traced_file.
407
7d67a196
JM
4082015-03-12 Joseph Myers <joseph@codesourcery.com>
409
410 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
411 [_LIBC]: Do not include <stdlib.h>.
412 [!_LIBC] (abort): Remove declaration.
413 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
414 _FP_STATIC_ASSERT instead of conditionally calling abort.
415 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
416 (_FP_EXTEND_CNAN): Likewise.
417 (FP_TRUNC): Likewise.
418 (__FP_CLZ): Likewise.
419 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
420
af85ebcd
YS
4212015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
422
423 * manual/string.texi (XPG basename): Fix prototype.
424
2e807f29
SL
4252015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
426
427 [BZ #18080]
428 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
429 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
430 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
431 (__setcontext): Likewise.
432 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
433 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
434 Call rt_sigprocmask syscall one time to set new signal mask
435 and retrieve the current signal mask instead of two calls.
436 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
437 (__swapcontext): Likewise.
438 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
439 * stdlib/tst-setcontext2.c: New file.
440
1b2bebe6
SL
4412015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
442
443 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
444
6a1cf708
AJ
4452015-03-11 Aurelien Jarno <aurelien@aurel32.net>
446
447 [BZ #18093]
448 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
449 the wrong size.
450
a2d4cf72
PP
4512015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
452
453 [BZ #18043]
454 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
455
5ca10a0c
AZ
4562015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
457
458 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
459 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
460 Remove define.
461 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
462 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
463 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
464 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
465 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
466 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
467 define.
468 * nptl_db/td_symbol_list.c (td_lookup): Remove
469 HAVE_ASM_GLOBAL_DOT_NAME code.
470 * sysdeps/powerpc/powerpc64/configure.ac: Remove
471 HAVE_ASM_GLOBAL_DOT_NAME check.
472 * sysdeps/powerpc/powerpc64/configure: Regenerate.
473 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
474 (DOT_LABEL): Remove define.
475 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
476 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
477 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
478 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
479 (__TLS_GET_ADDR): Likewise.
480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
481 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
482
e4363cfb
CD
4832015-03-11 Carlos O'Donell <carlos@redhat.com>
484
485 [BZ #18111]
486 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
487 (_FPU_SETCW): Initialize cw from fpsr before storing.
488 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
489 (fesetexceptflag): Rewrite using fpu_control.h.
490 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
491
fae1aa8d
JDA
4922015-03-11 John David Anglin <danglin@gcc.gnu.org>
493
494 [BZ #18110]
495 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
496 asms.
497 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
498
068a6274
JM
4992015-03-11 Joseph Myers <joseph@codesourcery.com>
500
501 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
502 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
503 abort.
504 (_FP_FMA): Likewise.
505 (_FP_DIV): Likewise.
506
d3821ab0
RM
5072015-03-10 Roland McGrath <roland@hack.frob.com>
508
44a6213c
RM
509 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
510 with 0 in that case.
511 * Makefile (summarize-tests): New canned sequence, factored out of
512 commands for targets tests and xtests. Display summary lines that
513 don't start with PASS: or XFAIL: rather than ones that do start with
514 ERROR: or FAIL:. Make the commands fail if any summary lines fail
515 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
516 do start with ERROR: or FAIL:.
517 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
518 (except for [$(build-shared) = yes]).
519 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
520 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
521 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
522 * nptl/Makefile: Revert 2015-03-04 changes.
523 [$(CXX) empty] (tests-unsupported): New variable.
524 * debug/Makefile: Likewise.
525
d3821ab0
RM
526 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
527 gnulib file. Replace __attribute with __attribute__ throughout.
528
85ca85ae
CD
5292015-03-10 Carlos O'Donell <carlos@redhat.com>
530
531 * sysdeps/hppa/fpu/libm-test-ulps: Update.
532
6411f81d
JM
5332015-03-10 Joseph Myers <joseph@codesourcery.com>
534
535 [BZ #18104]
536 * math/auto-libm-test-in: Add another test of pow.
537 * math/auto-libm-test-out: Regenerated.
538
d421868b
AZ
5392015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
540
541 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
542 $(config-cflags-nofma).
543
a2f8be9c
JM
5442015-03-10 Joseph Myers <joseph@codesourcery.com>
545
546 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
547 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
548 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
549 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
550 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
551 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
552 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
553 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
554 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
555 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
556 Add comment on closing #endif.
557
01d032e0
PP
5582015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
559
560 * posix/wordexp.c (CHAR_IN_SET): New macro.
561 (parse_param): Use it.
562
d439bc56
AZ
5632015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
564
565 * sysdeps/powerpc/fpu/libm-test-ulps: update.
566
5f85a4bf
PP
5672015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
568
569 [BZ #18043]
570 * posix/wordexp.c (parse_param): Fix buffer overflow.
571 * posix/wordexp-test.c (test_case): Add test case.
572
f8ba70e9
PP
5732015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
574
575 [BZ #18042]
576 * posix/wordexp.c (parse_backtick): Fix off-by-one.
577 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
578
36103ba2
PP
5792015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
580
581 [BZ #18043]
582 * posix/wordexp-test.c (test_case): Add test for BZ #18043
583 (do_bz18043): Delete.
584 (at_page_end): New.
585 (testit): Refactor to have words at the edge of unreadable page.
586
18d26750
PP
5872015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
588
589 [BZ #16734]
590 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
591 Cleanup read-only streams as well.
592 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
593
9f95dc5d
ST
5942015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
595
596 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
597 <bits/libc-lockP.h>
598
b838844b
JM
5992015-03-07 Joseph Myers <joseph@codesourcery.com>
600
601 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
602 on [__KERNEL__].
603 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
604 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
605 * soft-fp/op-common.h (_FP_DECL): Likewise.
606
e0ed2fb4
L
6072015-03-06 H.J. Lu <hongjiu.lu@intel.com>
608
609 * elf/ifuncdep2.c (global): Replace
610 __attribute__((visibility("protected"))) with
611 asm (".protected global").
612 * elf/ifuncmod1.c (global): Likewise.
613 * elf/ifuncmod5.c (global): Likewise.
614
fa9dda64
JM
6152015-03-06 Joseph Myers <joseph@codesourcery.com>
616
617 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
618 <asm/sfp-machine.h> instead of <sfp-machine.h>.
619
4acc27ed
RM
6202015-03-06 Roland McGrath <roland@hack.frob.com>
621
622 * manual/install.texi (Configuring and compiling):
623 Document test-wrapper-env-only.
624 * INSTALL: Regenerated.
625
895c30cb
PP
6262015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
627
628 [BZ #18043]
629 * posix/wordexp.c (parse_param): Fix buffer overflow.
630 * posix/wordexp-test.c (do_bz18043): Add test case.
631
5df56c7e
VB
6322015-03-06 Vincent Bernat <vincent@bernat.im>
633
634 * time/tst-strptime2.c (do_test): Ensure failing tests are
635 reported correctly.
636 * time/tst-strptime3.c (do_test): Likewise.
637
1cdf2ea1
ST
6382015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
639
640 Fix aio_error thread-safety.
1cdf2ea1
ST
641 * sysdeps/pthread/aio_error.c: New file
642 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
643 synchronization.
644
d176a41a
FW
6452015-03-06 Florian Weimer <fweimer@redhat.com>
646
647 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
648 (group_number, vfprintf): Use it.
1597b744
FW
649 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
650 (JUMP, REF): Use it.
651 (WORK_BUFFER_SIZE): New enum constant.
652 (process_arg, vfprintf): Use it.
d176a41a 653
7e7af349
RJ
6542015-03-06 Rical Jasan <ricaljasan@pacific.net>
655
656 * manual/errno.texi (Error Messages): Complete example function
657 by adding missing #define.
658 (program_invocation_name): Add statement indicating GNU
659 extension and reference which header file declares the variable.
660 (program_invocation_short_name): Likewise.
661
4ca8ddfb
MF
6622015-03-06 Mike Frysinger <vapier@gentoo.org>
663
664 * manual/errno.texi (Error Messages): Delete strerror ISO C89
665 compatibility note.
666
9162c01d
RM
6672015-03-05 Roland McGrath <roland@hack.frob.com>
668
669 * Makeconfig (test-wrapper-env-only): New variable.
670 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
671 then use that with $(test-wrapper-env-only) rather than using
672 $(test-wrapper-env) $(run-program-env) $($*-ENV).
673
209826bc
L
6742015-03-05 H.J. Lu <hongjiu.lu@intel.com>
675
676 [BZ #18082]
677 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
678 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
679 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
680 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
681 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
682 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
683 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
684 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
685 Likewise.
686 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
687 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
688 Likewise.
689 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
690 Likewise.
691 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
692 Likewise.
693 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
694 Likewise.
695 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
696 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
697 Likewise.
698 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
699 Likewise.
700 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
701 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
702
2cfe32bc
RM
7032015-03-04 Roland McGrath <roland@hack.frob.com>
704
8bff5aab
RM
705 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
706 (ETH_ALEN): New macro.
707 (struct ether_addr): Use it for length of ether_addr_octet.
708
2752f338
RM
709 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
710 (setdb): Don't call __nss_configure_lookup for "rpc".
711 (do_test): Don't call test_rpc.
712 (output_rpcent, test_rpc): Functions moved ...
713 * sunrpc/test-rpcent.c: ... to this new file.
714 * sunrpc/Makefile (tests): Add it.
715
2cfe32bc
RM
716 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
717 __xpg_sigpause.
718 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
719 * nptl/tst-signal6.c: Likewise.
720 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
721 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
722
e4693aa7
RM
723 * configure.ac (libc_cv_cxx_link_ok): New check.
724 Reset CXX to empty if it fails to link.
725 * configure: Regenerated.
726 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
727 bug-atexit3-lib only if $(CXX) is nonempty.
728 * nptl/Makefile (tests): Likewise for tst-cancel24.
729 (tests, tests-static): Likewise for tst-cancel24-static.
730 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
731 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
732 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
733 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 734
8e2e833a
AS
7352015-03-04 Andreas Schwab <schwab@suse.de>
736
737 [BZ #17631]
738 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
739 for non-GCC compilers.
740 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
741 Likewise.
742
85b29045
AZ
7432015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
744
745 [BZ #17776]
746 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
747 integer before bitwise and assembly operations.
748 (feclearexcept): Likewise.
749 * math/test-fenvinline.c: New file.
750 * math/Makefile: Add test-fenvinline test.
751
a0af371c
AM
7522015-03-03 Alan Modra <amodra@gmail.com>
753
754 [BZ #16512]
755 * scripts/localplt.awk: Strip off symbol version.
756 * NEWS: Mention bug fix.
757
47465629
RM
7582015-03-02 Roland McGrath <roland@hack.frob.com>
759
760 * sysdeps/pthread/timer_routines.c
761 (timer_free_list, thread_free_list, thread_active_list): Make static.
762
6d08b022
JM
7632015-03-02 Joseph Myers <joseph@codesourcery.com>
764
765 [BZ #17779]
766 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
767 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
768 Undefine.
769 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
770 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
771 Likewise.
772 * sysdeps/unix/sysv/linux/sh/kernel-features.h
773 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
774 Likewise.
775
c2c6d39f
PP
7762015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
777
778 [BZ #18036]
779 * posix/fnmatch_loop.c (END): Detect invalid pattern.
780 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
781
e8b6be00
AS
7822015-03-02 Andreas Schwab <schwab@suse.de>
783
784 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
785 variable name.
786
1a2d98af
FW
7872015-03-02 Florian Weimer <fweimer@redhat.com>
788
789 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
790 Return error status.
791
e7f07af5
AO
7922015-02-27 Alexandre Oliva <aoliva@redhat.com>
793
794 [BZ #15969]
795 * locale/findlocale.c (_nl_find_locale): Introduce const
796 version of loc_name and drop unsafe type casts.
797
c7b19ca9
RM
7982015-02-27 Roland McGrath <roland@hack.frob.com>
799
800 * dlfcn/tststatic2.c (main): Converted to ...
801 (do_test): ... this.
802 (TEST_FUNCTION): New macro.
803 Include test-skeleton.c.
804
ef4ad06f
L
8052015-02-27 H.J. Lu <hongjiu.lu@intel.com>
806
807 [BZ #17711]
808 * elf/Makefile (tests): Add vismain only if PIE is enabled.
809 (tests-pie): Add vismain.
810 (CFLAGS-vismain.c): New.
811 * elf/vismain.c: Add comments for PIE requirement.
812
2ca725c5
JM
8132015-02-27 Joseph Myers <joseph@codesourcery.com>
814
815 [BZ #18046]
816 [BZ #18047]
817 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
818 0x1p-56L as threshold for just returning the argument.
819 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
820 0x1p-32L as threshold for just returning the argument.
821 * math/auto-libm-test-in: Add more tests of atanh.
822 * math/auto-libm-test-out: Regenerated.
823 * sysdeps/i386/fpu/libm-test-ulps: Update.
824 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
825
af96be34
WD
8262015-02-27 Wilco Dijkstra wdijkstr@arm.com
827
828 * string/bcopy.c (bcopy): Call memmove for performance.
829
ddcf6798
WD
8302015-02-27 Wilco Dijkstra wdijkstr@arm.com
831
832 * string/bzero.c (__bzero): Call memset for performance.
833
49f476f4
JDA
8342015-02-27 John David Anglin <dave.anglin@bell.net>
835
b42e14ff 836 [BZ #18068]
49f476f4
JDA
837 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
838 to 00100000.
839
f8ab5d38
JM
8402015-02-27 Joseph Myers <joseph@codesourcery.com>
841
842 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
843
380bd0fd
JM
8442015-02-26 Joseph Myers <joseph@codesourcery.com>
845
31331a07
JM
846 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
847 (__kernel_standard): Use CSTR macro when setting exc.name.
848 * sysdeps/ieee754/Makefile [$(subdir) = math]
849 (CFLAGS-k_standard.c): Remove variable.
850
09220e66
JM
851 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
852 setting p and q from "else if" to "else".
853 (qzero): Likewise.
854 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
855 (qone): Likewise.
856 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
857 (qzerof): Likewise.
858 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
859 (qonef): Likewise.
860 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
861 (qzero): Likewise.
862 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
863 (qone): Likewise.
864
1d9ab20c
JM
865 [BZ #18038]
866 [BZ #18039]
867 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
868 return pi/2 for arguments below 0x1p-113L.
869 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
870 return pi/2 for arguments below 0x1p-106L.
871 * math/auto-libm-test-in: Add more tests of acos.
872 * math/auto-libm-test-out: Regenerated.
873
ec0ce0d3
JM
874 [BZ #16351]
875 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
876 (MO): New macro.
877 (__ieee754_asin): Force underflow exception for results with small
878 absolute value.
879 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
880 (MO): New macro.
881 (__ieee754_asinf): Force underflow exception for results with
882 small absolute value.
883 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
884 (__ieee754_asin): Force underflow exception for results with small
885 absolute value.
886 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
887 (__ieee754_asinf): Force underflow exception for results with
888 small absolute value.
889 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
890 (__ieee754_asinl): Force underflow exception for results with
891 small absolute value.
892 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
893 (__ieee754_asinl): Force underflow exception for results with
894 small absolute value.
895 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
896 (__ieee754_asinl): Force underflow exception for results with
897 small absolute value.
898 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
899 Include <math.h>.
900 * math/auto-libm-test-in: Do not mark underflow exceptions as
901 possibly missing for bug 16351.
902 * math/auto-libm-test-out: Regenerated.
903
380bd0fd
JM
904 [BZ #18030]
905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
906 of power of 2 down when low part has opposite sign.
907 * math/libm-test.inc (logb_test_data): Add more tests.
908
4a28f4d5
AS
9092015-02-26 Andreas Schwab <schwab@suse.de>
910
911 [BZ #18032]
912 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
913 over collating symbol inside a bracket expression. Minor cleanup.
914 * posix/tst-fnmatch3.c (do_test): Add test case.
915
524ae9ea
JM
9162015-02-26 Joseph Myers <joseph@codesourcery.com>
917
918 [BZ #18029]
919 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
920 Adjust exponent of power of 2 down when low part has opposite
921 sign.
922 * math/libm-test.inc (ilogb_test_data): Add more tests.
923
23d43090
AO
9242015-02-26 Alexandre Oliva <aoliva@redhat.com>
925
926 [BZ #15969]
927 * locale/findlocale.c (_nl_find_locale): Fix constness error in
928 the previous change.
0d822a01
AO
929
930 [BZ #15969]
931 * locale/findlocale.c (_nl_find_locale): Retry archive search
932 after alias expansion.
933
d19df6ac
RM
9342015-02-25 Roland McGrath <roland@hack.frob.com>
935
ca681b7b
RM
936 * iconv/tst-iconv3.c (main): Converted to ...
937 (do_test): ... this.
938 (TEST_FUNCTION): New macro.
939 Include test-skeleton.c.
940
fd1f2f1c
RM
941 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
942 (convert): Make function static.
943 (test_unalign): Likewise. Add const to argument pointee types.
944 (main): Replace with static function do_test.
945 Print "Succeeded." only if RET is zero.
946 (TEST_FUNCTION): New macro.
947 Include test-skeleton.c.
948
d19df6ac
RM
949 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
950 returns a null pointer.
951
115e0de7
AZ
9522015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
953
954 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
955 to __memcpy_ppc only for static builds.
956
137cef7d
JM
9572015-02-25 Joseph Myers <joseph@codesourcery.com>
958
959 [BZ #18020]
960 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
961 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
962 * math/auto-libm-test-in: Add more tests of asinh.
963 * math/auto-libm-test-out: Regenerated.
964 * sysdeps/i386/fpu/libm-test-ulps: Update.
965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
966
cb43bb0d
CW
9672015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
968
969 [BZ #15850]
970 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
971 and ip6_mtuinfo definitions here.
972 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
973 in this define too. Update comment.
974
9be1052b
BS
9752015-02-24 Benno Schulenberg <bensberg@justemail.net>
976
977 * elf/sprof.c (load_shobj): Tweak error message to match others.
978
6807b1db
KE
9792015-02-24 Kevin Easton <kevin@guarana.org>
980
981 [BZ #16145] (partial fix)
982 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
983 to reduce lock contention.
984
b433df00
ML
9852015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
986
987 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
988 (struct timex): Update time comment.
989 (ADJ_SETOFFSET): Define.
990
440169d6
JM
9912015-02-24 Joseph Myers <joseph@codesourcery.com>
992
993 [BZ #18019]
994 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
995 2**56 not 2**28 as threshold for log (2x) formula.
996 * math/auto-libm-test-in: Add more tests of acosh.
997 * math/auto-libm-test-out: Regenerated.
998 * sysdeps/i386/fpu/libm-test-ulps: Update.
999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1000
ba7d2c54
MF
10012015-02-24 Mike Frysinger <vapier@gentoo.org>
1002
1003 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1004 parenthesis around the buf assignment.
1005 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1006
9438b237
JM
10072015-02-24 Joseph Myers <joseph@codesourcery.com>
1008
1009 [BZ #16783]
1010 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1011 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1012 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1013 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1014 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1015 * math/libm-test.inc (scalb_test_data): Add more tests.
1016
6909d276
PP
10172015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1018
1019 [BZ #17916]
1020 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1021 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1022
65f6f938
ER
10232015-02-24 Eric Rannaud <e@nanocritical.com>
1024
1025 [BZ #17523]
1026 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1027 * io/bits/fcntl2.h (open): Use it.
1028 (openat): Likewise.
1029 * io/open.c (__libc_open): Likewise.
1030 * io/open64.c (__libc_open64): Likewise.
1031 * io/open64_2.c (__open64_2): Likewise.
1032 * io/open_2.c (__open_2): Likewise.
1033 * io/openat.c (__openat): Likewise.
1034 * io/openat64.c (__openat64): Likewise.
1035 * io/openat64_2.c (__openat64_2): Likewise.
1036 * io/openat_2.c (__openat_2): Likewise.
1037 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1038 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1039 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1040 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1041 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1042 (__open_nocancel): Likewise.
1043 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1044 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1045 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1046
3e3002ff
SP
10472015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1048
1049 [BZ #14841]
1050 * resolv/gethnamaddr.c (getanswer): Skip logging if
1051 RES_USE_DNSSEC is set.
1052 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1053
9813dd58
MF
10542015-02-24 Mike Frysinger <vapier@gentoo.org>
1055
1056 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1057
7b1ec6a0
AO
10582015-02-23 Alexandre Oliva <aoliva@redhat.com>
1059
1060 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1061 201304L, for Unicode 7.
1062
d49499c1
L
10632015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1064
1065 [BZ #17836]
1066 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1067 shared library. Add gmon-start.os otherwise.
1068 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1069 $(objpfx)gmon-start.os if builing shared library.
1070 ($(objpfx)g$(static-start-installed-name)): Likewise.
1071
51225803
AS
10722015-02-23 Andreas Schwab <schwab@suse.de>
1073
1074 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1075
bdf1ff05
PP
10762015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1077
1078 [BZ #17269]
1079 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1080 (enlarge_userbuf): Likewise.
1081
95296112
CLT
10822015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1083
1084 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1085 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1086 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1087 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1088
e4a399dc
JM
10892015-02-20 Joseph Myers <joseph@codesourcery.com>
1090
1091 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1092 expression inside statement expression.
1093
7133957f
SL
10942015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1095
1096 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1097 <sysdeps/nptl/lowlevellock.h> and remove macros and
1098 functions that are now defined there.
1099 (SYS_futex): Remove.
1100 (lll_compare_and_swap): Remove.
1101 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1102
40176158
JM
11032015-02-19 Joseph Myers <joseph@codesourcery.com>
1104
1105 [BZ #17999]
1106 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1107 instead of scandirat.
1108 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1109 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1110 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1111 __scandirat.
1112 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1113 (__scandirat): Declare. Use libc_hidden_proto.
1114 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1115 Remove variable.
1116 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1117
4629c866
JM
11182015-02-18 Joseph Myers <joseph@codesourcery.com>
1119
1120 [BZ #15319]
1121 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1122 (MO): New macro.
1123 (__ieee754_atan2): For results with small absolute value, force
1124 underflow exception and remove excess range and precision from
1125 return value.
1126 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1127 (MO): New macro.
1128 (__ieee754_atan2f): For results with small absolute value, force
1129 underflow exception and remove excess range and precision from
1130 return value.
1131 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1132 (MO): New macro.
1133 (__atan): For results with small absolute value, force underflow
1134 exception and remove excess range and precision from return value.
1135 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1136 (MO): New macro.
1137 (__atanf): For results with small absolute value, force underflow
1138 exception and remove excess range and precision from return value.
1139 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1140 <math.h>.
1141 (__ieee754_atan2): Force underflow exception for results with
1142 small absolute value.
1143 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1144 <math_private.h>.
1145 (atan): Force underflow exception for results with small absolute
1146 value.
1147 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1148 (__atanf): Force underflow exception for results with small
1149 absolute value.
1150 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1151 <math.h>.
1152 (__atanl): Force underflow exception for results with small
1153 absolute value.
1154 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1155 (__atanl): Force underflow exception for results with small
1156 absolute value.
1157 * sysdeps/x86/fpu/bits/mathinline.h
1158 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1159 (__ieee754_atan2): Only define inline for long double.
1160 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1161 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1162 * math/auto-libm-test-in: Do not mark underflow exceptions as
1163 possibly missing for bug 15319. Add more tests of atan2.
1164 * math/auto-libm-test-out: Regenerated.
1165 * math/libm-test.inc (casin_test_data): Do not mark underflow
1166 exceptions as possibly missing for bug 15319.
1167 (casinh_test_data): Likewise.
1168 * sysdeps/i386/fpu/libm-test-ulps: Update.
1169
9ee16d8b
SE
11702015-02-18 Steve Ellcey <sellcey@imgtec.com>
1171
1172 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1173 * sysdeps/mips/bits/endian.h: Fix comments.
1174
4ffb1771
JM
11752015-02-18 Joseph Myers <joseph@codesourcery.com>
1176
1177 [BZ #17996]
1178 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1179 (hdestroy_r): Likewise.
1180 (hsearch_r): Likewise.
1181 (__hcreate_r): Declare and use libc_hidden_proto.
1182 (__hdestroy_r): Likewise.
1183 (__hsearch_r): Likewise.
1184 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1185 (hcreate): Call __hcreate_r instead of hcreate_r.
1186 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1187 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1188 as weak alias of __hcreate_r.
1189 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1190 __hdestroy_r.
1191 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1192 __hsearch_r.
1193 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1194 Remove variable.
1195 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1196 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1197 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1198 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1199
94c5a52a
SP
12002015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1201
1202 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1203 arena_lock into a single arena_get.
1204
8a35c3fe
CD
12052015-02-17 Carlos O'Donell <carlos@redhat.com>
1206
1207 * dl-reloc.c: Inlucde libc-internal.h.
1208 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1209 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1210 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1211 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1212 (grow_heap): Likewise.
1213 * malloc/malloc.c: Include libc-internal.h.
1214 (do_check_malloc): Call powerof2.
1215 (sysmalloc): Use pagesize. Call ALIGN_UP.
1216 (systrim): Use pagesize.
1217 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1218 (__libc_valloc): Use pagesize.
1219 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1220
1a2325c0
JM
12212015-02-17 Joseph Myers <joseph@codesourcery.com>
1222
1223 [BZ #17991]
1224 * include/sys/resource.h (__getrlimit64): Declare. Use
1225 libc_hidden_proto.
1226 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1227 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1228 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1229 getrlimit64.
1230 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1231 __getrlimit64.
1232 [!getrlimit64] (getrlimit64): Define as weak alias of
1233 __getrlimit64. Use libc_hidden_weak.
1234 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1235 using __getrlimit64 not __new_getrlimit64.
1236 (__GI_getrlimit64): Likewise.
1237 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1238 Likewise.
1239 (__GI_getrlimit64): Likewise.
1240 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1242 (getrlimit): Add __getrlimit64 alias.
1243 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1244 Likewise.
1245 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1246 Remove variable.
1247 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1248 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1249
8ae4bb5a
PP
12502015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1251
1252 * libio/fileops.c: Add missing sys/mman.h
1253 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1254
18a218b7
JM
12552015-02-17 Joseph Myers <joseph@codesourcery.com>
1256
1257 * manual/math.texi (Errors in Math Functions): Clarify goals
1258 regarding inexact and underflow exceptions.
1259
e72ad0ef
SE
12602015-02-17 Steve Ellcey <sellcey@imgtec.com>
1261
1262 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1263 * sysdeps/mips/memset.S: Ditto.
1264
2caa4099
SE
12652015-02-17 Steve Ellcey <sellcey@imgtec.com>
1266
1267 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1268
f20bfc9b
SL
12692015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1270
1271 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1272 (__v1longjmp): Remove versioned symbol.
1273 (__v1siglongjmp): Remove alias and versioned symbol.
1274 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1275 (__v2siglongjmp): Likewise.
1276
71c06b69
TR
12772015-02-16 Torvald Riegel <triegel@redhat.com>
1278
1279 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1280
a9a05adb
MF
12812015-02-16 Mike Frysinger <vapier@gentoo.org>
1282
1283 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1284
ce8fc784
JM
12852015-02-16 Joseph Myers <joseph@codesourcery.com>
1286
1287 [BZ #17987]
1288 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1289 zero result does not depend on the sign resulting from
1290 subtraction.
1291 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1292 Likewise.
1293 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1294 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1295 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1296 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1297 * math/libm-test.inc (remquo_test_data): Add more tests.
1298
0d7036bd
PE
12992015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1300
1301 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1302 Problem reported by J William Piggott.
1303
86c56b16
JM
13042015-02-16 Joseph Myers <joseph@codesourcery.com>
1305
a820f9b3
JM
1306 [BZ #17978]
1307 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1308 products 4 * y and 2 * y where those would overflow.
1309 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1310 Likewise.
1311 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1312 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1313 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1314 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1315 * math/libm-test.inc (remquo_test_data): Add more tests.
1316
be802953
JM
1317 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1318
e5e72fe9
JM
1319 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1320 [defined _COMPILING_NEWLIB].
1321 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1322 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1323
86c56b16
JM
1324 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1325 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1326
35264d14
TR
13272015-02-16 Torvald Riegel <triegel@redhat.com>
1328
1329 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1330 acquired.
1331
6f49e32a
MF
13322015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1333
1334 [BZ #17792]
1335 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1336 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1337 HOST_STACK_END_ADDR): Likewise.
1338
e525154e
SE
13392015-02-13 Steve Ellcey <sellcey@imgtec.com>
1340
1341 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1342 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1343 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1344
4ab770b7
RM
13452015-02-13 Roland McGrath <roland@hack.frob.com>
1346
1347 * sysdeps/generic/c++-types.data: New file.
1348 * sysdeps/generic/ld.abilist: New file.
1349 * sysdeps/generic/libBrokenLocale.abilist: New file.
1350 * sysdeps/generic/libanl.abilist: New file.
1351 * sysdeps/generic/libc.abilist: New file.
1352 * sysdeps/generic/libcrypt.abilist: New file.
1353 * sysdeps/generic/libdl.abilist: New file.
1354 * sysdeps/generic/libm.abilist: New file.
1355 * sysdeps/generic/libpthread.abilist: New file.
1356 * sysdeps/generic/libresolv.abilist: New file.
1357 * sysdeps/generic/librt.abilist: New file.
1358
d9afe48d
JM
13592015-02-13 Joseph Myers <joseph@codesourcery.com>
1360
1361 [BZ #17569]
1362 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1363 Compute absolute value of x as modified by fmod, not original
1364 value of x.
1365 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1366 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1367 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1368 RUN_TEST_ffI_f1_mod8.
1369 (remquo_test_data): Add more tests.
1370
3846188b
RM
13712015-02-13 Roland McGrath <roland@hack.frob.com>
1372
1373 * sysdeps/init_array/pt-crti.S: New file.
1374
95c26233
JM
13752015-02-13 Joseph Myers <joseph@codesourcery.com>
1376
1377 [BZ #17967]
1378 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1379 __builtin_fmaf instead of relying on contraction of a * b + c.
1380
3f293d61
WP
13812015-02-12 J William Piggott <elseifthen@gmx.com>
1382
1383 [BZ #17969]
1384 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1385 node.
1386
e8bd5286
JM
13872015-02-12 Joseph Myers <joseph@codesourcery.com>
1388
1389 [BZ #17964]
1390 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1391 __builtin_fma instead of relying on contraction of a * b + c.
1392
04f5a636
RM
13932015-02-12 Roland McGrath <roland@hack.frob.com>
1394
96a15749
RM
1395 * Makeconfig (ASFLAGS): Add -Werror=undef.
1396 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1397 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1398 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1399
04f5a636
RM
1400 * Makeconfig (after-link): New variable.
1401 (+link-pie, +link-pie-tests): Use it.
1402 (+link-static, +link-static-tests): Likewise.
1403 (+link, +link-tests): Likewise.
1404 * Makerules (build-module, build-module-asneeded): Likewise.
1405 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1406 Likewise.
1407 * elf/Makefile ($(objpfx)ld.so): Likewise.
1408
87a629c5
RS
14092015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1410
1411 [BZ #17965]
1412 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1413 both struct timeval and struct timespec.
1414
03d95bd4
JM
14152015-02-12 Joseph Myers <joseph@codesourcery.com>
1416
1417 [BZ #16560]
1418 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1419 and redefine.
1420 (__ieee754_exp2l): Do not multiply small fractional parts by
1421 M_LN2l.
1422 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1423 small argument.
1424 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1425 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1426 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1427 * math/auto-libm-test-in: Add more tests of exp2.
1428 * math/auto-libm-test-out: Regenerated.
1429
98408b95
RS
14302015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1431
1432 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1433 unaligned path.
1434
6f741503
AZ
14352015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1436
1437 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1438 little endian.
1439
2868e070
AS
14402015-02-12 Andreas Schwab <schwab@suse.de>
1441
1442 [BZ #15790]
1443 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1444 Filter out elision flags from value returned in kind.
1445 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1446 * nptl/tst-pthread-mutexattr.c: New file.
1447
ebf27d12
ST
14482015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1449
1450 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1451 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1452 into gnu-gnu, and update comment to refer to abi-tags.
1453
d435569c
JM
14542015-02-11 Joseph Myers <joseph@codesourcery.com>
1455
1456 [BZ #15467]
1457 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1458 (__sincos): Set errno to EDOM for infinite argument.
1459 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1460 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1461 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1462 (__sincosl): Set errno to EDOM for infinite argument.
1463 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1464 (__sincosl): Set errno to EDOM for infinite argument.
1465 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1466 (__sincosl): Set errno to EDOM for infinite argument.
1467 * math/libm-test.inc (sincos_test_data): Test errno setting.
1468
d35273f2
LH
14692015-02-11 Leonhard Holz <leonhard.holz@web.de>
1470
1471 * string/strxfrm_l.c: Remove #define STRCMP.
1472 * string/strcoll_l.c: Remove #define STRLEN.
1473 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1474 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1475
306bc0d1
JM
14762015-02-10 Joseph Myers <joseph@codesourcery.com>
1477
1478 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1479 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1480 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1481 * sysdeps/mips/mips64/Makefile: ... here.
1482 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1483 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1484 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1485 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1486 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1487 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1488 * sysdeps/mips/mips64/n64/Implies: Likewise.
1489
92b67e8d
RM
14902015-02-10 Roland McGrath <roland@hack.frob.com>
1491
1492 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1493 <sys/time.h>, <string.h>, and <errno.h>.
1494 (dest_offset, dest_address, value, zero): Remove unused variables.
1495 (ldouble): Remove typedef.
1496 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1497 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1498 1). Fix code style.
1499 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1500 (check): Function removed.
1501 (CHECK): New macro.
1502 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1503 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1504 Don't call set_sigaction_FP and remove_sigaction_FP here.
1505 (ldouble_test): Just use 'long double' as macro argument, no need for
1506 the 'ldouble' typedef.
1507 (do_test): Set up SIGFPE handler at start, using plain signal rather
1508 than sigaction. Fix code style.
1509
132a1328
EF
15102015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1511
1512 [BZ #17949]
1513 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1514 jump label.
1515
3001e54c
AZ
15162015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1517
bc0cdc49
AZ
1518 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1519 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1520
83658961
AZ
1521 * sysdeps/powerpc/configure.ac: Remove file.
1522 * sysdeps/powerpc/configure: Likewise.
1523
10169938
AZ
1524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1525 [sysdep_routines]: Remove wordcopy-power6 object.
1526 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1527 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1528 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1529 (__memmove_ppc32): Likewise.
1530 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1531 file.
1532 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1533 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1534 Remove preprocessor.
1535
8548a53d
AZ
1536 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1537 [sysdep_routines]: Remove wide chars objects.
1538 [wcsmbs]: New rule for wide char objects.
1539
b2692114
AZ
1540 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1541 Remove wordcopy-power6 obejct.
1542 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1543 Use local call for wordcopy and memcpy symbols.
1544 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1545 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1546 implementation for loader.
1547 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1548
18e270aa
AZ
1549 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1550 Remove wordcopy-power7 object.
1551 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1552 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1553 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1554 (_wordcopy_fwd_dest_aligned): Likewise.
1555 (_wordcopy_bwd_aligned): Likewise.
1556 (_wordcopy_bwd_dest_aligned): Likewise.
1557
6f0993a6
AZ
1558 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1559 Rewrite to call __memmove_ppc instead of include default
1560 implementation.
1561
3001e54c
AZ
1562 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1563 Remove wide chars objects.
1564 [wcsmbs]: New rule for wide char objects.
1565
59b61c82
AS
15662015-02-09 Andreas Schwab <schwab@suse.de>
1567
1568 [BZ #17912]
1569 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1570 in terms of __O_DIRECTORY.
1571
ebd7aede
ST
15722015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1573
1574 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
1575 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1576 call PTR_MANGLE.
1577 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1578 PTR_DEMANGLE.
ebd7aede 1579
3999d26e
PE
15802015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1581
1582 Add ersatz _Static_assert on older C hosts
1583 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1584 pre-C11 C platform that is not known to support _Static_assert.
1585
e9a5bc1c
ST
15862015-02-07 Richard Braun <rbraun@sceen.net>
1587
1588 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1589 sigstate.
e86c5b64 1590 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 1591
e2049d17
ST
15922015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1593
1594 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1595 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
1596 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1597 instead of int.
1598 * misc/fchflags.c (fchflags): Likewise.
1599 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1600 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1601 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1602 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1603 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1604 Declare macros.
1605 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
1606 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1607 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
1608 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1609 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1610 45.
a9a002fb
ST
1611 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1612 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
1613 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1614 MACH_RCV_TIMED_OUT.
f96ec27a
ST
1615 * hurd/hurd/signal.h (_hurd_self_sigstate,
1616 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1617 Explicit casts from void *.
4fc81a77 1618 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 1619 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 1620
f05826f0
ST
1621 [BZ #4719]
1622 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1623 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1624 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1625 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1626 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1627 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1628
a5eb23de
ST
1629 [BZ #17944]
1630 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1631 duplicates ADDR->sun_path with sockaddr LEN limitation.
1632 * sysdeps/mach/hurd/connect.c: Include <string.h>
1633 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1634 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1635 * sysdeps/mach/hurd/sendto.c: Likewise.
1636 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1637 implementing it by hand.
1638
ac9e0e5e
RM
16392015-02-06 Roland McGrath <roland@hack.frob.com>
1640
f8d1bb4c
RM
1641 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1642 Use sfi_breg on ldr.
1643 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1644 Likewise.
1645
022f4812
RM
1646 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1647 it's defined.
1648 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1649 Test SIGSETXID only if it's defined.
1650
1ac074e6
RM
1651 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1652
f50ad78b
RM
1653 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1654 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1655
9e7265f4
RM
1656 * nptl/tst-align2.c: Moved ...
1657 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1658 * nptl/Makefile (tests): Remove tst-align2.
1659 * sysdeps/unix/sysv/linux/Makefile
1660 [$(subdir) = nptl] (tests): Add tst-align-clone.
1661 * nptl/tst-getpid1.c: Moved ...
1662 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1663 * nptl/tst-getpid2.c: Moved ...
1664 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1665 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1666 * sysdeps/unix/sysv/linux/Makefile
1667 [$(subdir) = nptl] (tests): ... here.
1668 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1669 * sysdeps/unix/sysv/linux/Makefile
1670 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1671
62ad2abc
RM
1672 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1673 Drop trailing \n from perror argument. Use return rather than exit.
1674
cfa69b0b
RM
1675 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1676 on [SA_SIGINFO].
1677 * nptl/tst-cancel21.c (do_test): Likewise.
1678 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1679 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1680 [!SA_SIGINFO]: Make it a stub test.
1681
82727806
RM
1682 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1683 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1684
da3a1594
RM
1685 * posix/tst-getlogin.c: Move to ...
1686 * login/tst-getlogin.c: ... here.
1687 * posix/Makefile (tests): Move tst-getlogin to ...
1688 * login/Makefile (tests): ... here.
1689
b65c0ff9
RM
1690 * libio/tst-atime.c (do_test): Move local variables SV and E
1691 inside [ST_NOATIME] conditional.
1692
56606ab3
RM
1693 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1694
ebf7d6ee
RM
1695 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1696
ca0e0675
RM
1697 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1698 (wait_code): New function replaces macro.
1699 Call nanosleep rather than syscall.
1700
8c28bbc6
RM
1701 * nptl/pt-system.c: Rewritten. Put everything under
1702 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1703 Use IFUNC to redirect when possible.
1704
ec2a88b3
RM
1705 * nptl/pt-longjmp.c: Rewritten. Put everything under
1706 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1707 Use IFUNC to redirect when possible.
1708
beff1d13
RM
1709 * nptl/pt-fork.c: Rewritten. Put everything under
1710 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1711 Use IFUNC to redirect when possible.
1712 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1713
ea02c6b8
RM
1714 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1715 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1716 unconditionally nowadays. This included the only reference to
1717 __vdso_clock_gettime that appears outside libc proper.
1718 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1719 Remove version set (containing only __vdso_clock_gettime).
1720 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1721 Add attribute_hidden.
1722 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1723 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1724 libc_hidden_data_def.
1725 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1726 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1727
a1309c2b
RM
1728 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1729 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1730 setrpcent, and getrpcport to ...
1731 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1732 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1733 getrpcbynumber_r, and getrpcent_r to ...
1734 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1735 * inet/getrpcbyname.c: Moved ...
1736 * sunrpc/getrpcbyname.c: ... here.
1737 * inet/getrpcbyname_r.c: Moved ...
1738 * sunrpc/getrpcbyname_r.c: ... here.
1739 * inet/getrpcbynumber.c: Moved ...
1740 * sunrpc/getrpcbynumber.c: ... here.
1741 * inet/getrpcbynumber_r.c: Moved ...
1742 * sunrpc/getrpcbynumber_r.c: ... here.
1743 * inet/getrpcent.c: Moved ...
1744 * sunrpc/getrpcent.c: ... here.
1745 * inet/getrpcent_r.c: Moved ...
1746 * sunrpc/getrpcent_r.c: ... here.
1747 * inet/Makefile (routines): Move those to ...
1748 * sunrpc/Makefile (routines): ... here.
1749 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1750 the $(subdirs) list.
1751 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1752 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1753 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1754 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1755
ac9e0e5e
RM
1756 * elf/Makefile (routines): Include $(all-dl-routines), not just
1757 $(dl-routines).
1758 (rtld-routines): Likewise. Use = rather than :=.
1759 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1760 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1761 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1762 * sysdeps/arm/Makefile: Likewise.
1763 * sysdeps/i386/Makefile: Likewise.
1764 * sysdeps/x86_64/Makefile: Likewise.
1765 * sysdeps/hppa/Makefile [$(subdir) = elf]
1766 (sysdep_routines, sysdep-rtld-routines): Don't add
1767 $(sysdep-dl-routines) to these.
1768 * sysdeps/ia64/Makefile: Likewise.
1769 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1770 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1771 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1772 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1773 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1774 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1775 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1776 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1777 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1778 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1779 these; sysdep-dl-routines alone is enough.
1780
639e42eb
JM
17812015-02-06 Joseph Myers <joseph@codesourcery.com>
1782
1c7a4a51
JM
1783 [BZ #17932]
1784 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1785 where multiplication results in zero and third argument is finite
1786 and nonzero.
1787 * math/auto-libm-test-in: Add more tests of fma.
1788 * math/auto-libm-test-out: Regenerated.
1789
61f006c1
JM
1790 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1791 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1792 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1793 (_FP_CMP_EQ): Likewise.
1794 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1795
639e42eb
JM
1796 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1797 extra argument CHECK_NAN. Redefine as wrapper around
1798 _FP_EXTEND_CNAN.
1799
3c0c543b
CD
18002015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1801
4e42b5b8
CD
1802 * version.h (RELEASE): Set to "stable".
1803 (VERSION): Set to "2.21"
1804 * include/features.h (__GLIBC_MINOR__): Set to 21.
1805
3c0c543b
CD
1806 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1807
5bd80bfe 18082015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 1809 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
1810
1811 [BZ #16618]
1812 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1813 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1814 size in bytes. Store needed elements in wpmax. Use needed size
1815 in bytes for extend_alloca.
1816
3f823f48
CD
18172015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1818
04cb913d
CD
1819 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1820 binutls 2.25, and texinfo 5.2.
1821 * INSTALL: Regenerate.
1822 * sysdeps/nios2/configure: Regenerate.
1823 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1824 * manual/contrib.texi: Update.
1825 * po/be.po: Update.
1826 * po/bg.po: Update.
1827 * po/ca.po: Update.
1828 * po/cs.po: Update.
1829 * po/da.po: Update.
1830 * po/de.po: Update.
1831 * po/el.po: Update.
1832 * po/eo.po: Update.
1833 * po/es.po: Update.
1834 * po/fi.po: Update.
1835 * po/fr.po: Update.
1836 * po/gl.po: Update.
1837 * po/hr.po: Update.
1838 * po/hu.po: Update.
1839 * po/ia.po: Update.
1840 * po/id.po: Update.
1841 * po/it.po: Update.
1842 * po/ja.po: Update.
1843 * po/ko.po: Update.
1844 * po/lt.po: Update.
1845 * po/nb.po: Update.
1846 * po/nl.po: Update.
1847 * po/pl.po: Update.
1848 * po/pt_BR.po: Update.
1849 * po/ru.po: Update.
1850 * po/rw.po: Update.
1851 * po/sk.po: Update.
1852 * po/sl.po: Update.
1853 * po/sv.po: Update.
1854 * po/tr.po: Update.
1855 * po/uk.po: Update.
1856 * po/vi.po: Update.
1857 * po/zh_CN.po: Update.
1858 * po/zh_TW.po: Update.
1859
3f823f48
CD
1860 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1861 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1862 * sysdeps/hppa/dl-irel.h: Remove #warning.
1863 * sysdeps/hppa/entry.h: Provide prototype for
1864 __canonicalize_funcptr_for_compare and cast argument.
1865 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1866 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1867 * sysdeps/hppa/sotruss-lib.c: New file.
1868 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1869 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1870 (atomic_compare_and_exchange_bool_acq): Likewise.
1871 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1872 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1873
1874 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1875 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1876 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1877
34c56048
CLT
18782015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1879
1880 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1881 called function in non-PIC case.
1882
d4abeca5
DM
18832015-01-31 David S. Miller <davem@davemloft.net>
1884
edac0a60
DM
1885 * sysdeps/sparc/sparc32/bits/atomic.h
1886 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1887 unlock not after it.
1888 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1889 volatile register usage warnings from the compiler.
1890
d4abeca5
DM
1891 * sysdeps/sparc/nptl/sem_init.c: Delete.
1892 * sysdeps/sparc/nptl/sem_post.c: Delete.
1893 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1894 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1895 * sysdeps/sparc/sparc32/sem_init.c: New file.
1896 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1897 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1898 padding explicitly initialized.
1899 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1900 padding for in-semaphore spinlock.
1901 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1902 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1903 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1904 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1905 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1906 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1907 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1908 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1909 version.
1910 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1911 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1912
5f3d0b78
L
19132015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1914
1915 [BZ #17801]
1916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1917 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1918 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1919 New.
1920 (index_AVX_Fast_Unaligned_Load): Likewise.
1921 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1922 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1923 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1924 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1925 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1926 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1927 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1928 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1929 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1930
b658fdd8
AS
19312015-01-29 Andreas Schwab <schwab@suse.de>
1932
1933 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1934
3cb26316
SP
19352015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1936
1937 [BZ #17892]
1938 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1939
527de9e4
MS
19402015-01-28 Martin Sebor <msebor@redhat.com>
1941
1942 * math/README.libm-test: Clarify. Add "How to read the test output."
1943
06991eb8
CM
19442015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1945
1946 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1947 Define to 0.
1948
df341342
JM
19492015-01-28 Joseph Myers <joseph@codesourcery.com>
1950
1951 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1952 (__HAVE_64B_ATOMICS): Define to 0.
1953
08cee2a4
AZ
19542015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1955
d4d0ecb2
AZ
1956 [BZ #17885]
1957 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1958 value to set as new flag.
1959
08cee2a4
AZ
1960 [BZ #16576]
1961 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1962 and use _ARCH_PPCSQ instead.
1963 (__ieee754_sqrt): Likewise.
1964 (__ieee754_sqrtf): Likewise.
1965 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1966 _ARCH_PPCSQ is defined.
1967 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1968 fsqrt instruction.
1969 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1970 _ARCH_PPCSQ is defined.
1971 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1972 fsqrts instruction.
1973 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1974
5fe8e359
AK
19752015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1976
1977 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1978 bug (GCC BZ #64739).
1979
24bb7432
AS
19802015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1981
fa20da31
AS
1982 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1983 Mark _retval as used.
1984 (lll_futex_wake_unlock): Likewise.
1985 (lll_futex_timed_wait_requeue_pi): Likewise.
1986
45819cbc
AS
1987 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1988 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1989 register variables.
1990
403cc231
AS
1991 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1992 libm_hidden_def.
1993
24bb7432
AS
1994 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1995 (__bswap_64): Mark as __always_inline.
1996
9317ea65
B
19972015-01-25 Bram <bug_rh@spam.wizbit.be>
1998
1999 [BZ #15378]
2000 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2001 when none of the search directories exist.
2002
0e87343e
AZ
20032015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2004
bea58013
AZ
2005 [BZ #17869]
2006 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2007 power8 in .machine directive.
2008
0e87343e
AZ
2009 [BZ #17868]
2010 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2011 set dependency from opd value.
2012
ede0236c
L
20132015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2014
2015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
2016 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2017 architecture.
ede0236c 2018
22971c35
L
20192015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2020
2021 [BZ #17870]
2022 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2023 with uint64_t.
2024 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2025 (uint64_t) 1.
e0da28a1 2026 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
2027 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2028 Replace 1UL with (uint64_t) 1.
2029 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2030 int with uint64_t.
2031
da5bf245
RM
20322015-01-23 Roland McGrath <roland@hack.frob.com>
2033
2ec2d703
RM
2034 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2035 (if_freenameindex): Likewise.
2036
da5bf245
RM
2037 * resource/getrlimit64.c: Add missing libc_hidden_def.
2038
d7423856
JM
20392015-01-22 Joseph Myers <joseph@codesourcery.com>
2040
2041 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2042 __label__.
2043 (_FP_FMA): Likewise.
2044 (_FP_TO_INT_ROUND): Likewise.
2045 (_FP_FROM_INT): Likewise.
2046
6b2ba95b
AZ
20472015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2048
2049 [BZ #16418]
2050 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2051 Make code racy and cancel safe.
2052
ccdb048d
CD
20532015-01-21 Carlos O'Donell <carlos@redhat.com>
2054
191220b3
CD
2055 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2056 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2057 attribution.
2058
0897c551
CD
2059 * pwd/tst-getpw.c: Rewrite.
2060
ccdb048d
CD
2061 [BZ #17702]
2062 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2063 (modules-names): Add moddummy1 and moddummy2.
2064 ($(objpfx)tst-rec-dlopen): Define.
2065 * dlfcn/moddummy1.c: New file.
2066 * dlfcn/moddummy2.c: New file.
2067 * dlfcn/tst-rec-dlopen.c: New file.
2068 * elf/dl-cache.c (_dl_load_cache_lookup):
2069 Return char*. Copy result with alloca/strcpy/strdup.
2070 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2071 returns char*. Free cached. If not saving realname
2072 free cached.
2073 * elf/dl-open.c (dl_open_worker): Do not assert that
2074 _r_debug->r_state is RT_CONSISTENT.
2075 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2076 returns char*.
2077
042e1521
CD
20782015-01-21 Torvald Riegel <triegel@redhat.com>
2079 Carlos O'Donell <carlos@redhat.com>
2080
2081 [BZ #12674]
2082 * nptl/sem_waitcommon.c: New file.
2083 * nptl/sem_wait.c: Include sem_waitcommon.c.
2084 (__sem_wait_cleanup, do_futex_wait): Remove.
2085 (__new_sem_wait): Adapt.
2086 (__new_sem_trywait): New function.
2087 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2088 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2089 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2090 (sem_timedwait): Adapt.
2091 * nptl/sem_post.c (__new_sem_post): Adapt.
2092 (futex_wake): New function.
2093 (__old_sem_post): Add release MO fence.
2094 * nptl/sem_open.c (sem_open): Adapt.
2095 * nptl/sem_init.c (__new_sem_init): Adapt.
2096 (futex_private_if_supported): New function.
2097 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2098 (__old_sem_getvalue): Add using previous code.
2099 * sysdeps/nptl/internaltypes.h: Adapt.
2100 * nptl/tst-sem13.c (do_test): Adapt.
2101 * nptl/tst-sem11.c (main): Adapt.
2102 * nptl/sem_trywait.c: Remove.
2103 * nptl/DESIGN-sem.txt: Remove.
2104 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2105 (gen-as-const-headers): Remove structsem.sym.
2106 * nptl/structsem.sym: Remove.
2107 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2108 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2109 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2110 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2111 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2112 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2113 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2114 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2115 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2116 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2117 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2118 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2119 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2120 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2121 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2122 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2123 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2124 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2125 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2126 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2127 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2128 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2129
fe0e85af
CD
21302015-01-20 Carlos O'Donell <carlos@redhat.com>
2131
a8db092e
CD
2132 * INSTALL: Regenerated.
2133
fe0e85af
CD
2134 * po/libc.pot: Regenerated.
2135
522e6ee3
CLT
21362015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2137 Sandra Loosemore <sandra@codesourcery.com>
2138 Andrew Jenner <andrew@codesourcery.com>
2139 Joseph Myers <joseph@codesourcery.com>
2140 Nathan Sidwell <nathan@codesourcery.com>
2141
2142 * NEWS: Mention new Nios II port.
2143 * sysdeps/nios2/Implies: New file.
2144 * sysdeps/nios2/Makefile: New file.
2145 * sysdeps/nios2/Subdirs: New file.
2146 * sysdeps/nios2/Versions: New file.
2147 * sysdeps/nios2/__longjmp.S: New file.
2148 * sysdeps/nios2/abort-instr.h: New file.
2149 * sysdeps/nios2/backtrace.c: New file.
2150 * sysdeps/nios2/bits/endian.h: New file.
2151 * sysdeps/nios2/bits/fenv.h: New file.
2152 * sysdeps/nios2/bits/link.h: New file.
2153 * sysdeps/nios2/bits/setjmp.h: New file.
2154 * sysdeps/nios2/bsd-_setjmp.S: New file.
2155 * sysdeps/nios2/bsd-setjmp.S: New file.
2156 * sysdeps/nios2/configure: New generated file.
2157 * sysdeps/nios2/configure.ac: New file.
2158 * sysdeps/nios2/crti.S: New file.
2159 * sysdeps/nios2/crtn.S: New file.
2160 * sysdeps/nios2/dl-init.c: New file.
2161 * sysdeps/nios2/dl-machine.h: New file.
2162 * sysdeps/nios2/dl-sysdep.h: New file.
2163 * sysdeps/nios2/dl-tls.h: New file.
2164 * sysdeps/nios2/dl-trampoline.S: New file.
2165 * sysdeps/nios2/gccframe.h: New file.
2166 * sysdeps/nios2/gmp-mparam.h: New file.
2167 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2168 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2169 * sysdeps/nios2/ldsodefs.h: New file.
2170 * sysdeps/nios2/libc-tls.c: New file.
2171 * sysdeps/nios2/libm-test-ulps: New file.
2172 * sysdeps/nios2/machine-gmon.h: New file.
2173 * sysdeps/nios2/math-tests.h: New file.
2174 * sysdeps/nios2/math_private.h: New file.
2175 * sysdeps/nios2/memusage.h: New file.
2176 * sysdeps/nios2/nptl/Makefile: New file.
2177 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2178 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2179 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2180 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2181 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2182 * sysdeps/nios2/nptl/tls.h: New file.
2183 * sysdeps/nios2/preconfigure: New file.
2184 * sysdeps/nios2/s_fma.c: New file.
2185 * sysdeps/nios2/s_fmaf.c: New file.
2186 * sysdeps/nios2/setjmp.S: New file.
2187 * sysdeps/nios2/sfp-machine.h: New file.
2188 * sysdeps/nios2/sotruss-lib.c: New file.
2189 * sysdeps/nios2/stackguard-macros.h: New file.
2190 * sysdeps/nios2/stackinfo.h: New file.
2191 * sysdeps/nios2/start.S: New file.
2192 * sysdeps/nios2/sysdep.h: New file.
2193 * sysdeps/nios2/tls-macros.h: New file.
2194 * sysdeps/nios2/tst-audit.h: New file.
2195 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2196 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2197 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2198 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2199 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2200 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2201 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2202 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2203 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2204 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2205 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2206 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2207 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2208 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2209 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2210 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2211 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2212 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2213 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2214 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2215 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2216 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2217 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2218 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2219 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2220 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2221 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2222 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2223 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2224 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2225 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2226 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2227 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2228 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2229 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2230 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2231 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2232 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2233 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2234 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2235 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2236 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2237 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2238 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2239
026eb207
SL
22402015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2241
2242 [BZ #17844]
2243 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2244 (getutent): Use weak_alias in non SHARED case
2245 and default_symbol_version in SHARED case.
2246 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2247 (getutent_r, pututline): Likewise.
2248 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2249 (getutid): Likewise.
2250 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2251 (getutid_r): Likewise.
2252 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2253 (getutline): Likewise.
2254 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2255 (getutline_r): Likewise.
2256 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2257 (updwtmp): Likewise.
2258
1d532483
SL
22592015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2260
2261 [BZ #17848]
2262 * sysdeps/s390/s390-32/memcmp.S
2263 (memcmp_g5): Rename to __memcmp_g5.
2264 * sysdeps/s390/s390-32/memcpy.S
2265 (memcpy_g5): Rename to __memcpy_g5.
2266 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2267 (memcpy_mvcle) Rename to __memcpy_mvcle.
2268 * sysdeps/s390/s390-32/memset.S
2269 (memset_g5): Rename to __memset_g5.
2270 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2271 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2272 and use prefixed functions.
2273 * sysdeps/s390/s390-32/multiarch/memcmp.S
2274 (memcmp_z196): Rename to __memcmp_z196.
2275 (memcmp_z10): Rename to __memcmp_z10.
2276 (memcmp): Set alias to __memcmp_g5.
2277 (bcmp): Set alias to __memcmp_g5.
2278 * sysdeps/s390/s390-32/multiarch/memcpy.S
2279 (memcpy_z196): Rename to __memcpy_z196.
2280 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2281 (memcpy_z10): Rename to __memcpy_z10.
2282 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2283 (memcpy): Set alias to __memcpy_g5.
2284 * sysdeps/s390/s390-32/multiarch/memset.S
2285 (memset_z196): Rename to __memset_z196.
2286 Jump to __memset_mvcle instead of memset_mvcle.
2287 (memset_z10): Rename to __memset_z10.
2288 Jump to __memset_mvcle instead of memset_mvcle.
2289 (memset_mvcle) Rename to __memset_mvcle.
2290 (memset): Set alias to __memset_g5.
2291 * sysdeps/s390/s390-64/memcmp.S
2292 (memcmp_z900): Rename to __memcmp_z900.
2293 * sysdeps/s390/s390-64/memcpy.S
2294 (memcpy_z900): Rename to __memcpy_z900.
2295 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2296 (memcpy_mvcle) Rename to __memcpy_mvcle.
2297 * sysdeps/s390/s390-64/memset.S
2298 (memset_z900): Rename to __memset_z900.
2299 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2300 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2301 and use prefixed functions.
2302 * sysdeps/s390/s390-64/multiarch/memcmp.S
2303 (memcmp_z196): Rename to __memcmp_z196.
2304 (memcmp_z10): Rename to __memcmp_z10.
2305 (memcmp): Set alias to __memcmp_z900.
2306 (bcmp): Set alias to __memcmp_z900.
2307 * sysdeps/s390/s390-64/multiarch/memcpy.S
2308 (memcpy_z196): Rename to __memcpy_z196.
2309 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2310 (memcpy_z10): Rename to __memcpy_z10.
2311 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2312 (memcpy): Set alias to __memcpy_z900.
2313 * sysdeps/s390/s390-64/multiarch/memset.S
2314 (memset_z196): Rename to __memset_z196.
2315 Jump to __memset_mvcle instead of memset_mvcle.
2316 (memset_z10): Rename to __memset_z10.
2317 Jump to __memset_mvcle instead of memset_mvcle.
2318 (memset_mvcle) Rename to __memset_mvcle.
2319 (memset): Set alias to __memset_z900.
2320
53fbd169
JM
23212015-01-14 Joseph Myers <joseph@codesourcery.com>
2322
2323 [BZ #17748]
2324 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2325 __fesetenv instead of fesetenv.
2326
d639a363
SP
23272015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2328
2329 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2330 macro.
2331
d3b00f46
AZ
23322015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2333
ce6615c9
AZ
2334 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2335 regression on LE.
2336
d3b00f46
AZ
2337 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2338 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2339 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2340 strncmp-power8 object.
2341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2342 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2343 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2344 * NEWS: Update.
2345
72607db0
RS
23462015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2347 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2348
2349 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2350 trailing byte check.
2351
54dc5461
DM
23522015-01-13 David S. Miller <davem@davemloft.net>
2353
2354 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2355
1c6e6f23
RM
23562015-01-13 Roland McGrath <roland@hack.frob.com>
2357
2358 * login/logout.c (logout): Use memset rather than bzero.
2359 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2360 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2361 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2362 (_gethtbyaddr): Likewise.
2363 * locale/programs/simple-hash.c (bcopy): Macro removed.
2364
96d6fd6c
AZ
23652015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2366
8bedcb5f
AZ
2367 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2368 Add strcmp-power8 object.
2369 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2370 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2371 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2372 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2373 __strcmp_power8 implementation.
2374 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2375 * NEWS: Update.
2376
f06a4faf
AZ
2377 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2378 Add strncpy-power8 and stpncpy-power8 objects.
2379 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2380 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2381 implementations.
2382 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2383 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2384 __stpncpy_power8 implementation.
2385 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2386 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2387 __strncpy_power8 implementation.
2388 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2389 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2390 * NEWS: Update.
2391
9f2f36e5
AZ
2392 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2393 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2394 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2395
96d6fd6c 2396 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2397 strncat-power8 object.
2398 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2399 __strcat_power8 implementation.
2400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2401 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2402 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2403 optimized strcat for power8.
2404
2405 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2406 strcpy-power8 and stpcpy-power8 objects.
2407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2408 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2409 implementations.
2410 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2411 multiarch stpcpy implementation for POWER8.
2412 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2413 multiarch strcpy implementation for POWER8.
2414 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2415 __strcpy_power8 function.
2416 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2417 stpcpy for POWER8.
2418 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2419 strcpy for POWER8.
2420 * NEWS: Update.
2421
0f9e5854
LH
24222015-01-13 Leonhard Holz <leonhard.holz@web.de>
2423
2424 [BZ #16009]
2425 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2426 weights and rules. Use do_xfrm_cached if data fits in cache,
2427 do_xfrm otherwise. Moved former main loop to...
2428 * (do_xfrm_cached): New function.
2429 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2430 find_idx, find_position and stack_push.
2431 * (find_idx): New function.
2432 * (find_position): Likewise.
2433 * localedata/sort-test.sh: Added test run for do_xfrm.
2434 * localedata/xfrm-test.c (main): Added command line option
2435 -nocache to run the test with strings that are too large for
2436 the STRXFRM cache.
2437
c60ec0e0
TR
24382015-01-13 Torvald Riegel <triegel@redhat.com>
2439
2440 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2441 variable to lll_futex_wake call, not the value itself.
2442
34e93d6c
JM
24432015-01-12 Joseph Myers <joseph@codesourcery.com>
2444
5a9e4c09
JM
2445 [BZ #17803]
2446 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2447 twom64. Adjust value to 0x1p-64L.
2448 (__scalblnl): Only return standard underflowing result for K <=
2449 -64 not K <= -63; adjust exponent for underflowing result by 64
2450 not 63.
2451 * math/libm-test.inc (scalbn_test_data): Add more tests.
2452 (scalbln_test_data): Likewise.
2453
34e93d6c
JM
2454 [BZ #17834]
2455 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2456 0x1p63L.
2457 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2458 not HX.
2459 * math/libm-test.inc (scalbn_test_data): Add more tests.
2460 (scalbln_test_data): Likewise.
2461
ca677d3c
AZ
24622015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2463 Stefani Seibold <stefani@seibold.net>
2464
2465 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2466 (sysdep_routines): Add dl-vdso here, ...
2467 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2468 (sysdep_routines): ... not here.
2469 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2470 fallback when vDSO is not presented.
2471 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2472 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2473 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2474 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2475 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2476 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2477 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2478 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2479 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2480 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2481 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2482 fallback configurable symbol when vDSO is not available.
2483 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2484 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2485 be able to redefine fallback symbol when vDSO is not available.
2486 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2487 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2488
49a9f6ab 24892015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2490
56cf2763
AZ
2491 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2492 (TLS_INIT_TP): Add tm_capable initialization.
2493 (TLS_DEFINE_INIT_TP): Likewise.
2494 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2495 TCB.
2496 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2497 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2498 calculation.
2499 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2500 transactoion is lock elision is built and TCB tm_capable is set.
2501 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2503 (INTERNAL_SYSCALL_NCS): Likewise.
2504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2505 (INTERNAL_SYSCALL_NCS): Likewise.
2506 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2507
4b45943a
AZ
2508 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2509 for powerpc.
2510 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2511 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2512 and remove it for 32 bits case.
2513 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2514 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2515 initialization.
2516 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2517 Disable lock elision with rdlocks if elision is not available.
2518
8d2c0a59
AZ
2519 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2520 (sysdep_routines): Add lock elision objects.
2521 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2522 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2523 [pthread_mutex_t] (__elision): Add field.
2524 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2525 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2526 elision definitions for powerpc.
2527 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2528 implementation of lock elision for powerpc.
2529 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2530 implementation of timed lock elision for powerpc.
2531 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2532 implementation of trylock with lock elision for powerpc.
2533 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2534 implementaion of unlock for lock elision for powerpc.
2535 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2536 automatic enable lock elision for mutexes.
2537 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2538 transaction execution definitions for powerpc.
2539 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2540 definitions.
2541 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2542 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2543 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2544 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2545 * NEWS: Update.
2546
bc0ed9f7
RM
25472015-01-09 Roland McGrath <roland@hack.frob.com>
2548
2549 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2550 for #include of <shm-directory.h>.
2551
585d9c18
CLT
25522015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2553
2554 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2555 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2556
aee6626c
MF
25572015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2558
2559 [BZ #17791]
2560 * NEWS: Mention bug fix.
2561 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2562 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2563 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2564
9e560f48
TR
25652015-01-09 Torvald Riegel <triegel@redhat.com>
2566
2567 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2568
e1cfbd0c
TR
25692015-01-09 Torvald Riegel <triegel@redhat.com>
2570
2571 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2572
cf71e44f
DH
25732015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2574
2575 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2576 pointer and cast to uintptr_t.
2577
b360ee62
DH
25782015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2579
2580 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2581 removed.
2582 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2583
caff764e
DH
25842015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2585
2586 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2587 of 0.
2588
59ff172f
RM
25892015-01-08 Roland McGrath <roland@hack.frob.com>
2590
c97d27f1
RM
2591 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2592 <nptl/pthreadP.h> instead.
2593 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2594
08734ccd
RM
2595 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2596 already defined.
2597 [__SIGRTMIN] (init): Function removed.
2598 [__SIGRTMIN] (initialized): Variable removed.
2599 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2600 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2601 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2602 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2603 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2604 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2605 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2606 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2607 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2608 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2609 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2610 * sysdeps/nptl/allocrtsig.c: New file.
2611 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2612 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2613 * sysdeps/generic/testrtsig.h: File removed.
2614
7b052e33
RM
2615 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2616 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2617
cc40d25e
RM
2618 * nptl/nptl-init.c (pthread_functions): Conditionalize
2619 .ptr__nptl_setxid initialization on [SIGSETXID].
2620
9287adf0
RM
2621 * sysdeps/nptl/sys/procfs.h: New file.
2622 * nptl_db/Makefile (headers): Add it.
2623 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2624
59ff172f
RM
2625 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2626 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2627 * nptl/pthread_attr_setaffinity.c: Include it.
2628 * nptl/pthread_setattr_default_np.c: Likewise.
2629 * nptl/check-cpuset.h: New file.
2630
b9205857
RH
26312015-01-08 Richard Henderson <rth@redhat.com>
2632
2633 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2634 (CFLAGS-tst-execstack-prog.c): Likewise.
2635 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2636
1a0a8d15
CLT
26372015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2638 Sandra Loosemore <sandra@codesourcery.com>
2639 Andrew Jenner <andrew@codesourcery.com>
2640 Joseph Myers <joseph@codesourcery.com>
2641 Nathan Sidwell <nathan@codesourcery.com>
2642
2643 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2644 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2645 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2646 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2647 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2648 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2649 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
2650 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2651 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2652 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2653 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2654 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2655 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
2656 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2657 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2658 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2659 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2660
dd6e8af6
AZ
26612015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2662
2663 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2664 timespec struct member in syscall macro.
2665 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2666 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2667 first timeval struct member in syscall macro.
2668 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2669
8116321f
JM
26702015-01-07 Joseph Myers <joseph@codesourcery.com>
2671
2672 [BZ #17748]
2673 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2674 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2675 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2676 __feupdateenv and define as weak alias of __feupdateenv. Use
2677 libm_hidden_weak.
2678 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2679 libm_hidden_def.
2680 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2681 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2682 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2683 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2684 libm_hidden_def.
2685 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2686 __feupdateenv and define as weak alias of __feupdateenv. Use
2687 libm_hidden_weak.
2688 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2689 libm_hidden_def.
2690 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2691 __feupdateenv and define as weak alias of __feupdateenv. Use
2692 libm_hidden_weak.
2693 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2694 libm_hidden_def.
2695 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2696 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2697 (__feupdateenv): Likewise.
2698 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2699 __feupdateenv and define as weak alias of __feupdateenv. Use
2700 libm_hidden_weak.
2701 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2702 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2703 libm_hidden_def.
2704 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2705 function.
2706 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2707 libm_hidden_def.
2708 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2709 __feupdateenv instead of feupdateenv.
2710 (default_libc_feupdateenv_test): Likewise.
2711 (libc_feresetround_ctx): Likewise.
2712
882dfe18
AZ
27132015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2714
2715 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2716 prototype.
2717
39a12f8d
CM
27182015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2719
2720 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2721 COLL_SYM in a couple of places to avoid uninitialized variable
2722 wanings on tilegx gcc 4.8.2.
2723
dc400d7b
RE
27242015-01-07 Richard Earnshaw <rearnsha@arm.com>
2725
2726 * sysdeps/aarch64/strcpy.S: New file.
2727 * sysdeps/aarch64/stpcpy.S: New file.
2728 * NEWS: Updated.
2729
ec582ca0
RE
27302015-01-07 Richard Earnshaw <rearnsha@arm.com>
2731
2732 * sysdeps/aarch64/strrchr.S: New file.
2733 * NEWS: Updated.
2734
d5b1c5ed
EB
27352015-01-07 Eric Biggers <ebiggers3@gmail.com>
2736
2737 [BZ #17658]
2738 * stdlib/setenv.c: Fix memory leak when setting large,
2739 duplicate string.
2740
fb87ee96
VN
27412015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2742
60f046a8 2743 [BZ #17273]
fb87ee96
VN
2744 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2745 and tabs from buffer before parsing fstab entry.
2746 * misc/tst-mntent.c (main): Add test for mount entry with
2747 trailing spaces and tabs.
2748
cd42798a
JM
27492015-01-06 Joseph Myers <joseph@codesourcery.com>
2750
01238691
JM
2751 [BZ #17748]
2752 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2753 * math/fesetround.c (fesetround): Rename to __fesetround and
2754 define as weak alias of __fesetround. Use libm_hidden_weak.
2755 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2756 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2757 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2758 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2759 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2760 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2761 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2762 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2763 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2764 __fesetround_inline.
2765 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2766 __fesetround_inline instead of __fesetround.
2767 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2768 __fesetround and define as weak alias of __fesetround. Use
2769 libm_hidden_weak. Call __fesetround_inline instead of
2770 __fesetround.
2771 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2772 __fesetround and define as weak alias of __fesetround. Use
2773 libm_hidden_weak.
2774 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2775 Likewise.
2776 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2777 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2778 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2779 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2780 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2781 __fesetround and define as weak alias of __fesetround. Use
2782 libm_hidden_weak.
2783 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2784 __fesetround instead of fesetround.
2785 (default_libc_feholdexcept_setround): Likewise.
2786 (libc_feholdsetround_ctx): Likewise.
2787 (libc_feholdsetround_noex_ctx): Likewise.
2788
cd42798a
JM
2789 [BZ #17748]
2790 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2791 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2792 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2793 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2794 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2795 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2796 define as weak alias of __fesetenv. Use libm_hidden_weak.
2797 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2798 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2799 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2800 define as weak alias of __fesetenv. Use libm_hidden_weak.
2801 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2802 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2803 define as weak alias of __fesetenv. Use libm_hidden_weak.
2804 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2805 libm_hidden_def.
2806 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2807 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2808 Likewise.
2809 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2810 define as weak alias of __fesetenv. Use libm_hidden_weak.
2811 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2812 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2813 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2814 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2815 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2816 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2817 __fesetenv instead of fesetenv.
2818 (libc_feresetround_noex_ctx): Likewise.
2819 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2820 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2821 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2822 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2823 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2824 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2825 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2826 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2827 (__feupdateenv): Likewise.
2828 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2829 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2830 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2831 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2832
38949026
AJ
28332015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2834
1cf98e27 2835 [BZ #17806]
38949026
AJ
2836 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2837 addresses have been freed.
2838
5fe55e9c
AJ
28392015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2840
2841 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2842 and nservall.
2843
dc8ab018
OB
28442015-01-06 Ondřej Bílka <neleai@seznam.cz>
2845
2846 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2847 Clean up check_pf allocation pattern. addresses
2848
14bb4e57
AZ
28492015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2850
2851 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2852 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2853 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2854 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2855 * nptl/pthread_join.c (pthread_join): Likewise.
2856 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2857 * sysdeps/posix/waitid.c (__waitid): Likewise.
2858 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2859 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2860 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2861 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2862 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2863 Likewise.
2864 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2865 (__libc_pread64): Likewise.
2866 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2867 (__libc_pwrite): Likewise.
2868 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2869 (__libc_pwrite64): Likewsie.
2870 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2871 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2872 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2873 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2874 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2875 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2876 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2878 Likewise.
2879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2880 (__libc_pread64): Likewise.
2881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2882 Likewise.
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2884 (__libc_pwrite64): Likewise.
2885 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2886 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2887 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2888 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2889 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2890 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2891 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2892 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2893 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2894 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2895 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2896 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2897 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2898 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2899 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2900 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2901 Likewise.
2902
10a5e112
AS
29032015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2904
2905 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2906 (CFLAGS-test-double.c): Likewise.
2907 (CFLAGS-test-ldouble.c): Likewise.
2908 (CPPFLAGS-test-ifloat.c): Likewise.
2909 (CPPFLAGS-test-idouble.c): Likewise.
2910 (CPPFLAGS-test-ildoubl.c): Likewise.
2911 (CFLAGS-test-test-fenv.c): Remove variable.
2912 (CFLAGS-test-misc.c): Likewise.
2913
57ada0e7
L
29142015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2915
2916 [BZ #17797]
2917 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2918 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2919 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2920 CLOCKS_PER_SEC == 1000000.
2921 * time/clocktest.c (main): Replace %ld with %jd and cast to
2922 intmax_t.
2923
46abb64d
RM
29242015-01-05 Roland McGrath <roland@hack.frob.com>
2925
2926 * sysdeps/generic/unwind-resume.h: New file.
2927 * sysdeps/gnu/unwind-resume.c: Include it.
2928 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2929 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2930 argument list.
2931 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2932 global rather than static.
2933 (_Unwind_Resume): Update user.
2934 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2935 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2936 rather than static. Add __attribute__ ((cold)).
2937 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2938 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2939 * sysdeps/arm/arm-unwind-resume.S: New file.
2940 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2941 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2942 * sysdeps/arm/Makefile [$(subdir) = csu]
2943 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2944 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2945 Add rt-arm-unwind-resume.
2946 [$(subdir) = nptl]
2947 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2948 Add pt-arm-unwind-resume.
2949 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2950 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2951
ef9faf13
JM
29522015-01-05 Joseph Myers <joseph@codesourcery.com>
2953
2954 [BZ #17748]
2955 * include/fenv.h (__feholdexcept): Declare. Use
2956 libm_hidden_proto.
2957 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2958 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2959 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2960 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2961 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2962 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2963 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2964 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2965 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2966 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2967 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2968 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2969 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2970 (feholdexcept): Likewise.
2971 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2972 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2973 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2974 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2975 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2976 __feholdexcept instead of feholdexcept.
2977 (default_libc_feholdexcept_setround): Likewise.
2978
295a453e
SE
29792015-01-05 Steve Ellcey <sellcey@imgtec.com>
2980
2981 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2982 to avoid using stl/str to align destination.
2983
882c4b9f
SE
29842015-01-05 Steve Ellcey <sellcey@imgtec.com>
2985
2986 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2987
ac4c11f5
JM
29882015-01-05 Joseph Myers <joseph@codesourcery.com>
2989
2990 [BZ #17796]
2991 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2992 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2993 Define as weak alias not strong alias.
2994
03403e30
SE
29952015-01-05 Steve Ellcey <sellcey@imgtec.com>
2996
2997 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2998 bltzal with addiupc.
2999 (RTLD_START): Ditto.
3000
1dca195e
CM
30012015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3002
00b8b9ba
SP
3003 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3004 for __vdso_* functions in declarations.
3005 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3006 definitions.
3007 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3008 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 3009
1dca195e
CM
3010 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3011 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3012 function with cast from llround().
3013 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3014 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3015 Define.
3016
a287953a
JM
30172015-01-05 Joseph Myers <joseph@codesourcery.com>
3018
ab70da77
JM
3019 [BZ #17793]
3020 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3021 Define as weak alias not strong alias.
3022
b8986484
JM
3023 [BZ #17635]
3024 * ctype/ctype-c99.c: New file. isblank implementation moved from
3025 ...
3026 * ctype/ctype-extn.c: ... here.
3027 (__isblank_l): Move to ...
3028 * ctype/ctype-c99_l.c: ... here. New file.
3029 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3030 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3031 Remove variable.
3032 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3033 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3034 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3035 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3036 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3037
a287953a
JM
3038 [BZ #17777]
3039 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3040 (posix_fadvise64): Define as weak alias not strong alias.
3041 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3042 (posix_fallocate64): Likewise.
3043 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3044 Remove variable.
3045 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3046 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3047 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3048 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3049 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3050
b1efe3bb
MF
30512015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3052
3053 [BZ #16191]
3054 * NEWS: Mention bug fix.
3055 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3056 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3057 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3058 (HOST_STACK_END_ADDR): Likewise.
3059
9706dc5f
JM
30602015-01-02 Joseph Myers <joseph@codesourcery.com>
3061
b93c2205
JM
3062 [BZ #17748]
3063 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3064 * math/fegetround.c (fegetround): Rename to __fegetround and
3065 define as weak alias of __fegetround. Use libm_hidden_weak.
3066 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3067 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3068 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3069 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3070 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3071 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3072 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3073 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3074 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3075 Undefine after rather than before function definition; use
3076 parentheses around function name in definition.
3077 (__fegetround): Also undefine macro after function definition.
3078 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3079 __fegetround and define as weak alias of __fegetround. Use
3080 libm_hidden_weak. Do not undefine as macro.
3081 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3082 Likewise.
3083 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3084 __fegetround and define as weak alias of __fegetround. Use
3085 libm_hidden_weak.
3086 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3087 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3088 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3089 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3090 __fegetround and define as weak alias of __fegetround. Use
3091 libm_hidden_weak.
3092 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3093 __fegetround instead of fegetround.
3094
253a59cc
JM
3095 [BZ #17782]
3096 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3097 Condition macro definition on [__USE_MISC].
3098
27dae011
JM
3099 [BZ #17781]
3100 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3101 (struct sigaction): Change type of sa_flags field to int.
3102
172019c0
JM
3103 [BZ #17780]
3104 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3105 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3106 __glibc_reserved0.
3107
522ad1d6
JM
3108 * nptl/version.c (banner): Use single year in copyright notice.
3109
9706dc5f
JM
3110 * NEWS: Update copyright dates.
3111 * catgets/gencat.c (print_version): Likewise.
3112 * csu/version.c (banner): Likewise.
3113 * debug/catchsegv.sh: Likewise.
3114 * debug/pcprofiledump.c (print_version): Likewise.
3115 * debug/xtrace.sh (do_version): Likewise.
3116 * elf/ldconfig.c (print_version): Likewise.
3117 * elf/ldd.bash.in: Likewise.
3118 * elf/pldd.c (print_version): Likewise.
3119 * elf/sotruss.sh: Likewise.
3120 * elf/sprof.c (print_version): Likewise.
3121 * iconv/iconv_prog.c (print_version): Likewise.
3122 * iconv/iconvconfig.c (print_version): Likewise.
3123 * locale/programs/locale.c (print_version): Likewise.
3124 * locale/programs/localedef.c (print_version): Likewise.
3125 * login/programs/pt_chown.c (print_version): Likewise.
3126 * malloc/memusage.sh (do_version): Likewise.
3127 * malloc/memusagestat.c (print_version): Likewise.
3128 * malloc/mtrace.pl: Likewise.
3129 * manual/libc.texinfo: Likewise.
3130 * nptl/version.c (banner): Likewise.
3131 * nscd/nscd.c (print_version): Likewise.
3132 * nss/getent.c (print_version): Likewise.
3133 * nss/makedb.c (print_version): Likewise.
3134 * posix/getconf.c (main): Likewise.
3135 * scripts/test-installation.pl: Likewise.
3136 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3137
b8607aac
WN
31382015-01-02 Will Newton <will.newton@linaro.org>
3139
3140 * sysdeps/arm/armv7/configure: Removed.
3141 * sysdeps/arm/armv7/configure.ac: Likewise.
3142
b168057a
JM
31432015-01-02 Joseph Myers <joseph@codesourcery.com>
3144
3145 * All files with FSF copyright notices: Update copyright dates
3146 using scripts/update-copyrights.
3147 * intl/plural.c: Regenerated.
3148 * locale/programs/charmap-kw.h: Likewise.
3149 * locale/programs/locfile-kw.h: Likewise.
3150
b217c15f
SP
31512015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3152
3153 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3154
73a268c7
JM
31552014-12-31 Joseph Myers <joseph@codesourcery.com>
3156
3157 [BZ #17748]
3158 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3159 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3160 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3161 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3162 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3163 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3164 define as weak alias of __fegetenv. Use libm_hidden_weak.
3165 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3166 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3167 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3168 define as weak alias of __fegetenv. Use libm_hidden_weak.
3169 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3170 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3171 define as weak alias of __fegetenv. Use libm_hidden_weak.
3172 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3173 libm_hidden_def.
3174 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3175 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3176 Likewise.
3177 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3178 define as weak alias of __fegetenv. Use libm_hidden_weak.
3179 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3180 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3181 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3182 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3183 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3184 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3185 __fegetenv instead of fegetenv.
3186 (libc_feholdsetround_noex_ctx): Likewise.
3187
0bd95672
MF
31882014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3189
3190 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3191 (Elf_MIPS_ABIFlags_v0): New structure.
3192 (EF_MIPS_FP64): Define.
3193 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3194 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3195 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3196 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3197 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3198 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3199 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3200 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3201 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3202 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3203 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3204 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3205 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3206 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3207 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3208 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3209 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3210 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3211 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3212 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3213 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3214 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3215 field.
3216 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3217 EF_MIPS_FP64.
3218 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3219 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3220 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3221 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3222 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3223 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3224 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3225 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3226 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3227 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3228 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3229 record the current FP ABI extension.
3230 (mips-mode-switch): Define to show if kernel headers support mode
3231 switching.
3232 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3233 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3234 supported SYSV ABI version to 3.
3235 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3236 feature.
3237
f59ad976
RS
32382014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3239 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3240
3241 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3242 path.
3243 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3244
4a3d3999
JM
32452014-12-31 Joseph Myers <joseph@codesourcery.com>
3246
3247 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3248 __fegetround and redefine to call __fegetround. Remove condition
3249 on [!__NO_MATH_INLINES].
3250 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3251 function.
3252 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3253 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3254 Remove macro.
3255 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3256 instead of <fenv_libc.h>.
3257 (__llrintl): Call fegetround instead of __fegetround.
3258 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3259 instead of <fenv_libc.h>.
3260 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3261 (__lrintl): Call fegetround instead of __fegetround.
3262 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3263 instead of <fenv_libc.h>.
3264 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3265 (__rintl): Call fegetround instead of __fegetround.
3266
195f3afc
SP
32672014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3268
3269 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3270 arrays.
3271
7062bd42
L
32722014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3273
3274 [BZ #17775]
3275 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3276 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3277 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3278
07256e18
AS
32792014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3280
3281 * sysdeps/i386/tls-macros.h: Include <features.h>.
3282 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3283 (TLS_IE): Likewise.
3284 (TLS_LD): Likewise.
3285 (TLS_GD): Likewise.
3286 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3287 define for GCC >= 5.0.
3288
1ff950ad
CM
32892014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3290
3291 * math/test-fenv.c (test_single_exception, set_single_exc,
3292 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3293 feexcp_mask_test, feenable_test, fe_single_test): Add
3294 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3295 case where they are not used.
3296 * math/libm-test.inc: Likewise.
3297 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3298 unused in the absence of FP rounding/exception support.
3299 * stdio-common/tst-printf-round.c: Likewise.
3300 * stdlib/tst-strtod-round.c: Likewise.
3301 * stdlib/tst-strtod-underflow.c: Likewise.
3302
0747f818
JM
33032014-12-30 Joseph Myers <joseph@codesourcery.com>
3304
3305 [BZ #17723]
3306 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3307 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3308 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3309 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3310 libm_hidden_weak.
3311 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3312 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3313 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3314 libm_hidden_def.
3315 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3316 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3317 libm_hidden_weak.
3318 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3319 Likewise.
3320 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3321 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3322 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3323 libm_hidden_weak.
3324 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3325 libm_hidden_def.
3326 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3327 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3328 (__feraiseexcept): Likewise.
3329 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3330 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3331 libm_hidden_weak.
3332 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3333 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3334 libm_hidden_def.
3335 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3336 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3337 Use libm_hidden_def.
3338 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3339 libm_hidden_def.
3340 (feraiseexcept): Define as weak not strong alias. Use
3341 libm_hidden_weak.
3342 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3343 New inline function. Factored out of ...
3344 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3345 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3346 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3347 feraiseexcept.
3348 * math/w_acos.c (__acos): Likewise.
3349 * math/w_asin.c (__asin): Likewise.
3350 * math/w_ilogb.c (__ilogb): Likewise.
3351 * math/w_j0.c (y0): Likewise.
3352 * math/w_j1.c (y1): Likewise.
3353 * math/w_jn.c (yn): Likewise.
3354 * math/w_log.c (__log): Likewise.
3355 * math/w_log10.c (__log10): Likewise.
3356 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3357 * sysdeps/aarch64/fpu/math_private.h
3358 (libc_feupdateenv_test_aarch64): Likewise.
3359 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3360 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3361 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3362 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3363 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3364 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3365 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3366 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3367 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3368 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3369
8d2b2763
L
33702014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3371
3372 [BZ #17732]
3373 * io/test-utime.c (main): Replace %ld with %jd and cast to
3374 intmax_t.
41fad830 3375 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3376 * nptl/tst-mutex5.c: Include <stdint.h>.
3377 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3378 * posix/tst-regex.c (run_test): Likewise.
3379 (run_test_backwards): Likewise.
5d619de4
L
3380 * rt/tst-clock.c: Include <stdint.h>.
3381 (clock_test): Replace %ld with %jd and cast to intmax_t.
3382 * rt/tst-cpuclock1.c: Include <stdint.h>.
3383 (do_test): Replace %lu with %ju and cast to uintmax_t.
3384 * rt/tst-cpuclock2.c: Include <stdint.h>.
3385 (do_test): Replace %lu with %ju and cast to uintmax_t.
3386 * rt/tst-mqueue1.c: Include <stdint.h>.
3387 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3388 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3389 intmax_t.
3390 * rt/tst-mqueue4.c (do_test): Likewise.
3391 * rt/tst-timer4.c: Include <stdint.h>.
3392 (check_ts): Replace %ld with %jd and cast to intmax_t.
3393 (do_test): Likewise.
ad86fbc3
L
3394 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3395 and cast to intmax_t.
37f46900 3396 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3397 * time/clocktest.c (main): Likewise.
3398 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3399 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3400
8b4416d8
AS
34012014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3402 H.J. Lu <hongjiu.lu@intel.com>
3403
3404 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3405 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3406 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3407 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3408 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3409 version if bit_Fast_Unaligned_Load is set.
3410 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3411 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3412 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3413 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3414 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3415 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3417 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3418 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3419 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3420 to 4.
3421 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3422 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3423 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3424 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3425
e47b8d3b
CM
34262014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3427
6d6d7fde
CM
3428 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3429 instead of #if to avoid a Wundef warning.
3430 * stdlib/tst-limits.c (do_test): Likewise.
3431
cd2c37c9
CM
3432 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3433 parallel other exception macros.
3434 (fegetenv): Convert from macro to extern inline so that it applies
3435 retroactively to inline functions already seen by the compiler.
3436 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3437
e47b8d3b
CM
3438 * posix/Makefile (before-compile): Use $(objpfx) for
3439 posix-conf-vars-def.h.
3440
4a6aca7b
SP
34412014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3442
7910c2ae
SP
3443 * posix/getconf.c (main): Use size_t for type of I.
3444 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3445 NSPEC.
3446
50cbbaa9
SP
3447 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3448 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3449 * posix/posix-envs.def: Likewise.
3450 * sysdeps/posix/sysconf.c: Likewise.
3451 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3452 (specs): Remove array.
3453 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3454 array.
3455
3b566046
SP
3456 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3457 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3458 (__sysconf): Use CONF_IS_* macros.
3459
4a6aca7b
SP
3460 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3461 ($(objpfx)posix-conf-vars-def.h): New target.
3462 * posix/posix-conf-vars.list: New file.
3463 * posix/posix-conf-vars.h: New file.
3464 * posix/confstr.c: Include posix-conf-vars.h.
3465 (confstr): Use CONF_IS_* macros.
3466 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3467 CONF_IS_* macros.
3468 * scripts/gen-posix-conf-vars.awk: New file.
3469
7c1395a7
CM
34702014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3471
0025b4cc
CM
3472 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3473 fegetround): Add no-op macros to avoid linknamespace issues.
3474
d8aaf74b
CM
3475 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3476 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3477
5d24aa60
CM
3478 * sysdeps/unix/sysv/linux/tile/sysdep.h
3479 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3480 assembly-specific section to avoid a redefinition warning.
3481
7c1395a7
CM
3482 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3483 long before casting to pointer to avoid a cast warning.
3484
3c87c616
CM
34852014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3486
3487 * sysdeps/tile/tilegx/Implies: New file.
3488
f559d8cf
RE
34892014-12-23 Richard Earnshaw <rearnsha@arm.com>
3490
3491 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3492
7d81e8d6
FW
34932014-12-23 Florian Weimer <fweimer@redhat.com>
3494
3495 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3496
90aa3d09
JM
34972014-12-22 Joseph Myers <joseph@codesourcery.com>
3498
3499 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3500 not define.
3501 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3502 <kernel-features.h>.
3503 (__utimes) [__NR_utimes]: Make code unconditional.
3504 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3505 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3506 (__ASSUME_UTIMES): Do not undefine.
3507 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3508 (__ASSUME_UTIMES): Likewise.
3509 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3510 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3511 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3512 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3513
4c0c0e2a
SE
35142014-12-22 Steve Ellcey <sellcey@imgtec.com>
3515
3516 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3517
0dacd7a3
CM
35182014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3519
b638f96a
CM
3520 [BZ #17747]
3521 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3522 alias to weak alias for j0l, y0l.
3523 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3524 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3525
0dacd7a3
CM
3526 [BZ #17746]
3527 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3528 conversion.
3529
528479c4
SE
35302014-12-22 Steve Ellcey <sellcey@imgtec.com>
3531
3532 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3533 to zero if not already defined.
3534
f56f9124
JM
35352014-12-22 Joseph Myers <joseph@codesourcery.com>
3536
3537 [BZ #17724]
3538 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3539 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3540 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3541 (char *) casts added.
3542 * sysdeps/ieee754/k_standardf.c: New file.
3543 * sysdeps/ieee754/k_standardl.c: Likewise.
3544 * math/Makefile (libm-support): Remove k_standard.
3545 (libm-calls): Add k_standard.
3546
8622d556
WD
35472014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3548
3549 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3550 Optimize to avoid an unnecessary FPCR read.
3551
f3806bdb
WD
35522014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3553
3554 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3555 Optimize to reduce FPCR/FPSR accesses.
3556
9b47df58
WD
35572014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3558
3559 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3560 Call libc_fetestexcept_aarch64.
3561
97be3cac
WD
35622014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3563
3564 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3565 Call libc_fesetround_aarch64.
3566
935ab817
JM
35672014-12-22 Joseph Myers <joseph@codesourcery.com>
3568
3569 [BZ #17733]
3570 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3571 (__bind): Do not define as weak alias.
3572 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3573 define.
3574 (__getsockname): Do not define as weak alias.
3575
cc8623f1
WN
35762014-12-22 Will Newton <will.newton@linaro.org>
3577
3578 * manual/install.texi: Document that we require bison 2.7
3579 or above.
3580 * INSTALL: Regenerate.
3581 * configure.ac: Use AC_CHECK_PROG_VER instead of
3582 AC_PATH_PROG when checking for bison and check for
3583 version 2.7 or above.
3584 * configure: Regenerate.
3585
a19ca65a
CM
35862014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3587
92901170 3588 [BZ #17745]
e969965a
CM
3589 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3590 * sysdeps/tile/ffsll.c (ffsll): To here.
3591
a19ca65a
CM
3592 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3593
050f7298
L
35942014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3595
3596 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3597 if not defined.
3598 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3599 definition.
3600 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3601 hidden ___tls_get_addr.
3602 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3603 hidden __tls_get_addr.
3604 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3605 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3606 Likewise.
3607
6df5547e
AS
36082014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3609
3610 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3611 _dl_init call.
3612
7432d613
L
36132014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3614
3615 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3616 from "call _dl_init@PLT".
3617 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 3618
98fe149e
AK
36192014-12-21 Anders Kaseorg <andersk@mit.edu>
3620
3621 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3622 guarantees.
3623
d12455f5
CM
36242014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3625
3626 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3627
95dee05f
CM
36282014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3629
92901170 3630 [BZ #17744]
95dee05f
CM
3631 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3632 strnlen.
3633
2ef4b74a
SE
36342014-12-19 Steve Ellcey <sellcey@imgtec.com>
3635
3636 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3637 of multu on MIPSr6.
3638 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3639 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3640 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3641 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3642 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3643
36442014-12-19 Steve Ellcey <sellcey@imgtec.com>
3645
3646 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3647 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3648 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3649 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 3650 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
3651 mips32r6/mips64r6.
3652 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3653
3eb38795
OB
36542014-12-19 Ondřej Bílka <neleai@seznam.cz>
3655
3656 * string/strncat.c (STRNCAT): Simplify implementation.
3657
6d4188dd
DM
36582014-12-19 David S. Miller <davem@davemloft.net>
3659
0d4ba8be
DM
3660 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3661 access the quad as both a long double and as a series of 4 words.
3662
6d4188dd
DM
3663 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3664 link_map->l_info array access.
3665
4ef91cdc
CM
36662014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3667
804c54f7
CM
3668 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3669
4ef91cdc
CM
3670 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3671 * math/atest-exp2.c (TIMEOUT): Likewise.
3672 * math/atest-sincos.c (TIMEOUT): Likewise.
3673
afd176d6
L
36742014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3675
3676 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3677 -Wno-error with -fno-builtin-lround.
3678
a4a43a90
TR
36792014-12-19 Torvald Riegel <triegel@redhat.com>
3680
3681 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3682 Contains futex constants and functions moved over from ...
3683 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3684 <lowlevellock-futex.h>.
3685 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3686 (lll_timedwait_tid): Add comments and parentheses around macro
3687 arguments.
3688
76f71081
TR
36892014-12-19 Torvald Riegel <triegel@redhat.com>
3690
3691 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3692 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3693 (__lll_private_flag): Remove.
3694 (lll_futex_wait): Likewise.
3695 (lll_futex_timed_wait): Likewise.
3696 (lll_futex_wake): Likewise.
3697 (lll_futex_requeue): Likewise.
3698 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3699 (__lll_timedwait_tid): Spell out argument names.
3700 (lll_timedwait_tid): Add comments and parentheses around macro
3701 arguments.
3702 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3703 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3704
6b814909
TR
37052014-12-19 Torvald Riegel <triegel@redhat.com>
3706
3707 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3708 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3709 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3710 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3711 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3712 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3713 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3714 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3715 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3716 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3717 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3718 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3719 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3720 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3721 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3722 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3723 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3724 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3725 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3726
9cd4d4ab
L
37272014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3728
3729 * sysdeps/x86_64/x32/Makefile: New file.
3730
c9c1a2d0
L
37312014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3732
3733 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3734 1L with (mp_limb_t) 1.
3735
af102d95
RM
37362014-12-17 Roland McGrath <roland@hack.frob.com>
3737
dd690454
RM
3738 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3739 * nptl/libc_pthread_init.c: ... here.
3740 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3741 * nptl/register-atfork.c: ... here.
3742
74eb826c
RM
3743 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3744 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3745 Use assert_perror to check its return value.
3746 (__gai_create_helper_thread): Likewise.
3747
c9ce306b
RM
3748 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3749
af102d95
RM
3750 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3751
8ac5a76a
JM
37522014-12-17 Joseph Myers <joseph@codesourcery.com>
3753
ea41469b
JM
3754 [BZ #17725]
3755 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3756 __profil_counter.
3757 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3758 Likewise.
3759 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3760 Likewise.
3761 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3762 Likewise.
3763 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3764 (profil_counter): Likewise.
3765 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3766 (profil_counter): Likewise.
3767 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3768 Likewise.
3769 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3770 Likewise.
3771 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3772 (profil_counter): Likewise.
3773 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3774 Likewise.
3775 [!__profil_counter] (profil_counter): Define as weak alias of
3776 __profil_counter.
3777 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3778 (profil_counter): Rename to __profil_counter.
3779 [!__profil_counter] (profil_counter): Define as weak alias of
3780 __profil_counter.
3781 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3782 (profil_counter): Rename to __profil_counter.
3783 [!__profil_counter] (profil_counter): Define as weak alias of
3784 __profil_counter.
3785 * sysdeps/posix/profil.c: Update comment referring to
3786 profil_counter.
3787 (__profil): Use __profil_counter instead of profil_counter.
3788 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3789 __profil_counter. Use __profil_counter_ushort and
3790 __profil_counter_uint in definitions.
3791 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3792 instead of profil_counter_uint and profil_counter_ushort.
3793
8ac5a76a
JM
3794 [BZ #17722]
3795 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3796 define as weak alias of __inet_makeaddr.
3797 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3798 as weak alias of __inet_addr.
3799 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3800 as weak alias of __inet_pton. Use libc_hidden_weak.
3801 * include/arpa/inet.h (__inet_pton): Declare. Use
3802 libc_hidden_proto.
3803 (inet_makeaddr): Don't use libc_hidden_proto.
3804 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3805 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3806 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3807 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3808 Remove variable.
3809 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3810 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3811
66ce3cb1
SE
38122014-12-17 Steve Ellcey <sellcey@imgtec.com>
3813
3814 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3815
d22ce01b
SL
38162014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3817
3818 * stdio-common/bug-vfprintf-nargs.c (do_test):
3819 Cast value to intptr_t to avoid format warning
3820 for usage with PRIdPTR printing macro.
3821
eca2772b
SL
38222014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3823
3824 * libio/tst-widetext.c (do_test):
3825 Use format type %td instead of %Zd for ptrdiff_t
3826 in order to avoid format warning.
3827
bdf079da
AS
38282014-12-17 Andreas Schwab <schwab@suse.de>
3829
3830 * nscd/mem.c (gc): Add size_t cast to match printf format.
3831
3eb5d2fc
RM
38322014-12-16 Roland McGrath <roland@hack.frob.com>
3833
3834 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3835 (init): Apply PTR_MANGLE to pointers before storing them.
3836 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3837 before using them.
3838
d003ada2
JM
38392014-12-16 Joseph Myers <joseph@codesourcery.com>
3840
380292ba
JM
3841 [BZ #17719]
3842 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3843 define as weak alias of __memrchr.
3844 (__memrchr): Do not define as strong alias of memrchr.
3845 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3846 Remove variable.
3847 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3848 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3849 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3850
9a44d530
JM
3851 [BZ #17717]
3852 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3853 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3854 (if_indextoname): Rename to __if_indextoname and define as weak
3855 alias of __if_indextoname. Use libc_hidden_weak.
3856 (if_freenameindex): Rename to __if_freenameindex and define as
3857 weak alias of __if_freenameindex.
3858 (if_nameindex): Rename to __if_nameindex and define as weak alias
3859 of __if_nameindex.
3860 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3861 __if_nametoindex and define as weak alias of __if_nametoindex.
3862 Use libc_hidden_weak.
3863 (if_freenameindex): Rename to __if_freenameindex and define as
3864 weak alias of __if_freenameindex.
3865 (if_nameindex): Rename to __if_nameindex and define as weak alias
3866 of __if_nameindex.
3867 (if_indextoname): Rename to __if_indextoname and define as weak
3868 alias of __if_indextoname. Use libc_hidden_weak.
3869 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3870 __if_nametoindex and define as weak alias of __if_nametoindex.
3871 Use libc_hidden_weak.
3872 (if_freenameindex): Rename to __if_freenameindex and define as
3873 weak alias of __if_freenameindex. Use libc_hidden_weak.
3874 (if_nameindex_netlink): Use __if_freenameindex instead of
3875 if_freenameindex.
3876 (if_nameindex): Rename to __if_nameindex and define as weak alias
3877 of __if_nameindex. Use libc_hidden_weak.
3878 (if_indextoname): Rename to __if_indextoname and define as weak
3879 alias of __if_indextoname. Use libc_hidden_weak.
3880 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3881 libc_hidden_proto.
3882 [!_ISOMAC] (__if_freenameindex): Likewise.
3883 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3884 if_nametoindex.
3885 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3886 variable.
3887 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3888 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3889 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3890 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3891 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3892 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3893 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3894
d003ada2
JM
3895 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3896 Remove variable.
3897 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3898 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3899
a0d424ef
SP
39002014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3901
0cd85520
SP
3902 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3903 subscript above bounds'
3904
a0d424ef
SP
3905 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3906 bounds.
3907
0e426475
AS
39082014-12-16 Arjun Shankar <arjun.is@lostca.se>
3909
8b460906
AS
3910 * libio/tst-fopenloc.c: Use test-skeleton.c.
3911
fa13e15b
AS
3912 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3913 (entry): Rename to ITEM.
3914 (do_test, comp): Adjust.
3915
0e426475
AS
3916 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3917
4f646bce
TR
39182014-12-16 Torvald Riegel <triegel@redhat.com>
3919
3920 * string/tester.c: Include <libc-internal.h>.
3921 (test_memset): Ignore -Wmemset-transposed-args.
3922
a07c4427
TR
39232014-12-16 Torvald Riegel <triegel@redhat.com>
3924
3925 * misc/tst-mntent2.c (do_test): Fix warning.
3926
1469f466
TR
39272014-12-16 Torvald Riegel <triegel@redhat.com>
3928
3929 * elf/tst-unique4lib.cc(a): Mark as used.
3930
11e3417a
FW
39312014-12-16 Florian Weimer <fweimer@redhat.com>
3932
3933 [BZ #17630]
3934 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3935 names.
3936
ae61fc7b
AM
39372014-12-16 Allan McRae <allan@archlinux.org>
3938
3939 * stdio-common/Makefile (tests): Re-add bug26.
3940
363a9899
OB
39412014-12-15 Ondřej Bílka <neleai@seznam.cz>
3942
3943 [BZ #17657]
3944 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3945 static array.
3946
d52c62df
TR
39472014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3948
3949 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3950 (__lll_lock_wait): Likewise.
3951 (__lll_timedlock_wait): Likewise.
3952 (__lll_timedwait_tid): Likewise.
3953 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3954 (__lll_robust_timedlock_wait): Likewise.
3955 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3956 (lll_cond_trylock): Likewise.
3957 (__lll_lock): Likewise.
3958 (__lll_robust_lock): Likewise.
3959 (__lll_cond_lock): Likewise.
3960 (lll_robust_cond_lock): Likewise.
3961 (__lll_timedlock): Likewise.
3962 (__lll_robust_timedlock): Likewise.
3963 (__lll_unlock): Likewise.
3964 (__lll_robust_unlock): Likewise.
3965 (lll_wait_tid): Likewise.
3966 (lll_timedwait_tid): Likewise.
3967
045a6bcd
TR
39682014-12-15 Torvald Riegel <triegel@redhat.com>
3969
3970 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3971
7f786dc1
TR
39722014-12-15 Torvald Riegel <triegel@redhat.com>
3973
3974 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3975
e7e21cba
AZ
39762014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3977
3978 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3979 * stdio-common/tst-sprintf.c: Likewise.
3980
bc89c0fc
TR
39812014-12-15 Torvald Riegel <triegel@redhat.com>
3982
3983 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3984
a5357b7c
JL
39852014-12-15 Jeff Law <law@redhat.com>
3986
3987 [BZ #16617]
3988 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3989 on the heap. (CVE-2012-3406)
3990 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3991 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3992 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3993
3a12c70f
WN
39942014-12-15 Will Newton <will.newton@linaro.org>
3995
3996 * manual/install.texi: Bump required version of texinfo
3997 to 4.7 from 4.5.
3998 * INSTALL: Regenerated.
3999 * configure.ac: Check for makeinfo version 4.7 and above.
4000 * configure: Regenerated.
4001
e4f639e4
RM
40022014-12-12 Roland McGrath <roland@hack.frob.com>
4003
4004 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4005 PREFIX, string constant to insert between directory and name.
4006 * sysdeps/posix/shm_open.c: Update caller.
4007 * sysdeps/posix/shm_unlink.c: Likewise.
4008 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4009 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4010 (SEM_SHM_PREFIX): New macro.
4011 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4012 [$(have-thread-library) = no].
4013 * nptl/Makefile (libpthread-routines): Add shm-directory.
4014 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4015 * sysdeps/nptl/shm-directory.h: New file.
4016 * sysdeps/posix/shm-directory.c
4017 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4018 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4019 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4020 INTERNAL_SYSCALL.
4021 (__where_is_shmfs): Function removed.
4022 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4023 Variables removed.
4024 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4025 Use SHM_GET_NAME.
4026 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4027
4028 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4029 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4030 unconditional for use inside libpthread.
4031 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4032
439c43f6
RM
40332014-12-12 Roland McGrath <roland@hack.frob.com>
4034
c76d1ff5
RM
4035 * nptl/pthread_getaffinity.c: New file.
4036 * nptl/pthread_setaffinity.c: New file.
4037 * nptl/pthread_getname.c: New file.
4038 * nptl/pthread_setname.c: New file.
4039
439c43f6
RM
4040 * nptl/pthread_create.c (START_THREAD_DEFN)
4041 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4042
48e435cd
SL
40432014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4044 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4045
4046 * resolv/res_send.c (send_vc): Disable warning resplen may
4047 be used uninitialized.
4048
9d9c0019
SL
40492014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4050
4051 * nptl/tst-mutex6.c
4052 (ATTR_NULL): New define checks ATTR against NULL.
4053 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4054 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4055
9173840b
JL
40562014-12-11 James Lemke <jwlemke@codesourcery.com>
4057
4058 [BZ #17581]
4059 * malloc/hooks.c
4060 (mem2mem_check): Revert my previous change.
4061 (malloc_check_get_size): Revert my previous change.
4062 (mem2chunk_check): Revert my previous change.
4063
78e21c5d
RM
40642014-12-11 Roland McGrath <roland@hack.frob.com>
4065
4066 * sysdeps/posix/shm-directory.c: New file.
4067 * sysdeps/posix/shm-directory.h: New file.
4068 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4069 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4070 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4071 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4072 Transmute EPERM to EACCES.
4073 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4074 from ...
4075 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4076 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4077
f82c43af
KK
40782014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4079
4080 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4081 pointer and cast to uintptr_t.
4082 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4083 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4084 Add cast to avoid warning.
4085 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4086
fc00cf7b
JM
40872014-12-11 Joseph Myers <joseph@codesourcery.com>
4088
4089 * nptl/semaphore.h: Move to ...
4090 * sysdeps/pthread/semaphore.h: ... here.
4091 * Makefile (installed-headers): Change nptl/semaphore.h to
4092 sysdeps/pthread/semaphore.h.
4093
1c4053db
RM
40942014-12-11 Roland McGrath <roland@hack.frob.com>
4095
73b0c1a1
RM
4096 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4097 generated error format strings.
4098
1c4053db
RM
4099 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4100 -Wformat-extra-args warnings for scanf formats.
4101 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4102 test of zero-length format (duh).
4103 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4104 corner-case scanf format test.
4105 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4106 generated fprintf format string.
4107 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4108 corner-case sprintf format tests.
4109 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4110 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4111 -Wformat-extra-args warnings throughout.
4112 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4113 (CFLAGS-scanf4.c): Likewise.
4114 (CFLAGS-scanf7.c): Likewise.
4115 (CFLAGS-tst-sprintf.c): Likewise.
4116 (CFLAGS-tst-printf.c): Likewise.
4117 (CFLAGS-tst-printfsz.c): Likewise.
4118
47d51f4f
JM
41192014-12-11 Joseph Myers <joseph@codesourcery.com>
4120
a1edbf3c
JM
4121 * include/cpio.h: New file.
4122 * include/fmtmsg.h: Likewise.
4123
47d51f4f
JM
4124 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4125 corresponding format argument to size_t.
4126 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4127 arguments.
4128 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4129 corresponding format argument to size_t.
4130 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4131 arguments.
4132 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4133 corresponding format argument to size_t.
4134 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4135 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4136 (CFLAGS-tst-mbswcs2.c): Likewise.
4137 (CFLAGS-tst-mbswcs3.c): Likewise.
4138 (CFLAGS-tst-mbswcs4.c): Likewise.
4139 (CFLAGS-tst-mbswcs5.c): Likewise.
4140 (CFLAGS-tst-trans.c): Likewise
4141
e9813cfb
RM
41422014-12-11 Roland McGrath <roland@hack.frob.com>
4143
4144 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4145 rather than assuming they won't contain any '%'s.
4146
f627ca82
CM
41472014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4148
4149 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4150 inhibit_loop_to_libcall to avoid recursive calls.
4151 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4152 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4153
7f296942
AZ
41542014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4155
4156 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4157 prototype.
4158
d0276e18
SE
41592014-12-11 Steve Ellcey <sellcey@imgtec.com>
4160
4161 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4162 integer value instead of boolean.
4163
fc56e970
SE
41642014-12-11 Steve Ellcey <sellcey@imgtec.com>
4165
4166 * malloc/malloc.c: Fix powerof2 check.
4167
40e53917
SL
41682014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4169
4170 * locale/programs/locfile.h (maybe_swap_uint32):
4171 Remove inline and add unused attribute.
4172
1ea166df
SL
41732014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4174
9d9c0019 4175 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
4176 Truncating assembler expression to a .long expression.
4177
acf869f4
AS
41782014-12-11 Andreas Schwab <schwab@suse.de>
4179
4180 * elf/rtld.c (struct map_args): Constify str member.
4181 (do_preload): Constify fname argument.
4182
9d969099
AZ
41832014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4184
4185 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4186 constants definition.
4187
da5bcaa4
AS
41882014-12-11 Andreas Schwab <schwab@suse.de>
4189
b0a3c164
AS
4190 [BZ #16657]
4191 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4192 FORCE_ELISION instead of DO_ELISION.
4193 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4194 Remove.
4195 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4196 Likewise.
4197
da5bcaa4
AS
4198 * iconvdata/gconv-modules: Remove duplicate entry.
4199
6d248857
WN
42002014-12-11 Will Newton <will.newton@linaro.org>
4201
4202 Merge gettext 0.19.3 into intl/.
4203
4204 This involves a number of cosmetic changes to comments
4205 and ANSI function definitions and prototypes throughout
4206 all the files. The gettext copyright header is used but
4207 with the date ranges taken from the glibc copy.
4208
4209 * NEWS: Add gettext merge to 2.21.
4210 * intl/bindtextdom.c: Switch to gettext copyright.
4211 Use ANSI definitions and prototypes.
4212 Use gl_* locking primitives rather than __libc_* ones.
4213 Use __builtin_expect rather than __glibc_likely/unlikely.
4214 * intl/dcgettext.c: Switch to gettext copyright.
4215 Use ANSI definitions and prototypes.
4216 * intl/dcigettext.c: Switch to gettext copyright.
4217 Use ANSI definitions and prototypes.
4218 (INTDIV0_RAISES_SIGFPE): New define.
4219 Use gl_* locking primitives rather than __libc_* ones.
4220 Include eval-plural.h instead of plural-eval.c.
4221 Use __builtin_expect rather than __glibc_likely/unlikely.
4222 * intl/dcngettext.c: Switch to gettext copyright.
4223 Use ANSI definitions and prototypes.
4224 * intl/dgettext.c: Likewise.
4225 * intl/dngettext.c: Likewise.
4226 * intl/plural-eval.c: Renamed to...
4227 * intl/eval-plural.h: ...this.
4228 * intl/explodename.c: Switch to gettext copyright.
4229 Use ANSI definitions and prototypes.
4230 (_nl_explode_name): Use strchr instead of __rawmemchr.
4231 * intl/finddomain.c: Switch to gettext copyright.
4232 Use ANSI definitions and prototypes.
4233 Use gl_* locking primitives rather than __libc_* ones.
4234 (_nl_find_domain): Use malloc rather than alloca for
4235 allocation of temporary locale name.
4236 * intl/gettext.c: Switch to gettext copyright.
4237 Use ANSI definitions and prototypes.
4238 * intl/gettextP.h: Switch to gettext copyright.
4239 Use ANSI definitions and prototypes.
4240 Use gl_* locking primitives rather than __libc_* ones.
4241 * intl/gmo.h: Switch to gettext copyright.
4242 (struct sysdep_string): Move struct segment_pair outside of
4243 struct definition.
4244 * intl/hash-string.c: Use ANSI definitions and prototypes.
4245 * intl/hash-string.h: Switch to gettext copyright.
4246 Use ANSI definitions and prototypes.
4247 * intl/l10nflist.c: Switch to gettext copyright.
4248 Use ANSI definitions and prototypes.
4249 (_nl_normalize_codeset): Avoid integer overflow.
4250 * intl/loadinfo.h: Switch to gettext copyright.
4251 Use ANSI definitions and prototypes.
4252 (LIBINTL_DLL_EXPORTED): New define.
4253 (PATH_SEPARATOR): New define.
4254 * intl/loadmsgcat.c: Switch to gettext copyright.
4255 * intl/localealias.c: Switch to gettext copyright.
4256 Use ANSI definitions and prototypes.
4257 (_nl_expand_alias): Use PATH_SEPARATOR.
4258 * intl/ngettext.c: Switch to gettext copyright.
4259 Use ANSI definitions and prototypes.
4260 * intl/plural-exp.c: Likewise.
4261 * intl/plural-exp.h: Switch to gettext copyright.
4262 Use ANSI definitions and prototypes.
4263 (struct expression): Move definition of enum operator outside
4264 of struct definition.
4265 * intl/plural.c: Regenerate.
4266 * intl/plural.y: Switch to gettext copyright.
4267 Use ANSI definitions and prototypes.
4268 Port to bison 3.0.
4269 * intl/textdomain.c: Switch to gettext copyright.
4270 Use ANSI definitions and prototypes.
4271 Use gl_* locking primitives rather than __libc_* ones.
4272
48c43298
SE
42732014-12-10 Steve Ellcey <sellcey@imgtec.com>
4274
4275 * debug/warning-nop.c: Add used atrribute.
4276
2b89bce9
JM
42772014-12-10 Joseph Myers <joseph@codesourcery.com>
4278
c153ac9f
JM
4279 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4280
2b89bce9
JM
4281 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4282 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4283 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4284
2cfbdb9a
JM
42852014-12-10 Joseph Myers <joseph@codesourcery.com>
4286 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4287
4288 [BZ #17634]
4289 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4290 Undefine after defining function. Define as weak alias of
4291 __wcschr. Use libc_hidden_weak.
4292 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4293 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4294 (libc_hidden_def): Also define __GI___wcschr alias.
4295 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4296 __wcschr and define as weak alias of __wcschr.
4297 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4298 __wcschr.
4299 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4300 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4301 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4302 libc_hidden_weak. Do not use libc_hidden_def.
4303 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4304 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4305 __GI___wcschr alias.
4306 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4307 [IS_IN (libc)] (wcschr): Define as macro expanding to
4308 __redirect_wcschr.
4309 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4310 [IS_IN (libc)] (__wcschr_power6): Likewise.
4311 [IS_IN (libc)] (__wcschr_power7): Likewise.
4312 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4313 instead of wcschr.
4314 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4315 __libc_wcschr.
4316 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4317 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4318 __wcschr and define as weak alias of __wcschr. Use
4319 libc_hidden_builtin_def.
4320 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4321 as weak alias of __wcschr. Use libc_hidden_weak.
4322 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4323 wcschr.
4324 * time/era.c (_nl_init_era_entries): Likewise.
4325 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4326 variable.
4327 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4328 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4329
1b8bf351
JM
43302014-12-10 Joseph Myers <joseph@codesourcery.com>
4331
4332 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4333 format for long int variable.
4334
f5f46d51
AK
43352014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4336
4337 [BZ #10672]
07008f7d 4338 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4339 qsort stable.
4340
217a74a8
AS
43412014-12-10 Andreas Schwab <schwab@suse.de>
4342
4343 [BZ #12847]
4344 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4345 user-controlled locks.
4346
aa76a5c7
RE
43472014-12-10 Richard Earnshaw <rearnsha@arm.com>
4348
4349 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4350 register.
4351
2084e7ca
JM
43522014-12-10 Joseph Myers <joseph@codesourcery.com>
4353
a4ecc9eb
JM
4354 * configure.ac (--disable-werror): New configure option.
4355 (enable_werror): New AC_SUBST.
4356 * configure: Regenerated.
4357 * config.make.in (enable-werror): New variable.
4358 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4359 -Wno-error=undef.
4360 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4361 * manual/install.texi (Configuring and compiling): Document
4362 --disable-werror.
4363 * INSTALL: Regenerated.
4364 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4365 (CFLAGS-tst-chk2.c): Likewise.
4366 (CFLAGS-tst-chk3.c): Likewise.
4367 (CFLAGS-tst-chk4.cc): Likewise.
4368 (CFLAGS-tst-chk5.cc): Likewise.
4369 (CFLAGS-tst-chk6.cc): Likewise.
4370 (CFLAGS-tst-lfschk1.c): Likewise.
4371 (CFLAGS-tst-lfschk2.c): Likewise.
4372 (CFLAGS-tst-lfschk3.c): Likewise.
4373 (CFLAGS-tst-lfschk4.cc): Likewise.
4374 (CFLAGS-tst-lfschk5.cc): Likewise.
4375 (CFLAGS-tst-lfschk6.cc): Likewise.
4376
0f88636c
JM
4377 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4378 (main): Disable -Wdeprecated-declarations around calls to
4379 register_printf_function.
4380
c81e9deb
JM
4381 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4382 (do_test): Disable -Wdiv-by-zero around some calls to
4383 fwrite_unlocked and fread_unlocked.
4384
2084e7ca
JM
4385 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4386 (DIAG_POP_NEEDS_COMMENT): Likewise.
4387 (_DIAG_STR1): Likewise.
4388 (_DIAG_STR): Likewise.
4389 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4390 * stdio-common/bug21.c: Include <libc-internal.h>.
4391 (do_test): Disable -Wformat around call to sscanf.
4392 * stdio-common/scanf14.c: Include <libc-internal.h>.
4393 (main): Disable -Wformat around some calls to scanf functions.
4394
df7ecc6b
TR
43952014-12-09 Torvald Riegel <triegel@redhat.com>
4396
4397 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4398
2aa3862e
AZ
43992014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4400
4401 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4402 stack variable alignment.
4403
c5c2b7c3
JM
44042014-12-06 Joseph Myers <joseph@codesourcery.com>
4405
4406 [BZ #17682]
4407 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4408 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4409 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4410 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4411 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4412 __getrlimit instead of getrlimit.
4413 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4414 __gettimeofday instead of gettimeofday.
4415 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4416 Likewise.
4417 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4418 Likewise.
4419 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4420 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4421 Remove variable.
4422 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4423 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4424
9752c3cd
AZ
44252014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4426
4427 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4428 for wide-character tests.
4429
4bee4cd9
RM
44302014-12-04 Roland McGrath <roland@hack.frob.com>
4431
4432 * io/openat64.c: #include <libc-internal.h>
4433 (__openat64): Prototypify. Use ignore_value on MODE.
4434 * io/openat.c: Likewise.
4435 * misc/reboot.c: #include <libc-internal.h>
4436 (reboot): Prototypify. Use ignore_value on HOWTO.
4437 * misc/ptrace.c: #include <libc-internal.h>
4438 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4439
84dbedb6
JM
44402014-12-04 Joseph Myers <joseph@codesourcery.com>
4441
4442 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4443 XPG4, UNIX98 and XOPEN2K.
4444 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4445 Remove variable.
4446 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4447
b7a3e1c4 44482014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4449
af50dfc1 4450 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4451 * libio/iofopen.c: Likewise.
4452 * libio/wfileops.c: Likewise.
4453
fe8b4d98
SP
4454 [BZ #17653]
4455 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4456 offset on EOF.
4457 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4458 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4459 (fgets_func): Function pointer to fgets and fgetws.
4460 (do_ftell_test): Add test to verify ftell value after read
4461 EOF.
4462 (do_test): Set fgets_func.
4463
61b4f792
SP
4464 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4465 O_TRUNC flag for w and w+ modes.
4466 (do_rewind_test): Likewise.
4467 (do_ftell_test): Likewise.
4468 (do_write_test): Likewise.
4469
be349d70
SP
4470 [BZ #17647]
4471 * libio/fileops.c (do_ftell): Seek only when there are
4472 unflushed writes.
4473 * libio/wfileops.c (do_ftell_wide): Likewise.
4474 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4475 test case.
4476 (do_one_test): Call it.
4477
e3d6dba5
JM
44782014-12-03 Joseph Myers <joseph@codesourcery.com>
4479
4480 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4481 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4482 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4483 Remove variable.
4484 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4485 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4486 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4487
7f994279
JM
44882014-12-02 Joseph Myers <joseph@codesourcery.com>
4489
28a91e8f
JM
4490 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4491 Remove variable.
4492 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4493
7f994279
JM
4494 [BZ #17668]
4495 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4496 as weak alias of __getifaddrs. Use libc_hidden_weak.
4497 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4498 __freeifaddrs. Use libc_hidden_weak.
4499 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4500 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4501 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4502 __freeifaddrs. Use libc_hidden_weak.
4503 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4504 __getifaddrs and define as weak alias of __getifaddrs. Use
4505 libc_hidden_weak.
4506 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4507 __freeifaddrs. Use libc_hidden_weak.
4508 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4509 Remove variable.
4510 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4511 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4512
bbe4c142
PJ
45132014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4514
4515 [BZ #17601]
4516 * sysdeps/mips/start.S (__start): Use indirect jump to call
4517 __libc_start_main.
4518
66cadc05
JM
45192014-12-02 Joseph Myers <joseph@codesourcery.com>
4520
909e16d9
JM
4521 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4522
4e0b9016
JM
4523 * nptl/tst-mutex1.c: Include <stdbool.h>.
4524 [!ATTR] (ATTR_NULL): New macro.
4525 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4526 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4527 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4528
b1aff6a4
JM
4529 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4530 to char *.
4531
266865c0
JM
4532 [BZ #17665]
4533 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4534 Change conditional to [__USE_MISC].
4535
84e5e756
JM
4536 [BZ #17664]
4537 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4538 fgets_unlocked.
4539 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4540 __fgets_unlocked.
4541 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4542 fgets_unlocked.
4543 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4544 Remove variable.
4545 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4546 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4547 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4548 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4549 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4550 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4551 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4552 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4553 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4554
66cadc05
JM
4555 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4556
2e8a2de2 45572014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
4558
4559 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4560 Remove strpbrk objects.
4561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4562 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4563 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4564 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4565 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4566 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4567
bb2542e0
AZ
4568 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4569 Remove strcspn objects.
4570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4571 (__libc_ifunc_impl_list): Remove strcspn implementation.
4572 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4573 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4574 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4575 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
4576
4577 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4578 Remove strspn objetcs.
4579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4580 (__libc_ifunc_impl_list): Remove strspn implementation.
4581 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4582 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4583 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4584 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4585
08f1e1d2
JL
45862014-12-01 James Lemke <jwlemke@codesourcery.com>
4587
4588 [BZ #17581]
4589 * malloc/hooks.c
4590 (mem2mem_check): Add a terminator to the chain of checking blocks.
4591 (malloc_check_get_size): Use it here.
4592 (mem2chunk_check): Ditto.
4593
a8a7d7d2
RS
45942014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4595
4596 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4597 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4598
97114a38
CD
45992014-11-29 Carlos O'Donell <carlos@redhat.com>
4600
c8dc1727
CD
4601 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4602
6d03458e
CD
4603 * nptl/nptl-init.c: Include libc-internal.h.
4604 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4605
97114a38
CD
4606 * elf/ldconfig.c (search_dir): Expand comment.
4607
0e7e69ba
JM
46082014-11-29 Joseph Myers <joseph@codesourcery.com>
4609
4610 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4611 variable.
4612 (linknamespace-symlist-stdlibs-tests): Likewise.
4613 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4614 instead of $(objpfx)symlist-stdlibs.
4615 (linknamespace-libs-isoc): New variable.
4616 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4617 (linknamespace-libs-ISO): New variable.
4618 (linknamespace-libs-ISO99): Likewise.
4619 (linknamespace-libs-ISO11): Likewise.
4620 (linknamespace-libs-XPG3): Likewise.
4621 (linknamespace-libs-XPG4): Likewise.
4622 (linknamespace-libs-POSIX): Likewise.
4623 (linknamespace-libs-UNIX98): Likewise.
4624 (linknamespace-libs-XOPEN2K): Likewise.
4625 (linknamespace-libs-POSIX2008): Likewise.
4626 (linknamespace-libs-XOPEN2K8): Likewise.
4627 ($(objpfx)symlist-stdlibs): Replace by
4628 $(linknamespace-symlist-stdlibs-tests). Use
4629 $(linknamespace-libs-$*) as set of libraries.
4630 ($(linknamespace-header-tests)): Update dependencies. Use
4631 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4632 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4633 * conform/linknamespace.pl: Remove comment about considering
4634 definitions of symbols from irrelevant libraries.
4635
d8dd0080
L
46362014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4637
4638 [BZ #13862]
4639 * elf/dl-tls.c: Include <atomic.h>.
4640 (oom): Remove #ifdef SHARED/#endif.
4641 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4642 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4643 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4644 big enough.
4645 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4646 * nptl/Makefile (tests): Add tst-stack4.
4647 (modules-names): Add tst-stack4mod.
4648 ($(objpfx)tst-stack4): New.
4649 (tst-stack4mod.sos): Likewise.
4650 ($(objpfx)tst-stack4.out): Likewise.
4651 ($(tst-stack4mod.sos)): Likewise.
4652 (clean): Likewise.
4653 * nptl/tst-stack4.c: New file.
4654 * nptl/tst-stack4mod.c: Likewise.
4655
167da422
B
46562014-11-27 J. Brown <jb999@gmx.de>
4657
4658 * sysdeps/x86/bits/string.h: Add recent CPUs.
4659
9114625b
JM
46602014-11-27 Joseph Myers <joseph@codesourcery.com>
4661
6b5189eb
JM
4662 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4663 sigblock.
4664
49051f8e
JM
4665 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4666 feof.
4667
9114625b
JM
4668 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4669 variable.
4670
e7300fef
SL
46712014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4672
4673 * nscd/connections.c: Include libc-internal.h because of macro
4674 usage ignore_value.
4675
1721f0a4
SP
46762014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4677
4678 * string/bits/string3.h (__warn_memset_zero_len): Don't
4679 declare for gcc newer than 5.0.
4680 (memset): Don't test for zero-length __LEN for gcc newer than
4681 5.0.
4682
be970916
JM
46832014-11-27 Joseph Myers <joseph@codesourcery.com>
4684
d88548f4
JM
4685 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4686 size_t for %zu format.
4687
be970916
JM
4688 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4689 difference, not %ju.
4690
3b20fd5c
JM
46912014-11-26 Joseph Myers <joseph@codesourcery.com>
4692
8915eace
JM
4693 * include/libc-internal.h (ignore_value): New macro.
4694 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4695 with ignore_value.
4696
f1a5a0e3
JM
4697 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4698 definition.
4699
59ef1715
JM
4700 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4701 pthread_cleanup_push to void *.
4702
a6f3079b
JM
4703 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4704 Undefine.
4705
706688aa
JM
4706 [BZ #16619]
4707 [BZ #16740]
4708 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4709 instead of 1L << 52.
4710
12da14a5
JM
4711 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4712 * libio/bug-rewind2.c (do_test): Likewise.
4713
bd5dadac
JM
4714 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4715 * debug/test-strcpy_chk-ifunc.c: Likewise.
4716 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4717 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4718 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4719 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4720 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4721 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4722 * Rules [$(multi-arch) = no] (tests): Do not filter out
4723 $(tests-ifunc).
4724 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4725 * debug/Makefile (tests-ifunc): Remove variable.
4726 (tests): Do not add $(tests-ifunc).
4727 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4728 (tests): Do not add $(tests-ifunc).
4729 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4730 [TEST_IFUNC]: Remove conditionals.
4731 * string/test-string.h (TEST_IFUNC): Remove macro.
4732 [TEST_IFUNC]: Remove conditionals.
4733
3b20fd5c
JM
4734 * string/test-strchr.c [!WIDE] (L): New macro.
4735 [WIDE] (L): Likewise.
4736 (check1): Use CHAR instead of char. Use L on string and character
4737 constants.
4738
704f7947
AZ
47392014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4740
4741 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4742 tests.
4743 * sysdeps/powerpc/bits/atomic.h
4744 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4745 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4746 (atomic_exchange_and_add_acq): Likewise.
4747 (atomic_exchange_and_add_rel): Likewise.
4748 * sysdeps/powerpc/powerpc32/bits/atomic.h
4749 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4750 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4751 * sysdeps/powerpc/powerpc64/bits/atomic.h
4752 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4753 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4754
cdcb42d7
TR
47552014-11-26 Torvald Riegel <triegel@redhat.com>
4756
4757 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4758 Change synchronization of __sched_fifo_min_prio and
4759 __sched_fifo_max_prio.
4760 * nptl/pthread_mutexattr_getprioceiling.c
4761 (pthread_mutexattr_getprioceiling): Likewise.
4762 * nptl/pthread_mutexattr_setprioceiling.c
4763 (pthread_mutexattr_setprioceiling): Likewise.
4764 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4765 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4766 Likewise.
4767
c82f5c0c
JM
47682014-11-26 Joseph Myers <joseph@codesourcery.com>
4769
4770 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4771 void.
4772
439e1ad6
JM
47732014-11-25 Joseph Myers <joseph@codesourcery.com>
4774
4775 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4776 third argument const.
4777
b1eda10e
PE
47782014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4779
4780 fnmatch: work around GCC compiler warning bug with uninit var
4781 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4782 This works around a bug with x86-64 GCC 4.9.2 and earlier
4783 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4784 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4785 used uninitialized in this function [-Wmaybe-uninitialized]".
4786
bde2667a
JM
47872014-11-25 Joseph Myers <joseph@codesourcery.com>
4788
4789 * posix/bug-regex31.c (main): Return RES not 0.
4790
5fbb5691
AB
47912014-11-25 Anton Blanchard <anton@samba.org>
4792
4793 * sysdeps/powerpc/bits/atomic.h
4794 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4795
467fec0b
BM
47962014-11-24 Sterling Augustine <saugustine@google.com>
4797
4798 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4799
e9ff8efb
RC
48002014-11-24 Ryan Cumming <etaoins@gmail.com>
4801
4802 [BZ #17608]
4803 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4804
9744496f
JM
48052014-11-24 Joseph Myers <joseph@codesourcery.com>
4806
4807 [BZ #17633]
4808 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4809 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4810 variable.
4811 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4812 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4813
6423d475
WD
48142014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4815
4816 * string/strncpy.c (strncpy): Improve performance by using memset.
4817
48182014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
4819
4820 * string/strcpy.c (strcpy):
4821 Improve performance by using strlen and memcpy.
4822
5d178c37
LH
48232014-11-24 Leonhard Holz <leonhard.holz@web.de>
4824
4825 * string/strcoll_l.c (get_next_seq): __always_inline.
4826 * string/strcoll_l.c (do_compare): __always_inline.
4827
279bc5b3
SP
48282014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4829
7a9ebfa1
SP
4830 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4831 defined.
4832 * include/mqueue.h: Likewise.
4833 * include/stdlib.h: Likewise.
4834
4f41c682
SP
4835 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4836 (get_null_defines): Adjust.
4837 * sunrpc/Makefile: Adjust comment.
4838 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4839 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4840 (CFLAGS-interp.c): Likewise.
4841 (CFLAGS-ldconfig.c): Likewise.
4842 (CPPFLAGS-.os): Likewise.
4843 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4844 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4845 * extra-modules.mk (extra-modules.mk): Likewise.
4846 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4847 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4848 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4849 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4850 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4851 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4852 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4853 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4854 * iconvdata/Makefile (CPPFLAGS): Likewise.
4855 (cpp-srcs-left): Add libof for all iconvdata routines.
4856 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4857 * include/assert.h: Likewise.
4858 * include/ctype.h: Likewise.
4859 * include/errno.h: Likewise.
4860 * include/libc-symbols.h: Likewise.
4861 * include/math.h: Likewise.
4862 * include/netdb.h: Likewise.
4863 * include/resolv.h: Likewise.
4864 * include/stdio.h: Likewise.
4865 * include/stdlib.h: Likewise.
4866 * include/string.h: Likewise.
4867 * include/sys/stat.h: Likewise.
4868 * include/wctype.h: Likewise.
4869 * intl/l10nflist.c: Likewise.
4870 * libidn/idn-stub.c: Likewise.
4871 * libio/libioP.h: Likewise.
4872 * nptl/libc_multiple_threads.c: Likewise.
4873 * nptl/pthreadP.h: Likewise.
4874 * posix/regex_internal.h: Likewise.
4875 * resolv/res_hconf.c: Likewise.
4876 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4877 * sysdeps/arm/memmove.S: Likewise.
4878 * sysdeps/arm/sysdep.h: Likewise.
4879 * sysdeps/generic/_itoa.h: Likewise.
4880 * sysdeps/generic/symbol-hacks.h: Likewise.
4881 * sysdeps/gnu/errlist.awk: Likewise.
4882 * sysdeps/gnu/errlist.c: Likewise.
4883 * sysdeps/i386/i586/memcpy.S: Likewise.
4884 * sysdeps/i386/i586/memset.S: Likewise.
4885 * sysdeps/i386/i686/memcpy.S: Likewise.
4886 * sysdeps/i386/i686/memmove.S: Likewise.
4887 * sysdeps/i386/i686/mempcpy.S: Likewise.
4888 * sysdeps/i386/i686/memset.S: Likewise.
4889 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4890 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4891 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4892 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4893 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4894 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4895 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4896 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4897 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4898 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4899 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4900 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4901 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4902 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4903 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4904 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4905 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4906 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4907 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4908 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4909 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4910 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4911 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4912 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4913 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4914 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4915 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4916 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4917 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4918 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4919 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4920 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4921 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4922 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4923 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4924 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4925 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4926 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4927 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4928 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4929 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4930 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4931 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4932 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4933 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4934 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4935 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4936 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4937 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4938 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4939 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4940 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4941 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4942 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4943 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4944 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4945 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4946 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4947 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4950 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4951 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4952 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4953 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4954 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4955 * sysdeps/posix/closedir.c: Likewise.
4956 * sysdeps/posix/opendir.c: Likewise.
4957 * sysdeps/posix/readdir.c: Likewise.
4958 * sysdeps/posix/rewinddir.c: Likewise.
4959 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4960 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4961 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4962 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4963 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4964 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4965 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4966 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4967 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4968 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4969 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4970 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4971 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4972 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4973 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4974 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4975 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4976 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4977 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4978 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4979 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4980 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4981 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4982 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4983 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4984 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4985 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4986 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4987 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4988 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4989 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4990 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4993 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4994 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4995 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4996 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4997 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4998 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4999 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5000 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5001 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5002 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5003 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5004 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5005 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5006 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5007 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5008 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5009 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5010 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5011 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5012 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5013 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5014 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5015 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5016 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5017 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5018 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5019 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5020 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5021 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5022 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5023 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5024 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5025 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5026 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5027 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5028 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5029 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5030 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5031 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5032 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5033 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5034 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5035 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5036 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5037 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5038 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5039 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5040 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5041 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5042 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5043 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5044 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5045 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5046 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5047 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5048 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5049 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5050 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5051 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5052 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5053 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5054 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5055 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5057 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5058 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5059 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5060 * sysdeps/unix/alpha/sysdep.S: Likewise.
5061 * sysdeps/unix/alpha/sysdep.h: Likewise.
5062 * sysdeps/unix/make-syscalls.sh: Likewise.
5063 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5064 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5065 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5066 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5067 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5068 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5069 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5070 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5071 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5072 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5073 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5074 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5075 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5076 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5077 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5078 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5079 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5080 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5081 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5082 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5083 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5084 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5085 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5086 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5087 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5088 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5089 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5092 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5093 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5094 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5095 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5096 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5097 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5098 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5099 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5100 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5101 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5102 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5103 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5104 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5105 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5106 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5107 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5109 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5110 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5113 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5114 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5115 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5116 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5117 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5118 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5119 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5121 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5122 * sysdeps/x86_64/memcpy.S: Likewise.
5123 * sysdeps/x86_64/memmove.c: Likewise.
5124 * sysdeps/x86_64/memset.S: Likewise.
5125 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5126 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5127 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5128 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5129 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5130 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5131 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5132 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5133 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5134 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5135 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5136 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5137 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5138 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5139 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5140 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5141 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5142 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5143 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5144 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5145 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5146 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5147 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5148 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5149 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5150 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5151 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5152 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5153 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5154 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5155 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5156 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5157 * sysdeps/x86_64/strcmp.S: Likewise.
5158
76ca86a5
SP
5159 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5160
a3848485
SP
5161 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5162 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5163 * elf/rtld-Rules: Likewise.
5164 * elf/setup-vdso.h: Likewise.
5165 * include/assert.h: Likewise.
5166 * include/bits/stdlib-float.h: Likewise.
5167 * include/errno.h: Likewise.
5168 * include/sys/stat.h: Likewise.
5169 * include/unistd.h: Likewise.
5170 * sysdeps/aarch64/setjmp.S: Likewise.
5171 * sysdeps/alpha/setjmp.S: Likewise.
5172 * sysdeps/arm/__longjmp.S: Likewise.
5173 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5174 * sysdeps/arm/setjmp.S: Likewise.
5175 * sysdeps/arm/sysdep.h: Likewise.
5176 * sysdeps/generic/_itoa.h: Likewise.
5177 * sysdeps/generic/dl-sysdep.h: Likewise.
5178 * sysdeps/generic/ldsodefs.h: Likewise.
5179 * sysdeps/i386/dl-tls.h: Likewise.
5180 * sysdeps/i386/setjmp.S: Likewise.
5181 * sysdeps/m68k/setjmp.c: Likewise.
5182 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5183 * sysdeps/mach/hurd/opendir.c: Likewise.
5184 * sysdeps/posix/getcwd.c: Likewise.
5185 * sysdeps/posix/opendir.c: Likewise.
5186 * sysdeps/posix/profil.c: Likewise.
5187 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5188 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5189 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5190 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5191 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5192 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5193 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5194 * sysdeps/s390/dl-tls.h: Likewise.
5195 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5196 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5197 * sysdeps/sh/sh3/setjmp.S: Likewise.
5198 * sysdeps/sh/sh4/setjmp.S: Likewise.
5199 * sysdeps/unix/alpha/sysdep.h: Likewise.
5200 * sysdeps/unix/arm/sysdep.S: Likewise.
5201 * sysdeps/unix/i386/sysdep.S: Likewise.
5202 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5203 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5204 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5205 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5206 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5207 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5208 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5209 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5210 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5211 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5212 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5213 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5214 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5217 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5218 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5219 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5220 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5221 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5222 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5224 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5225 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5226 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5227 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5229 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5230 * sysdeps/x86_64/setjmp.S: Likewise.
5231
a109996e
SP
5232 * include/math.h: Use IS_IN instead of IS_IN_libm.
5233 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5234 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5236 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5237 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5238 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5239 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5240 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5241 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5242 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5244 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5245 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5246 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5247 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5248 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5249 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5250 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5251 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5252 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5253 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5254 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5255 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5256 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5257 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5258 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5259 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5260 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5261 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5262 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5263 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5264 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5265 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5267 Likewise.
5268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5269 Likewise.
5270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5271 Likewise.
5272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5273 Likewise.
5274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5275 Likewise.
5276 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5277 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5278 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5279 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5280 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5281 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5287 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5288 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5289 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5290 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5291 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5292 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5293 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5294 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5295 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5296 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5297 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5298 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5299 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5300 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5302 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5303
ce9f10f7
SP
5304 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5305 * nptl/pthreadP.h: Likewise.
5306 * nptl_db/structs.def: Likewise.
5307 * sysdeps/arm/sysdep.h: Likewise.
5308 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5309 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5310 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5311 * sysdeps/unix/alpha/sysdep.h: Likewise.
5312 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5313 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5314 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5315 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5316 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5317 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5318 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5319 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5320 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5321 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5322 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5323 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5324 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5325 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5328 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5329 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5330 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5331 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5332 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5333 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5334 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5335 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5336 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5337 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5338
016afc75
SP
5339 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5340 * nptl/pthreadP.h: Likewise.
5341 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5342 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5343 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5344 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5345 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5346 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5347 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5348 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5349 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5350 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5351 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5352 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5354 Likewise.
5355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5356 Likewise.
5357 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5358 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5359 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5360 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5362 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5363 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5364 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5365
9b42a0b3
SP
5366 * dlfcn/dladdr.c: Use IS_IN.
5367 * dlfcn/dladdr1.c: Likewise.
5368 * dlfcn/dlclose.c: Likewise.
5369 * dlfcn/dlerror.c: Likewise.
5370 * dlfcn/dlinfo.c: Likewise.
5371 * dlfcn/dlmopen.c: Likewise.
5372 * dlfcn/dlopen.c: Likewise.
5373 * dlfcn/dlsym.c: Likewise.
5374 * dlfcn/dlvsym.c: Likewise.
5375
85f36372
SP
5376 * include/ifaddrs.h: Use IS_IN.
5377 * inet/check_pf.c: Likewise.
5378 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5379 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5380
fb6784e3
SP
5381 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5382 IS_IN_ldconfig.
5383 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5384 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5385
2886d2d1
SP
5386 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5387 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5388 IS_IN (libc).
5389
9a484857
SP
5390 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5391
a10178bd
SP
5392 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5393 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5394 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5395 * include/libc-symbols.h (IS_IN_LIB): New macro.
5396 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5397 * include/netdb.h: Likewise.
5398 * include/stap-probe.h: Remove all uses of IN_LIB.
5399
279bc5b3
SP
5400 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5401 instead of IN_MODULE.
5402 * include/libc-symbols.h (IN_MODULE): Define using
5403 MODULE_NAME.
5404 (PASTE_NAME, PASTE_NAME1): New macros.
5405 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5406 of IN_LIB.
5407 (STAP_PROBE_ASM): Likewise.
5408
e0cfa510
ST
54092014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5410
5411 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5412 __mach_init in dlopened libc.
5413
34d97d87
MF
54142014-11-22 Mike Frysinger <vapier@gentoo.org>
5415
5416 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5417 * sysdeps/arm/preconfigure: Regenerate.
5418
33cd1f74
RM
54192014-11-21 Roland McGrath <roland@hack.frob.com>
5420
5421 * nptl/pthread_create.c (__pthread_create_2_1): Set
5422 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5423 when copying values from IATTR into PD.
5424
8c230039
WN
54252014-11-21 Will Newton <will.newton@linaro.org>
5426 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5427
6d3db89b
AP
5428 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5429 Refactor inline-asm. Also add comment.
5430
01194ba1
WN
5431 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5432 ElfW macro instead of hardcoded Elf64 types.
5433 (la_aarch64_gnu_pltenter): Likewise.
5434 * sysdeps/aarch64/dl-machine.h
5435 (elf_machine_runtime_setup): Use ElfW(Addr).
5436
8c230039
WN
5437 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5438 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5439 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5440 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5441 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5442 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5443 (R_AARCH64_TLS_DTPMOD): This.
5444 (R_AARCH64_TLS_DTPREL64): Rename to ...
5445 (R_AARCH64_TLS_DTPREL): This.
5446 (R_AARCH64_TLS_TPREL64): Rename to ...
5447 (R_AARCH64_TLS_TPREL): This.
5448 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5449 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5450 R_AARCH64_TLS_TPREL64.
5451 (elf_machine_rela): Likewise.
5452
0d79fa53
TR
54532014-11-21 Torvald Riegel <triegel@redhat.com>
5454
5455 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5456 by setting it to 0. 64b atomics are not supported currently.
5457
b59d114b
AO
54582014-11-21 Alexandre Oliva <aoliva@redhat.com>
5459
5460 [BZ #16469]
5461 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5462 search domain names.
5463
f3d945d5
AO
54642014-11-21 Alexandre Oliva <aoliva@redhat.com>
5465
5466 [BZ #16469]
5467 * NEWS: Update.
5468 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5469 trailing dot.
5470 * posix/tst-getaddrinfo5.c: New.
5471 * posix/Makefile (tests): Add it.
5472
49698902
AO
54732014-11-21 Alexandre Oliva <aoliva@redhat.com>
5474
5475 [BZ #14498]
5476 * NEWS: Fixed.
5477 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5478 after parsing line but before break_if_match.
5479 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5480 if there is a protocol mismatch.
5481
81959214
MS
54822014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5483
5484 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5485 because the potential race is on the user-supplied stream.
5486
7729e0e9
AO
54872014-11-21 Alexandre Oliva <aoliva@redhat.com>
5488
5489 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5490 string literal if not passed a buffer.
5491 * manual/job.texi (ctermid): Update reasoning, note deviation
5492 from posix, suggest mtasurace when not passed a buffer, for
5493 future non-preliminary safety notes.
5494
a4ea5e28
AO
54952014-11-21 Alexandre Oliva <aoliva@redhat.com>
5496
5497 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5498 of not passing it a buffer.
5499 Reported by Peng Haitao.
5500
a2b581cb
AO
55012014-11-21 Alexandre Oliva <aoliva@redhat.com>
5502
5503 * manual/Makefile ($(objpfx)stamp-summary): Require
5504 check-safety.sh to pass.
5505 * manual/check-safety.sh: Wish for verification that every
5506 @deftypefn and @deftypefun is followed by a @safety remark.
5507
f214ff74
RM
55082014-11-20 Roland McGrath <roland@hack.frob.com>
5509
7f0dfae0
RM
5510 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5511
2f531bbb
RM
5512 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5513 PTHREAD_CANCEL_ASYNCHRONOUS.
5514 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5515 send SIGCANCEL.
5516
f214ff74
RM
5517 * nptl/default-sched.h: New file.
5518 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5519 * nptl/pthread_create.c: Include it.
5520 (__pthread_create_2_1): Use collect_default_sched instead of making
5521 Linux syscalls here directly.
5522
e37c91d4
TR
55232014-11-20 Torvald Riegel <triegel@redhat.com>
5524
5525 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5526 __pthread_once): Use C11 atomics.
5527
1eccfecd
TR
55282014-11-20 Torvald Riegel <triegel@redhat.com>
5529
5530 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5531
ff871426
TR
55322014-11-20 Torvald Riegel <triegel@redhat.com>
5533
5534 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5535 atomic_thread_fence_acquire, atomic_thread_fence_release,
5536 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5537 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5538 atomic_compare_exchange_weak_relaxed,
5539 atomic_compare_exchange_weak_acquire,
5540 atomic_compare_exchange_weak_release,
5541 atomic_exchange_acquire, atomic_exchange_release,
5542 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5543 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5544 atomic_fetch_and_acquire,
5545 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5546
1ea339b6
TR
55472014-11-20 Torvald Riegel <triegel@redhat.com>
5548
5549 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5550 USE_ATOMIC_COMPILER_BUILTINS): Define.
5551 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5552 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5553 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5554 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5555 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5556 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5557 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5558 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5559 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5560 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5561 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5562 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5563 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5564 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5565 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5566 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5567 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5568 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5569 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5570 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5571 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5572 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5573 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5574 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5575 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5576 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5577 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5578 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5579 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5580 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5581 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5582 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5583 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5584 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5585 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5586 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5587 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5588 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5589 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5590 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5591
cbd463e2
RM
55922014-11-19 Roland McGrath <roland@hack.frob.com>
5593
d960211f
RM
5594 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5595 the sched_priority value here. It was already checked when the user
5596 called pthread_attr_setschedparam.
5597
cbd463e2
RM
5598 * nptl/tst-bad-schedattr.c: New file.
5599 * nptl/Makefile (tests): Add it.
5600
a39208bd
CD
56012014-11-19 Carlos O'Donell <carlos@redhat.com>
5602 Florian Weimer <fweimer@redhat.com>
5603 Joseph Myers <joseph@codesourcery.com>
5604 Adam Conrad <adconrad@0c3.net>
5605 Andreas Schwab <schwab@suse.de>
5606 Brooks <bmoses@google.com>
5607
5608 [BZ #17625]
5609 * wordexp-test.c (__dso_handle): Add prototype.
5610 (__register_atfork): Likewise.
5611 (__app_register_atfork): New function.
5612 (registered_forks): New global.
5613 (register_fork): New function.
5614 (test_case): Add 3 new tests for WRDE_CMDSUB.
5615 (main): Call __app_register_atfork.
5616 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5617 fork count is non-zero fail the test.
5618 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5619 is set.
5620 (parse_dollars): Remove check for WRDE_NOCMD.
5621 (parse_dquote): Likewise.
5622
9cd47470
SP
56232014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5624
130ac68c
SP
5625 * Makeconfig (built-modules): List non-library modules to be
5626 built.
5627 (module-cppflags): Include libc-modules.h for
5628 everything except shlib-versions.v.i.
5629 (CPPFLAGS): Use it.
5630 (before-compile): Add libc-modules.h.
5631 ($(common-objpfx)libc-modules.h,
5632 $(common-objpfx)libc-modules.stmp): New targets.
5633 (common-generated): Add libc-modules.h and libc-modules.stmp.
5634 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5635 * include/libc-symbols.h: Don't include libc-modules.h.
5636 * include/libc-modules.h: Remove file.
5637 * scripts/gen-libc-modules.awk: New script to generate
5638 libc-modules.h.
5639 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5640 Depend on libc-modules.stmp.
5641
286663c3
SP
5642 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5643
9cd47470
SP
5644 * Makeconfig (in-module): Get value of libof set for the
5645 translation unit.
5646 (CPPFLAGS): Use $(in-module).
5647 * Makerules: Don't suffix routine names for nonlib.
5648 * include/libc-modules.h: New file.
5649 * include/libc-symbols.h: Include libc-modules.h
5650 (IS_IN): New macro to replace IS_IN_* macros.
5651 * elf/Makefile: Set libof-* for each routine.
5652 * elf/rtld-Rules: Likewise.
5653 * extra-modules.mk: Likewise.
5654 * iconv/Makefile: Likewise.
5655 * iconvdata/Makefile: Likewise.
5656 * locale/Makefile: Likewise.
5657 * malloc/Makefile: Likewise.
5658 * nss/Makefile: Likewise.
5659 * sysdeps/gnu/Makefile: Likewise.
5660 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5661 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5662 * sysdeps/s390/s390-64/Makefile: Likewise.
5663 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5664 CPPFLAGS for nscd instead of nonlib.
5665
32fed10f
RM
56662014-11-18 Roland McGrath <roland@hack.frob.com>
5667
d71035bd
RM
5668 * nptl/createthread.c: New file.
5669
6540b991
RM
5670 * nptl/createthread.c: Moved ...
5671 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5672
32fed10f
RM
5673 * nptl/createthread.c: Add proper top-line comment.
5674 (do_clone): Folded into ...
5675 (create_thread): ... here. Take new arguments STOPPED_START and
5676 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5677 increment __nptl_threads, do event-reporting logic, do
5678 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5679 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5680 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5681 just send SIGCANCEL.
5682 * nptl/pthread_create.c: Forward-declare create_thread before
5683 including createthread.c.
5684 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5685 declaration, and new macro START_THREAD_SELF to replace argument.
5686 Remove return statement.
5687 (report_thread_creation): New function.
5688 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5689 synchronization logic, and __nptl_nthreads increment here, around
5690 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5691 PD->parent_cancelhandling here, before create_thread. When
5692 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5693 __deallocate_stack, and ENOMEM translation here.
5694
107a5bf0
JM
56952014-11-18 Joseph Myers <joseph@codesourcery.com>
5696
5697 [BZ #17616]
5698 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5699 (mptwo): Rename to __mptwo.
5700 (__inv): Use __mptwo instead of mptwo.
5701 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5702 (mptwo): Rename to __mptwo.
5703 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5704 of mpone and __mptwo instead of mptwo.
5705 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5706 instead of mpone.
5707 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5708 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5709 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5710 of mpone and __mptwo instead of mptwo.
5711 (__mpranred): Use __mpone instead of mpone.
5712 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5713 variable.
5714 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5715 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5716 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5717 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5718 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5719 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5720 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5721 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5722 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5723 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5724 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5725 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5726 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5727 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5728 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5729 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5730 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5731 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5732 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5733
3b679ab3
TV
57342014-11-18 Tom de Vries <tom@codesoucery.com>
5735
5736 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5737 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5738
57392014-11-17 Richard Henderson <rth@redhat.com>
5740
5741 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5742 (_FP_PACK_RAW_2): Remove.
5743 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5744 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5745 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5746 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5747 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5748 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5749 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5750 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5751 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5752 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5753 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5754 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5755 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5756 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5757 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5758 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5759
0781a777
RM
57602014-11-14 Roland McGrath <roland@hack.frob.com>
5761
5762 * signal/signal.h [__USE_MISC]
5763 (struct sigvec): Remove type.
5764 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5765 (sigvec): Remove declaration.
5766 * sysdeps/posix/sigvec.c: Moved ...
5767 * signal/sigvec.c: ... here, replacing old file.
5768 (struct sigvec): New type, copied from old signal.h definition.
5769 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5770 (__sigvec): Convert definition to prototype.
5771 (sigvec): Replace weak_alias with compat_symbol.
5772 * signal/Versions (libc: GLIBC_2.21): New version set.
5773 * include/signal.h: Remove __sigvec declaration.
5774 * sysdeps/unix/bsd/sigvec.c: Remove file.
5775 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5776 * manual/signal.texi (BSD Handler): Remove subsection.
5777 Move siginterrupt up to ...
5778 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5779 (Blocking in BSD): Fold subsection into its parent.
5780 * NEWS: Mention sigvec removal.
5781
a4733812
JM
57822014-11-14 Joseph Myers <joseph@codesourcery.com>
5783
5ae4fe60
JM
5784 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5785 (DLA_FMS): Make definition conditional only on [__FMA4__].
5786 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5787 definition.
5788
6a0dd472
JM
5789 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5790 Make definition conditional only on [PROF].
5791 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5792 definition.
5793 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5794 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5795
a4733812
JM
5796 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5797 !__GNUC__].
5798 * include/signal.h (__sigpause): Move declaration above call to
5799 libc_hidden_proto.
5800 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5801 variable.
5802 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5803 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5804
cf7246dd
DM
58052014-11-14 David S. Miller <davem@davemloft.net>
5806
5807 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5808 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5809
c1b0aadc
JM
58102014-11-14 Joseph Myers <joseph@codesourcery.com>
5811
4863355a
JM
5812 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5813 * configure: Regenerated.
5814 * manual/install.texi (Tools for Compilation): Document a
5815 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5816 compiler verified to work.
5817 * INSTALL: Regenerated.
5818
c1b0aadc
JM
5819 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5820 redeclare with asm name.
5821 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5822 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5823 including <string.h>.
5824 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5825 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5826 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5827 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5828 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5829 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5830 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5831
2a1cfd94
JM
58322014-11-13 Joseph Myers <joseph@codesourcery.com>
5833
bf438382
JM
5834 * stdlib/strtol.c (__strtol): Use prototype definition.
5835
2a1cfd94
JM
5836 [BZ #17594]
5837 * stdlib/strtol.c (SYM__): New macro.
5838 (SYM__1): Likewise.
5839 (__strtol): Likewise.
5840 (strtol): Rename to __strtol and define as weak alias of
5841 __strtol. Use libc_hidden_weak.
5842
20ed0d26
SL
58432014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5844
5845 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5846 Use numbered labels in inline assembly.
5847
53244a4e
SL
58482014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5849
5850 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5851 Add setjmp LIBC_PROBE.
5852 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5853 Likewise.
5854 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5855 Add longjmp, longjmp_target LIBC_PROBE.
5856 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5857 Likewise.
5858
47df8251
SL
58592014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5860
5861 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5862 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5863 to get rid of unused variable warning.
5864
618cebef
SL
58652014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5866
5867 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5868 Check for unwind_backtrace == NULL only in SHARED case.
5869 (__backchain_backtrace): Compile only in SHARED case.
5870 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5871 Likewise.
5872 (__backchain_backtrace): Declare as static.
5873
c6aab2cb
RM
58742014-11-12 Roland McGrath <roland@hack.frob.com>
5875
5876 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5877 (__libc_multiple_threads_ptr): Variable moved ...
5878 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5879
5a6fa4d7
JM
58802014-11-12 Joseph Myers <joseph@codesourcery.com>
5881
24f4f825
JM
5882 * conform/GlibcConform.pm: New file.
5883 * conform/conformtest.pl: Use GlibcConform module.
5884 * conform/linknamespace.pl: New file.
5885 * conform/list-header-symbols.pl: Likewise.
5886 * conform/Makefile (linknamespace-symlists-base): New variable.
5887 (linknamespace-symlists-tests): Likewise.
5888 (linknamespace-header-base): Likewise.
5889 (linknamespace-header-tests): Likewise.
5890 (tests-special): Add new tests.
5891 ($(linknamespace-symlists-tests)): New rule.
5892 (linknamespace-libs): New variable.
5893 ($(objpfx)symlist-stdlibs): New rule.
5894 ($(linknamespace-header-tests)): Likewise.
5895 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5896 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5897 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5898 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5899 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5900 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5901 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5902 (test-xfail-ISO/math.h/linknamespace): Likewise.
5903 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5904 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5905 (test-xfail-ISO/time.h/linknamespace): Likewise.
5906 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5907 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5908 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5909 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5910 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5911 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5912 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5913 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5914 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5915 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5916 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5917 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5918 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5919 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5920 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5921 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5922 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5923 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5924 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5925 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5926 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5927 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5928 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5929 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5930 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5931 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5932 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5933 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5934 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5935 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5936 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5937 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5938 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5939 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5940 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5941 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5942 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5943 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5944 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5945 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5946 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5947 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5948 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5949 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5950 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5951 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5952 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5953 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5954 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5955 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5956 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5957 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5958 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5959 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5960 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5961 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5962 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5963 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5964 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5965 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5966 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5967 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5968 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5969 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5970 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5971 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5972 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5973 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5974 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5975 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5976 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5977 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5978 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5979 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5980 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5981 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5982 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5983 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5984 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5985 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5986 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5987 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5988 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5989 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5990 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5991 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5992 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5993 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5994 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5995 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5996 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5997 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5998 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5999 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6000 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6001 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6002 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6003 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6004 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6005 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6006 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6007 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6008 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6009 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6010 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6011 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6012 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6013 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6014 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6015 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6016 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6017 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6018 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6019 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6020 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6021 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6022 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6023 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6024 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6025 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6026 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6027 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6028 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6029 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6030 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6031 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6032 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6033 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6034 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6035 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6036 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6037 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6038 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6039 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6040 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6041 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6042 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6043 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6044 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6045 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6046 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6047 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6048 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6049 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6050 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6051 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6052 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6053 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6054 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6055 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6056
cc67478e
JM
6057 [BZ #17589]
6058 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6059 of fgets_unlocked.
6060
9975e3d3
JM
6061 [BZ #17585]
6062 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6063 (memmem): Rename to __memmem and define as weak alias of
6064 __memmem. Use libc_hidden_weak.
6065 (__memmem): Use libc_hidden_def.
6066 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6067 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6068 memmem.
6069
c4eae752
JM
6070 [BZ #17582]
6071 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6072 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6073 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6074 and define as weak alias of __fgets_unlocked. Use
6075 libc_hidden_weak.
6076 (__fgets_unlocked): Use libc_hidden_def.
6077 * include/stdio.h (__fgets_unlocked): Declare. Use
6078 libc_hidden_proto.
6079 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6080 __fgets_unlocked instead of fgets_unlocked.
6081 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6082 (GET_NPROCS_CONF_PARSER): Likewise.
6083 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6084 (GET_NPROCS_CONF_PARSER): Likewise.
6085
01cad84e
JM
6086 [BZ #17574]
6087 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6088 weak alias of __wmemset. Use libc_hidden_weak.
6089 (__wmemset): Use libc_hidden_def.
6090 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6091 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6092 of wmemset.
6093
939da411
JM
6094 [BZ #17573]
6095 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6096 with asm name __mempcpy.
6097 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6098
293d9a41
JM
6099 [BZ #17572]
6100 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6101 and define as weak alias of __rawmemchr.
6102 (__rawmemchr): Do not define as strong alias of rawmemchr.
6103
bef8fd60
JM
6104 [BZ #17571]
6105 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6106 alias of __qsort_r.
6107 (qsort): Call __qsort_r instead of qsort_r.
6108 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6109 (__qsort_r): Declare. Call libc_hidden_proto.
6110 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6111 instead of qsort_r.
6112 * nscd/gai.c (__qsort_r): Define to qsort_r.
6113 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6114 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6115 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6116
c52ff39e
JM
6117 [BZ #17570]
6118 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6119 define as weak alias of __malloc_info.
6120
2f5c1b00
JM
6121 [BZ #17584]
6122 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6123 as weak alias of __rewinddir. Don't use libc_hidden_def.
6124 (__rewinddir): Use libc_hidden_def.
6125 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6126 as weak alias of __rewinddir. Don't use libc_hidden_def.
6127 (__rewinddir): Use libc_hidden_def.
6128 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6129 weak alias of __rewinddir. Don't use libc_hidden_def.
6130 (__rewinddir): Use libc_hidden_def.
6131 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6132 (__rewinddir): Use libc_hidden_proto.
6133 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6134 rewinddir.
6135 (__getcwd): Use __rewinddir instead of rewinddir.
6136
5a6fa4d7
JM
6137 [BZ #17583]
6138 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6139 alias of __fileno. Use libc_hidden_weak.
6140 (__fileno): Use libc_hidden_def.
6141 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6142 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6143 alias of __ftello.
6144 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6145 __ftello.
6146 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6147 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6148 libc_hidden_def.
6149 (fread_unlocked): Don't use libc_hidden_ver.
6150 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6151 and define as weak alias of __fread_unlocked. Don't use
6152 libc_hidden_def.
6153 (__fread_unlocked): Use libc_hidden_def.
6154 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6155 (ftello): Don't use libc_hidden_proto.
6156 (__ftello): Declare. Use libc_hidden_proto.
6157 (fread_unlocked): Don't use libc_hidden_proto.
6158 (__fread_unlocked): Declare. Use libc_hidden_proto.
6159 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6160 and __ftello instead of fileno, fread_unlocked and ftello.
6161
2581b98e
SP
61622012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6163
6164 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6165 GOT12.
6166 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6167 Likewise.
6168 (_dl_start_user): Likewise.
6169 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6170
533bb7c2
SP
61712014-11-12 Carlos O'Donell <carlos@redhat.com>
6172 Siddhesh Poyarekar <siddhesh@redhat.com>
6173
6174 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6175 Move argv and envp down instead of moving argc up.
6176 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6177
fffa1cf8
LH
61782014-11-12 Leonhard Holz <leonhard.holz@web.de>
6179
6180 [BZ #17506]
6181 * test-skeleton.c (main): Return successful if one of
6182 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6183 * string/tst-strcoll-overflow.c: Define expected status.
6184
fb89b46d
TU
61852014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6186
6187 [BZ #17475]
6188 * locale/iso-639.def: Define Bhili and Tulu language codes.
6189
5c40c3ba
AH
61902014-11-11 Alan Hayward <alan.hayward@arm.com>
6191
6192 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6193
b17fe01b 61942014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
6195
6196 [BZ #17555]
6197 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6198
bd805071
AS
61992014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6200
6201 * configure.ac: Updated check of minimal required version to
6202 2.22.
6203 * manual/install.texi (Tools for Compilation): Updated version
6204 number.
6205 * configure: Regenerated.
6206 * INSTALL: Likewise.
6207
1400983e
AS
62082014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6209
6210 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6211 __tls_get_addr.
6212
2c46a66a
JM
62132014-11-07 Joseph Myers <joseph@codesourcery.com>
6214
6215 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6216 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6217 (__waitpid): Don't define as alias. Use libc_hidden_def not
6218 libc_hidden_weak.
6219 (waitpid): Define as alias of __waitpid.
6220 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6221 __waitpid.
6222 (__waitpid): Don't define as alias. Use libc_hidden_def not
6223 libc_hidden_weak.
6224 (waitpid): Define as alias of __waitpid.
6225 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6226 __libc_waitpid alias.
6227 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6228 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6229 Likewise.
6230 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6231 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6232 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6233 alias.
6234 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6235 __waitpid.
6236 (__waitpid): Don't define as alias. Use libc_hidden_def not
6237 libc_hidden_weak.
6238 (waitpid): Define as alias of __waitpid.
6239
da53d6db
CD
62402014-11-06 Carlos O'Donell <carlos@redhat.com>
6241
a2887bdb
CD
6242 * manual/llio.texi: Add comment that write safety has been
6243 fixed in Linux.
6244
da53d6db
CD
6245 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6246 (localplt-build-dso): Add elf/ld.so.
6247 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6248 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6249 and free for ld.so.
6250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6251 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6253 Likewise.
6254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6255 Likewise.
6256 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6257 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6258 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6259 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6260 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6261 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6262 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6263 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6264 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6265 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6266 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6267
9cf27b8d
JM
62682014-11-05 Joseph Myers <joseph@codesourcery.com>
6269
6270 [BZ #14132]
6271 * include/libc-symbols.h (INTUSE): Remove macro.
6272 (INTDEF): Likewise.
6273 (INTVARDEF): Likewise.
6274 (_INTVARDEF): Likewise.
6275 (INTDEF2): Likewise.
6276 (INTVARDEF2): Likewise.
6277 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6278 rtld_hidden_def instead of INTVARDEF.
6279 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6280 (_dl_starting_up_internal): Remove declaration.
6281 (_dl_starting_up): Use rtld_hidden_proto.
6282 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6283 declaration.
6284 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6285 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6286 _dl_starting_up.
6287 * elf/dl-writev.h (_dl_writev): Likewise.
6288 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6289 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6290 _dl_starting_up_internal.
6291
af83568d
AZ
62922014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6293
6294 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6295 test-skeleton.c.
6296
b01ee67c
WN
62972014-11-05 Will Newton <will.newton@linaro.org>
6298
6299 * benchtests/Makefile: (bench-malloc): Add malloc thread
6300 scalability benchmark.
6301 * benchtests/bench-malloc-threads.c: New file.
6302
be9d4ccc
RE
63032014-11-05 Richard Earnshaw <rearnsha@arm.com>
6304
6305 * sysdeps/aarch64/strchrnul.S: New file.
6306
7110166d
AZ
63072014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6308
6309 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6310 definition.
6311 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6312 Likwise.
6313 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6314 Likewise.
6315 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6316 Likewise.
6317 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6318 Likewise.
6319 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6320 Likewise.
6321
63222014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6323
6324 * catgets/test-gencat.c: Use test-skeleton.c.
6325 * catgets/tst-catgets.c: Likewise.
6326 * csu/tst-empty.c: Likewise.
6327 * elf/tst-audit2.c: Likewise.
6328 * elf/tst-global1.c: Likewise.
6329 * elf/tst-pathopt.c: Likewise.
6330 * elf/tst-piemod1.c: Likewise.
6331 * elf/tst-tls10.c: Likewise.
6332 * elf/tst-tls11.c: Likewise.
6333 * elf/tst-tls12.c: Likewise.
6334 * gnulib/tst-gcc.c: Likewise.
6335 * iconvdata/tst-e2big.c: Likewise.
6336 * iconvdata/tst-loading.c: Likewise.
6337 * iconv/tst-iconv1.c: Likewise.
6338 * iconv/tst-iconv2.c: Likewise.
6339 * inet/test-inet6_opt.c: Likewise.
6340 * inet/tst-gethnm.c: Likewise.
6341 * inet/tst-network.c: Likewise.
6342 * inet/tst-ntoa.c: Likewise.
6343 * intl/tst-codeset.c: Likewise.
6344 * intl/tst-gettext2.c: Likewise.
6345 * intl/tst-gettext3.c: Likewise.
6346 * intl/tst-ngettext.c: Likewise.
6347 * intl/tst-translit.c: Likewise.
6348 * io/test-stat.c: Likewise.
6349 * libio/test-fmemopen.c: Likewise.
6350 * libio/tst-freopen.c: Likewise.
6351 * libio/tst-sscanf.c: Likewise.
6352 * libio/tst-ungetwc1.c: Likewise.
6353 * libio/tst-ungetwc2.c: Likewise.
6354 * libio/tst-widetext.c: Likewise.
6355 * localedata/tst-ctype.c: Likewise.
6356 * localedata/tst-digits.c: Likewise.
6357 * localedata/tst-leaks.c: Likewise.
6358 * localedata/tst-mbswcs1.c: Likewise.
6359 * localedata/tst-mbswcs2.c: Likewise.
6360 * localedata/tst-mbswcs3.c: Likewise.
6361 * localedata/tst-mbswcs4.c: Likewise.
6362 * localedata/tst-mbswcs5.c: Likewise.
6363 * localedata/tst-setlocale.c: Likewise.
6364 * localedata/tst-trans.c: Likewise.
6365 * localedata/tst-wctype.c: Likewise.
6366 * localedata/tst-xlocale1.c: Likewise.
6367 * login/tst-grantpt.c: Likewise.
6368 * malloc/tst-calloc.c: Likewise.
6369 * malloc/tst-malloc.c: Likewise.
6370 * malloc/tst-mallocstate.c: Likewise.
6371 * malloc/tst-mcheck.c: Likewise.
6372 * malloc/tst-mtrace.c: Likewise.
6373 * malloc/tst-obstack.c: Likewise.
6374 * math/atest-exp2.c: Likewise.
6375 * math/atest-exp.c: Likewise.
6376 * math/atest-sincos.c: Likewise.
6377 * math/test-matherr.c: Likewise.
6378 * math/test-misc.c: Likewise.
6379 * math/test-powl.c: Likewise.
6380 * math/tst-definitions.c: Likewise.
6381 * misc/tst-dirname.c: Likewise.
6382 * misc/tst-efgcvt.c: Likewise.
6383 * misc/tst-fdset.c: Likewise.
6384 * misc/tst-hsearch.c: Likewise.
6385 * misc/tst-mntent2.c: Likewise.
6386 * nptl/tst-sem7.c: Likewise.
6387 * nptl/tst-sem8.c: Likewise.
6388 * nptl/tst-sem9.c: Likewise.
6389 * nss/test-netdb.c: Likewise.
6390 * posix/tst-fnmatch.c: Likewise.
6391 * posix/tst-getlogin.c: Likewise.
6392 * posix/tst-gnuglob.c: Likewise.
6393 * posix/tst-mmap.c: Likewise.
6394 * pwd/tst-getpw.c: Likewise.
6395 * resolv/tst-inet_ntop.c: Likewise.
6396 * rt/tst-timer.c: Likewise.
6397 * stdio-common/test-fseek.c: Likewise.
6398 * stdio-common/test-popen.c: Likewise.
6399 * stdio-common/test-vfprintf.c: Likewise.
6400 * stdio-common/tst-cookie.c: Likewise.
6401 * stdio-common/tst-fileno.c: Likewise.
6402 * stdio-common/tst-gets.c: Likewise.
6403 * stdio-common/tst-obprintf.c: Likewise.
6404 * stdio-common/tst-perror.c: Likewise.
6405 * stdio-common/tst-sprintf2.c: Likewise.
6406 * stdio-common/tst-sprintf3.c: Likewise.
6407 * stdio-common/tst-sprintf.c: Likewise.
6408 * stdio-common/tst-swprintf.c: Likewise.
6409 * stdio-common/tst-tmpnam.c: Likewise.
6410 * stdio-common/tst-unbputc.c: Likewise.
6411 * stdio-common/tst-wc-printf.c: Likewise.
6412 * stdlib/tst-environ.c: Likewise.
6413 * stdlib/tst-fmtmsg.c: Likewise.
6414 * stdlib/tst-limits.c: Likewise.
6415 * stdlib/tst-rand48-2.c: Likewise.
6416 * stdlib/tst-rand48.c: Likewise.
6417 * stdlib/tst-random2.c: Likewise.
6418 * stdlib/tst-random.c: Likewise.
6419 * stdlib/tst-strtol.c: Likewise.
6420 * stdlib/tst-strtoll.c: Likewise.
6421 * stdlib/tst-tls-atexit.c: Likewise.
6422 * stdlib/tst-xpg-basename.c: Likewise.
6423 * string/test-ffs.c: Likewise.
6424 * string/tst-bswap.c: Likewise.
6425 * string/tst-inlcall.c: Likewise.
6426 * string/tst-strtok.c: Likewise.
6427 * string/tst-strxfrm.c: Likewise.
6428 * sysdeps/x86_64/tst-audit10.c: Likewise.
6429 * sysdeps/x86_64/tst-audit3.c: Likewise.
6430 * sysdeps/x86_64/tst-audit4.c: Likewise.
6431 * sysdeps/x86_64/tst-audit5.c: Likewise.
6432 * time/tst-ftime_l.c: Likewise.
6433 * time/tst-getdate.c: Likewise.
6434 * time/tst-mktime3.c: Likewise.
6435 * time/tst-mktime.c: Likewise.
6436 * time/tst-posixtz.c: Likewise.
6437 * time/tst-strptime2.c: Likewise.
6438 * time/tst-strptime3.c: Likewise.
6439 * wcsmbs/tst-btowc.c: Likewise.
6440 * wcsmbs/tst-mbrtowc.c: Likewise.
6441 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6442 * wcsmbs/tst-wchar-h.c: Likewise.
6443 * wcsmbs/tst-wcpncpy.c: Likewise.
6444 * wcsmbs/tst-wcrtomb.c: Likewise.
6445 * wcsmbs/tst-wcsnlen.c: Likewise.
6446 * wcsmbs/tst-wcstof.c: Likewise.
6447
2004e7fb
JM
64482014-11-04 Joseph Myers <joseph@codesourcery.com>
6449
ab97ee8f
JM
6450 [BZ #14132]
6451 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6452 INTDEF.
6453 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6454 declaration.
6455 (_dl_mcount): Use rtld_hidden_proto.
6456 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6457 _dl_mcount.
6458 * elf/rtld.c (_rtld_global_ro): Likewise.
6459
c5684fdb
JM
6460 [BZ #14132]
6461 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6462 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6463 of _dl_init_internal.
6464 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6465 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6466 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6467 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6468 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6469 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6470 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6471 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6472 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6473 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6474 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6475 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6476 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6477 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6478 * sysdeps/tile/dl-start.S (_start): Likewise.
6479 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6480 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6481
4243cbea
JM
6482 [BZ #14132]
6483 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6484 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6485 (rtld_progname): Make macro definition unconditional.
6486 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6487 INTDEF.
6488 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6489 (dl_main): Likewise.
6490 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6491 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6492 instead of _dl_argv_internal.
6493 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6494 __GI__dl_argv instead of INTUSE(_dl_argv).
6495 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6496 __GI__dl_argv instead of _dl_argv_internal.
6497
2004e7fb
JM
6498 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6499 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6500 macro.
6501 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6502 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6503 New macro.
6504 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6505 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6506 macro.
6507 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6508 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6509
97827bfc
AS
65102014-11-04 Andreas Schwab <schwab@suse.de>
6511
6512 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6513
5e4df284
AZ
65142014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6515
6516 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6517 mtvsrd instruction in binary form.
6518
04b76b5a
AS
65192014-11-03 Andreas Schwab <schwab@suse.de>
6520
6521 [BZ #17522]
6522 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6523 for less than MB_LEN_MAX use a local buffer of that size.
6524 * libio/tst-fputws.c: New file.
6525 * libio/Makefile (tests): Add tst-fputws.
6526
4c6da7da
JM
65272014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6528
6529 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6530 the size of the fpu_fr.fpu_dregs[] array.
6531
1679ba8e
JM
65322014-11-01 Joseph Myers <joseph@codesourcery.com>
6533
6534 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6535 (__nanosleep): Do not define as alias.
6536 (nanosleep): Define as alias of __nanosleep.
6537 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6538 __libc_nanosleep name.
6539
2626c183
JM
65402014-10-31 Joseph Myers <joseph@codesourcery.com>
6541
6542 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6543 install.texi in comment.
6544
7f981fc2
TR
65452014-10-31 Torvald Riegel <triegel@redhat.com>
6546
6547 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6548 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6549 ... add here and use lwsync or sync ...
6550 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6551 ... and add here using lwsync.
6552
d6f373d2
MF
65532014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6554
6555 * elf/dl-machine-reject-phdr.h: New file.
6556 * elf/dl-load.c: #include that.
6557 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6558 if that returned true.
6559
67c37987
RM
65602014-10-31 Roland McGrath <roland@hack.frob.com>
6561
6562 [BZ #17496]
6563 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6564 gen-as-const-headers chunk. Add a big scare comment after the last
6565 safe place to touch before-compile.
6566
94a42455 65672014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 6568
f3f5d895
JM
6569 * manual/install.texi (Tools for Compilation): Update autoconf
6570 version requirements.
6571 * INSTALL: Regenerated.
6572
f62ff286
JM
6573 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6574 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6575 (__libc_pselect): Likewise.
94a42455
JM
6576
6577 [BZ #14138]
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6582
ff9dbdc0
TR
65832014-10-31 Torvald Riegel <triegel@redhat.com>
6584
6585 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6586 correct barrier instruction.
6587 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6588 Likewise.
6589 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6590 Likewise.
6591
b4f66884
RM
65922014-10-30 Roland McGrath <roland@hack.frob.com>
6593
6594 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6595 after defining inlines. Instead, just use parens to defeat macro
6596 expansion of __isctype in its declaration.
6597
e19c95fd
JM
65982014-10-30 Joseph Myers <joseph@codesourcery.com>
6599
6600 * include/sys/uio.h (__libc_readv): Remove declaration.
6601 (__libc_writev): Likewise.
6602 * misc/readv.c (__libc_readv): Rename to __readv.
6603 (__readv): Do not define as alias.
6604 (readv): Define as alias of __readv.
6605 * misc/writev.c (__libc_writev): Rename to __writev.
6606 (__writev): Do not define as alias.
6607 (writev): Define as alias of __writev.
6608 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6609 (__readv): Do not define as alias.
6610 (readv): Define unconditionally as alias of __readv.
6611 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6612 (__writev): Do not define as alias.
6613 (writev): Define unconditionally as alias of __writev.
6614 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6615 name.
6616 (writev): Do not define __libc_writev name.
6617
65b00b6c
RM
66182014-10-30 Roland McGrath <roland@hack.frob.com>
6619
6620 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6621 (convert_charseq): New function, broken out of ...
6622 (use_from_charmap): ... here. Call it.
6623 (use_to_charmap): Use convert_charseq and free instead of duplicating
6624 its code with a variable-length stack struct.
6625
d4e157aa
JM
66262014-10-30 Joseph Myers <joseph@codesourcery.com>
6627
6628 * include/fcntl.h (__libc_creat): Remove declaration.
6629 * io/creat.c (__libc_creat): Rename to creat.
6630 (creat): Do not define as alias.
6631 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6632 of creat instead of __libc_creat.
6633 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6634 to creat.
6635 (creat): Do not define as alias.
6636 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6637 __libc_creat.
6638 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6639 __libc_creat name.
6640 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6641 Likewise.
6642
0c6891a0
CD
66432014-10-29 Carlos O'Donell <carlos@redhat.com>
6644
6645 * manual/llio.texi: Add comments discussing why write() may be
6646 considered MT-unsafe on Linux.
6647
cc00cece
CD
66482014-10-28 Carlos O'Donell <carlos@redhat.com>
6649
6650 * dl-load.c (local_strdup): Remove.
6651 (expand_dynamic_string_token): Use __strdup.
6652 (decompose_rpath): Likewise.
6653 (_dl_map_object): Likewise.
6654
51e623f2
JM
66552014-10-28 Joseph Myers <joseph@codesourcery.com>
6656
6657 [BZ #14132]
6658 * sysdeps/generic/unwind-dw2-fde.c
6659 (__register_frame_info_bases_internal): Do not declare.
6660 (__register_frame_info_table_bases_internal): Likewise.
6661 (__deregister_frame_info_bases_internal): Likewise.
6662 (__register_frame_info_bases): Declare and use hidden_proto before
6663 definition. Use hidden_def instead of INTDEF.
6664 (__register_frame_info_table_bases): Likewise.
6665 (__deregister_frame_info_bases): Likewise.
6666 (__register_frame_info): Do not use INTUSE.
6667 (__register_frame): Likewise.
6668 (__register_frame_info_table): Likewise.
6669 (__register_frame_table): Likewise.
6670 (__deregister_frame_info): Likewise.
6671 (__deregister_frame): Likewise.
6672
03d41216
GC
66732014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6674
6675 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6676 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6677 not undefine.
6678 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6679 Likewise.
6680 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6681 Likewise.
6682
a4b3624d
JM
66832014-10-27 Joseph Myers <joseph@codesourcery.com>
6684
6685 [BZ #14138]
6686 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6687 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6688 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6689 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6690 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6691 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6692 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6693 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6694 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6695 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6696 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6697 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6698 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6699 syscall.
6700 (setfsuid): Likewise.
6701 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6702 (setfsuid): Likewise.
6703 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6704 (setfsuid): Likewise.
6705 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6706 Likewise.
6707 (setfsuid): Likewise.
6708 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6709 (setfsuid): Likewise.
6710 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6711 Likewise.
6712 (setfsuid): Likewise.
6713
3574f2fd
AS
67142014-10-27 Andreas Schwab <schwab@suse.de>
6715
6716 [BZ #17501]
6717 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6718 check for Slow_SSE4_2 feature bit.
6719 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6720 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6721 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6722 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6723
70996a37
RM
67242014-10-24 Roland McGrath <roland@hack.frob.com>
6725
461a7b1e
RM
6726 * configure.ac: Validate compiler version with a empirical test of
6727 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6728 $CC -v output.
6729 * configure: Regenerated.
6730
70996a37
RM
6731 * inet/htons.c (htons): Prototypify.
6732 * inet/htonl.c (htonl): Likewise.
6733
e80514b5
WD
67342014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6735
6736 * string/strncat.c (strncat): Improve performance by using strlen.
6737
6e46de42
WD
67382014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6739
6740 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6741
6a9ad2fa
WD
67422014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6743
6744 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6745 Call libc_fetestexcept_aarch64.
6746
1c8810ed
WD
67472014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6748
6749 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6750 Call libc_feholdexcept_aarch64.
6751
8b1af712
WD
67522014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6753
6754 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6755 Call get_rounding_mode.
6756
a7b00c11
WD
67572014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6758
6759 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6760 Simplify logic.
6761
3a84f1a6
WD
67622014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6763
6764 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6765 Simplify logic.
6766
48eb7a94
JM
67672014-10-24 Joseph Myers <joseph@codesourcery.com>
6768
c8bc4038
JM
6769 [BZ #14138]
6770 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6771 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6772 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6773 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6774 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6775 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6776 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6777 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6778 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6779 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6780 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6781 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6782 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6783 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6784 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6785 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6786 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6787 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6788 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6789 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6790 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6791 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6792 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6793 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6794 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6795 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6796 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6797 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6798 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6799 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6800 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6801 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6802 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6803 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6804 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6805 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6806 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6807 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6808 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6809 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6810 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6811 syscall.
6812 (geteuid): Likewise.
6813 (getgid): Likewise.
6814 (getuid): Likewise.
6815 (getresgid): Likewise.
6816 (getresuid): Likewise.
6817 (getgroups): Likewise.
6818 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6819 (geteuid): Likewise.
6820 (getgid): Likewise.
6821 (getuid): Likewise.
6822 (getresgid): Likewise.
6823 (getresuid): Likewise.
6824 (getgroups): Likewise.
6825 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6826 (geteuid): Likewise.
6827 (getgid): Likewise.
6828 (getuid): Likewise.
6829 (getresgid): Likewise.
6830 (getresuid): Likewise.
6831 (getgroups): Likewise.
6832 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6833 Likewise.
6834 (geteuid): Likewise.
6835 (getgid): Likewise.
6836 (getuid): Likewise.
6837 (getresgid): Likewise.
6838 (getresuid): Likewise.
6839 (getgroups): Likewise.
6840 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6841 (geteuid): Likewise.
6842 (getgid): Likewise.
6843 (getuid): Likewise.
6844 (getresgid): Likewise.
6845 (getresuid): Likewise.
6846 (getgroups): Likewise.
6847 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6848 Likewise.
6849 (geteuid): Likewise.
6850 (getgid): Likewise.
6851 (getuid): Likewise.
6852 (getgroups): Likewise.
6853
48eb7a94
JM
6854 [BZ #14138]
6855 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6856 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6857 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6858 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6859 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6860 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6861 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6862 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6863 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6864 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6865 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6866 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6867 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6868 __chown.
6869 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6870 (lchown): Likewise.
6871 (fchown): Likewise.
6872 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6873 Likewise.
6874 (lchown): Likewise.
6875 (fchown): Likewise.
6876 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6877 (lchown): Likewise.
6878 (fchown): Likewise.
6879 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6880 Likewise.
6881 (lchown): Likewise.
6882 (fchown): Likewise.
6883
ea9a7c8b
WD
68842014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6885
6886 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6887 Simplify logic.
6888
e226de33
WD
68892014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6890
6891 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6892 Cleanup logic.
6893
6e3d8ed3
WD
68942014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6895
6896 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6897 Remove unused include.
6898
eb04247d
WD
68992014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6900
6901 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6902 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6903 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6904 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6905
13d84554
CD
69062014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6907 Helge Deller <deller@gmx.de>
6908
6909 [BZ #17508]
6910 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6911 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6912 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6913
15f9c5df
JM
69142014-10-23 Joseph Myers <joseph@codesourcery.com>
6915
6916 [BZ #14132]
6917 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6918 Remove macro definition.
6919 (__ashrdi3_v_glibc20): Likewise.
6920 (__lshrdi3_v_glibc20): Likewise.
6921 (__cmpdi2_v_glibc20): Likewise.
6922 (__ucmpdi2_v_glibc20): Likewise.
6923 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6924 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6925 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6926 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6927 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6928 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6929
c6dfed24
RM
69302014-10-22 Roland McGrath <roland@hack.frob.com>
6931
6932 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6933 old GNU extension [0] syntax.
6934 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6935 alloca rather than an array member with variable length.
6936 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6937 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6938 (parse_opt): ... here. Likewise use alloca there.
6939 Validate the -i argument before checking for rootness.
6940 (send_shutdown): New function, broken out of ...
6941 (parse_opt): ... here.
6942
8c2b1ed8
RM
69432014-10-22 Roland McGrath <roland@hack.frob.com>
6944
6945 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6946 macro to get at the _rt_local_ro field.
6947 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6948 ([PIC] case) or _dl_hwcap ([!PIC] case).
6949 * sysdeps/arm/setjmp.S: Likewise.
6950
6951 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6952 * sysdeps/arm/configure.ac: New check to define it.
6953 * sysdeps/arm/configure: Regenerated.
6954 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6955 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6956 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6957 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6958 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6959 Use move/movt pair instead of a load.
6960 (LDST_GLOBAL): Macro removed.
6961 (LDR_GLOBAL): New macro replaces it.
6962 (LDR_HIDDEN): New macro.
6963 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6964 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6965
6966 * setjmp/tst-setjmp-static.c: New file.
6967 * setjmp/Makefile (tests): Add it.
6968 (tests-static): New variable.
6969
b5af9297
MR
69702014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6971
6972 [BZ #17485]
6973 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6974
a13d0d74
JM
69752014-10-21 Joseph Myers <joseph@codesourcery.com>
6976
6977 [BZ #14132]
6978 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6979
f05e73f6
RM
69802014-10-21 Roland McGrath <roland@hack.frob.com>
6981
6982 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6983
6ab1d1ea
RM
69842014-10-20 Roland McGrath <roland@hack.frob.com>
6985
6986 * io/fts.c (dirent_not_directory): New function.
6987 (fts_build): Call it.
6988
ab49e763
RM
69892014-10-20 Roland McGrath <roland@hack.frob.com>
6990
e436eb79
RM
6991 * nptl/version.c (__nptl_main): Use normal __write rather than
6992 INTERNAL_SYSCALL.
6993 (banner): Update copyright years.
6994
6af246cf
RM
6995 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6996 gettimeofday.
6997 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6998 * nptl/pthread_cond_timedwait.c: Likewise.
6999 * nptl/pthread_mutex_timedlock.c: Likewise.
7000 * nptl/sem_timedwait.c: Likewise.
7001
ab49e763
RM
7002 * sysdeps/nptl/bits/libc-lock.h
7003 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7004 (__libc_lock_init_recursive): Return void, not 0.
7005 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7006 (__libc_rwlock_init): Likewise.
7007 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7008
f50277c1
TR
70092014-10-20 Torvald Riegel <triegel@redhat.com>
7010
7011 [BZ #15215]
7012 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7013 (__pthread_once_slow): ... here.
7014 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7015 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7016
63668b70
TR
70172014-10-20 Torvald Riegel <triegel@redhat.com>
7018
7019 [BZ #15215]
7020 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7021 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7022 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7023 * nptl/pthread_once.c (__pthread_once): Likewise.
7024 Update comments.
7025
42b7f5d4
JM
70262014-10-20 Joseph Myers <joseph@codesourcery.com>
7027
7028 [BZ #14138]
7029 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7030 name.
7031 (writev): Use __libc_writev as strong name.
7032 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7033 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7034
b0643088
RM
70352014-10-17 Roland McGrath <roland@hack.frob.com>
7036
114c4e09
RM
7037 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7038
674b8978
RM
7039 * sysdeps/i386/nptl/tls.h
7040 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7041 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7042 New macros.
7043 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7044 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7045 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7046 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7047 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7048 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7049
184ee940
RM
7050 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7051 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7052 on [__NR_futex].
7053 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7054 broken out of ...
7055 (__pthread_mutex_init): ... here. Call it.
7056 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7057 Conditionalize PI cases on [__NR_futex].
7058 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7059 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7060 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7061
327ae257
RM
7062 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7063 conditional on [SIGSETXID].
7064 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7065 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7066 is defined. Likewise for SIGSETXID.
7067 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7068 Conditionalize definitions on [SIGSETXID].
7069 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7070 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7071 unblocking on [SIGCANCEL].
7072
b0643088
RM
7073 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7074 [__NR_set_robust_list].
7075
33cc770b
SP
70762014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7077
7078 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7079 (do_compare): Likewise.
7080
0742aef6
LH
70812014-10-17 Leonhard Holz <leonhard.holz@web.de>
7082
7083 [BZ #15884]
7084 * string/strcoll_l.c: Don't include stdio.h.
7085 (coll_seq): Remove members idxarr and rulearr.
7086 (get_next_seq_cached): Remove function.
7087 (get_next_seq): Likewise.
7088 (get_next_seq_nocache): Rename to get_next_seq.
7089 (do_compare): Remove function.
7090 (do_compare_nocache): Rename to do_compare.
7091 (STRCOLL): Remove weight and rules cache.
7092
ee54ce44
RM
70932014-10-16 Roland McGrath <roland@hack.frob.com>
7094
7095 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7096 * sysdeps/arm/sfp-machine.h: ... to here.
7097 * sysdeps/arm/Implies: Remove arm/soft-fp.
7098
a75d3b02
JM
70992014-10-14 Joseph Myers <joseph@codesourcery.com>
7100
7101 * conform/data/sys/utsname.h-data (*_t): Allow.
7102 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7103 [POSIX] (WEXITED): Do not expect constant.
7104 [POSIX] (WSTOPPED): Likewise.
7105 [POSIX] (WNOHANG): Likewise.
7106 [POSIX] (WNOWAIT): Likewise.
7107 [POSIX] (siginfo_t): Do not expect type or elements.
7108 [POSIX] (pid_t): Do not expect type.
7109 [POSIX] (signal.h): Do not allow header.
7110 [POSIX] (sys/resource.h): Likewise.
7111 [POSIX] (si_*): Do not allow pattern.
7112 [POSIX] (W*): Likewise.
7113 [POSIX] (P_*): Likewise.
7114 [POSIX] (BUS_*): Likewise.
7115 [POSIX] (CLD_*): Likewise.
7116 [POSIX] (FPE_*): Likewise.
7117 [POSIX] (ILL_*): Likewise.
7118 [POSIX] (POLL_*): Likewise.
7119 [POSIX] (SEGV_*): Likewise.
7120 [POSIX] (SI_*): Likewise.
7121 [POSIX] (TRAP_*): Likewise.
7122 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7123 variable.
7124
fda389c8
SP
71252014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7126
7127 [BZ #12926]
7128 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7129 infinite loop when __recvmsg returns 0.
7130
6bc6bd3b
JM
71312014-10-10 Joseph Myers <joseph@codesourcery.com>
7132
fcb32af1
JM
7133 * CANCEL-FCT-WAIVE: Remove file.
7134 * CANCEL-FILE-WAIVE: Likewise.
7135
6bc6bd3b
JM
7136 [BZ #14132]
7137 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7138 instead of INTVARDEF.
7139 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7140 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7141 rtld_hidden_data_def instead of INTVARDEF.
7142 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7143 * elf/dl-deps.c (expand_dst): Likewise.
7144 * elf/dl-load.c (_dl_dst_count): Likewise.
7145 (_dl_dst_substitute): Likewise.
7146 (decompose_rpath): Likewise.
7147 (_dl_init_paths): Likewise.
7148 (open_path): Likewise.
7149 (_dl_map_object): Likewise.
7150 * elf/rtld.c (dl_main): Likewise.
7151 (process_dl_audit): Likewise.
7152 (process_envvars): Likewise.
7153 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7154 Remove declaration.
7155 (__libc_enable_secure): Use rtld_hidden_proto.
7156
b8c80a7e
KS
71572014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7158
7159 * elf/dl-load.c
7160 (add_path): New function broken out of _dl_rtld_di_serinfo.
7161 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7162
ff12c11f
JM
71632014-10-09 Joseph Myers <joseph@codesourcery.com>
7164
5c0508a3
JM
7165 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7166 parentheses around macro arguments.
7167 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7168 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7169 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7170 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7171 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7172 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7173 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7174 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7175 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7176 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7177 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7178 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7179 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7180 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7181 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7182 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7183 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7184 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7185 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7186 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7187 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7188 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7189 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7190 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7191 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7192 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7193 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7194 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7195 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7196 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7197 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7198 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7199 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7200 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7201 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7202 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7203 Likewise.
7204 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7205 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7206 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7207 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7208 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7209 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7210 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7211 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7212 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7213 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7214 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7215 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7216 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7217 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7218 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7219 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7220 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7221 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7222 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7223 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7224 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7225 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7226 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7227 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7228 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7229 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7230 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7231 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7232 (_FP_FRAC_SRS_1): Likewise.
7233 (_FP_FRAC_CLZ_1): Likewise.
7234 (_FP_MUL_MEAT_1_imm): Likewise.
7235 (_FP_MUL_MEAT_1_wide): Likewise.
7236 (_FP_MUL_MEAT_1_hard): Likewise.
7237 (_FP_SQRT_MEAT_1): Likewise.
7238 (_FP_FRAC_ASSEMBLE_1): Likewise.
7239 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7240 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7241 (__FP_CLZ_2): Likewise.
7242 (_FP_MUL_MEAT_2_wide): Likewise.
7243 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7244 (_FP_MUL_MEAT_2_gmp): Likewise.
7245 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7246 (_FP_SQRT_MEAT_2): Likewise.
7247 (_FP_FRAC_ASSEMBLE_2): Likewise.
7248 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7249 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7250 (_FP_FRAC_CLZ_4): Likewise.
7251 (_FP_MUL_MEAT_4_wide): Likewise.
7252 (_FP_MUL_MEAT_4_gmp): Likewise.
7253 (_FP_SQRT_MEAT_4): Likewise.
7254 (_FP_FRAC_ASSEMBLE_4): Likewise.
7255 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7256 * soft-fp/op-common.h (_FP_CMP): Likewise.
7257 (_FP_CMP_EQ): Likewise.
7258 (_FP_CMP_UNORD): Likewise.
7259 (_FP_TO_INT): Likewise.
7260 (_FP_FROM_INT): Likewise.
7261 [!__FP_CLZ] (__FP_CLZ): Likewise.
7262 (_FP_DIV_HELP_imm): Likewise.
7263 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7264 Likewise.
7265 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7266 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7267 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7268 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7269 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7270 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7271 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7272 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7273 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7274 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7275 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7276 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7277 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7278 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7279 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7280 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7281 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7282 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7283 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7284 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7285 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7286 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7287 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7288 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7289 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7290 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7291 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7292 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7293 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7294 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7295 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7296 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7297 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7298 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7299 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7300 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7301 (FP_UNPACK_RAW_SP): Likewise.
7302 (FP_PACK_RAW_S): Likewise.
7303 (FP_PACK_RAW_SP): Likewise.
7304 (FP_UNPACK_S): Likewise.
7305 (FP_UNPACK_SP): Likewise.
7306 (FP_UNPACK_SEMIRAW_S): Likewise.
7307 (FP_UNPACK_SEMIRAW_SP): Likewise.
7308 (FP_PACK_S): Likewise.
7309 (FP_PACK_SP): Likewise.
7310 (FP_PACK_SEMIRAW_S): Likewise.
7311 (FP_PACK_SEMIRAW_SP): Likewise.
7312 (_FP_SQRT_MEAT_S): Likewise.
7313 (FP_CMP_S): Likewise.
7314 (FP_CMP_EQ_S): Likewise.
7315 (FP_CMP_UNORD_S): Likewise.
7316 (FP_TO_INT_S): Likewise.
7317 (FP_FROM_INT_S): Likewise.
7318
a736ec37
JM
7319 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7320
ff12c11f
JM
7321 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7322 (FP_EX_INVALID_IMZ): Likewise.
7323 (FP_EX_INVALID_IMZ_FMA): Likewise.
7324 (FP_EX_INVALID_ISI): Likewise.
7325 (FP_EX_INVALID_ZDZ): Likewise.
7326 (FP_EX_INVALID_IDI): Likewise.
7327 (FP_EX_INVALID_SQRT): Likewise.
7328 (FP_EX_INVALID_CVI): Likewise.
7329 (FP_EX_INVALID_VC): Likewise.
7330 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7331 "invalid" exceptions.
7332 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7333 (_FP_ADD_INTERNAL): Likewise.
7334 (_FP_MUL): Likewise.
7335 (_FP_FMA): Likewise.
7336 (_FP_DIV): Likewise.
7337 (_FP_CMP_CHECK_NAN): Likewise.
7338 (_FP_SQRT): Likewise.
7339 (_FP_TO_INT): Likewise.
7340 (FP_EXTEND): Likewise.
7341
b6dcfe8c
AM
73422014-10-09 Allan McRae <allan@archlinux.org>
7343
7344 * po/fr.po: Update French translation from translation project.
7345
2d6a47ba
JM
73462014-10-09 Joseph Myers <joseph@codesourcery.com>
7347
cb831245
JM
7348 [BZ #14132]
7349 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7350 of INTDEF.
7351 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7352 (__cxa_atexit): Use libc_hidden_proto.
7353 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7354
5deeb190
JM
7355 [BZ #14132]
7356 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7357 declaration.
7358 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7359 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7360 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7361 [!_ISOMAC] (__iswctype_internal): Likewise.
7362 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7363 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7364 alias.
7365 (fcntl): Remove __fcntl_internal alias.
7366 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7367 __connect_internal alias.
7368 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7369 Likewise.
7370
454ac701
JM
7371 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7372 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7373 FP_DENORM_ZERO.
7374 (_FP_CHECK_FLUSH_ZERO): New macro.
7375 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7376 (_FP_CMP): Likewise.
7377 (_FP_CMP_EQ): Likewise.
7378 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7379 FP_DENORM_ZERO.
7380 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7381 (FP_TRUNC): Likewise.
7382
0022e688
JM
7383 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7384 treated as invalid conversion, not as normal exponent.
7385
73e28d9c
JM
7386 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7387 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7388 (_FP_CMP_EQ): Likewise.
7389 (_FP_CMP_UNORD): Likewise.
7390 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7391 (FP_CMP_EQ_D): Likewise.
7392 (FP_CMP_UNORD_D): Likewise.
7393 * soft-fp/extended.h (FP_CMP_E): Likewise.
7394 (FP_CMP_EQ_E): Likewise.
7395 (FP_CMP_UNORD_E): Likewise.
7396 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7397 (FP_CMP_EQ_Q): Likewise.
7398 (FP_CMP_UNORD_Q): Likewise.
7399 * soft-fp/single.h (FP_CMP_S): Likewise.
7400 (FP_CMP_EQ_S): Likewise.
7401 (FP_CMP_UNORD_S): Likewise.
7402 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7403 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7404 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7405 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7406 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7407 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7408 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7409 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7410 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7411 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7412 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7413 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7414 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7415 to FP_CMP_Q.
7416 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7417 FP_CMP_Q.
7418 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7419 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7420 FP_CMP_EQ_Q.
7421 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7422 FP_CMP_Q.
7423 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7424 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7425 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7426 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7427 FP_CMP_EQ_Q.
7428 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7429 FP_CMP_Q.
7430 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7431 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7432 FP_CMP_EQ_Q.
7433 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7434 FP_CMP_Q.
7435 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7436 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7437 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7438 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7439 FP_CMP_EQ_Q.
7440
43059f42
JM
7441 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7442 a subnormal result, set the underflow exception if trapping on
7443 underflow is enabled.
7444 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7445 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7446 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7447 redefine to 0.
7448 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7449 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7450 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7451 * soft-fp/extendxftf2.c (__extendxftf2): Use
7452 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7453
2d6a47ba
JM
7454 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7455 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7456 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7457 FP_HANDLE_EXCEPTIONS.
7458 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7459 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7460 FP_HANDLE_EXCEPTIONS.
7461 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7462 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7463 FP_HANDLE_EXCEPTIONS.
7464 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7465 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7466 FP_HANDLE_EXCEPTIONS.
7467
620f462e
JM
74682014-10-08 Joseph Myers <joseph@codesourcery.com>
7469
7470 [BZ #14132]
7471 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7472 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7473 use INTUSE.
7474 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7475 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7476 Remove alias.
7477 (__adjtimex): Define using libc_hidden_ver.
7478 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7479 Remove declaration.
7480 (ntp_gettime): Call __adjtimex directly.
7481 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7482 Remove declaration.
7483 (ntp_gettimex): Call __adjtimex directly.
7484 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7485 __adjtimex_internal alias.
7486
c763c5d2
RM
74872014-10-08 Roland McGrath <roland@hack.frob.com>
7488
7489 [BZ #17460]
7490 * nscd/nscd.c (more_help): Rewrite list of tables collection
7491 using xstrdup and asprintf.
7492
7493 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7494
7b8fb2b8
RM
74952014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7496 Roland McGrath <roland@hack.frob.com>
7497
7498 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7499 (do_lookup_unique): ... local function 'enter' here; update callers.
7500
abb280f7
JM
75012014-10-06 Joseph Myers <joseph@codesourcery.com>
7502
f7b42517
JM
7503 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7504 compat_symbol calls on [SHARED].
7505 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7506 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7507 Remove.
7508 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7509 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7510 (oldsetrlimit): Remove.
7511 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7513 (lchown): New syscall entry.
7514 (oldsetrlimit): Remove.
7515 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7516 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7517 (oldsetrlimit): Remove.
7518 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7519
abb280f7
JM
7520 [BZ #14138]
7521 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7522 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7523 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7524 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7525 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7526 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7527 (fchown): Likewise.
7528 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7529 (fchown): Likewise.
7530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7531 Likewise.
7532
47d46237
AZ
75332014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7534
7535 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7536 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7537 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7538 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7539 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7540 Likewise.
7541 (__old_sem_post): Likewise.
7542
75432014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 7544
845a7343
CM
7545 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7546 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7547 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7548 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7549 Use INLINE_VSYSCALL macro.
7550 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7551 __vdso_clock_gettime.
7552 * sysdeps/unix/sysv/linux/tile/init-first.c
7553 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7554 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7555 __vdso_clock_gettime.
7556
83d641ef
CM
7557 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7558 to set up frame more cleanly.
7559
d9cd52e6
CM
7560 * sysdeps/tile/memcmp.c: New file.
7561
4b68ea11
CM
7562 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7563
c86f7b80
CM
7564 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7565 * sysdeps/tile/tilegx/strcasestr.c: New file.
7566 * sysdeps/tile/tilegx/strnlen.c: New file.
7567 * sysdeps/tile/tilegx/strstr.c: New file.
7568
1c4c1a6f
CM
7569 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7570
99d86ea3
AS
75712014-10-06 Arjun Shankar <arjun.is@lostca.se>
7572
7573 * nptl/tst-setuid3.c: Write errors to stdout.
7574
06210a44
KS
75752014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7576
7577 * elf/dl-deps.c
7578 (preload): New functions broken out of _dl_map_object_deps.
7579 (_dl_map_object_deps): Remove a nested function. Update call sites.
7580
6268f532
JM
75812014-10-01 Joseph Myers <joseph@codesourcery.com>
7582
7583 [BZ #14138]
7584 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7585 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7586
b925285f
SE
75872014-10-01 Steve Ellcey <sellcey@mips.com>
7588
7589 * sysdeps/mips/strcmp.S: New.
7590
754a15c6
JM
75912014-09-30 Joseph Myers <joseph@codesourcery.com>
7592
7593 [BZ #14138]
7594 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7595 (linkat): Likewise.
7596 (mkdirat): Likewise.
7597 (readlinkat): Likewise.
7598 (renameat): Likewise.
7599 (symlinkat): Likewise.
7600 (unlinkat): Likewise.
7601 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7602 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7603 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7604 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7605 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7606 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7607 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7608
85bb81c9
WN
76092014-09-30 Will Newton <will.newton@linaro.org>
7610
dc6fe23b
WN
7611 * math/math.h: Define long double math functions if
7612 _LIBC_TEST is defined.
7613 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7614
85bb81c9
WN
7615 * localedata/Makefile: Move assignment to tests-special
7616 into an ifdef testing run-built-tests.
7617 * timezone/Makefile: Likewise.
7618
b7e02da4
JM
76192014-09-29 Joseph Myers <joseph@codesourcery.com>
7620
7621 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7622 with $(BASH) not $(SHELL).
7623
62058ce6
CD
76242014-09-29 Carlos O'Donell <carlos@redhat.com>
7625 Matthew LeGendre <legendre1@llnl.gov>
7626
7627 [BZ #17411]
7628 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7629 l_reloc_result.
7630
8e257a29
KS
76312014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7632
7633 * stdio-common/printf_fp.c
7634 (hack_digit): New function, broken out of ...
7635 (__printf_fp): ... local function here. Update call sites.
7636 hack_digit now takes an additional parameter that is a pointer
7637 to a struct of the referenced locals. Those locals moved inside
7638 the struct and references updated.
7639
f4a58f0d
L
76402014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7641
7642 * aclocal.m4: Require autoconf 2.69.
7643 * configure: Regenerated.
7644 * sysdeps/aarch64/configure: Likewise.
7645 * sysdeps/alpha/configure: Likewise.
7646 * sysdeps/arm/armv7/configure: Likewise.
7647 * sysdeps/arm/configure: Likewise.
7648 * sysdeps/ia64/configure: Likewise.
7649 * sysdeps/mach/configure: Likewise.
7650 * sysdeps/mips/configure: Likewise.
7651 * sysdeps/s390/configure: Likewise.
7652 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7654
7655 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7656 file.
7657 * sysdeps/ia64/configure.ac: Likewise.
7658
93ae1eba
JM
76592014-09-26 Joseph Myers <joseph@codesourcery.com>
7660
1810d3ab
JM
7661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7662 specify symbol version for ld.so. Do not include entry for
7663 libpthread.
7664 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7665 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7666 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7667
93ae1eba
JM
7668 [BZ #14171]
7669 * Makeconfig [$(build-shared) = yes]
7670 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7671 makefiles.
7672 [$(build-shared) = yes && $(soversions.mk-done) = t]
7673 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7674 [$(build-shared) = yes && $(soversions.mk-done) = t]
7675 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7676 to Makerules.
7677 [$(build-shared) = yes && $(soversions.mk-done) = t]
7678 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7679 here.
7680 [$(build-shared) = yes && $(soversions.mk-done) = t]
7681 (common-generated): Don't append gnu/lib-names.h and
7682 gnu/lib-names.stmp here.
7683 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7684 (lib-names-h-abi): New variable.
7685 [$(build-shared) = yes && $(soversions.mk-done) = t]
7686 (lib-names-stmp-abi): Likewise.
7687 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7688 abi-variants] (before-compile): Append
7689 $(common-objpfx)$(lib-names-h-abi).
7690 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7691 abi-variants] (common-generated): Append gnu/lib-names.h.
7692 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7693 abi-variants] (install-others-nosubdir): Depend on
7694 $(inst_includedir)/$(lib-names-h-abi).
7695 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7696 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7697 [$(build-shared) = yes && $(soversions.mk-done) = t]
7698 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7699 [$(build-shared) = yes && $(soversions.mk-done) = t]
7700 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7701 [$(build-shared) = yes && $(soversions.mk-done) = t]
7702 (common-generated): Append $(lib-names-h-abi) and
7703 $(lib-names-stmp-abi).
7704 * scripts/lib-names.awk: Do not handle multi being set.
7705 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7706 Remove variable.
7707 (abi-lp64_be-ld-soname): Likewise.
7708 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7709 Likewise.
7710 (abi-hard-ld-soname): Likewise.
7711 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7712 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7713 Remove variable.
7714 (abi-o32_hard-ld-soname): Likewise.
7715 (abi-o32_soft_2008-ld-soname): Likewise.
7716 (abi-o32_hard_2008-ld-soname): Likewise.
7717 (abi-n32_soft-ld-soname): Likewise.
7718 (abi-n32_hard-ld-soname): Likewise.
7719 (abi-n32_soft_2008-ld-soname): Likewise.
7720 (abi-n32_hard_2008-ld-soname): Likewise.
7721 (abi-n64_soft-ld-soname): Likewise.
7722 (abi-n64_hard-ld-soname): Likewise.
7723 (abi-n64_soft_2008-ld-soname): Likewise.
7724 (abi-n64_hard_2008-ld-soname): Likewise.
7725 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7726 Likewise.
7727 (abi-64-v2-ld-soname): Likewise.
7728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7729 ld.so entries.
7730 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7731 variable.
7732 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7733 entry.
7734 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7735 variable.
7736 (abi-64-ld-soname): Likewise.
7737 (abi-x32-ld-soname): Likewise.
7738 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7739 entry.
7740 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7741
68870f12
JM
77422014-09-23 Joseph Myers <joseph@codesourcery.com>
7743
7744 [BZ #14138]
7745 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7746 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7747 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7748 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7749 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7750 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7751 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7752 syscall entry for GLIBC_2.2 symbol version.
7753 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7754 Likewise.
7755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7756 (setrlimit): Likewise.
7757 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7758 Likewise.
7759
ea58f202
WN
77602014-09-23 Will Newton <will.newton@linaro.org>
7761
7762 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7763 _LINUX_ARM_SYSDEP_H include guard too.
7764 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7765 define.
7766
69eb9a18
RV
77672014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7768
7769 * sysdeps/unix/sysv/linux/eventfd.c:
7770 Make first argument unsigned.
7771 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7772 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7773
20e5a5f7
OB
77742014-09-20 Ondřej Bílka <neleai@seznam.cz>
7775
7776 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7777 * socket/sys/socket.h: Likewise
7778 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7779
d3c827e7
AK
77802014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7781
7782 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7783
fe1cc35a
AS
77842014-09-17 Arjun Shankar <arjun.is@lostca.se>
7785
7786 * time/tst-ftime.c: New test.
7787 * time/Makefile (tests): Add tst-ftime.
7788
4e8afe69
JM
77892014-09-17 Joseph Myers <joseph@codesourcery.com>
7790
c4fe3ea7
JM
7791 * soft-fp/extended.h: Fix comment formatting.
7792 * soft-fp/op-1.h: Likewise.
7793 * soft-fp/op-2.h: Likewise.
7794 * soft-fp/op-4.h: Likewise.
7795 * soft-fp/op-8.h: Likewise.
7796 * soft-fp/op-common.h: Likewise.
7797 * soft-fp/soft-fp.h: Likewise.
7798
4e8afe69
JM
7799 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7800
af296fcd
JM
78012014-09-16 Joseph Myers <joseph@codesourcery.com>
7802
7803 [BZ #6652]
7804 * Makeconfig (soversions-default-setname): Remove variable.
7805 ($(common-objpfx)soversions.i): Don't pass default_setname to
7806 soversions.awk.
7807 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7808 oldest_abi to abi-versions.awk.
7809 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7810 * config.make.in (oldest-abi): Remove variable.
7811 * configure.ac (--enable-oldest-abi): Remove configure option.
7812 * configure: Regenerated.
7813 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7814 text.
7815 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7816 * scripts/soversions.awk: Do not handle default_setname variable.
7817 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7818 variable.
7819 * sysdeps/mach/hurd/configure: Regenerated.
7820 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7821 variable.
7822 * sysdeps/unix/sysv/linux/configure: Regenerated.
7823
545583d6
SP
78242014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7825
d330b980
SP
7826 * elf/Makefile (CFLAGS-interp.c): Remove.
7827 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7828 path string.
7829 * elf/interp.c: Include generated runtime-linker.h
7830
02657da2
SP
7831 * Makerules (lib%.so): Don't include $(+interp) in
7832 prerequisites.
7833 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7834 * dlfcn/eval.c: Remove file.
7835
653b1080
SP
7836 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7837 macros.
7838
602f80ec
SP
7839 [BZ #17266]
7840 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7841 4.2 and newer.
7842
545583d6
SP
7843 [BZ #17370]
7844 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7845
884ddc50
SP
78462014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7847 Jakub Jelinek <jakub@redhat.com>
7848
7849 [BZ #17266]
7850 * libio/stdio.h: Check definition of __fortify_function
7851 instead of __extern_always_inline to include bits/stdio2.h.
7852 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7853 check if __extern_always_inline is defined.
7854 [__USE_MISC || __USE_XOPEN]: Likewise.
7855 [__USE_ISOC99] Likewise.
7856 * misc/sys/cdefs.h (__fortify_function): Define only if
7857 __extern_always_inline is defined.
7858 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7859 __extern_always_inline and __extern_inline only for g++-4.3
7860 and newer or a compatible gcc.
7861
a7b87268
AS
78622014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7863
7864 [BZ #17371]
7865 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7866 last change to handle zero prefix length.
7867
3f41521d
SP
78682014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7869
61fe374a
SP
7870 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7871 _SC_REGEX_VERSION.
7872
3f41521d
SP
7873 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7874 _POSIX_RAW_SOCKETS.
7875
d8f879ee
AM
78762014-09-13 Allan McRae <allan@archlinux.org>
7877
7878 * po/ru.po: Update Russian translation from translation project.
7879
c079afb7
RM
78802014-09-12 Roland McGrath <roland@hack.frob.com>
7881
a62b3c15
RM
7882 * locale/programs/locale.c (show_locale_vars): Inline local function
7883 into its sole call site. Clean up some style nits.
7884 (print_item): New function, broken out of ...
7885 (show_info): ... local function here. Clean up style nits.
7886
d7e49b19
RM
7887 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7888 out of ...
7889 (set_class_defaults): ... local function set_default here.
7890 Define set_default as a macro locally to pass constant parameters.
7891 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7892 rather than a shared local.
7893
c079afb7
RM
7894 * stdlib/rpmatch.c (try): New function, broken out of ...
7895 (rpmatch): ... local function here. Also, prototypify definition.
7896
0bd72468
JM
78972014-09-12 Joseph Myers <joseph@codesourcery.com>
7898
ba90e050
JM
7899 * scripts/soversions.awk: Do not handle configuration names.
7900 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7901 vendor and os variables to soversions.awk.
7902 * configure.ac: Do not modify gnu-* host_os.
7903 * configure: Regenerated
7904 * shlib-versions: Remove first column with configuration names.
7905 * nptl/shlib-versions: Likewise.
7906 * nptl_db/shlib-versions: Likewise.
7907 * sysdeps/hppa/shlib-versions: Likewise.
7908 * sysdeps/m68k/shlib-versions: Likewise.
7909 * sysdeps/mach/hurd/shlib-versions: Likewise.
7910 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7911 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7912 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7913 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7914 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7915 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7916 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7917 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7919 Likewise.
7920 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7921 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7922 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7923 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7924 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7925 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7926 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7927 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7928
73a39112
JM
7929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7930 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7932 Regenerated.
7933 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7935 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7936
c729e7c1
JM
7937 * shlib-versions: Remove OS-specific entries. Moved to files in
7938 sysdeps.
7939 * sysdeps/mach/hurd/shlib-versions: New file.
7940 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7941
dc932a24
JM
7942 * nptl/shlib-versions: Remove architecture-specific entries.
7943 Moved to files in sysdeps.
7944 * shlib-versions: Likewise.
7945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7946 file.
7947 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7948 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7949 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7950 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7951
0bd72468
JM
7952 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7953 (UDP_NO_CHECK6_RX): Likewise.
7954
920238e0
SP
79552014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7956
7957 * sysdeps/posix/sysconf.c (__sysconf): Spell
7958 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7959
ba7b4d29
FW
79602014-08-12 Florian Weimer <fweimer@redhat.com>
7961
7962 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7963 loading.
7964 * iconv/Versions (__gconv_transliterate): Export for use from
7965 gconv modules.
7966 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7967 (struct __gconv_trans_data, __gconv_trans_fct,
7968 __gconv_trans_context_fct, __gconv_trans_query_fct,
7969 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7970 definitions.
7971 (struct __gconv_step_data): Remove __trans member.
7972 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7973 longer hidden. Remove unused trans_data argument.
7974 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7975 (__gconv_translit_find): Remove declaration.
7976 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7977 prototype.
7978 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7979 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7980 trans_data argument. Add hidden definition.
7981 (__gconv_translit_find): Remove.
7982 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7983 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7984 * iconv/skeleton.c: Remove transliteration initialization.
7985 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7986 __gconv_step_data initialization.
7987 * libio/iofwide.c (__libio_translit_): Remove.
7988 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7989 * wcsmbs/btowc.c (__btowc): Likewise.
7990 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7991 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7992 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7993 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7994 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7995 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7996 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7997 * wcsmbs/wctob.c (wctob): Likewise.
7998
5379aebd
SP
79992014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8000
8001 [BZ #16194]
8002 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8003 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8004 register usage.
8005 * sysdeps/x86/Makefile: Adjust.
8006
8c0ab919
RM
80072014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8008 Roland McGrath <roland@hack.frob.com>
8009
8010 * locale/weight.h: Add include guard.
8011 (findidx): Make static rather than auto; take new parameters
8012 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8013 * locale/weightwc.h: Likewise.
8014 * posix/fnmatch_loop.c
8015 (FCT): Change type of EXTRA from int32_t to wint_t.
8016 Don't include either header inside the function.
8017 Call FINDIDX rather than findidx, and pass new arguments.
8018 #undef FINDIDX at the end of the file.
8019 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8020 FINDIDX before including fnmatch_loop.c for the non-wide version.
8021 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8022 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8023 for the wide version.
8024 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8025 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8026 Pass new arguments to findidx.
8027 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8028 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8029 Don't #include it inside the function. Pass new arguments to findidx.
8030 * posix/regex_internal.h
8031 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8032 (re_string_elem_size_at): Don't #include it inside the function.
8033 Pass new arguments to findidx.
8034 * string/strcoll_l.c: #include WEIGHT_H at top level.
8035 (get_next_seq): Don't #include it inside the function.
8036 Pass new arguments to findidx.
8037 (get_next_seq_nocache): Likewise.
8038 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8039 (STRXFRM): Don't #include it inside the function.
8040 Pass new arguments to findidx.
8041
52ffbdf2
FW
80422014-09-11 Florian Weimer <fweimer@redhat.com>
8043
8044 [BZ #17344]
8045 * malloc/malloc.c (unlink): Turn asserts into a call to
8046 malloc_printerr.
8047
984c0ea9
TL
80482014-09-11 Tim Lammens <tim.lammens@gmail.com>
8049
8050 [BZ #17370]
8051 * libio/wfileops (do_ftell_wide): Free OUT.
8052
3daee107
CM
80532014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8054
8055 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8056
58b930ae
SP
80572014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8058
8059 [BZ #17363]
8060 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8061 group if the current group is empty.
8062
3b473fec
AZ
80632014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8064
71ae8647
AZ
8065 * benchtests/bench-memset.c (test_main): Add more test from size
8066 from 32 to 512 bytes.
8067 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8068 Add POWER8 memset object.
8069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8070 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8071 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8072 implementation.
8073 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8074 Likewise.
8075 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8076 multiarch POWER8 memset optimization.
8077 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8078 POWER8 memset optimization.
8079
3b473fec
AZ
8080 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8081 Remove bzero multiarch objects.
8082 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8083 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8084 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8085 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8086 Remove define.
8087 [__bzero]: Redefine to specific name.
8088 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8089 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8090 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8091 define.
8092 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8093 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8094
e6fb9587
FW
80952014-09-10 Florian Weimer <fweimer@redhat.com>
8096
8097 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8098 warnings into errors.
8099
8100 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8101 __cxa_thread_atexit_impl prototype.
8102
9d3a350b
SE
81032014-09-09 Steve Ellcey <sellcey@mips.com>
8104
8105 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8106 Fix capitalization of error message.
8107
0febba23
SE
81082014-09-09 Steve Ellcey <sellcey@mips.com>
8109
8110 * sysdeps/mips/preconfigure: Modify ABI tests.
8111
645a0e9c
CD
81122014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8113
8114 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8115
d83f0734
CD
81162014-09-07 Roland McGrath <roland@hack.frob.com>
8117 Carlos O'Donell <carlos@systemhalted.org>
8118
8119 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8120 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8121 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8122 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8123 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8124 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8125 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8126 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8127 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8128 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8129 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8130 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8131 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8132 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8133 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8134 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8135 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8136 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8137 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8138 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8139 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8140 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8141 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8142 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8143 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8144 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8145 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8146 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8147 Deconditionalize the code that was previously under [RESET_PID].
8148 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8149 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8150 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8151 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8152 include sysdep.h.
8153
21c83793
AM
81542014-09-08 Allan McRae <allan@archlinux.org>
8155
8156 * version.h (RELEASE): Set to "development".
8157 (VERSION): Set to "2.20.90"
8158
1cd9b65c
AM
81592014-09-07 Allan McRae <allan@archlinux.org
8160
b8079dd0
AM
8161 * version.h (RELEASE): Set to "stable".
8162 (VERSION): Set to "2.20"
8163 * include/features.h (__GLIBC_MINOR__): Set to 20.
8164
c46303ef
AM
8165 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8166 Liebler.
8167
1cd9b65c
AM
8168 * po/ko.po: Update Korean translation from translation project.
8169
8622092d
CM
81702014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8171
8172 [BZ #17354]
8173 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8174 macro for handling signed relocations.
8175
41488498
FW
81762014-09-03 Florian Weimer <fweimer@redhat.com>
8177
8178 [BZ #17325]
8179 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8180 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8181 assert.
8182 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8183 * iconvdata/ibm935.c (BODY): Likewise.
8184 * iconvdata/ibm937.c (BODY): Likewise.
8185 * iconvdata/ibm939.c (BODY): Likewise.
8186 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8187 assert.
8188 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8189 script.
8190 * iconvdata/run-iconv-test.sh: New test loop for checking for
8191 decoder crashers.
8192
a78b712d
KR
81932014-09-02 Khem Raj <raj.khem@gmail.com>
8194
8195 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8196 libm_hidden_ver.
8197
cb08abc6
AM
81982014-09-01 Allan McRae <allan@archlinux.org>
8199
2c31e102
AM
8200 * po/eo.po: Update Esperanto translation from translation project.
8201
cb08abc6
AM
8202 * po/ca.po: Update Catalan translation from translation project.
8203
17a62de1
ST
82042014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8205
8206 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8207 __proc_dostop call.
8208
9570bc53
MW
82092014-08-27 Mark Wielaard <mjw@redhat.com>
8210
8211 [BZ #17319]
8212 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8213 to call set_thread_area instead of hand written asm.
8214 (__NR_set_thread_area): Removed define.
8215 (TLS_FLAG_WRITABLE): Likewise.
8216 (__ASSUME_SET_THREAD_AREA): Remove check.
8217 (TLS_EBX_ARG): Remove define.
8218 (TLS_LOAD_EBX): Likewise.
8219
b0f955c9
ST
82202014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8221
8222 Simplify atomicity of socket creation in bind.
8223
8224 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8225 looking up the name after linking the file.
8226
529bf515
AM
82272014-08-27 Allan McRae <allan@archlinux.org>
8228
8229 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8230
a1a6a401
FW
82312014-08-26 Florian Weimer <fweimer@redhat.com>
8232
8233 [BZ #17187]
8234 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8235 trans_compare, open_translit, __gconv_translit_find):
8236 Remove module loading code.
8237
686ab290
AM
82382014-08-26 Allan McRae <allan@archlinux.org>
8239
e4e7cfd2
AM
8240 * po/vi.po: Update Vietnamese translation from translation project.
8241
6aa09f71
AM
8242 * po/uk.po: Update Ukrainian translation from translation project.
8243
edc0660e
AM
8244 * po/fr.po: Update French translation from translation project.
8245
7eea72ac
AM
8246 * po/ru.po: Update Russian translation from translation project.
8247
93c49eff
AM
8248 * po/pl.po: Update Polish translation from translation project.
8249
46acaf63
AM
8250 * po/cs.po: Update Czech translation from translation project.
8251
a9f5ce98
AM
8252 * po/de.po: Update German translation from translation project.
8253
373f2b78
AM
8254 * po/bg.po: Update Bulgarian translation from translation project.
8255
e7548bd8
AM
8256 * po/sv.po: Update Sweedish translation from translation project.
8257
c526bf4d
AM
8258 * po/nl.po: Update Dutch translation from translation project.
8259
686ab290
AM
8260 * po/es.po: Update Spanish translation from translation project.
8261
eb72478a
SP
82622014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8263
dd763fdb
SP
8264 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8265
318c7a58
SP
8266 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8267 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8268 (CPPFLAGS-iconvconfig): Likewise.
8269 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8270
eb72478a
SP
8271 * include/libc-symbols.h: Remove unnecessary check for
8272 NOT_IN_libc.
8273 * nptl/pthreadP.h: Likewise.
8274 * sysdeps/aarch64/setjmp.S: Likewise.
8275 * sysdeps/alpha/setjmp.S: Likewise.
8276 * sysdeps/arm/sysdep.h: Likewise.
8277 * sysdeps/i386/setjmp.S: Likewise.
8278 * sysdeps/m68k/setjmp.c: Likewise.
8279 * sysdeps/posix/getcwd.c: Likewise.
8280 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8281 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8282 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8283 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8284 * sysdeps/sh/sh3/setjmp.S: Likewise.
8285 * sysdeps/sh/sh4/setjmp.S: Likewise.
8286 * sysdeps/unix/alpha/sysdep.h: Likewise.
8287 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8288 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8289 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8290 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8293 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8294 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8295 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8298 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8300 * sysdeps/x86_64/setjmp.S: Likewise.
8301
d44a052c
JM
83022014-08-13 Joseph Myers <joseph@codesourcery.com>
8303
8304 [BZ #17263]
8305 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8306 <stdint.h>.
8307 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8308 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8309
508ce3ac
SP
83102014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8311
e44c8b0e
SP
8312 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8313
508ce3ac
SP
8314 [BZ #17262]
8315 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8316 and __x86_64__ when disabling x87 inline functions.
8317
b4acef1f
L
83182014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8319
8320 [BZ #17259]
8321 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8322 asm statement with __cpuid_count.
8323
61b1ef6e
MF
83242014-08-12 Mike Frysinger <vapier@gentoo.org>
8325
8326 * configure.ac: Change __ehdr_start code to dereference the struct.
8327 Run readelf on the output to look for relocations.
8328 * configure: Regenerated.
8329
898c62f4
JM
83302014-08-12 Joseph Myers <joseph@codesourcery.com>
8331
8332 [BZ #17261]
8333 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8334 value to 0.
8335 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8336
9a8a5720
RM
83372014-08-12 Roland McGrath <roland@hack.frob.com>
8338
8339 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8340
4e75751c
BO
83412014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8342
8343 [BZ #16892]
8344 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8345 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8346
bb2ce416
SA
83472014-08-12 Sean Anderson <seanga2@gmail.com>
8348
8349 * malloc/malloc.c: Fix typo in comment.
8350
7950a4ee
AM
83512014-08-09 Allan McRae <allan@archlinux.org>
8352
8353 * Regenerate libc.po.
8354
f469c49f
MF
83552014-08-08 Mike Frysinger <vapier@gentoo.org>
8356
8357 * intl/tst-gettext2.sh: Check every lang file for creation.
8358
656b84c2
WD
83592014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8360
8361 * sysdeps/aarch64/fpu/math_private.h
8362 (libc_feholdsetround_noex_aarch64_ctx): New function.
8363
538e9e45
W
83642014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8365
8366 * sysdeps/arm/armv6/strcpy.S (strcpy):
8367 Fix performance issue in misaligned cases.
8368
d4795e4a
AZ
83692014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8370
8371 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8372 Move definition from termios.h.
8373 (struct termio): Likewise.
8374 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8375 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8376 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8377 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8378 Likewise.
8379 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8380 Move definition to ioctl-types.h
8381 (struct termio): Likewise.
8382 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8383 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8384 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8385 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8386 Likewise.
8387
64accb62
RH
83882014-08-05 Richard Henderson <rth@redhat.com>
8389
27bb6dc0
RH
8390 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8391 exceptions.
8392 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8393 Add fraiseexcpt.
8394 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8395 Use __feraiseexcept.
8396 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8397 Protect libm symbols with IS_IN_libm.
8398
64accb62
RH
8399 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8400
e5292691
BO
84012014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8402
8403 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8404
5b4bd2d4
WN
84052014-08-04 Will Newton <will.newton@linaro.org>
8406
8407 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8408 file.
8409
fcadaeef
MF
84102014-08-04 Mike Frysinger <vapier@gentoo.org>
8411
8412 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8413 variants for each function.
8414
43a94c64
RM
84152014-08-04 Roland McGrath <roland@hack.frob.com>
8416
8417 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8418 appended ...
8419 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8420 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8421 appended ...
8422 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8423 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8424 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8425 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8426 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8427 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8428 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8429 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8430 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8431 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8432 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8433 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8434 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8435 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8436 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8437 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8438 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8439 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8440 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8441 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8442 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8443 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8444 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8445 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8446 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8447 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8448 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8449 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8450 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8451 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8452 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8453 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8454 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8455 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8456 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8457 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8458 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8459 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8460 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8461 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8462 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8463 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8464 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8465 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8466 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8467 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8468 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8469 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8470 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8471 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8472 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8473 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8474 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8475 Update #include.
8476 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8477 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8478
8f3c1fa4
RM
84792014-08-04 Roland McGrath <roland@hack.frob.com>
8480
8481 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8482 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8483 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8484 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8485 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8486 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8487
ca08746f
RM
84882014-08-04 Roland McGrath <roland@hack.frob.com>
8489
8490 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8491 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8492 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8493 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8494
9c925ff9
RM
84952014-08-04 Roland McGrath <roland@hack.frob.com>
8496
8497 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8498 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8499 (__libc_vfork): Define function under this name.
8500 (__vfork): Define as an alias.
8501 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8502 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8503
e641054c
RM
85042014-08-04 Roland McGrath <roland@hack.frob.com>
8505
8506 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8507 that was previously under [RESET_PID].
8508 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8509
dacdc867
AS
85102014-08-04 Andreas Schwab <schwab@suse.de>
8511
8512 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8513
41f725ff
MF
85142014-08-03 Mike Frysinger <vapier@gentoo.org>
8515
8516 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8517 (main): Likewise.
8518
277cfb31
RM
85192014-08-01 Roland McGrath <roland@hack.frob.com>
8520
8521 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8522
4896f049
RH
85232014-08-01 Richard Henderon <rth@redhat.com>
8524
8525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8526 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8527 typo in exact zero test.
8528 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8529 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8530 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8531
6f64e7d7
RM
85322014-08-01 Roland McGrath <roland@hack.frob.com>
8533
8534 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8535 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8536 * sysdeps/arm/sysdep.h: ... here.
8537 [!__ASSEMBLER__]: Include <stdint.h>.
8538
3f3dd810
SP
85392014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8540
a476ac4b
SP
8541 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8542 (HAVE_WCTYPE_H): Likewise.
8543 (HAVE_ISWCTYPE): Likewise.
8544 (ENABLE_NLS): Likewise.
8545 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8546 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8547
78dd658a
SP
8548 * posix/regex_internal.c: Check if DEBUG is defined and is
8549 set.
8550
3f3dd810
SP
8551 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8552 (HAVE_MBSRTOWCS): Likewise.
8553 * posix/fnmatch.c: Include string.h unconditionally.
8554
95ee7fb1
SL
85552014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8556
8557 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8558 reversal.
8559
23fe486b
RM
85602014-07-31 Roland McGrath <roland@hack.frob.com>
8561
f61a113f
RM
8562 * sysdeps/generic/safe-fatal.h: New file.
8563 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8564 * nptl/forward.c: Include it.
8565 (__pthread_unwind): Use __safe_fatal as default action, rather
8566 than a bogus use of INTERNAL_SYSCALL that could never work.
8567
9fe7e787
RM
8568 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8569 * configure.ac (libc_cv_builtin_trap): New test.
8570 * configure: Regenerated.
8571 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8572 (ABORT_INSTRUCTION): Define using __builtin_trap.
8573
23fe486b
RM
8574 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8575 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8576 * sysdeps/nptl/nptl-signals.h: New file.
8577 * nptl/pthreadP.h: Include <nptl-signals.h>.
8578
f349489e
SL
85792014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8580
8581 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8582 (ONE_DIRECTION): Define.
8583 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8584 (ONE_DIRECTION): Define.
8585 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8586 (ONE_DIRECTION): Define.
8587
2f438e20
SL
85882014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8589
8590 * sysdeps/s390/Makefile: Delete file.
8591 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8592 * sysdeps/s390/__longjmp.c: Delete file.
8593 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8594 Remove fields __flags and __reserved.
8595 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8596 and add versioning.
8597 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8598 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8599 * sysdeps/s390/rtld-setjmp.S: Likewise.
8600 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8601 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8602 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8603 * sysdeps/s390/s390-32/setjmp.S: ... here.
8604 Add versioning.
8605 (__sigsetjmp): Remove setting __flags field.
8606 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8607 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8608 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8609 * sysdeps/s390/s390-64/setjmp.S: ... here.
8610 Add versioning.
8611 (__sigsetjmp): Remove setting __flags field.
8612 * sysdeps/s390/setjmp.S: Delete file.
8613 * sysdeps/s390/sigjmp.c: Likewise.
8614 * sysdeps/s390/v1-longjmp.c: Likewise.
8615 * sysdeps/s390/v1-setjmp.h: Likewise.
8616 * sysdeps/s390/v1-sigjmp.c: Likewise.
8617 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8618 Remove v1-longjmp_chk.
8619 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8620 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8621 Include debug/longjmp_chk.c and add versioning.
8622 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8623 Include nptl/pt-longjmp.c and add versioning.
8624 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8625 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8626 Include __longjmp.c.
8627 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8628 Move to ...
8629 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8630 (__getcontext): Remove setting __flags field.
8631 Add versioning.
8632 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8633 Don't restore upper high grps.
8634 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8635 Likewise.
8636 (__swapcontext): Remove setting uc_flags field.
8637 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8638 Delete file.
8639 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8640 Include __longjmp.c.
8641 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8642 Move to ...
8643 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8644 (__getcontext): Remove setting __flags field.
8645 Add versioning.
8646 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8647 (__swapcontext): Remove setting uc_flags field.
8648 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8649 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8650 Remove fields uc_high_gprs and __reserved.
8651 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8652 New file with reverted content.
8653 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8654 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8655 Regenerated.
8656 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8657 Regenerated.
8658
6c9578a2
AS
86592014-07-31 Andreas Schwab <schwab@suse.de>
8660
8661 * config.h.in (HAVE_IFUNC): Define to 0.
8662 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8663 definedness.
8664
05f3633d
LM
86652014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8666
8667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8668 memmove-avx-unaligned, memcpy-avx-unaligned and
8669 mempcpy-avx-unaligned.
8670 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8671 Add tests for AVX memcpy functions.
8672 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8673 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8674 memcpy_chk.
8675 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8676 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8677 memmove_chk.
8678 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8679 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8680 mempcpy_chk.
8681 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8682 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8683 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8684
a53fbd8e
AZ
86852013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8686
8687 [BZ #17213]
8688 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8689 powerpc64le.
8690
0961f7e1
JL
86912014-07-29 Jeff Layton <jlayton@poochiereds.net>
8692
8693 [BZ #16839]
8694 * manual/llio.texi: Add section about open file description locks.
8695 * manual/examples/ofdlocks.c: Example of open file description
8696 lock usage.
8697 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8698 F_OFD_SETLK, and F_OFD_SETLKW.
8699
cc5fb300
AM
87002014-07-23 Allan McRae <allan@archlinux.org>
8701
8702 * po/es.po: Update Spanish translation from translation project.
8703
23329dca
AS
87042014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8705
8706 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8707
9c82da17
MR
87082014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8709
8710 [BZ #17078]
8711 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8712 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8713 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8714
29c4f53e
JM
87152014-07-17 Joseph Myers <joseph@codesourcery.com>
8716
831b9896
JM
8717 [BZ #17088]
8718 * math/fesetenv.c (__fesetenv)
8719 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8720 * math/feupdateenv.c (__feupdateenv)
8721 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8722
b21c2d50
JM
8723 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8724 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8725 (__ASSUME_SOCKETCALL): Do not define.
8726
067764ef
JM
8727 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8728 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8729 (__ASSUME_SOCKETCALL): Do not define.
8730 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8731 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8732 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8733 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8734 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8735 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8736 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8737 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8738
642530c1
JM
8739 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8740 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8741 (__ASSUME_SOCKETCALL): Do not define.
8742 (__ASSUME_IPC64): Define unconditionally.
8743 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8744 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8745 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8746 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8747 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8748 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8749 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8750 Likewise.
8751
03f77315
JM
8752 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8753 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8754 (__ASSUME_SOCKETCALL): Do not define.
8755 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8756 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8757 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8758 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8759 (__ASSUME_REQUEUE_PI): Define unconditionally.
8760 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8761 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8762 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8763 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8764 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8765 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8766
083b1f7c
JM
8767 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8768 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8769 (__ASSUME_SOCKETCALL): Do not define.
8770 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8771 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8772 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8773 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8774 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8775 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8776
5be44ea6
JM
8777 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8778 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8779 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8780 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8781 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8782 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8783 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8784 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8785 (__ASSUME_GETCPU_SYSCALL): Likewise.
8786
d95ffd4c
JM
8787 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8788 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8789 cases for individual architectures.
8790 * sysdeps/gnu/configure: Regenerated.
8791 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8792 LIBC_SLIBDIR_RTLDDIR.
8793 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8794 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8795 LIBC_SLIBDIR_RTLDDIR.
8796 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8798 LIBC_SLIBDIR_RTLDDIR.
8799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8800 Regenerated.
8801 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8802 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8803 file.
8804 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8805 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8806 file.
8807 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8808 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8809 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8810 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8811
29c4f53e
JM
8812 * sysdeps/aarch64/shlib-versions: Move to ...
8813 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8814 * sysdeps/alpha/shlib-versions: Move to ...
8815 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8816 * sysdeps/arm/shlib-versions: Move to ...
8817 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8818 * sysdeps/hppa/shlib-versions: Move all contents except for
8819 libgcc_s entry to ...
8820 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8821 entry from ...
8822 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8823 * sysdeps/ia64/shlib-versions: Move to ...
8824 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8825 entry from ...
8826 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8827 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8828 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8829 * sysdeps/microblaze/shlib-versions: Move to ...
8830 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8831 * sysdeps/mips/shlib-versions: Move to ...
8832 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8833 entry from ...
8834 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8835 * sysdeps/tile/shlib-versions: Move to ...
8836 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8837 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8838 from ...
8839 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8840 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8841 entry from ...
8842 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8843
32bead5b
WN
88442014-07-17 Will Newton <will.newton@linaro.org>
8845
57977c4b
WN
8846 * sysdeps/arm/bits/atomic.h
8847 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8848 (__arch_compare_and_exchange_bool_16_int): Likewise.
8849 (__arch_compare_and_exchange_bool_64_int): Likewise.
8850
32bead5b
WN
8851 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8852 into an #else block.
8853
37fccd41
RM
88542014-07-16 Roland McGrath <roland@hack.frob.com>
8855
8856 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8857 just Linux configurations. Test empirically that the compiler sets
8858 __ARM_EABI__, rather than using the tuple to decide.
8859 * sysdeps/arm/preconfigure: Regenerated.
8860 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8861 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8862 contents appended ...
8863 * sysdeps/arm/configure.ac: ... here.
8864 * sysdeps/arm/configure: Regenerated.
8865
b365f3ec
RM
88662014-07-15 Roland McGrath <roland@hack.frob.com>
8867
8badf496
RM
8868 * nptl/pthread_kill.c: New file.
8869 * nptl/pthread_sigmask.c: New file.
8870 * nptl/pthread_sigqueue.c: New file.
8871
3df6f22e
RM
8872 * sysdeps/nptl/lowlevellock.h: New file.
8873 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8874 * sysdeps/nptl/lowlevellock-futex.h: New file.
8875
b365f3ec
RM
8876 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8877 Remove dead declarations.
8878
f2fef657
L
88792014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8880
8881 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8882 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8883 config-cflags-avx2.
8884 * sysdeps/x86_64/configure.ac: Likewise.
8885 * sysdeps/i386/configure: Regenerated.
8886 * sysdeps/x86_64/configure: Likewise.
8887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8888 memset-avx2 only if config-cflags-avx2 is yes.
8889 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8890 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8891 defined.
8892 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8893 only if HAVE_AVX2_SUPPORT is defined.
8894 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8895
f6c44d47
AM
88962014-07-14 Alan Modra <amodra@gmail.com>
8897
8898 [BZ #17153]
8899 * elf/elf.h (DT_PPC64_NUM): Correct value.
8900 * NEWS: Add to fixed bug list.
8901
7ee03f00
JM
89022014-07-13 Jim Meyering <meyering@fb.com>
8903
8904 [BZ 17150]
8905 regex: don't deref NULL upon heap allocation failure
8906 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8907 failure in one more place.
8908 To trigger the segfault, configure grep -with-included-regex,
8909 build it, and run these commands:
8910 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8911
9d39d517
AS
89122014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8913
8914 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8915
a75b89b7
RH
89162014-07-11 Richard Henderson <rth@redhat.com>
8917
8918 * sysdeps/aarch64/libm-test-ulps: Update.
8919
771eb141
FW
89202014-07-10 Florian Weimer <fweimer@redhat.com>
8921
8922 [BZ #17135]
8923 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8924 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8925 (__nptl_setxid): Initialize error member. Call
8926 __nptl_setxid_error.
8927 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8928 * nptl/descr.h (struct xid_command): Add error member.
8929 * nptl/tst-setuid3.c: New file.
8930 * nptl/Makefile (tests): Add it.
8931
bc1da176
AZ
89322014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8933
8934 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8935 New define.
8936 (__lll_trylock): Use __lll_base_trylock.
8937 (__lll_cond_trylock): Likewise.
8938
887865fc
RM
89392014-07-10 Roland McGrath <roland@hack.frob.com>
8940
c0c6bac9
RM
8941 * nptl/pthread_create.c (start_thread): Use atomic_or and
8942 lll_futex_wake directly rather than lll_robust_dead.
8943 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8944 (lll_robust_dead): Macro removed.
6a42be57 8945 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8946 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8947 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8948 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8949 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8950 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8951 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8952 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8953 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8954 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8955 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8956 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8957 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8958 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8959 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8960
887865fc
RM
8961 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8962 Use atomic_compare_and_exchange_val_acq directly rather than
8963 lll_robust_trylock.
8964 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8965 (__lll_robust_trylock, lll_robust_trylock): Removed.
8966 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8967 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8968 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8969 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8970 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8971 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8972 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8973 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8974 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8975 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8976 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8977 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8978 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8979 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8980
58536726
FW
89812014-07-02 Florian Weimer <fweimer@redhat.com>
8982
8983 * manual/locale.texi (Locale Names): New section documenting
8984 locale name syntax. Adjust menu and node chaining accordingly.
8985 (Choosing Locale): Reference Locale Names, Locale Categories.
8986 Mention setting LC_ALL=C. Reflect that name syntax is now
8987 documented.
8988 (Locale Categories): New section title. Reference Locale Names.
8989 LC_ALL is an environment variable, but not a category.
8990 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8991 description, now in Locale Name. Reference that section. Locale
8992 name syntax is now documented.
8993
4e8f95a0
FW
89942014-07-02 Florian Weimer <fweimer@redhat.com>
8995
8996 [BZ #17137]
8997 * locale/findlocale.c (name_present, valid_locale_name): New
8998 functions.
8999 (_nl_find_locale): Use the loc_name variable to store name
9000 candidates. Call name_present and valid_locale_name to check and
9001 validate locale names. Return an error if the locale is invalid.
9002
d1836456
FW
90032014-07-02 Florian Weimer <fweimer@redhat.com>
9004
9005 * locale/setlocale.c (setlocale): Use strdup for allocating
9006 composite name copy.
9007
d69b7f5a
SP
90082014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9009
888c679b
SP
9010 Sync up with gnulib.
9011 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9012 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9013 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9014 and _GL_ARG_NONNULL.
9015 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9016 [!_LIBC]: Include code for Windows and Cygwin.
9017 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9018 Include prototype for int strerror_r.
9019 [!_LIBC] (is_open): New function.
9020 (flush_stdout): New function.
9021 (print_errno_message): Use it.
9022 (error): Likewise.
9023 (error_at_line): Likewise.
9024 (error_tail) Add function attribute macros. Use
9025 __builtin_expect.
9026
180e0e4b
SP
9027 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9028
d22f1fe2
SP
9029 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9030
12f2254b
SP
9031 * io/ftw.c: Include sys/param.h unconditionally.
9032
c3c7c360
SP
9033 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9034
d62aa75a
SP
9035 [BZ #17125]
9036 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9037 libc_freeres_ptr.
9038 (freecache): New function to free CACHE on exit.
9039
d69b7f5a
SP
9040 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9041 initialization.
9042
5efe06a1
DM
90432014-07-09 David S. Miller <davem@davemloft.net>
9044
9045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9046
7000d82e
DM
9047 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9048 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9049 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9050 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9051 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9052 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9053 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9054 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9055 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9056 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9057 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9058 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9059 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9060
c213442d
AS
90612014-07-09 Andreas Schwab <schwab@suse.de>
9062
4a2552c3
AS
9063 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9064 output.
9065 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9066 (do_test): Likewise.
9067
c213442d
AS
9068 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9069
82374e65
WN
90702014-07-09 Will Newton <will.newton@linaro.org>
9071
9072 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9073 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9074 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9075 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9076 * sysdeps/hppa/start.S (_start): Likewise.
9077
6680738a
SP
90782014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9079
6ee3eab4
SP
9080 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9081
6680738a
SP
9082 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9083 defined.
9084
80b5c505
SP
90852014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9086
e35c53e3
SP
9087 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9088 after checking that it is non-NULL.
9089
80b5c505
SP
9090 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9091
91f4b564
AZ
90922014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9093
27b75f56
AZ
9094 * sysdeps/powerpc/memmove.c: Remove file.
9095 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9096 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9097 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9098 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9099 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9100 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9101 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9102 string memmove instead of removed powerpc one.
9103
e7f95bb5
AZ
9104 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9105 [weak_alias]: Fix compiler warning due trailing data.
9106 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9107 [weak_alias]: Likewise.
9108 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9109 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9110
91f4b564
AZ
9111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9112 (__libc_ifunc_impl_list): Add memmove functions.
9113
7c33f1e5
SP
91142014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9115
9116 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9117 Remove code.
9118 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9119 Likewise
9120 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9121 Likewise
9122 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9123 Likewise
9124 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9125 Likewise
9126 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9127 Likewise
9128 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9129 Likewise
9130 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9131 Likewise
9132 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9133 Likewise
9134 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9135 Likewise
9136 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9137 Likewise
9138 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9139 Likewise
9140 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9141 Likewise
9142 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9143 Likewise
9144 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9145 Likewise
9146 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9147 Likewise
9148 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9149 Likewise
9150
3f17b03b
AZ
91512014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9152
87868c24
AZ
9153 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9154 to avoid alignment traps in non-cacheable memory.
9155 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9156
07aedd78
AZ
9157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9158 multiarch objects.
9159 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9160 file: multiarch power7 memmove.
9161 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9162 multiarch default memmove.
9163 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9164 multiarch memove for powerpc32/power4.
9165
17762f66
AZ
9166 * string/bcopy.c: Use full path to include memmove.c.
9167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9168 multiarch objects.
9169 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9170 bcopy for powerpc64.
9171 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9172 bcopy for powerpc64.
9173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9174 and memmove implementations.
9175 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9176 optimized multiarch memmove for POWER7/powerpc64.
9177 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9178 default multiarch memmove for powerpc64.
9179 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9180 multiarch for powerpc64.
9181 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9182 for POWER7/powerpc64.
9183 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9184 memmove for POWER7/powerpc64.
9185
d6f68bbe
AZ
9186 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9187 glibc default one.
9188
3f17b03b
AZ
9189 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9190 __ELF_NATIVE_CLASS equal to 64.
9191
08192659
RM
91922014-07-07 Roland McGrath <roland@hack.frob.com>
9193
f4c4021b
RM
9194 * sysdeps/nptl/lowlevellock.h: File removed.
9195
f083450f
RM
9196 * NEWS: NPTL is no longer an add-on!
9197 * nptl/internaltypes.h: Moved ...
9198 * sysdeps/nptl/internaltypes.h: ... here.
9199 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9200 * sysdeps/nptl/fork.c: Likewise.
9201 * sysdeps/nptl/gai_misc.h: Likewise.
9202 * sysdeps/nptl/librt-cancellation.c: Likewise.
9203 * sysdeps/nptl/jmp-unwind.c: Likewise.
9204 * sysdeps/nptl/setxid.h: Likewise.
9205 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9206 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9207 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9208 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9209 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9210 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9211 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9212 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9213 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9214 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9215 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9216 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9217 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9218 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9219 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9220 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9221 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9222 * nptl/Makeconfig: Moved ...
9223 * sysdeps/nptl/Makeconfig: ... here.
9224 * nptl/configure: File removed.
9225 * nptl/ANNOUNCE: File removed.
9226 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9227 * sysdeps/unix/sysv/linux/configure: Regenerated.
9228
08192659
RM
9229 * nptl/Makefile (routines): Add libc_pthread_init,
9230 libc_multiple_threads, register-atfork and unregister-atfork.
9231 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9232 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9233 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9234 pthread-pi-defines.sym, structsem.sym.
9235 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9236 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9237 [$(subdir) = nptl] (tests): Add tst-setgetname.
9238 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9239 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9240 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9241 [!LIBC_SIGACTION]: Remove aliases.
9242 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9243 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9244 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9245 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9246 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9247 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9248 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9249 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9250 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9251 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9252 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9253 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9254 __libc_allocate_rtsig_private.
9255 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9256 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9257 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9258 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9259 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9260 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9261 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9262 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9263 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9264 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9265 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9266 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9267 * nptl/internaltypes.h: ... here.
9268 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9269 * sysdeps/nptl/jmp-unwind.c: ... here.
9270 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9271 * nptl/libc-lowlevellock.c: ... here.
9272 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9273 * nptl/libc_multiple_threads.c: ... here.
9274 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9275 * nptl/libc_pthread_init.c: ... here.
9276 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9277 * nptl/lowlevelbarrier.sym: ... here.
9278 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9279 * nptl/lowlevelcond.sym: ... here.
9280 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9281 * nptl/lowlevellock.c: ... here.
9282 * nptl/lowlevellock.h: Moved ...
9283 * sysdeps/nptl/lowlevellock.h: ... here.
9284 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9285 * nptl/lowlevelrobustlock.c: ... here.
9286 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9287 * nptl/lowlevelrobustlock.sym: ... here.
9288 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9289 * nptl/lowlevelrwlock.sym: ... here.
9290 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9291 * nptl/pt-fork.c: ... here.
9292 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9293 * nptl/pthread-pi-defines.sym: ... here.
9294 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9295 * nptl/pthread_attr_getaffinity.c: ... here.
9296 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9297 * nptl/pthread_attr_setaffinity.c: ... here.
9298 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9299 * nptl/pthread_mutex_cond_lock.c: ... here.
9300 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9301 Update #include.
9302 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9303 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9304 * nptl/pthread_once.c: ... here, replacing old file.
9305 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9306 * nptl/pthread_yield.c: ... here.
9307 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9308 * nptl/register-atfork.c: ... here.
9309 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9310 * nptl/sem_post.c: ... here.
9311 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9312 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9313 * nptl/sem_timedwait.c: ... here.
9314 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9315 * nptl/sem_trywait.c: ... here.
9316 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9317 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9318 * nptl/sem_wait.c: ... here.
9319 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9320 * nptl/structsem.sym: ... here.
9321 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9322 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9323 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9324 * nptl/unregister-atfork.c: ... here.
9325 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9326 * nptl/unwindbuf.sym: ... here.
9327 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9328 * sysdeps/nptl/fork.c: ... here.
9329 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9330 * sysdeps/nptl/fork.h: ... here.
9331 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9332 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9333 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9334 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9335 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9336 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9337 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9338 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9339 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9340 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9341 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9342 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9343 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9344 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9345 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9346 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9347 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9348 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9349 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9350 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9351 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9352 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9353 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9354 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9355 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9356 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9357 * sysdeps/unix/sysv/linux/raise.c: ... here.
9358 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9359 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9360 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9361 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9362 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9363 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9364 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9365 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9366 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9367 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9368 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9369 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9370 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9371 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9372 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9373
96baf6ff
SP
93742014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9375
9376 * sysdeps/generic/memcopy.h: Add comment for
9377 MEMCPY_OK_FOR_FWD_MEMMOVE.
9378
6b7b14b2
WN
93792014-07-04 Will Newton <will.newton@linaro.org>
9380
1570a72b
WN
9381 * string/memchr.c: Merge from gnulib.
9382 [_LIBC]: Remove conditionals.
9383 (__ptr_t): Remove define.
9384 (LONG_MAX_32_BITS): Likewise.
9385 (LONG_MAX): Likewise.
9386 (MEMCHR): Use ANSI prototype and optimize algorithm.
9387
6b7b14b2
WN
9388 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9389
38851324
SP
93902014-07-03 Roland McGrath <roland@hack.frob.com>
9391
3d9eb57c
RM
9392 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9393 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9394
78b984ae
RM
9395 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9396 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9397 in a bare environment with no <stdlib.h> installed.
9398 * sysdeps/nptl/configure: Regenerated.
9399
2d5976a5
RM
9400 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9401
c1f5acd4
RM
9402 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9403 AC_EGREP_CPP for kernel header checks, so they only succeed if
9404 including <linux/version.h> actually works right.
9405 * sysdeps/unix/sysv/linux/configure: Regenerated.
9406
4d614fe5
RM
9407 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9408 value so it's not diagnosed as unused.
9409
38851324
SP
9410 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9411 thing) with "ifeq ($(subdir),rt)".
9412
b3ec00e5
RH
94132014-07-03 Richard Henderson <rth@redhat.com>
9414
69862e25
RH
9415 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9416 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9417 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9418
d5e16ade
RH
9419 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9420 (math_force_eval): New.
9421
ca7b945c
RH
9422 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9423 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9424
cd1175a3
RH
9425 * sysdeps/alpha/fpu/s_round.c: Remove file.
9426 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9427
b3ec00e5
RH
9428 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9429 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9430 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9431 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9432 (_dl_start, print_statistics): Likewise.
9433 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9434 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9435
9436 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9437 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9438 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9439 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9440 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9441 (HP_SMALL_TIMING_AVAIL): Define.
9442 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9443 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9444 (HP_SMALL_TIMING_AVAIL): Define.
9445 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9446 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9447
9448 * sysdeps/aarch64/hp-timing.h: New file.
9449
9450 * sysdeps/generic/hp-timing.h: Remove dead comment.
9451 * sysdeps/generic/hp-timing-common.h: New file.
9452 * sysdeps/alpha/hp-timing.h: Include it.
9453 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9454 * sysdeps/i386/i686/hp-timing.h: Likewise.
9455 * sysdeps/ia64/hp-timing.h: Likewise.
9456 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9457 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9458 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9459 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9460 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9461 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9462 (hp_timing_t): New.
9463
9464 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9465 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9466 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9467 * elf/rtld.c (_dl_start_final): Likewise.
9468 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9469 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9470 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9471 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9472 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9473 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9474 (HP_TIMING_DIFF_INIT): Remove.
9475 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9476 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9477 (HP_TIMING_DIFF_INIT): Remove.
9478 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9479 * sysdeps/i386/i686/hp-timing.c: Remove file.
9480 * sysdeps/x86_64/hp-timing.c: Remove file.
9481 * sysdeps/ia64/hp-timing.c: Remove file.
9482 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9483 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9484 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9485 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9486
9487 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9488 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9489 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9490 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9491 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9492 (HP_TIMING_ACCUM): Remove.
9493 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9494 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9495 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9496
9497 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9498 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9499 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9500 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9501 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9502 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9503 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9504 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9505
9506 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9507
225f410f
MR
95082014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9509
9510 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9511
3247f285
SP
95122014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9513
9514 Sync up with gettext.
9515 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9516 [_MSC_VER]: Include malloc.h
9517 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9518 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9519 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9520 TEMP_FAILURE_RETRY. Cast return of alloca.
9521 [!_LIBC] Call gl_rwlock_init.
9522 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9523
d12704c7
SP
95242014-07-02 Roland McGrath <roland@hack.frob.com>
9525
9526 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9527 before checking its value.
9528
99f8dc92
SP
95292014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9530
05fdac77
SP
9531 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9532
99f8dc92
SP
9533 * debug/memcpy_chk.c: Don't include pagecopy.h.
9534 * debug/mempcpy_chk.c: Likewise.
9535 * string/memcpy.c: Likewise.
9536 * string/memmove.c: Likewise.
9537 * sysdeps/powerpc/memmove.c: Likewise.
9538 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9539 definition of PAGE_COPY_FWD_MAYBE here...
9540 * sysdeps/generic/pagecopy.h: ... from here.
9541 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9542
bc8ea385
VR
95432014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9544 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9545
9546 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9548 optimizations.
9549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9550 (__libc_ifunc_impl_list): Likewise.
9551 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9552 multiarch strcat for PPC64.
9553 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9554 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9555
fe5f34e4
RM
95562014-07-02 Roland McGrath <roland@hack.frob.com>
9557
9558 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9559
256aa665
SP
95602014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9561
d4eb8195
SP
9562 * intl/loadmsgcat.c: Remove declaration of
9563 get_sysdep_segment_value.
9564 (get_sysdep_segment_value): Use ISO C style.
9565 (_nl_load_domain): Use ISO C style. Get rid of redundant
9566 semicolon. Fix typo and formatting in comment.
9567 (_nl_unload_domain): Use ISO C style.
9568
256aa665
SP
9569 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9570
b100f9aa
WN
95712014-07-02 Will Newton <will.newton@linaro.org>
9572
9573 * malloc/obstack.c: Merge from gnulib master.
9574 [HAVE_CONFIG_H]: Remove conditional code.
9575 [!_LIBC]: Include config.h.
9576 [!ELIDE_CODE]: Don't include inttypes.h, include
9577 stdint.h unconditionally.
9578 (print_and_abort): Mark as _Noreturn.
9579 (_obstack_allocated_p): Mark as __attribute_pure__.
9580 (obstack_free): Rename to __obstack_free.
9581 [!__attribute__]: Remove conditional code.
9582 * malloc/obstack.h: Merge from gnulib master.
9583 [__cplusplus]: Move conditional down.
9584 [!__attribute_pure__]: Define __attribute_pure__ here
9585 if it is not already defined.
9586 (_obstack_memory_used): Mark as __attribute_pure__.
9587 [!__obstack_free]: Define as obstack_free.
9588 [__GNUC__]: Remove check for ancient NeXT gcc.
9589
c4c41244
PE
95902014-07-02 Will Newton <will.newton@linaro.org>
9591 Paul Eggert <eggert@cs.ucla.edu>
9592
9593 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9594
e1e041c4
SP
95952014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9596
9597 * resolv/gethnamaddr.c: Add comment warning that the file is
9598 not maintained.
9599
ccf431ff
CD
96002014-07-01 Carlos O'Donell <carlos@redhat.com>
9601
d34570a6
CD
9602 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9603 entries.
9604
ccf431ff
CD
9605 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9606 entry for aio_cancel and aio_cancel64.
9607 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9608 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9609 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9610 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9611 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9612 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9613 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9614 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9615 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9616 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9617 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9618 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9619 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9620
ca06321d
RM
96212014-07-01 Roland McGrath <roland@hack.frob.com>
9622
9623 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9624 * nptl/pthread_mutex_lock.c: Likewise.
9625 * nptl/pthread_mutex_timedlock.c: Likewise.
9626 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9627
a1ac3184
RH
96282014-07-01 Richard henderson <rth@redhat.com>
9629
631021e0
RH
9630 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9631 (__isnan, __isnanl): Remove.
9632 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9633
a1ac3184
RH
9634 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9635
0c1d731f
SL
96362014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9637
9638 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9639
76985d3e
SP
96402014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9641
9642 * resolv/nss_dns/dns-host.c (getanswer_r)
9643 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9644
b0cb3096
JM
96452014-07-01 Joseph Myers <joseph@codesourcery.com>
9646
9647 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9648 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9649 undefine.
9650 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9651 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9652
4d76cb39
RM
96532014-07-01 Roland McGrath <roland@hack.frob.com>
9654
9655 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9656 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9657
9658 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9659 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9660
9661 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9662 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9663 ... here.
9664 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9665 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9666
9667 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9668 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9669 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9670 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9671
9672 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9673 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9674 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9675 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9676 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9677 Moved ...
9678 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9679 ... here.
9680 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9681 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9682 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9683 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9684 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9685 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9686 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9687 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9688 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9689 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9690 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9691 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9692 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9693 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9694 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9695 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9696 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9697 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9698 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9699 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9700 ... here.
9701 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9702 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9703 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9704 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9705 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9706 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9707 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9708 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9709
0cdcad17
DH
97102014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9711
9712 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9713 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9714 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9715 Add sysdep.
9716
9b71d0e3
AZ
97172014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9718
9719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9720
665390c2
JM
97212014-06-30 Joseph Myers <joseph@codesourcery.com>
9722
ae05a9d7
JM
9723 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9724 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9725
a7672a2f
JM
9726 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9727
665390c2
JM
9728 * sysdeps/arm/libm-test-ulps: Regenerated.
9729
d7a05d07
MR
97302014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9731 Roland McGrath <roland@hack.frob.com>
9732
9733 * test-skeleton.c (signal_handler): Kill the whole process group
9734 before killing the child individually.
9735 (main): Report any failure on `setpgid'.
9736
46f1d8a6
RM
97372014-06-30 Roland McGrath <roland@hack.frob.com>
9738
9739 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9740 from _TLS_H to _ARM_NPTL_TLS_H.
9741 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9742 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9743
9c37ec0b
JM
97442014-06-30 Joseph Myers <joseph@codesourcery.com>
9745
ce9c5b3e
JM
9746 [BZ #16539]
9747 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9748 (__expm1l): Return argument unchanged when small but not
9749 subnormal.
9750
3a6e9887
JM
9751 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9752 include macro name.
9753 (_FP_UNPACK_RAW_1_P): Likewise.
9754 (_FP_PACK_RAW_1): Likewise.
9755 (_FP_PACK_RAW_1_P): Likewise.
9756 (_FP_MUL_MEAT_1_wide): Likewise.
9757 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9758 (_FP_MUL_MEAT_1_hard): Likewise.
9759 (_FP_DIV_MEAT_1_imm): Likewise.
9760 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9761 (_FP_DIV_MEAT_1_udiv): Likewise.
9762 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9763 (_FP_UNPACK_RAW_2): Likewise.
9764 (_FP_UNPACK_RAW_2_P): Likewise.
9765 (_FP_PACK_RAW_2): Likewise.
9766 (_FP_PACK_RAW_2_P): Likewise.
9767 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9768 (_FP_MUL_MEAT_2_wide): Likewise.
9769 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9770 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9771 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9772 (_FP_MUL_MEAT_2_gmp): Likewise.
9773 (_FP_DIV_MEAT_2_udiv): Likewise.
9774 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9775 (_FP_FRAC_SRL_4): Likewise.
9776 (_FP_FRAC_SRST_4): Likewise.
9777 (_FP_FRAC_SRS_4): Likewise.
9778 (_FP_UNPACK_RAW_4): Likewise.
9779 (_FP_UNPACK_RAW_4_P): Likewise.
9780 (_FP_PACK_RAW_4): Likewise.
9781 (_FP_PACK_RAW_4_P): Likewise.
9782 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9783 (_FP_MUL_MEAT_4_wide): Likewise.
9784 (_FP_MUL_MEAT_4_gmp): Likewise.
9785 (umul_ppppmnnn): Likewise.
9786 (_FP_DIV_MEAT_4_udiv): Likewise.
9787 (__FP_FRAC_ADD_4): Likewise.
9788 (__FP_FRAC_SUB_3): Likewise.
9789 (__FP_FRAC_SUB_4): Likewise.
9790 (__FP_FRAC_DEC_3): Likewise.
9791 (__FP_FRAC_DEC_4): Likewise.
9792 (__FP_FRAC_ADDI_4): Likewise.
9793 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9794 (_FP_FRAC_SRL_8): Likewise.
9795 (_FP_FRAC_SRS_8): Likewise.
9796
9c37ec0b
JM
9797 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9798 include macro name.
9799 (FP_UNPACK_RAW_EP): Likewise.
9800 (FP_PACK_RAW_E): Likewise.
9801 (FP_PACK_RAW_EP): Likewise.
9802 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9803 (_FP_ISSIGNAN): Likewise.
9804 (_FP_ADD_INTERNAL): Likewise.
9805 (_FP_FMA): Likewise.
9806 (_FP_CMP): Likewise.
9807 (_FP_SQRT): Likewise.
9808 (_FP_TO_INT): Likewise.
9809 (_FP_FROM_INT): Likewise.
9810 (FP_EXTEND): Likewise.
9811 (_FP_DIV_MEAT_N_loop): Likewise.
9812
2125f674
MR
98132014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9814
9815 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9816 throughout.
9817
edea4028
JM
98182014-06-29 Joseph Myers <joseph@codesourcery.com>
9819
9820 [BZ #17097]
9821 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9822 result with correct sign in case of exponents that produce
9823 overflow except for X very close to 1.
9824
dd0ba018
PE
98252014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9826
9827 mktime: merge #if/#ifdef usage from glibc
9828 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9829 as that works with both Glibc's and Gnulib's style.
9830 See thread starting at Siddhesh Poyarekar's bug report at:
9831 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9832
64df73c2
SP
98332014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9834
9835 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9836 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9837 * sysdeps/tile/tilegx/memmove.c: Remove file.
9838
f1eafb41
JM
98392014-06-27 Joseph Myers <joseph@codesourcery.com>
9840
9841 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9842 abi-name definition.
9843 * scripts/soversions.awk: Do not handle or generate ABI lines.
9844 * shlib-versions: Remove ABI entries.
9845 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9846 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9847
58eb0862
RM
98482014-06-27 Roland McGrath <roland@hack.frob.com>
9849
37caf178
RM
9850 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9851 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9852 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9853 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9854 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9855 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9856 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9857 Moved ...
9858 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9859 ... here.
9860 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9861 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9862 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9863 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9864 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9865 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9866 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9867 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9868 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9869 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9870 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9871 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9872 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9873 Moved ...
9874 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9876 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9877 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9878 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9880 Moved ...
9881 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9882 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9883 Moved ...
9884 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9885 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9886 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9887 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9888 Moved ...
9889 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9890 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9891 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9892 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9893 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9894 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9895 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9896 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9897 Moved ...
9898 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9899 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9900 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9901 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9902 Moved ...
9903 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9904 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9905 Moved ...
9906 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9907 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9908 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9909 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9910 Moved ...
9911 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9912 ... here.
9913 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9914 Identical file removed.
9915 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9916 Moved ...
9917 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9918 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9919 Identical file removed.
9920 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9921 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9922 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9923 Moved ...
9924 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9925 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9926 Identical file removed.
9927 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9928 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9929 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9930 Identical file removed.
9931 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9932 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9933 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9934 Identical file removed.
9935 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9936 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9937 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9938 Identical file removed.
9939 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9940 Moved ...
9941 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9942 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9943 Identical file removed.
9944 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9945 Moved ...
9946 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9947 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9948 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9949 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9950 Identical file removed.
9951 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9952 Moved ...
9953 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9954 ... here.
9955 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9956 Identical file removed.
9957 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9958 Moved ...
9959 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9960 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9961 Identical file removed.
9962 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9963 Moved ...
9964 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9965 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9966 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9967 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9968 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9969 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9970 Moved ...
9971 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9972 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9973 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9974
58eb0862
RM
9975 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9976 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9977 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9978 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9979 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9980
6f12d062
AS
99812014-06-27 Arjun Shankar <arjun.is@lostca.se>
9982
9983 [BZ #17092]
9984 * nscd/nscd.c (monitor_child): Return exit status of child
9985 instead of return value from wait syscall.
9986
be254932
JM
99872014-06-27 Joseph Myers <joseph@codesourcery.com>
9988
cb403c34
JM
9989 * configure.ac (libc_commonpagesize): Remove variable.
9990 (libc_relro_required): Likewise.
9991 (libc_cv_z_relro): Remove configure test.
9992 * configure: Regenerated.
9993 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9994 variable.
9995 (libc_relro_required): Likewise.
9996 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9997 (libc_relro_required): Likewise.
9998 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9999 (libc_relro_required): Likewise.
10000 * sysdeps/arm/preconfigure: Regenerated.
10001 * sysdeps/ia64/preconfigure: Remove file.
10002 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10003 variable.
10004 (libc_relro_required): Likewise.
10005
be254932
JM
10006 [BZ #16561]
10007 [BZ #16562]
10008 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10009 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10010 recompute overflowing results in original rounding mode.
10011 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10012 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10013 recompute overflowing results in original rounding mode.
10014 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10015 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10016 recompute overflowing results in original rounding mode.
10017 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10018 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10019 recompute overflowing results in original rounding mode.
10020 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10021 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10022 recompute overflowing results in original rounding mode.
10023 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10024 (libc_feholdsetround_ctx): New macro.
10025 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10026 * sysdeps/i386/fpu/libm-test-ulps: Update.
10027 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10028
b351d85a
JM
100292014-06-26 Joseph Myers <joseph@codesourcery.com>
10030
10031 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10032 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10033 corresponding .cpsetup call.
10034
3cb4de47
RM
100352014-06-26 Roland McGrath <roland@hack.frob.com>
10036
10037 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10038 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10039 * sysdeps/arm/Makefile [$(subdir) = csu]
10040 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10041 (static-only-routines): Add aeabi_read_tp here.
10042 (shared-only-routines): Add libc-aeabi_read_tp here.
10043 (CFLAGS-libc-start.c): Add -fexceptions here.
10044 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10045 (sysdep_routines, static-only-routines, shared-only-routines):
10046 Don't add to these here.
10047 (CFLAGS-libc-start.c): Likewise.
10048
10049 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10050 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10051 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10052 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10053 * sysdeps/arm/Makefile [$(subdir) = rt]
10054 (librt-sysdep_routines, librt-shared-only-routines):
10055 Append rt-aeabi_unwind_cpp_pr1 here.
10056 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10057 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10058 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10059 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10060 Append nptl-aeabi_unwind_cpp_pr1 here.
10061 (tests): Filter out tst-cleanupx4 here.
10062 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10063 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10064 Don't do those here.
10065
354426bb
JM
100662014-06-26 Joseph Myers <joseph@codesourcery.com>
10067
10068 * scripts/list-sources.sh: Do not handle ports specially.
10069
28b0a8c9
RM
100702014-06-26 Roland McGrath <roland@hack.frob.com>
10071
a3dd035d
RM
10072 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10073 * sysdeps/arm/feupdateenv.c: Likewise.
10074
28b0a8c9
RM
10075 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10076
e66a8203
JM
100772014-06-26 Joseph Myers <joseph@codesourcery.com>
10078
10079 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10080 trailing whitespace removed.
10081 * scripts/config.guess: Update to version 2014-03-23.
10082 * scripts/config.sub: Update to version 2014-05-01
10083 * scripts/install-sh: Update to version 2013-12-25.23.
10084 * scripts/move-if-change: Update from gnulib.
10085
74171115
SP
100862014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10087
b97c9ce5
SP
10088 * debug/memmove_chk.c: Remove pagecopy.h include.
10089
4000f892
SP
100902014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10091
74171115
SP
10092 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10093 identical to gnulib mktime.
10094
a8779c28
JM
100952014-06-26 Joseph Myers <joseph@codesourcery.com>
10096
e64708de
JM
10097 * configure.ac: Do not test for machine being rs6000. Do not test
10098 for powerpc*-*soft.
10099 * configure: Regenerated.
10100
6a9350c8 10101 [BZ #11505]
a8779c28
JM
10102 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10103 test.
10104 * configure: Regenerated.
10105 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10106 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10107 Remove configure test.
10108 * sysdeps/arm/configure: Regenerated.
10109 * sysdeps/nptl/configure.ac: Do not check
10110 libc_cv_asm_cfi_directives.
10111 * sysdeps/nptl/configure: Regenerated.
10112 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10113 * sysdeps/x86_64/nptl/configure: Remove generated file.
10114 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10115 unconditional.
10116 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10117
2aac0a86
SP
101182014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10119
059bf913
SP
10120 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10121 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10122 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10123 it is defined.
10124
4cf5b6d0
SP
10125 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10126 instead of whether it is defined.
10127 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10128 * sysdeps/hppa/dl-machine.h: Likewise.
10129 * sysdeps/ia64/dl-machine.h: Likewise.
10130 * sysdeps/m68k/dl-machine.h: Likewise.
10131 * sysdeps/microblaze/dl-machine.h: Likewise.
10132 * sysdeps/mips/dl-machine.: Likewise.
10133 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10134 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10135 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10136 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10137 * sysdeps/sh/dl-machine.h: Likewise.
10138 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10139 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10140 * sysdeps/tile/dl-machine.h: Likewise.
10141 * sysdeps/x86_64/dl-machine.h: Likewise.
10142
2aac0a86
SP
10143 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10144 code.
10145 (verify_persistent_db): Likewise.
10146
6ad2df0b
RM
101472014-06-26 Roland McGrath <roland@hack.frob.com>
10148
d8a483f3
RM
10149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10150 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10152 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10154 Moved ...
10155 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10156 ... here.
10157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10158 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10160 Identical file removed.
10161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10162 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10164 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10166 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10168 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10170 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10172 Moved ...
10173 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10175 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10177 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10179 Moved ...
10180 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10182 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10184 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10186 Identical file removed.
10187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10188 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10190 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10192 Moved ...
10193 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10194 ... here.
10195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10196 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10198 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10200 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10202 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10204 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10206 Moved ...
10207 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10209 Moved ...
10210 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10212 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10214 Moved ...
10215 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10217 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10218
52ae23b4
RM
10219 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10220 folded into ...
10221 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10222 * sysdeps/unix/sysv/linux/s390/Versions
10223 (libpthread: GLIBC_2.19): New version set.
10224 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10225 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10226 (librt: GLIBC_2.3.3): New version set.
10227 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10228 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10229 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10230 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10231 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10232 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10233 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10234 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10235 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10236 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10237 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10238 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10239 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10240 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10241 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10242 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10243 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10244 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10245 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10246 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10247 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10248 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10249 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10250 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10251 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10252 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10253 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10254 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10255 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10256 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10257 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10258 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10259 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10260 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10261 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10262 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10263 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10264 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10265 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10266 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10267 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10268 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10269 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10270 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10271 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10272
39507e4a
RM
10273 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10274 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10275 (__libc_vfork): Define the function under this name.
10276 [!NOT_IN_libc] (__vfork): Make this an alias.
10277 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10278 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10279 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10280 (__libc_vfork): Define the function under this name.
10281 [!NOT_IN_libc] (__vfork): Make this an alias.
10282 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10283 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10284 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10285 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10286 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10287 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10288
e549ee56
RM
10289 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10290 code that was previously under [RESET_PID].
10291 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10292 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10293 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10294
6ad2df0b
RM
10295 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10296 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10297 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10298 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10299 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10300 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10301 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10302 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10303 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10304 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10305 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10306 Moved ...
10307 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10308 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10309 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10310 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10311 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10312 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10313 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10314 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10315 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10316 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10317 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10318 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10319 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10320 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10321 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10322 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10323 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10324 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10325 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10326 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10327 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10328 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10329 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10330 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10331 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10332 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10333 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10334 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10335 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10336
7c1c1d8e
RM
103372014-06-25 Roland McGrath <roland@hack.frob.com>
10338
10339 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10340 that was previously under [RESET_PID].
10341 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10342
3e239be6
JM
103432014-06-25 Joseph Myers <joseph@codesourcery.com>
10344
74385da5
JM
10345 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10346 not undefine and redefine.
10347 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10348 [O_CLOEXEC]: Make code unconditional.
10349 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10350 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10351 <kernel-features.h>.
10352 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10353 conditional variable definition.
10354 (shm_open) [O_CLOEXEC]: Make code unconditional.
10355 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10356 code.
10357
c2570a0b
JM
10358 * configure.ac (USE_REGPARMS): Don't define here.
10359 * configure: Regenerated.
10360 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10361 * sysdeps/i386/configure: Regenerated.
10362
11b076bb
JM
10363 * nptl/createthread.c: Don't include kernel-features.h.
10364 * nptl/pthread_cancel.c: Likewise.
10365 * nptl/pthread_condattr_setclock.c: Likewise.
10366 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10367 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10368 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10369 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10370 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10371 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10372 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10373 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10374 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10375 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10376 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10377 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10378 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10379 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10380 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10381 * nscd/gai.c: Likewise.
10382 * nss/nss_db/db-open.c: Likewise.
10383 * sysdeps/generic/ldsodefs.h: Likewise.
10384 * sysdeps/sh/nptl/tls.h: Likewise.
10385 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10386 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10387 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10388 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10389 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10390 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10391 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10392 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10393 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10394 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10395 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10396 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10397 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10398 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10399 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10400 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10401 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10402 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10403 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10404 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10405 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10406 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10407 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10408 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10409 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10410 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10411 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10412 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10413 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10414 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10415 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10416 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10417 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10418 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10419 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10420 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10421 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10422 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10423 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10424 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10425 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10426 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10427 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10428 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10429 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10430 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10431 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10432 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10433 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10434 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10435 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10436 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10437 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10438 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10439 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10440 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10441 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10442 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10465 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10466 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10467 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10468 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10469 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10470 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10471 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10472 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10473 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10474 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10475 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10476 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10477 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10478 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10479 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10480 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10481 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10482 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10483 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10484 * sysdeps/unix/sysv/linux/system.c: Likewise.
10485 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10486 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10487 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10488 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10489 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10490 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10491 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10492
92072d57
JM
10493 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10494 * configure: Regenerated.
10495 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10496
3e239be6
JM
10497 * configure.ac (base_machine): Do not set specially for particular
10498 machines here.
10499 * configure: Regenerated.
10500 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10501 settings from configure.ac.
10502 * sysdeps/i386/preconfigure: New file.
10503 * sysdeps/s390/preconfigure: Likewise.
10504 * sysdeps/sh/preconfigure: Likewise.
10505 * sysdeps/sparc/preconfigure: Likewise.
10506
06d50baa
RM
105072014-06-25 Roland McGrath <roland@hack.frob.com>
10508
74836003
RM
10509 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10510 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10511 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10512 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10513 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10514 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10515 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10516 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10517 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10518 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10519 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10520 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10521 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10522 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10523 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10524 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10525 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10526 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10527 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10528
10529 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10530 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10531 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10532 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10533 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10534 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10535 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10536 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10537 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10538 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10539 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10540 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10541 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10542 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10543 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10544 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10545 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10546 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10547 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10548 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10549 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10550 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10551 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10552 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10553 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10554 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10555 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10556 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10557 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10558 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10559 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10560 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10561 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10562 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10563 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10564 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10565 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10566 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10567
06d50baa
RM
10568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10569 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10571 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10573 Moved ...
10574 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10575 ... here.
10576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10577 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10579 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10581 Moved ...
10582 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10584 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10586 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10588 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10590 Moved ...
10591 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10593 Moved ...
10594 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10596 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10598 Moved ...
10599 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10601 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10603 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10605 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10607 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10609 Moved ...
10610 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10611 ... here.
10612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10613 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10615 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10617 Moved ...
10618 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10620 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10622 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10624 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10626 Moved ...
10627 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10629 Moved ...
10630 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10632 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10634 Moved ...
10635 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10637 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10639 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10640
a4ccbc9b
JM
106412014-06-25 Joseph Myers <joseph@codesourcery.com>
10642
0828edbf
JM
10643 * timezone/checktab.awk: Update from tzcode 2014e.
10644 * timezone/private.h: Likewise.
10645 * timezone/tzfile.h: Likewise.
10646 * timezone/zdump.c: Likewise.
10647 * timezone/zic.c: Likewise.
10648
a4ccbc9b
JM
10649 * sysdeps/unix/sysv/linux/kernel-features.h
10650 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10651 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10652 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10653 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10654 Remove conditional code.
10655
9aea0cb8
WN
106562014-06-25 Will Newton <will.newton@linaro.org>
10657
10658 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10659 (_dl_arm_cap_flags): Add HWCAP2 values.
10660 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10661 (_DL_HWCAP_COUNT): Increase to 37.
10662 (_DL_HWCAP_LAST): New define.
10663 (_DL_HWCAP2_LAST): New define.
10664 (_dl_procinfo): Add support for printing
10665 AT_HWCAP2 entries.
10666 (_dl_string_hwcap): Use _dl_hwcap_string.
10667
6eaa65ce
AZ
106682014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10669
10670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10671
0f5b7185
JM
106722014-06-25 Joseph Myers <joseph@codesourcery.com>
10673
cfd2ea50
JM
10674 * README: Do not mention ports directory.
10675
cecf2ed4
JM
10676 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10677 Remove macro.
10678 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10679 <kernel-features.h>.
10680 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10681 conditional variable definition.
10682 (__futimes): Update comment.
10683 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10684 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10685
a638de82
JM
10686 [BZ #16560]
10687 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10688 arguments close to 0.
10689 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10690 Likewise.
10691 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10692 Likewise.
10693 * math/auto-libm-test-in: Add more tests of exp10.
10694 * math/auto-libm-test-out: Regenerated.
10695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10696
0f5b7185
JM
10697 * sysdeps/unix/sysv/linux/kernel-features.h
10698 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10699 * sysdeps/unix/sysv/linux/readv.c: Do not include
10700 <kernel-features.h>.
10701 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10702 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10703 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10704 unconditional.
10705 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10706 conditional code.
10707 * sysdeps/unix/sysv/linux/writev.c: Do not include
10708 <kernel-features.h>.
10709 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10710 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10711 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10712 unconditional.
10713 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10714 conditional code.
10715
c7aec4be
WN
107162014-06-25 Will Newton <will.newton@linaro.org>
10717
10718 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10719 comment changes throughout the file. Remove checks
10720 for HAVE_*_H definitions that are not required.
10721 (__gen_tempname): Call abort if an unknown kind value is
10722 passed.
10723
c5241f95
AS
107242014-06-25 Andreas Schwab <schwab@suse.de>
10725
10726 [BZ #17086]
10727 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10728 scalbln, scalblnf, scalblnl in libc.
10729
911422da
SP
107302014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10731
10732 [BZ #17086]
10733 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10734 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10735 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10736
0d749bbe
RM
107372014-06-24 Roland McGrath <roland@hack.frob.com>
10738
10739 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10740 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10741 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10742 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10743 Update #include.
10744 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10745 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10746 Update #include.
10747 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10748 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10749 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10750 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10751 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10752 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10753 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10754 * sysdeps/x86/bits/semaphore.h: ... here.
10755 * sysdeps/x86/nptl/elide.h: Moved ...
10756 * sysdeps/x86/elide.h: ... here.
10757 * sysdeps/x86_64/nptl/Implies: File removed.
10758 * sysdeps/i386/nptl/Implies: File removed.
10759
0ea5d373
JM
107602014-06-24 Joseph Myers <joseph@codesourcery.com>
10761
4060283d
JM
10762 [BZ #16539]
10763 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10764 return the argument for normal arguments with exponent below -64.
10765 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10766 Likewise.
10767 * math/auto-libm-test-in: Add another test of expm1.
10768 * math/auto-libm-test-out: Regenerated.
10769
e7dd3c8c
JM
10770 [BZ #16287]
10771 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10772 calling __erfcl for arguments at least 16.
10773 * math/auto-libm-test-in: Add more tests of erf.
10774 * math/auto-libm-test-out: Regenerated.
10775
0ea5d373
JM
10776 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10777 individual architectures.
10778 * sysdeps/unix/sysv/linux/configure: Regenerated.
10779 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10780 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10781 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10782 (ldd_rewrite_script): Define variable.
10783 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10785 file.
10786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10787 generated file.
10788 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10789 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10790 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10791 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10792 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10793 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10794 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10795 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10796
2307e126
SP
107972014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10798
10799 [BZ #17084]
10800 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10801 Rename member __data.d to __data.__elision_data.
10802
c0a4ed77
W
108032014-06-24 Wilco <wdijkstr@arm.com>
10804
10805 * NEWS: Add 16918 to fixed bug list.
10806
b8c00573
W
108072014-06-24 Wilco <wdijkstr@arm.com>
10808
10809 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10810
b5570d92
W
108112014-06-24 Wilco <wdijkstr@arm.com>
10812
10813 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10814 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10815 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10816 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10817 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10818 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10819 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10820 Use _FPU_MASK_RM.
10821
947bdca2
W
108222014-06-24 Wilco <wdijkstr@arm.com>
10823
10824 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10825
00f669ed
W
108262014-06-24 Wilco <wdijkstr@arm.com>
10827
10828 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10829 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10830 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10831 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10832
db59bad3
W
108332014-06-24 Wilco <wdijkstr@arm.com>
10834
10835 [BZ #16918]
10836 * sysdeps/arm/feupdateenv.c (feupdateenv):
10837 Rewrite to reduce FPSCR accesses and fix return value.
10838
001f7b77
W
108392014-06-24 Wilco <wdijkstr@arm.com>
10840
10841 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10842 Optimize to avoid unnecessary FPSCR writes.
10843 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10844 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10845 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10846 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10847
4841e6a6
W
108482014-06-24 Wilco <wdijkstr@arm.com>
10849
10850 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10851 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10852 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10853 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10854 Call libc_fetestexcept_vfp.
10855 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10856 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10857 __SOFTFP__ ifdef so that they can be built for softfp.
10858
0813022c
SP
108592014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10860
08e5862f
SP
10861 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10862 argument type signed char.
10863
0813022c
SP
10864 * Makerules (check-abi): Dump diff of symlist if the test
10865 fails.
10866
3fc7236a
RM
108672014-06-23 Roland McGrath <roland@hack.frob.com>
10868
aba8ef95
RM
10869 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10870 using abort.
10871
3fc7236a
RM
10872 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10873 Remove unused variable ST.
10874
4da6db51
JM
108752014-06-23 Joseph Myers <joseph@codesourcery.com>
10876
4648909d
JM
10877 [BZ #16354]
10878 [BZ #17061]
10879 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10880 small arguments before calling __expm1.
10881 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10882 small arguments before calling __expm1f.
10883 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10884 small arguments before calling __expm1l.
10885 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10886 Likewise.
10887 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10888 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10889 spurious underflow for some cosh tests.
10890 * math/auto-libm-test-out: Regenerated.
10891 * sysdeps/i386/fpu/libm-test-ulps: Update.
10892
46a3d3c7
JM
10893 [BZ #17050]
10894 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10895 (__ieee754_y1): Set errno if return value overflows.
10896 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10897 (__ieee754_y1f): Set errno if return value overflows.
10898 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10899 (__ieee754_y1l): Set errno if return value overflows.
10900 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10901 (__ieee754_y1l): Set errno if return value overflows.
10902 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10903 * math/auto-libm-test-out: Regenerated.
10904
863893ec
JM
10905 * math/gen-auto-libm-tests.c: Document use of
10906 ignore-zero-inf-sign.
10907 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10908 (input_flags): Add ignore-zero-inf-sign.
10909 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10910 * math/gen-libm-test.pl (generate_testfile): Handle
10911 ignore-zero-inf-sign.
10912 * math/auto-libm-test-in: Mark some cpow tests with
10913 ignore-zero-inf-sign and some with xfail-rounding.
10914 * math/auto-libm-test-out: Regenerated.
10915 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10916 * sysdeps/i386/fpu/libm-test-ulps: Update.
10917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10918
4da6db51
JM
10919 [BZ #16315]
10920 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10921 overflowing or underflowing operations take place with sign of
10922 result.
10923 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10924 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10925 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10926 (__ieee754_pow): Recompute overflowing and underflowing results in
10927 original rounding mode.
10928 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10929 (__powl_helper): Allow negative argument X and scale negated value
10930 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10931 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10932 overflowing or underflowing operations take place with sign of
10933 result.
10934 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10935 Include <math.h>.
10936 * math/auto-libm-test-in: Add more tests of pow.
10937 * math/auto-libm-test-out: Regenerated.
10938 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10939 (pow_tonearest_test_data): Remove.
10940 (pow_test_tonearest): Likewise.
10941 (pow_towardzero_test_data): Likewise.
10942 (pow_test_towardzero): Likewise.
10943 (pow_downward_test_data): Likewise.
10944 (pow_test_downward): Likewise.
10945 (pow_upward_test_data): Likewise.
10946 (pow_test_upward): Likewise.
10947 (main): Don't call removed functions.
10948 * sysdeps/i386/fpu/libm-test-ulps: Update.
10949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10950
5686b236
RM
109512014-06-23 Roland McGrath <roland@hack.frob.com>
10952
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10954 Moved ...
10955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10957 Moved ...
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10960 Moved ...
10961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10963 Moved ...
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10966 File removed.
10967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10968 File removed.
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10970 File removed.
10971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10972 File removed.
10973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10974 File removed.
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10976 File removed.
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10978 File removed.
10979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10980 File removed.
10981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10982 File removed.
10983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10984 File removed.
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10986 File removed.
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10988 File removed.
10989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10990 Moved ...
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10993 Moved ...
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10995 ... here.
10996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10997 Moved ...
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11000 Moved ...
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11003 Moved ...
11004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11006 Moved ...
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11009 Moved ...
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11012 Moved ...
11013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11015 Moved ...
11016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11019 ... here.
11020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11021 Moved ...
11022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11024 Moved ...
11025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11026 ... here.
11027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11028 Moved ...
11029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11030 ... here.
11031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11032 Moved ...
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11034 ... here.
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11036 Moved ...
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11039 Moved ...
11040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11044 Moved ...
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11046 ... here.
11047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11048 Moved ...
11049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11050 ... here.
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11052 Moved ...
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11055 Moved ...
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11058 Moved ...
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11061 Moved ...
11062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11064 Moved ...
11065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11066 ... here.
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11068 Moved ...
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11071 Moved ...
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11074 Moved ...
11075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11077 Moved ...
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11082 Moved ...
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11085 Moved ...
11086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11088 Moved ...
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11090 ... here.
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11092 Moved ...
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11094 ... here.
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11096 Moved ...
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11098 ... here.
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11100 Moved ...
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11103 Moved ...
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11106 Moved ...
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11109 Moved ...
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11111 ... here.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11113 Moved ...
11114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11115 ... here.
11116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11117 Moved ...
11118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11119 ... here.
11120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11121 Moved ...
11122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11124 Moved ...
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11126
e6d90d67
WD
111272014-06-23 Will Newton <will.newton@linaro.org>
11128 Wilco <wdijkstr@arm.com>
11129
11130 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11131 implementation. Include get-rounding-mode.h.
11132 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11133 [!libc_feholdsetround_noex_ctx]: Define
11134 libc_feholdsetround_noex_ctx.
11135 [!libc_feholdsetround_noexf_ctx]: Define
11136 libc_feholdsetround_noexf_ctx.
11137 [!libc_feholdsetround_noexl_ctx]: Define
11138 libc_feholdsetround_noexl_ctx.
11139 (libc_feholdsetround_ctx): New function.
11140 (libc_feresetround_ctx): New function.
11141 (libc_feholdsetround_noex_ctx): New function.
11142 (libc_feresetround_noex_ctx): New function.
11143
d42df555
RM
111442014-06-23 Roland McGrath <roland@hack.frob.com>
11145
88a46474
RM
11146 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11147 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11148 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11149 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11150 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11151 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11152
15bed472
RM
11153 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11154 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11155 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11156 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11157 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11158 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11159 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11160 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11161 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11162 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11163 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11164 Moved ...
11165 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11166 ... here.
11167 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11168 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11169 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11170 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11171 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11172 Moved ...
11173 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11174 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11175 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11176 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11177 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11178 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11179 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11180 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11181 Moved ...
11182 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11183 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11184 Moved ...
11185 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11186 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11187 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11188 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11189 Moved ...
11190 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11191 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11192 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11193 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11194 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11195 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11196 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11197 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11198 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11199 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11200 Moved ...
11201 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11202 ... here.
11203 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11204 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11205 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11206 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11207 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11208 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11209 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11210 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11211 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11212 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11213 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11214 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11215 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11216 Moved ...
11217 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11218 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11219 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11220 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11221 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11222 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11223 Moved ...
11224 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11225 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11226 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11227 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11228 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11229
d42df555
RM
11230 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11231 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11232 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11233 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11234 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11235 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11236 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11237 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11238 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11239 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11240 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11241 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11242 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11243 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11244 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11245 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11246 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11247 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11248 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11249 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11250 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11251 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11252 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11253 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11254 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11255 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11256 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11257 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11258
76e5216e
JM
112592014-06-23 Joseph Myers <joseph@codesourcery.com>
11260
11261 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11262 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11263 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11264 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11265 (IPV6_PMTUDISC_INTERFACE): Likewise.
11266 (IPV6_PMTUDISC_OMIT): Likewise.
11267
7a81cbcc
AS
112682014-06-23 Andreas Schwab <schwab@suse.de>
11269
11270 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11271 Remove unused errout label.
11272
db224009
AZ
112732014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11274
11275 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11276 macro: hardware supports Vector Crypto instructions.
11277
f393b4aa
WN
112782014-06-23 Will Newton <will.newton@linaro.org>
11279
cc7d0447
WN
11280 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11281 rather than __builtin_expect.
11282
d6d06225
WN
11283 * elf/dl-lookup.c (undefined_msg): Remove variable.
11284 (_dl_lookup_symbol_x): Replace undefined_msg with string
11285 literal.
11286
f393b4aa
WN
11287 * elf/dl-lookup.c (do_lookup_unique): New function.
11288 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11289 to a separate function.
11290
ac60763e
AS
112912014-06-23 Andreas Schwab <schwab@suse.de>
11292
11293 [BZ #17079]
11294 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11295 before reading the next line.
11296
c5c13355
WN
112972014-06-23 Will Newton <will.newton@linaro.org>
11298
11299 * test-skeleton.c (signal_handler): Use printf and %m
11300 rather than perror. Use printf rather than fprintf to
11301 stderr. Use puts rather than fputs to stderr.
11302 (main): Likewise.
11303
bd3675f9
LC
113042014-06-22 Ludovic Courtès <ludo@gnu.org>
11305
11306 * nscd/nscd.c (thread_info_t): Remove typedef.
11307 (thread_info): Remove variable.
11308
d03efb2f
AM
113092014-06-21 Allan McRae <allan@archlinux.org>
11310
11311 * NEWS: Mention CVE-2014-4043.
11312
bc4a86fa
RM
113132014-06-20 Roland McGrath <roland@hack.frob.com>
11314
dc9a54f8
RM
11315 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11316 * nptl/smp.h: ... here.
11317
bd7022c4
RM
11318 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11319
26ffd5e6
RM
11320 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11321 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11322 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11323 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11324
93a6d082
RM
11325 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11326 * nptl/stack-aliasing.h: New file.
11327 * sysdeps/i386/i686/stack-aliasing.h: New file.
11328 * sysdeps/i386/i686/nptl/Makefile: File removed.
11329 * sysdeps/x86_64/stack-aliasing.h: New file.
11330 * sysdeps/x86_64/nptl/Makefile
11331 (CFLAGS-pthread_create.c): Variable removed.
11332
bc4a86fa
RM
11333 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11334 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11335 old file.
11336 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11337 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11338 old file.
11339
2272ffc1
JM
113402014-06-21 Joseph Myers <joseph@codesourcery.com>
11341
11342 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11343 (__ASSUME_SIGFRAME_V2): Remove macro.
11344 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11345 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11346 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11347 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11348 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11349 Declare as function. Remove conditional macro definitions.
11350 (__default_rt_sa_restorer): Likewise.
11351 (__default_sa_restorer_v1): Remove declaration.
11352 (__default_sa_restorer_v2): Likewise.
11353 (__default_rt_sa_restorer_v1): Likewise.
11354 (__default_rt_sa_restorer_v2): Likewise.
11355 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11356 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11357 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11358
4b88139b
RM
113592014-06-20 Roland McGrath <roland@hack.frob.com>
11360
11361 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11362 (libpthread-routines): Add sysdep.
11363 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11364 * sysdeps/unix/sysv/linux/sparc/Versions
11365 (libpthread: GLIBC_2.3.3): New version set.
11366 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11367 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11368 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11369 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11370 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11371 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11372 Moved ...
11373 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11374 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11375 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11376 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11377 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11378 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11379 * sysdeps/sparc/nptl/sem_init.c: ... here.
11380 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11381 * sysdeps/sparc/nptl/sem_post.c: ... here.
11382 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11383 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11384 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11385 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11386 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11387 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11388 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11389 (libpthread-routines): Add cpu_relax.
11390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11391 File removed.
11392 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11393 (librt: GLIBC_2.3.3): New version set.
11394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11395 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11396 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11397 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11400 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11401 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11402 Moved ...
11403 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11404 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11405 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11407 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11408 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11409 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11411 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11412 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11413 Moved ...
11414 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11415 Update #include.
11416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11417 Moved ...
11418 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11419 Update #include.
11420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11421 Moved ...
11422 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11423 Update #include.
11424 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11425 Moved ...
11426 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11427 Update #include.
11428 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11429 Moved ...
11430 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11431 Update #include.
11432 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11433 Moved ...
11434 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11435 Update #include.
11436 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11437 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11438 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11441 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11442 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11443 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11445 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11447 Moved ...
11448 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11450 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11452 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11453
d7109027
JM
114542014-06-20 Joseph Myers <joseph@codesourcery.com>
11455
9bc6103d
JM
11456 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11457 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11458 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11459 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11460 * nscd/nscd.c: Likewise.
11461 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11462 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11463 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11464 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11465
d7109027
JM
11466 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11467 <kernel-features.h>.
11468 (init_mq_netlink): Remove conditional have_sock_cloexec
11469 definitions. Remove code conditional on have_sock_cloexec < 0.
11470 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11471 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11472 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11473 <kernel-features.h>.
11474 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11475 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11476
d92d8f8a
L
114772014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11478
11479 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11480 Add tests for memset_chk and memset.
11481
11482 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11483 with AVX2_Usable.
11484
4e6d2347
MR
114852014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11486
257ce712
MR
11487 [BZ #16046]
11488 * elf/tst-dl-iter-static.c: New file.
11489 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11490
4e6d2347
MR
11491 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11492 error.
11493
a2a76afe
JM
114942014-06-20 Joseph Myers <joseph@codesourcery.com>
11495
7fd00f99
JM
11496 * sysdeps/unix/sysv/linux/kernel-features.h
11497 (__ASSUME_F_GETOWN_EX): Remove macro.
11498 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11499 <kernel-features.h>.
11500 (miss_F_GETOWN_EX): Remove variable or macro.
11501 (do_fcntl): Do not check miss_F_GETOWN_EX.
11502 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11503
4a103975
JM
11504 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11505 Remove macro.
11506 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11507 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11508 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11509
a2a76afe
JM
11510 * sysdeps/unix/sysv/linux/kernel-features.h
11511 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11512 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11513 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11514 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11515
90e5dd48
MR
115162014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11517
11518 [BZ #17075]
11519 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11520 Fix calculation of the symbol's value.
11521 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11522 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11523 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11524 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11525 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11526 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11527 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11528 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11529 (modules-names): Add `tst-armtlsdescmod',
11530 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11531 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11532 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11533 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11534 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11535 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11536 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11537 ($(objpfx)tst-armtlsdescloc): New dependency.
11538 ($(objpfx)tst-armtlsdescextnow): Likewise.
11539 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11540 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11541 TLS scheme support.
11542 * sysdeps/arm/configure: Regenerate.
11543
809fdf0d
JM
115442014-06-20 Joseph Myers <joseph@codesourcery.com>
11545
11546 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11547 (__atfct_seterrno_2): Likewise.
11548 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11549 <kernel-features.h>.
11550 (__ASSUME_ATFCTS): Do not undefine and redefine.
11551 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11552 (__have_atfcts): Remove conditional definition.
11553 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11554 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11555 unreachable if [__ASSUME_ATFCTS].
11556 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11557 not undefine and redefine.
11558 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11559 <kernel-features.h>.
11560 (faccessat) [__NR_faccessat]: Make code unconditional.
11561 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11562 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11563 <kernel-features.h>.
11564 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11565 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11566 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11567 <kernel-features.h>.
11568 (fchownat) [__NR_fchownat]: Make code unconditional.
11569 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11570 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11571 <kernel-features.h>.
11572 (futimesat) [__NR_futimesat]: Make code unconditional.
11573 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11574 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11575 <kernel-features.h>.
11576 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11577 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11578 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11579 <kernel-features.h>.
11580 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11581 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11582 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11583 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11584 <kernel-features.h>.
11585 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11586 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11587 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11588 <kernel-features.h>.
11589 (linkat) [__NR_linkat]: Make code unconditional.
11590 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11591 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11592 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11593 <kernel-features.h>.
11594 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11595 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11596 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11597 <kernel-features.h>.
11598 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11599 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11600 * sysdeps/unix/sysv/linux/openat.c: Do not include
11601 <kernel-features.h>.
11602 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11603 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11604 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11605 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11606 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11607 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11608 <kernel-features.h>.
11609 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11610 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11611 result of INLINE_SYSCALL directly, not via int variable.
11612 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11613 <kernel-features.h>.
11614 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11615 (renameat) [__NR_renameat]: Make code unconditional.
11616 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11617 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11618 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11619 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11620 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11621 (__ASSUME_ATFCTS): Do not undefine and redefine.
11622 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11623 <kernel-features.h>.
11624 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11625 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11626 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11627 <kernel-features.h>.
11628 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11629 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11630 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11631 (__ASSUME_ATFCTS): Do not undefine and redefine.
11632 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11633 <kernel-features.h>.
11634 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11635 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11636 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11637 <kernel-features.h>.
11638 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11639 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11640
224c6c51
L
116412014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11642
11643 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11644
aa6ec754
AS
116452014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11646
11647 [BZ #17069]
11648 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11649 constructed tree before returning error.
11650 * posix/bug-regexp36.c: Expand test case.
11651
d8c2869d
SL
116522014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11653
3ef6b850
SL
11654 [BZ #6803]
11655 * math/libm-test.inc (scalbln_test_date):
11656 Add errno expectations.
11657 * math/w_scalblnf.c: New File.
11658 Add wrapper which checks for setting errno to ERANGE.
11659 Add weak_alias for corresponding scalbln function.
11660 * math/w_scalbln.c: Likewise.
11661 * math/w_scalblnl.c: Likewise.
11662 * math/Makefile (libm-calls): Add w_scalbln.
11663 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11664 Remove weak_alias for corresponding scalbln function.
11665 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11666 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11667 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11668 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11669 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11670 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11671 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11672 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11673 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11674 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11675 Remove long_double_symbol for scalblnl function in libm, libc.
11676 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11677 Add wrapper which checks for setting errno to ERANGE.
11678 Add long_double_symbol for scalblnl function in libm, libc.
11679 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11680 Remove long_double_symbol for scalblnl in libm.
11681 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11682 Add wrapper which checks for setting errno to ERANGE.
11683 Add long_double_symbol for scalblnl function in libm.
11684 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11685 Do not use wrapper because of own implementation.
11686
c8daec5c
L
116872014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11688
11689 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11690 3 bytes for __pad1 for x32.
11691 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11692
5c74e47c
LM
116932014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11694 H.J. Lu <hongjiu.lu@intel.com>
11695
11696 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11697 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11698 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11699 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11700 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11701
4d43ef1e
AS
117022014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11703
11704 [BZ #17069]
11705 * posix/regcomp.c (parse_expression): Deallocate partially
11706 constructed tree before returning error.
11707 * posix/Makefile.c (tests): Add bug-regex36.
11708 (generated): Add bug-regex36.mtrace.
11709 (tests-special): Add $(objpfx)bug-regex36-mem.out
11710 (bug-regex36-ENV): New variable.
11711 ($(objpfx)bug-regex36-mem.out): New rule.
11712 * posix/bug-regex36.c: New file.
11713
51a7380b
WN
117142014-06-19 Will Newton <will.newton@linaro.org>
11715
11716 * malloc/malloc.c (systrim): If extra is zero then return
11717 early.
11718
91b84fe5
SP
117192014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11720
11721 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11722
f940b965
RE
117232014-06-19 Richard Earnshaw <rearnsha@arm.com>
11724
11725 * sysdeps/aarch64/strchr.S: New file.
11726
4ba7a00f
JM
117272014-06-18 Joseph Myers <joseph@codesourcery.com>
11728
11729 [BZ #17022]
11730 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11731 from arguments -2 or below.
11732 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11733 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11734
b3a9f56b
AS
117352014-06-18 Andreas Schwab <schwab@suse.de>
11736
11737 [BZ #17062]
11738 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11739 of a bracket expr not to run off the end of the string.
11740 * posix/Makefile (tests): Add tst-fnmatch3.
11741 * posix/tst-fnmatch3.c: New file.
11742
85d89278
JM
117432014-06-18 Joseph Myers <joseph@codesourcery.com>
11744
11745 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11746 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11747 [$(cross-compiling) = no]: Likewise.
11748 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11749 [$(cross-compiling) = no]: Likewise.
11750
754c5a08
RS
117512014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11752
11753 [BZ #17031]
11754 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11755 double, adjusted for any remainder from the high double.
11756 * math/libm-test.inc (nearbyint): Add tests.
11757 (rint): Likewise.
11758
556f529d
AZ
117592014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11760
11761 * nptl/sysdeps/powerpc/Makefile: Moved ...
11762 * sysdeps/powerpc/nptl/Makefile: ... here.
11763 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11764 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11765 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11766 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11767 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11768 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11769 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11770 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11771 * nptl/sysdeps/powerpc/tls.h: Moved ...
11772 * sysdeps/powerpc/nptl/tls.h: ... here.
11773
91c03c53
JM
117742014-06-16 Joseph Myers <joseph@codesourcery.com>
11775
11776 [BZ #16681]
11777 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11778 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11779 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11780 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11781 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11782 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11783 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11784 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11785 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11786
a76e63c5
AS
117872014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11788
11789 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11790
f2f6d82f
AS
117912014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11792
ea8a15f6
AS
11793 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11794 defined operator.
11795
f2f6d82f
AS
11796 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11797 $TIMEOUTFACTOR.
11798
a7291117
FW
117992014-06-16 Florian Weimer <fweimer@redhat.com>
11800
11801 [BZ #17058]
11802 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11803 non-executed part of the test.
11804
3d7c00e3
AS
118052014-06-16 Andreas Schwab <schwab@suse.de>
11806
11807 * string/bits/string2.h (strdup, strndup): Update feature guard.
11808
6957fb31
DM
118092014-06-14 David S. Miller <davem@davemloft.net>
11810
11811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11812
11b9e55b
AS
118132014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11814
1d2a0492
AS
11815 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11816 that was previously under [RESET_PID].
11817 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11818
11b9e55b
AS
11819 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11820 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11821 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11822 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11823 (__libc_vfork): New strong alias.
11824 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11825
0f6901d0
AK
118262014-06-14 Andi Kleen <ak@linux.intel.com>
11827
11828 * sysdeps/generic/elide.h: New file.
11829
38bbbb9f
SL
118302014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11831
11832 * Makefile (installed-headers): Adjust path of pthread.h header.
11833
45193bb8
RM
118342014-06-13 Roland McGrath <roland@hack.frob.com>
11835
9a25fd1e
RM
11836 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11837 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11838 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11839 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11840
4004f7e4
RM
11841 * nptl/sysdeps/s390/Makefile: Moved ...
11842 * sysdeps/s390/nptl/Makefile: ... here.
11843 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11844 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11845 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11846 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11847 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11848 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11849 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11850 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11851 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11852 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11853 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11854 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11855 * nptl/sysdeps/s390/tls.h: Moved ...
11856 * sysdeps/s390/nptl/tls.h: ... here.
11857
45193bb8
RM
11858 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11859 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11860
f6fdf533
DM
118612014-06-13 David S. Miller <davem@davemloft.net>
11862
11863 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11864 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11866 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11867 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11868 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11870 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11871 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11872 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11873 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11874 Remove RESET_PID cpp guards.
11875 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11876 Remove RESET_PID cpp guards.
11877 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11878
f5d71e14
AS
118792014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11880
11881 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11882 __sp to uintptr_t.
11883
b7aa8caa
AK
118842014-06-13 Andi Kleen <ak@linux.intel.com>
11885
4b266200
AZ
11886 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11887 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11888 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11889 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11890 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11891 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11892 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11893 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11894 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11895 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11896 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11897 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11898 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11899 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11900 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11901 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11902 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11903 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11904 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11905 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11906
11907 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11908 (pthread_rwlock_rdlock): Add elision.
11909 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11910 (pthread_rwlock_wrlock): Add elision.
11911 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11912 (pthread_rwlock_trywrlock): Add elision.
11913 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11914 (pthread_rwlock_tryrdlock): Add elision.
11915 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11916 (pthread_rwlock_tryrdlock): Add elision unlock.
11917 * nptl/sysdeps/pthread/pthread.h:
11918 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11919 (PTHREAD_RWLOCK_INITIALIZER,
11920 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11921 Handle new elision field.
11922 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11923 * sysdeps/arm/nptl/bits/pthreadtypes.h
11924 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11925 * sysdeps/sh/nptl/bits/pthreadtypes.h
11926 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11927 * sysdeps/tile/nptl/bits/pthreadtypes.h
11928 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11929 * sysdeps/a/nptl/bits/pthreadtypes.h
11930 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11931 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11932 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11933 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11934 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11935 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11936 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11937 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11938 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11939 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11940 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11941 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11942 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11943 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11944 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11945 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11946 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11947 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11948 (elision_init): Set try_xbegin to zero when no RTM.
11949 * sysdeps/x86/nptl/bits/pthreadtypes.h
11950 (pthread_rwlock_t): Change __pad1 to __rwelision.
11951 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11952
a832bdd3
AK
119532014-06-13 Andi Kleen <ak@linux.intel.com>
11954
11955 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11956 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11957 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11958 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11959
995a46bb
MI
119602014-06-13 Meador Inge <meadori@codesourcery.com>
11961
11962 [BZ #16996]
03ed7738 11963 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11964 that the cached result has been set before returning it.
11965
45262aee
RM
119662014-06-12 Roland McGrath <roland@hack.frob.com>
11967
febf6cc5
RM
11968 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11969 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11970 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11971 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11972 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11973 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11974
e2682246
RM
11975 * nptl/sysdeps/sparc/Makefile: Moved ...
11976 * sysdeps/sparc/nptl/Makefile: ... here.
11977 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11978 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11979 * nptl/sysdeps/sparc/tls.h: Moved ...
11980 * sysdeps/sparc/nptl/tls.h: ... here.
11981 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11982 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11983 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11984 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11985 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11986 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11987 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11988 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11989 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11990 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11991 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11992 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11993 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11994 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11995 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11996 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11997 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11998 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11999 Update #include.
12000 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12001 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12002 Update #include.
12003 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12004 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12005 Update #include.
12006 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12007 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12008 Update #include.
12009
b0725f43
RM
12010 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12011
b14368b8
RM
12012 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12013 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12014
c5620eb3
RM
12015 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12016 (struct list_links): Type removed.
12017 (struct thread_node, struct timer_node): Replace struct list_links
12018 with struct list_head.
12019 (list_unlink_ip): Likewise.
12020 * sysdeps/pthread/timer_routines.c
12021 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12022 (list_append, list_insbefore): Likewise.
12023 (list_init): Function removed.
12024 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
12025 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12026 * sysdeps/pthread/Makefile: ... here, new file.
12027
12028 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12029 * sysdeps/nptl/Implies: ... here.
12030 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12031 * nptl/sysdeps/pthread/list.h: Moved ...
12032 * include/list.h: ... here.
12033 * nptl/sysdeps/pthread/createthread.c: Moved ...
12034 * nptl/createthread.c: ... here.
12035 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12036 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12037 * nptl/pt-longjmp.c: ... here.
12038 * nptl/sysdeps/pthread/Makefile: Moved ...
12039 * sysdeps/nptl/Makefile: ... here.
12040 * nptl/sysdeps/pthread/Subdirs: Moved ...
12041 * sysdeps/nptl/Subdirs: ... here.
12042 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12043 * sysdeps/nptl/aio_misc.h: ... here.
12044 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12045 * sysdeps/nptl/bits/libc-lock.h: ... here.
12046 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12047 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12048 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12049 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12050 * nptl/sysdeps/pthread/configure: Moved ...
12051 * sysdeps/nptl/configure: ... here.
12052 * nptl/sysdeps/pthread/configure.ac: Moved ...
12053 * sysdeps/nptl/configure.ac: ... here.
12054 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12055 * sysdeps/nptl/gai_misc.h: ... here.
12056 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12057 * sysdeps/nptl/librt-cancellation.c: ... here.
12058 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12059 * sysdeps/nptl/malloc-machine.h: ... here.
12060 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12061 * sysdeps/nptl/pthread-functions.h: ... here.
12062 * nptl/sysdeps/pthread/pthread.h: Moved ...
12063 * sysdeps/nptl/pthread.h: ... here.
12064 * nptl/sysdeps/pthread/setxid.h: Moved ...
12065 * sysdeps/nptl/setxid.h: ... here.
12066 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12067 * sysdeps/nptl/sigfillset.c: ... here.
12068 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12069 * sysdeps/nptl/tcb-offsets.h: ... here.
12070 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12071 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12072 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12073 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12074 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12075 * sysdeps/pthread/allocalim.h: ... here.
12076 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12077 * sysdeps/pthread/bits/sigthread.h: ... here.
12078 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12079 * sysdeps/pthread/flockfile.c: ... here.
12080 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12081 * sysdeps/pthread/ftrylockfile.c: ... here.
12082 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12083 * sysdeps/pthread/funlockfile.c: ... here.
12084 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12085 * sysdeps/pthread/posix-timer.h: ... here.
12086 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12087 * sysdeps/pthread/timer_create.c: ... here.
12088 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12089 * sysdeps/pthread/timer_delete.c: ... here.
12090 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12091 * sysdeps/pthread/timer_getoverr.c: ... here.
12092 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12093 * sysdeps/pthread/timer_gettime.c: ... here.
12094 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12095 * sysdeps/pthread/timer_routines.c: ... here.
12096 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12097 * sysdeps/pthread/timer_settime.c: ... here.
12098 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12099 * sysdeps/pthread/tst-timer.c: ... here.
12100 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12101 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12102
e876b090
RM
12103 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12104 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12105
f6b07b3d
RM
12106 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12107 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12108 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12109 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12110 Update #include target.
12111 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12112 * sysdeps/i386/i686/nptl/Makefile: ... here.
12113 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12114 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12115 Update #include target.
12116 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12117 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12118 * nptl/sysdeps/i386/Makefile: Moved ...
12119 * sysdeps/i386/nptl/Makefile: ... here.
12120 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12121 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12122 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12123 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12124 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12125 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12126 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12127 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12128 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12129 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12130 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12131 * nptl/sysdeps/i386/tls.h: Moved ...
12132 * sysdeps/i386/nptl/tls.h: ... here.
12133
45262aee
RM
12134 * sysdeps/sh/Makefile [$(subdir) = csu]
12135 (gen-as-const-headers): Add tcb-offsets.sym.
12136 * nptl/sysdeps/sh/Makefile: File removed.
12137 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12138 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12139 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12140 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12141 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12142 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12143 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12144 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12145 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12146 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12147 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12148 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12149 * nptl/sysdeps/sh/tls.h: Moved ...
12150 * sysdeps/sh/nptl/tls.h: ... here.
12151 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12152 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12153 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12154 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12155 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12156 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12157 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12158 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12159 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12160 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12161 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12162 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12163 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12164 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12165 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12166 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12167 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12168 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12169 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12170 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12171 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12172 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12173 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12174 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12175 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12176 Moved ...
12177 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12178 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12179 Moved ...
12180 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12181 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12182 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12183 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12184 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12185 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12186 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12187 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12188 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12189 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12190 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12191 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12192 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12193 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12194 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12195 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12196 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12197 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12198 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12199
35a5e3e3
SL
122002014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12201
12202 * posix/spawn_faction_addopen.c: Include string.h.
12203
14642b85
RM
122042014-06-11 Roland McGrath <roland@hack.frob.com>
12205
12206 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12207 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12208 * nptl/sysdeps/x86_64/Makefile: Moved ...
12209 * sysdeps/x86_64/nptl/Makefile: ... here.
12210 * nptl/sysdeps/x86_64/configure: Moved ...
12211 * sysdeps/x86_64/nptl/configure: ... here.
12212 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12213 * sysdeps/x86_64/nptl/configure.ac: ... here.
12214 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12215 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12216 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12217 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12218 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12219 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12220 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12221 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12222 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12223 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12224 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12225 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12226 * nptl/sysdeps/x86_64/tls.h: Moved ...
12227 * sysdeps/x86_64/nptl/tls.h: ... here.
12228 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12229 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12230 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12231 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12232
12233 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12234
31c44fea
AZ
122352014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12236
12237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12238
e81a4f9a
JM
122392014-06-11 Joseph Myers <joseph@codesourcery.com>
12240
12241 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12242 type.
12243 [POSIX] (off_t): Likewise.
12244 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12245 [POSIX] (S_ISBLK): Require macro.
12246 [POSIX] (S_ISCHR): Likewise.
12247 [POSIX] (S_ISDIR): Likewise.
12248 [POSIX] (S_ISFIFO): Likewise.
12249 [POSIX] (S_ISREG): Likewise.
12250 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12251 optional-macro.
12252 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12253 type.
12254 [POSIX] (time_t): Likewise.
12255 [POSIX] (timer_t): Likewise.
12256
89e435f3
FW
122572014-06-11 Florian Weimer <fweimer@redhat.com>
12258
12259 [BZ #17048]
12260 * posix/spawn_int.h (struct __spawn_action): Make the path string
12261 non-const to support deallocation.
12262 * posix/spawn_faction_addopen.c
12263 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12264 * posix/spawn_faction_destroy.c
12265 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12266 path in all spawn_do_open actions.
12267 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12268 posix_spawn_file_actions_addopen.
12269
c3a2ebe1
CM
122702014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12271
12272 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12273 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12274 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12275 conditional code always true.
12276 (__libc_vfork): New alias.
12277
9503784a
RM
122782014-06-11 Roland McGrath <roland@hack.frob.com>
12279
c9cab3d2
RM
12280 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12281 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12282
d3996c79
RM
12283 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12284
ba5ec611
RM
12285 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12286 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12287
f12b4814
RM
12288 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12289 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12290
9503784a
RM
12291 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12292 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12293
e23d3d26
VR
122942014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12295
12296 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12297 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12298 multiarch strcmp for PPC64.
12299 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12300 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12302 multiarch optimizations.
12303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12304 (__libc_ifunc_impl_list): Likewise.
12305
42b1161e
SP
123062014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12307
12308 * benchtests/scripts/validate_benchout.py: New script.
12309 * benchtests/Makefile (bench-func): Call it.
12310 * benchtests/scripts/benchout.schema.json: New file.
12311
2d0fc4dc
CM
123122014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12313
4a594c34
AZ
12314 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12315 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12316 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12317 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12318 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12319 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12320 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12321 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12322 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12323 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12324 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12325 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12326 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12327 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12328 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12329 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12331 Moved ...
4a594c34 12332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12333 ... here.
4a594c34 12334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12335 Moved ...
4a594c34
AZ
12336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12338 Moved ...
4a594c34 12339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12340 ... here.
4a594c34 12341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12342 Moved ...
4a594c34 12343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12344 ... here.
4a594c34 12345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12346 Moved ...
4a594c34
AZ
12347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12349 Moved ...
4a594c34 12350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12351 ... here.
4a594c34 12352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12353 Moved ...
4a594c34 12354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12355 ... here.
4a594c34 12356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12357 Moved ...
4a594c34
AZ
12358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12360 Moved ...
4a594c34 12361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12362 ... here.
4a594c34 12363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12364 Moved ...
4a594c34 12365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12366 ... here.
4a594c34 12367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12368 Moved ...
4a594c34 12369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12370 ... here.
4a594c34 12371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12372 Moved ...
4a594c34
AZ
12373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12375 Moved ...
4a594c34 12376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12377 ... here.
4a594c34 12378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12379 Moved ...
4a594c34 12380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12381 ... here.
4a594c34 12382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12383 Moved ...
4a594c34 12384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12385 ... here.
4a594c34 12386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12387 Moved ...
4a594c34
AZ
12388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12390 Moved ...
4a594c34 12391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12392 ... here.
4a594c34 12393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12394 Moved ...
4a594c34 12395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12396 ... here.
4a594c34 12397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12398 Moved ...
4a594c34
AZ
12399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12401 Moved ...
4a594c34 12402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12403 ... here.
4a594c34 12404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12405 Moved ...
4a594c34
AZ
12406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12408 Moved ...
4a594c34
AZ
12409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12411 Moved ...
4a594c34 12412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12413 ... here.
4a594c34 12414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12415 Moved ...
4a594c34 12416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12417 ... here.
4a594c34 12418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12419 Moved ...
4a594c34 12420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12421 ... here.
4a594c34 12422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12423 Moved ...
4a594c34
AZ
12424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12426 Moved ...
4a594c34 12427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12428 ... here.
4a594c34 12429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12430 Moved ...
4a594c34 12431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12432 ... here.
4a594c34
AZ
12433 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12434 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12435 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12436 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12437 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12438 Moved ...
4a594c34 12439 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12440 ... here.
4a594c34
AZ
12441 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12442 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12443 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12444 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12445 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12446 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12447 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12448 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12449 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12450 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12451 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12452 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12453 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12454 Moved ...
4a594c34
AZ
12455 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12456 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12457 Moved ...
4a594c34
AZ
12458 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12459 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12460 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12461 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12462 Moved ...
4a594c34
AZ
12463 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12464 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12465 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12466 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12467 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12468 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12469 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12470
0570cfed
W
124712014-06-10 Wilco <wdijkstr@arm.com>
12472
12473 * math/test-fenv-return.c: New file.
12474 * math/Makefile: Add new test test-fenv-return.
12475
f8ba1b56
JM
124762014-06-10 Joseph Myers <joseph@codesourcery.com>
12477
12478 [BZ #17042]
12479 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12480 when x - 1 is zero.
12481 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12482 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12483 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12484 0.0L for an argument of 1.0L.
12485 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12486 Likewise.
12487 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12488 value when x - 1 is zero.
12489 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12490 * sysdeps/i386/fpu/libm-test-ulps: Update.
12491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12492
2c3520d9
BO
124932014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12494
12495 [BZ #15119]
12496 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12497
acaa4d24
RM
124982014-06-09 Roland McGrath <roland@hack.frob.com>
12499
12500 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12501 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12502
962b744d
RM
125032014-06-09 Roland McGrath <roland@hack.frob.com>
12504
d752f0cc
RM
12505 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12506 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12507
34eda6d1
RM
12508 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12509 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12510
50f0a637
RM
12511 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12512 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12513
08f41f04
RM
12514 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12515 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12516
962b744d
RM
12517 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12518 if not already defined.
12519 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12520 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12521 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12522 (TLS_INIT_TP): Use it.
12523 (TLS_DEFINE_INIT_TP): New macro.
12524 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12525
09f19b05
JM
125262014-06-09 Joseph Myers <joseph@codesourcery.com>
12527
12528 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12529 constant.
12530 [POSIX] (IXANY): Likewise.
12531 [POSIX] (OLCUC): Likewise.
12532 [POSIX || POSIX2008] (CBAUD): Do not allow.
12533 [POSIX || POSIX2008] (DEFECHO): Likewise.
12534 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12535 [POSIX || POSIX2008] (ECHOKE): Likewise.
12536 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12537 [POSIX || POSIX2008] (EXTA): Likewise.
12538 [POSIX || POSIX2008] (EXTB): Likewise.
12539 [POSIX || POSIX2008] (FLUSHO): Likewise.
12540 [POSIX || POSIX2008] (LOBLK): Likewise.
12541 [POSIX || POSIX2008] (PENDIN): Likewise.
12542 [POSIX || POSIX2008] (SWTCH): Likewise.
12543 [POSIX || POSIX2008] (VDISCARD): Likewise.
12544 [POSIX || POSIX2008] (VDSUSP): Likewise.
12545 [POSIX || POSIX2008] (VLNEXT): Likewise.
12546 [POSIX || POSIX2008] (VREPRINT): Likewise.
12547 [POSIX || POSIX2008] (VSTATUS): Likewise.
12548 [POSIX || POSIX2008] (VWERASE): Likewise.
12549 (B*): Change to B[0123456789]*.
12550 * conform/data/time.h-data [POSIX || UNIX98]
12551 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12552 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12553 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12554 [POSIX] (tm_*): Do not allow.
12555
686554bf
JM
125562014-06-07 Joseph Myers <joseph@codesourcery.com>
12557
12558 * Makefile (install): Don't set LANGUAGE.
12559 * Makefile.in (install): Likewise.
12560 * assert/Makefile (test-assert-ENV): Remove variable.
12561 (test-assert-perr-ENV): Likewise.
12562 * elf/Makefile (neededtest4-ENV): Likewise.
12563 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12564 [$(cross-compiling) = no]: Don't set LANGUAGE.
12565 * io/ftwtest-sh (LANG): Remove variable.
12566 * libio/Makefile (tst-widetext-ENV): Likewise.
12567 * manual/install.texi (Running make install): Don't refer to
12568 environment settings for make install.
12569 * INSTALL: Regenerated.
12570 * nptl/tst-tls6.sh: Don't set LANG.
12571 * posix/globtest.sh (LANG): Remove variable.
12572 * string/Makefile (tester-ENV): Likewise.
12573 (inl-tester-ENV): Likewise.
12574 (noinl-tester-ENV): Likewise.
12575 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12576 [$(cross-compiling) = no]: Don't set LANGUAGE.
12577 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12578 without explicit environment settings.
12579
68e6b6b1
RM
125802014-06-06 Roland McGrath <roland@hack.frob.com>
12581
12582 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12583 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12584 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12585 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12586
4d3ae034
CM
125872014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12588
12589 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12590 other files in the crypt directory.
12591 * crypt/crypt.c: Remove duplicate includes.
12592 * crypt/crypt-entry.c: Likewise.
12593 * crypt/crypt_util.c: Likewise.
12594
8540f6d2
JM
125952014-06-06 Joseph Myers <joseph@codesourcery.com>
12596
12597 * Makeconfig (run-program-env): New variable.
12598 (run-program-prefix-before-env): Likewise.
12599 (run-program-prefix-after-env): Likewise.
12600 (run-program-prefix): Define in terms of new variables.
12601 (built-program-cmd-before-env): New variable.
12602 (built-program-cmd-after-env): Likewise.
12603 (built-program-cmd): Define in terms of new variables.
12604 (test-program-prefix-before-env): New variable.
12605 (test-program-prefix-after-env): Likewise.
12606 (test-program-prefix): Define in terms of new variables.
12607 (test-program-cmd-before-env): New variable.
12608 (test-program-cmd-after-env): Likewise.
12609 (test-program-cmd): Define in terms of new variables.
12610 * Rules (make-test-out): Use $(run-program-env).
12611 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12612 (help): Do not mention environment variables. Mention
12613 --timeoutfactor option.
12614 (timeoutfactor): New variable.
12615 (blacklist_exports): Remove function.
12616 (exports): Remove variable.
12617 (command): Do not include ${exports}.
12618 * manual/install.texi (Configuring and compiling): Do not mention
12619 test wrappers preserving environment variables. Mention that last
12620 assignment to a variable must take precedence.
12621 * INSTALL: Regenerated.
12622 * benchtests/Makefile (run-bench): Use $(run-program-env).
12623 * catgets/Makefile ($(objpfx)test1.cat): Use
12624 $(built-program-cmd-before-env), $(run-program-env) and
12625 $(built-program-cmd-after-env).
12626 ($(objpfx)test2.cat): Do not specify environment variables
12627 explicitly.
12628 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12629 $(run-program-env) and $(built-program-cmd-after-env).
12630 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12631 $(run-program-env) and $(test-program-cmd-after-env).
12632 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12633 explicitly.
12634 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12635 run_program_env and test_program_cmd_after_env arguments.
12636 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12637 * elf/tst-pathopt.sh: Use run_program_env argument.
12638 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12639 $(test-wrapper-env) and $(run-program-env).
12640 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12641 run_program_env arguments.
12642 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12643 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12644 $(test-program-prefix-before-env), $(run-program-env) and
12645 $(test-program-prefix-after-env).
12646 ($(objpfx)tst-gettext2.out): Likewise.
12647 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12648 run_program_env and test_program_prefix_after_env arguments.
12649 * intl/tst-gettext2.sh: Likewise.
12650 * intl/tst-gettext4.sh: Do not set environment variables
12651 explicitly.
12652 * intl/tst-gettext6.sh: Likewise.
12653 * intl/tst-translit.sh: Likewise.
12654 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12655 $(test-program-prefix-before-env), $(run-program-env) and
12656 $(test-program-prefix-after-env).
12657 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12658 run_program_env and test_program_prefix_after_env arguments.
12659 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12660 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12661 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12662 explicitly with each use of ${test_wrapper_env}.
12663 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12664 $(test-program-prefix-before-env), $(run-program-env) and
12665 $(test-program-prefix-after-env).
12666 * posix/tst-getconf.sh: Do not set environment variables
12667 explicitly.
12668 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12669 run_program_env and test_program_prefix_after_env arguments.
12670 * stdio-common/tst-printf.sh: Do not set environment variables
12671 explicitly.
12672 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12673 $(test-program-prefix-before-env), $(run-program-env) and
12674 $(test-program-prefix-after-env).
12675 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12676 run_program_env and test_program_prefix_after_env arguments.
12677 Split $test calls into $test_pre and $test.
12678 * timezone/Makefile (build-testdata): Use
12679 $(built-program-cmd-before-env), $(run-program-env) and
12680 $(built-program-cmd-after-env).
12681
ed36bfa1
AZ
126822014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12683
12684 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12685 strlen for non SHARED builds.
12686
fc75bf46
SP
126872014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12688
12689 * nptl/allocatestack.c (check_list): Inlined function...
12690 (__reclaim_stacks): ... here.
12691
d89b3d80
OB
126922014-06-05 Ondřej Bílka <neleai@seznam.cz>
12693
12694 [BZ #15698]
12695 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12696 memory overrun.
12697
2bf18041
JM
126982014-06-05 Joseph Myers <joseph@codesourcery.com>
12699
12700 * Rules (make-test-out): Include
12701 LOCPATH=$(common-objpfx)localedata in default environment.
12702 * debug/Makefile (tst-chk1-ENV): Remove variable.
12703 (tst-chk2-ENV): Likewise.
12704 (tst-chk3-ENV): Likewise.
12705 (tst-chk4-ENV): Likewise.
12706 (tst-chk5-ENV): Likewise.
12707 (tst-chk6-ENV): Likewise.
12708 (tst-lfschk1-ENV): Likewise.
12709 (tst-lfschk2-ENV): Likewise.
12710 (tst-lfschk3-ENV): Likewise.
12711 (tst-lfschk4-ENV): Likewise.
12712 (tst-lfschk5-ENV): Likewise.
12713 (tst-lfschk6-ENV): Likewise.
12714 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12715 (tst-iconv7-ENV): Likewise.
12716 * intl/Makefile (LOCPATH-ENV): Likewise.
12717 (tst-codeset-ENV): Likewise.
12718 (tst-gettext3-ENV): Likewise.
12719 (tst-gettext5-ENV): Likewise.
12720 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12721 (tst-fopenloc-ENV): Likewise.
12722 (tst-fgetws-ENV): Remove variable.
12723 (tst-ungetwc1-ENV): Likewise.
12724 (tst-ungetwc2-ENV): Likewise.
12725 (bug-ungetwc2-ENV): Likewise.
12726 (tst-swscanf-ENV): Likewise.
12727 (bug-ftell-ENV): Likewise.
12728 (tst-fgetwc-ENV): Likewise.
12729 (tst-fseek-ENV): Likewise.
12730 (tst-ftell-partial-wide-ENV): Likewise.
12731 (tst-ftell-active-handler-ENV): Likewise.
12732 (tst-ftell-append-ENV): Likewise.
12733 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12734 (tst-regexloc-ENV): Likewise.
12735 (bug-regex1-ENV): Likewise.
12736 (tst-regex-ENV): Likewise.
12737 (tst-regex2-ENV): Likewise.
12738 (bug-regex5-ENV): Likewise.
12739 (bug-regex6-ENV): Likewise.
12740 (bug-regex17-ENV): Likewise.
12741 (bug-regex18-ENV): Likewise.
12742 (bug-regex19-ENV): Likewise.
12743 (bug-regex20-ENV): Likewise.
12744 (bug-regex22-ENV): Likewise.
12745 (bug-regex23-ENV): Likewise.
12746 (bug-regex25-ENV): Likewise.
12747 (bug-regex26-ENV): Likewise.
12748 (bug-regex30-ENV): Likewise.
12749 (bug-regex32-ENV): Likewise.
12750 (bug-regex33-ENV): Likewise.
12751 (bug-regex34-ENV): Likewise.
12752 (bug-regex35-ENV): Likewise.
12753 (tst-rxspencer-ENV): Likewise.
12754 (tst-rxspencer-no-utf8-ENV): Likewise.
12755 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12756 (tst-sscanf-ENV): Likewise.
12757 (tst-swprintf-ENV): Likewise.
12758 (tst-swscanf-ENV): Likewise.
12759 (test-vfprintf-ENV): Likewise.
12760 (scanf13-ENV): Likewise.
12761 (bug14-ENV): Likewise.
12762 (tst-grouping-ENV): Likewise.
12763 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12764 (tst-strtod3-ENV): Likewise.
12765 (tst-strtod4-ENV): Likewise.
12766 (tst-strtod5-ENV): Likewise.
12767 (testmb2-ENV): Likewise./
12768 * string/Makefile (tst-strxfrm-ENV): Likewise.
12769 (tst-strxfrm2-ENV): Likewise.
12770 (bug-strcoll1-ENV): Likewise.
12771 (test-strcasecmp-ENV): Likewise.
12772 (test-strncasecmp-ENV): Likewise.
12773 * time/Makefile (tst-strptime-ENV): Likewise.
12774 (tst-ftime_l-ENV): Likewise.
12775 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12776 (tst-mbrtowc-ENV): Likewise.
12777 (tst-wcrtomb-ENV): Likewise.
12778 (tst-mbrtowc2-ENV): Likewise.
12779 (tst-c16c32-1-ENV): Likewise.
12780 (tst-mbsnrtowcs-ENV): Likewise.
12781
cd1fb604
OB
127822014-06-05 Ondřej Bílka <neleai@seznam.cz>
12783
12784 * manual/resource.texi (How to get information about the memory
12785 subsystem?): Fix typo.
12786 Reported by Peon de la Parra Ivan <peon@keba.com>
12787
b42eca7d
GY
127882014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12789
12790 [BZ #16882]
12791 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12792 (pthread_spin_lock): Branch out of spin loop to proper location.
12793 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12794 (pthread_spin_lock): Likewise.
12795
902b71f9
DM
12796 * nptl/tst-spin4.c: New test.
12797 * nptl/Makefile (tests): Add tst-spin4.
12798
f9d2d032
AS
127992014-06-03 Andreas Schwab <schwab@suse.de>
12800
12801 [BZ #15946]
12802 * resolv/res_send.c (send_dg): Reload file descriptor after
12803 calling reopen.
12804
cf7bfd28
SL
128052014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12806
12807 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12808
111cc714
RH
128092014-06-03 Richard Henderson <rth@redhat.com>
12810
89b4bd6b
RH
12811 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12812 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12813 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12814 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12815 in the SAVE_PID block.
12816 (__libc_vfork): New alias.
71840409 12817 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 12818
111cc714
RH
12819 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12820 child in registers, not on the stack. Remove RESET_PID conditionals.
12821 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12822
ccc39911
MS
128232014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12824
12825 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12826
693096cc
W
128272014-06-03 Wilco <wdijkstr@arm.com>
12828
12829 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12830 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12831 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12832 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12833 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12834 Likewise.
12835
0b4366bc
W
128362014-06-03 Wilco <wdijkstr@arm.com>
12837
12838 * sysdeps/aarch64/fpu/math_private.h
12839 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12840 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12841 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12842 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12843 Fix declarations.
12844
8747cd03
KS
128452014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12846
12847 * crypt/crypt-private.h: Include ufc-crypt.h.
12848 (__b64_from_24bit): Declare extern.
12849 * crypt/crypt_util.c(__b64_from_24bit): New function.
12850 (b64t): New static const variable.
12851 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12852 (b64t): Remove variable.
12853 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12854 * crypt/sha256-crypt.c: Include crypt-private.h.
12855 (b64t): Remove variable.
12856 (__sha256_crypt_r): Remove b64_from_24bit and replace
12857 with __b64_from_24bit.
12858 * crypt/sha512-crypt.c: Likewise.
12859
d936d379
RM
128602014-06-02 Roland McGrath <roland@hack.frob.com>
12861
12862 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12863 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12864 Label the code __libc_vfork rather than __vfork.
12865 [!NOT_IN_libc] (vfork): Define as weak alias.
12866 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12867 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12868 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12869
9fa76613
SP
128702014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12871
12872 * malloc/malloc.c (malloc_info): Fix format specifier for
12873 n_mmaps.
12874
a88dadbe
W
128752014-06-02 Wilco <wdijkstr@arm.com>
12876
12877 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12878 FPCR write.
12879
c95b3011
W
128802014-06-02 Wilco <wdijkstr@arm.com>
12881
12882 [BZ #17009]
12883 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12884 Rewrite to reduce FPCR/FPSR accesses.
12885
6b4d7a90
DM
128862014-06-01 David S. Miller <davem@davemloft.net>
12887
12888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12889
30f3d07c
DM
128902014-05-31 David S. Miller <davem@davemloft.net>
12891
12892 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12893 to occur in round to nearest mode when |x| >= 2.0
12894
74f31c18
RH
128952014-05-30 Richard Henderson <rth@twiddle.net>
12896
f0712b54
RH
12897 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12898 (PSEUDO_RET_NOERRNO): Remove.
12899 (ret): Don't redefine.
12900 (ret_NOERRNO): Define in terms of ret.
12901 (ret_ERRVAL): Likewise.
12902
74f31c18
RH
12903 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12904 use of PSEUDO_RET; perform the error check directly.
12905
30477995
MM
129062014-05-30 Marko Myllynen <myllynen@redhat.com>
12907
12908 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12909 with __int128_t.
12910
62a58816
SP
129112014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12912
12913 * malloc/malloc (malloc_info): Fix formatting.
12914
4d653a59
SP
129152014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12916 Roland McGrath <roland@hack.frob.com>
12917
12918 * malloc/malloc (malloc_info): Also print mmapped statistics.
12919
5190c17f
RM
129202014-05-30 Roland McGrath <roland@hack.frob.com>
12921
12922 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12923 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12924
987c0269
OB
129252014-05-30 Ondřej Bílka <neleai@seznam.cz>
12926
12927 * malloc/malloc.c (malloc_info): Inline mi_arena.
12928
af4e8ef9
RH
129292014-05-29 Richard Henderson <rth@twiddle.net>
12930
1670e207
RH
12931 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12932 Remove comma before expanding ASM_ARGS_##nr.
12933 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12934 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12935 of ASM_ARGS_##nr.
12936 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12937 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12938 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12939 (ASM_ARGS_1): Add leading comma.
12940
11a28aee
RH
12941 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12942 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12943 to __errno_location.
12944 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12945 Remove the expected plt for __errno_location.
12946
a17e5ffb 12947 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12948 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12949 call to __read_tp.
12950
b5be4597
RH
12951 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12952 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12953 it and break it down.
12954 (DOCARGS_0, DOCARGS_1): Do nothing.
12955 (DOCARGS_2): Update to store into the new stack frame.
12956 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12957 (UNDOCARGS_1): Update to restore from the new stack frame.
12958 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12959 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12960
645d44ab
RH
12961 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12962 (SINGLE_THREAD_P): New parameter for result regno.
12963 (PSEUDO): Update to match; use cbz instead of beq.
12964
a8b4f04a
RH
12965 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12966 Use ENTRY to define the _nocancel entry point. Share the syscall
12967 and syscall error check paths with the cancel path.
12968 (PSEUDO_END): New.
12969
af4e8ef9
RH
12970 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12971 whitespace; tabs before and after asm mnemonics.
12972
26b0d2e1
EW
129732014-05-29 Eric Wong <normalperson@yhbt.net>
12974
12975 [BZ #15132]
12976 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12977 Call fstat64 or stat64 internally, depending on arguments passed.
12978 Replace stat buffer argument with file descriptor argument.
12979 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12980 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12981 Pass fd to __internal_statvfs instead of calling fstat64.
12982 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12983 Pass fd to __internal_statvfs64 instead of calling fstat64.
12984 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12985 Pass -1 to __internal_statvfs instead of calling stat64.
12986 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12987 Pass -1 to __internal_statvfs64 instead of calling stat64.
12988
1efe2bd9
RM
129892014-05-28 Roland McGrath <roland@hack.frob.com>
12990
0d3b7a19
RM
12991 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12992 that was previously under [RESET_PID].
12993 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12994
1efe2bd9
RM
12995 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12996 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12997
a6bea3ca
RM
129982014-05-27 Roland McGrath <roland@hack.frob.com>
12999
30b6629e
RM
13000 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13001
a6bea3ca
RM
13002 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13003 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13004
3dfb9a5c
OB
130052014-05-27 Ondřej Bílka <neleai@seznam.cz>
13006
13007 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13008
774f9285
AS
130092014-05-27 Andreas Schwab <schwab@suse.de>
13010
13011 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13012 TLS_INIT_TP macro.
13013 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13014 * elf/rtld.c (init_tls, dl_main): Likewise.
13015 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13016 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13017 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13018 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13019 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13020 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13021 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13022 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13023 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13024 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13025 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13026 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13027 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13028 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13029 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13030 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13031 * sysdeps/generic/tls.h: Update description.
13032
36ffe739
WN
130332014-05-27 Will Newton <will.newton@linaro.org>
13034
13035 [BZ #16990]
13036 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13037 and restore r2 rather than just restoring.
13038
2482ae43
SP
130392014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13040
13041 [BZ #16724]
13042 * libio/tst-ftell-append.c: New test case.
13043 * libio/Makefile (tests): Add test case.
13044 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13045 append mode.
13046 * libio/wfileops.c (do_ftell_wide): Likewise.
13047
3d1024e8
AZ
130482014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13049
bab90016
AZ
13050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13051
c7a8d667
AZ
13052 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13053 ...
13054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13056 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13057 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13058 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13059 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13060 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13061 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13062 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13063 Moved ...
13064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13066 Moved ...
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13068 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13069 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13070 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13071 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13072 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13073 ...
13074 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13075 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13076 Moved ...
13077 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13078 here.
13079 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13080 ...
13081 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13082 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13083 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13084
daee7851
AZ
13085 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13086 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13087 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13088 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13089
50a40819
AZ
13090 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13091 merge into ...
13092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13093 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13094 ...
13095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13096 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13097 ...
13098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13099 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13100 Moved ...
13101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13102 here.
13103 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13104 Moved ...
13105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13106 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13107 Moved ...
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13109
8464c2a1
AZ
13110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13111 conditional [RESET_PID].
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13113 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13114 removed.
13115 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13116 removed.
13117
3d1024e8
AZ
13118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13119 <tcb-offsets.h>.
13120 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13121 (__libc_vfork): New strong alias.
13122 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13123 removed.
13124 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13125 Removed.
13126
13127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13128 <tcb-offsets.h>.
13129 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13130 (__libc_vfork): New strong alias.
13131 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13132 removed.
13133 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13134 removed.
13135
fdfd175d
CD
131362014-05-26 Carlos O'Donell <carlos@redhat.com>
13137
13138 * malloc/malloc.c (mi_arena): New function.
13139 (malloc_info): Remove nested function mi_arena. Call non-nosted
13140 function mi_arena.
13141
d298c416
AZ
131422014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13143
13144 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13145 by insrwi.
13146 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13147 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13148 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13149 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13150 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13151 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13152 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13153
b60ea6ff
AS
131542014-05-26 Andreas Schwab <schwab@suse.de>
13155
13156 [BZ #16984]
13157 * locale/programs/repertoire.c (repertoire_read): Add slash
13158 between I18NPATH element and file name.
13159 * locale/programs/locfile.c (locfile_read): Likewise.
13160
67365926
SL
131612014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13162
13163 * nptl/pthread_mutexattr_settype.c
13164 (__pthread_mutexattr_settype):
13165 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13166
f8bdf1f0
SL
131672014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13168
13169 * nptl/tst-mutex5 (do_test):
13170 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13171
15eaf6ff
SP
131722014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13173
13174 * benchtests/README: Document 'init' directive.
13175 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13176 BENCH_INIT.
13177 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13178 (parse_file): Recognize 'init' directive.
13179
75f11331
KM
131802014-05-26 Kyle McMartin <kyle@redhat.com>
13181
13182 [BZ #16796]
13183 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13184 alignment of struct pthread.
13185
c3ec475c
SP
131862014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13187
13188 [BZ #16878]
13189 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13190 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13191 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13192 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13193
82aab97c
RH
131942014-05-25 Richard Henderson <rth@twiddle.net>
13195
aa2f176d
RH
13196 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13197 (SINGLE_THREAD_P_PIC): Remove.
13198 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13199 (SINGLE_THREAD_P_PIC): Remove.
13200
ca3cfa40
RH
13201 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13202 branch to syscall error ...
13203 (PSEUDO): ... here.
13204 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13205 from __local_syscall_error to .Lsyscall_error.
13206 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13207 (SYSCALL_ERROR): Update label name.
13208
6e6c2d01
RH
13209 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13210 Do not use DOARGS/UNDOARGS.
13211 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13212 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13213 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13214 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13215 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13216
c69abcee
RH
13217 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13218 block comment.
13219
82aab97c
RH
13220 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13221 define if !NOT_IN_libc.
13222 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13223 define with non-default symbol versions.
13224
8820e3ac
RH
132252014-05-23 Richard Henderson <rth@twiddle.net>
13226
900e445f
RH
13227 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13228 (vfork, __vfork): Define via compat_symbol.
13229
8820e3ac
RH
13230 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13231 [!HAVE_IFUNC] (vfork_compat): Remove.
13232 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13233
e59252a5
JM
132342014-05-23 Joseph Myers <joseph@codesourcery.com>
13235
13236 [BZ #16978]
13237 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13238 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13239 variable.
13240
132c7f5f
RH
132412014-05-23 Richard Henderson <rth@twiddle.net>
13242
bc89e962
RH
13243 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13244 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13245 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13246 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13247
13248 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13249 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13250 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13251 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13252 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13253 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13254 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13255 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13256 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13257 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13258 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13259 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13260 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13261 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13262 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13263 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13264 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13265 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13266 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13267 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13268 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13269 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13270 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13271 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13272 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13273 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13274 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13275 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13276 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13277 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13278 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13279 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13280 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13281 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13282 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13283 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13284 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13285 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13286 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13287 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13288 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13289 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13290 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13291 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13292 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13293 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13294 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13295 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13296 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13297 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13298 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13299 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13300 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13301 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13302 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13303 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13304
e2fa4bc2
RH
13305 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13306 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13307 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13308 before exiting on error.
13309 (__libc_vfork): New strong alias.
13310 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13311 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13312
279b24e2
RH
13313 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13314 that was previously under [RESET_PID].
13315 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13316
132c7f5f
RH
13317 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13318
b72592e7
JM
133192014-05-23 Joseph Myers <joseph@codesourcery.com>
13320
13321 [BZ #16977]
13322 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13323 value when x - 1 is zero.
13324 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13325 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13326 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13327 0.0L for an argument of 1.0L.
13328 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13329 Likewise.
13330 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13331 value when x - 1 is zero.
13332 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13333 * sysdeps/i386/fpu/libm-test-ulps: Update.
13334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13335
2302d679
RV
133362014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13337
13338 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13339 alphasort and versionsort.
13340
32999d63
AZ
133412014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13342
13343 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13344 macro.
13345 [copysignf]: Likewise.
13346
019324d0
SP
133472014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13348
13349 * crypt/md5-crypt.c: Fix formatting.
13350
34fff5c2
KS
133512014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13352
13353 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13354 (b64_from_24bit): New function.
13355
3d2badac
AZ
133562014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13357
13358 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13359 libc_hidden_builtin_def to ifunc.
13360 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13361 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13362
f7bb179f 133632014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13364
13365 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13366 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13367
4134b50d
JM
133682014-05-21 Joseph Myers <joseph@codesourcery.com>
13369
bb7d0337
JM
13370 * nscd/Depend (linuxthreads): Remove.
13371 (nptl): Add.
13372 * resolv/Depend (linuxthreads): Remove.
13373 * rt/Depend (linuxthreads): Remove.
13374
4134b50d
JM
13375 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13376 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13377 $(common-objpfx)elf/.
13378 (link-libc-before-gnulib): Likewise.
13379 (elfobjdir): Remove variable.
13380 * Makefile (install): Use $(elf-objpfx) instead of
13381 $(common-objpfx)elf/.
13382 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13383 $(elfobjdir)/.
13384 (link-libc-deps): Likewise.
13385 ($(common-objpfx)libc.so): Likewise.
13386 ($(common-objpfx)linkobj/libc.so): Likewise.
13387 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13388 instead of $(common-objpfx)elf/.
13389 (symbolic-link-list): Likewise.
13390 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13391 [$(cross-compiling) = no]: Likewise.
13392 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13393 $(elfobjdir)/.
13394 (static-gnulib-arch): Likewise.
13395 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13396 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13397 $(common-objpfx)elf/.
13398
3612eb8f
RH
133992014-05-21 Richard Henderson <rth@redhat.com>
13400
a6b3657b
RH
13401 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13402 (SINGLE_THREAD_P): Use the correct width load. Fold
13403 into the ldr offset.
13404
3612eb8f
RH
13405 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13406 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13407
175cef41
JM
134082014-05-20 Joseph Myers <joseph@codesourcery.com>
13409
13410 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13411 (libgcc_s_resume): Use __attribute_used__.
13412 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13413 Likewise.
13414
e13bccd3
AZ
134152014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13416
13417 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13418 optimization when used with float constants.
13419
7c112a38
AZ
13420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13421
ae75a883
AJ
134222014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13423
13424 [BZ #16915]
13425 * locale/nl_langinfo_l.c: Make direct reference to every
13426 _nl_current_CATEGORY symbol.
13427 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13428 (tests-static): Add tst-langinfo-static.
13429 (tests-special): Add tst-langinfo-static.out.
13430 ($(objpfx)tst-langinfo.out): Redirect output.
13431 ($(objpfx)tst-langinfo-static.out): New.
13432 * localedata/tst-langinfo.sh: Send output to stdout.
13433 * localedata/tst-langinfo-static.c: New file.
13434
4406c41c
AJ
13435 [BZ #16965]
13436 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13437 when the shift amount is modulo the limb size.
13438
4c0a1e63
RH
134392014-05-20 Richard Henderson <rth@redhat.com>
13440
de9d8f20
RH
13441 [BZ #16967]
13442 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13443 Change type of sa_flags from unsigned int to int.
13444
4c0a1e63
RH
13445 [BZ #16966]
13446 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13447
13448 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13449
a60339aa
WN
134502014-05-20 Will Newton <will.newton@linaro.org>
13451
13452 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13453 Test the return value of the system call in the nocancel case.
13454
7d05a816
YR
134552014-05-20 Will Newton <will.newton@linaro.org>
13456 Yvan Roux <yvan.roux@linaro.org>
13457
13458 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13459 #include of asm/ptrace.h.
13460 (PTRACE_GET_THREAD_AREA): Remove #undef.
13461 (PTRACE_GETHBPREGS): Likewise.
13462 (PTRACE_SETHBPREGS): Likewise.
13463 (struct user_regs_struct): New structure.
13464 (struct user_fpsimd_struct): New structure.
13465 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13466 #include of asm/ptrace.h and second #include of sys/user.h.
13467 (PTRACE_GET_THREAD_AREA): Remove #undef.
13468 (PTRACE_GETHBPREGS): Likewise.
13469 (PTRACE_SETHBPREGS): Likewise.
13470 (ELF_NGREG): Use new struct user_regs_struct.
13471 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13472
af121e37
AZ
134732014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13474
13475 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13476 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13477
834caf06
JM
134782014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13479
13480 [BZ #16958]
13481 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13482 membar to avoid block loads/stores to overlap previous stores.
13483
e184a918
RH
134842014-05-17 Richard Henderson <rth@redhat.com>
13485
13486 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13487 Create the __##syscall_name##_nocancel entry point.
13488 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13489 Remove; let the sysdep-cancel.h code create it.
13490
f56c7a6a
DM
134912014-05-17 David S. Miller <davem@davemloft.net>
13492
13493 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13494 Protect with __USE_GNU.
13495 (TIOCSET_TEMPT): Likewise.
13496 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13497 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13498 these are already provided in bits/ioctl-types.h
13499
f75616b2
RM
135002014-05-16 Roland McGrath <roland@hack.frob.com>
13501
3edeca86
RM
13502 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13503 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13504
f75616b2
RM
13505 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13506 Use wait4 regardless of [__NR_waitpid].
13507
deb0f7f6
MR
135082014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13509
13510 PR libgcc/60166
13511 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13512 (_FP_NANSIGN_Q): Set the quiet bit.
13513
79520f4b
JM
135142014-05-16 Joseph Myers <joseph@codesourcery.com>
13515
13516 * benchtests/Makefile
13517 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13518 not $(common-objpfx)math/libm.so.
13519 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13520 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13521 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13522 $(common-objpfx)dlfcn/libdl.so.
13523 ($(objpfx)tst-audit8): Depend on $(libm), not
13524 $(common-objpfx)math/libm.so.
13525 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13526 not $(common-objpfx)dlfcn/libdl.so.
13527 * math/Makefile
13528 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13529 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13530 [$(build-shared) = yes].
13531 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13532 $(common-objpfx)nptl/libpthread.so.
13533 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13534 $(common-objpfx)math/libm.so$(libm.so-version) or
13535 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13536 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13537 $(common-objpfx)dlfcn/libdl.so.
13538 * setjmp/Makefile (link-libm): Remove variable.
13539 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13540 * stdio-common/Makefile (link-libm): Remove variable.
13541 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13542 * stdlib/Makefile (link-libm): Remove variable.
13543 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13544 ($(objpfx)tst-strtod-round): Likewise.
13545 ($(objpfx)tst-tininess): Likewise.
13546 ($(objpfx)tst-strtod-underflow): Likewise.
13547 ($(objpfx)tst-strtod6): Likewise.
13548 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13549 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13550 $(common-objpfx)dlfcn/libdl.so.
13551
026b0fe4
AZ
135522014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13553
13554 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13555 BSD terminal modes definitions.
13556
def4bcb2
RM
135572014-05-16 Roland McGrath <roland@hack.frob.com>
13558
fe39b021
RM
13559 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13560 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13561
1d1fc46e 13562 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
13563 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13564 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13565 Don't do #include_next.
13566 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13567 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13568 Don't do #include_next.
13569 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13570 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13571 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13572 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13573
c72399fb
AM
135742014-05-16 Allan McRae <allan@archlinux.org>
13575
d51d659d
AM
13576 * po/sv.po: Update Swedish translation from translation project.
13577
c72399fb
AM
13578 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13579 in sed expression.
13580
d0583c40
AJ
135812014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13582
13583 [BZ #16917]
13584 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13585 errno if the TIOCGPTN ioctl fails with an error different than
13586 EINVAL.
13587 * login/tst-ptsname.c: New file.
13588 * login/Makefile (tests): Add tst-ptsname.
13589
d16e6ec7
AJ
13590 [BZ #16943]
13591 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13592 and prlimit64.
13593
cf26a0cb
SP
135942014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13595
13596 [BZ #16849]
13597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13598 herrno to return EAI_AGAIN.
13599
5675da1e
RM
136002014-05-14 Roland McGrath <roland@hack.frob.com>
13601
a5d87b3d
RM
13602 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13603 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13604 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13605 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13606 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13607 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13608 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13609 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13610 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13611 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13612 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13613 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13614 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13615 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13616 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13617 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13618 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13619 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13620 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13621 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13622 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13623 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13624 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13625 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13626 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13627 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13628 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13629 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13630 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13631 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13633 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13635 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13637 Moved ...
13638 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13640 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13642 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13644 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13646 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13648 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13650 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13652 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13654 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13656 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13658 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13660 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13662 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13664 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13666 Moved ...
13667 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13669 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13671 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13673 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13675 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13677 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13679 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13681 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13683 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13685 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13687 Moved ...
13688 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13690 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13691
039890a6
RM
13692 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13693 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13694 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13695 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13696 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13697 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13698 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13699 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13700 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13701 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13702 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13703 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13704 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13705 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13706 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13707 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13708 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13709 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13710 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13711 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13712 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13713 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13714 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13715 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13716 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13717 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13718 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13719 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13720 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13721 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13722 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13723
65c89320
RM
13724 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13725 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13726
348f8e8c
RM
13727 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13728 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13729 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13730 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13731 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13732 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13733 Moved ...
13734 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13735 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13736 Moved ...
13737 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13738 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13739 Moved ...
13740 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13741 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13742 Moved ...
13743 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13744 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13745 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13746 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13747 Moved ...
13748 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13749 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13750 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13751 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13752 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13753 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13754 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13755 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13756 Moved ...
13757 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13758 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13759 Moved ...
13760 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13761 ... here.
13762 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13763 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13764 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13765 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13766 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13767 Moved ...
13768 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13769 ... here.
13770 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13771 Moved ...
13772 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13773 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13774 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13775 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13776 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13777 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13778 Moved ...
13779 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13780 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13781 Moved ...
13782 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13783 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13784 Moved ...
13785 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13786 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13787 Moved ...
13788 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13789 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13790 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13791 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13792 Moved ...
13793 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13794 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13795 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13796 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13797 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13798 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13799 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13800 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13801 Moved ...
13802 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13803 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13804 Moved ...
13805 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13806 ... here.
13807 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13808 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13809 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13810 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13811 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13812 Moved ...
13813 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13814 ... here.
13815 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13816 Moved ...
13817 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13818 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13819 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13820 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13821 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13822 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13823 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13824 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13825 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13826 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13827 Moved ...
13828 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13829 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13830 Moved ...
13831 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13832 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13833 Moved ...
13834 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13835 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13836 Moved ...
13837 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13838 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13839 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13840 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13841 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13842 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13843 Moved ...
13844 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13845 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13846 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13847 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13848 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13849 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13850 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13851 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13852 Moved ...
13853 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13854 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13855 Moved ...
13856 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13857 ... here.
13858 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13859 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13860 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13861 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13862 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13863 Moved ...
13864 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13865 ... here.
13866 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13867 Moved ...
13868 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13869 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13870 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13871 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13872 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13873 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13874 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13875 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13876 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13877 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13878 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13879
5085af05
RM
13880 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13881 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13882
708f0813
RM
13883 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13884 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13885
c96067bc
RM
13886 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13887 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13888 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13889 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13890 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13891 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13892 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13893 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13894 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13895 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13896 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13897 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13898 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13899 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13900 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13901 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13902 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13903 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13904 Moved ...
13905 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13906 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13907 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13908 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13909 Moved ...
13910 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13911 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13912 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13913 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13914 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13915 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13916 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13917 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13918 Moved ...
13919 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13920 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13921 Moved ...
13922 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13923 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13924 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13925 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13926 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13927 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13928 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13929 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13930 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13931 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13932 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13933 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13934 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13935 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13936 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13937 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13938 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13939
ec136444
RM
13940 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13941 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13942 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13943 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13944 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13945
2fbdf533
RM
13946 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13947 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13948 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13949 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13950 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13951 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13952 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13953 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13954 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13955 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13956
4c68138b
RM
13957 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13958 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13959
4eaae765
RM
13960 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13961 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13962 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13963 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13964 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13965 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13966 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13967 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13968 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13969 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13970 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13971 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13972 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13973 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13974 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13975 Update #include.
13976 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13977 Likewise.
13978 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13979 Likewise.
13980 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13981 Likewise.
13982 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13983 Likewise.
13984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13985 Likewise.
13986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13987 Likewise.
13988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13989 Likewise.
13990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13991 Likewise.
13992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13993 Likewise.
4ef6befa
RM
13994 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13995 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13996 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13997 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13998 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
13999 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14000 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14001 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14002 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14003 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14004 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14005 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14006 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14007 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14008 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 14009
941d7dfd
RM
14010 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14011 that was previously under [RESET_PID].
14012 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14013 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14014 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14015
1b731c35
RM
14016 * sysdeps/i386/nptl/Implies: New file.
14017 * sysdeps/x86_64/nptl/Implies: New file.
14018 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14019 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14020 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14021 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14022
e2787137
RM
14023 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14024 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14025 (__libc_vfork): New strong alias.
14026 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14027 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14028
14029 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14030 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14031 (__libc_vfork): New strong alias.
14032 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14033 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14034
5675da1e
RM
14035 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14036 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14037 (__libc_vfork): New strong alias.
14038 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14039 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14040 * nptl/pt-vfork.c: New file.
14041 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14042 (libpthread: GLIBC_2.20): New version set (empty).
14043
4f02e2b8
WN
140442014-05-14 Will Newton <will.newton@linaro.org>
14045
14046 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14047 rather than #if.
14048
0bf061d3
JM
140492014-05-14 Joseph Myers <joseph@codesourcery.com>
14050
1a84c3d6
JM
14051 [BZ #16564]
14052 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14053 arguments with exponent 65 or above.
14054 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14055 arguments 0x1p113L or above.
14056 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14057 to arguments 0x1p107L or above.
14058 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14059 positive arguments with exponent 65 or above.
14060 * math/auto-libm-test-in: Add more tests of log1p.
14061 * math/auto-libm-test-out: Regenerated.
14062
01dbacd2
JM
14063 [BZ #16928]
14064 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14065 non-finite arguments is +0.
14066 * math/s_cacosf.c (__cacosf): Likewise.
14067 * math/s_cacosl.c (__cacosl): Likewise.
14068 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14069 * sysdeps/i386/fpu/libm-test-ulps: Update.
14070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14071
913d03c8
JM
14072 [BZ #16927]
14073 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14074 value.
14075 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14076 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14077 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14078 for explicit high bit of mantissa when testing for argument equal
14079 to 1.
14080 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14081 * sysdeps/i386/fpu/libm-test-ulps: Update.
14082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14083
0bf061d3
JM
14084 [BZ #16516]
14085 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14086 (__erf): Scale by 16 instead of 8 in potentially underflowing
14087 case. Ensure exception if result actually underflows.
14088 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14089 (__erff): Scale by 16 instead of 8 in potentially underflowing
14090 case. Ensure exception if result actually underflows.
14091 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14092 (efx8): Remove variable.
14093 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14094 case. Ensure exception if result actually underflows.
14095 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14096 (efx8): Remove variable.
14097 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14098 case. Ensure exception if result actually underflows.
14099 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14100 (efx8): Remove variable.
14101 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14102 case. Ensure exception if result actually underflows.
14103 * math/auto-libm-test-in: Add more tests of erf.
14104 * math/auto-libm-test-out: Regenerated.
14105
73ba67cb
AS
141062014-05-14 Andreas Schwab <schwab@suse.de>
14107
3d8c8bff
AS
14108 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14109 Remove code conditionalized on USE___THREAD.
14110
73ba67cb
AS
14111 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14112 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14113 not definedness.
14114
5c521ecd
JM
141152014-05-14 Joseph Myers <joseph@codesourcery.com>
14116
5e7698c6
JM
14117 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14118 Define unconditionally.
14119 (__ASSUME_O_CLOEXEC): Likewise.
14120 (__ASSUME_SOCK_CLOEXEC): Likewise.
14121 (__ASSUME_IN_NONBLOCK): Likewise.
14122 (__ASSUME_PIPE2): Likewise.
14123 (__ASSUME_EVENTFD2): Likewise.
14124 (__ASSUME_SIGNALFD4): Likewise.
14125 (__ASSUME_DUP3): Likewise.
14126 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14127 (__ASSUME_DUP3): Do not define.
14128 (__ASSUME_EVENTFD2): Likewise.
14129 (__ASSUME_IN_NONBLOCK): Likewise.
14130 (__ASSUME_O_CLOEXEC): Likewise.
14131 (__ASSUME_PIPE2): Likewise.
14132 (__ASSUME_SIGNALFD4): Likewise.
14133 (__ASSUME_SOCK_CLOEXEC): Likewise.
14134 (__ASSUME_UTIMES): Undefine.
14135 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14136 (__ASSUME_UTIMES): Do not define.
14137 (__ASSUME_O_CLOEXEC): Likewise.
14138 (__ASSUME_SOCK_CLOEXEC): Likewise.
14139 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14140 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14141 0x020621].
14142 (__ASSUME_PIPE2): Likewise.
14143 (__ASSUME_EVENTFD2): Likewise.
14144 (__ASSUME_SIGNALFD4): Likewise.
14145 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14146 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14147 Do not define.
14148 (__ASSUME_EVENTFD2): Likewise.
14149 (__ASSUME_SIGNALFD4): Likewise.
14150 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14151 (__ASSUME_32BITUIDS): Likewise.
14152 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14153 (__ASSUME_IPC64): Likewise.
14154 (__ASSUME_ST_INO_64_BIT): Likewise.
14155 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14156 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14157 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14158 (__ASSUME_UTIMES): Do not define.
14159 (__ASSUME_PSELECT): Likewise.
14160 (__ASSUME_PPOLL): Likewise.
14161 (__ASSUME_O_CLOEXEC): Likewise.
14162 (__ASSUME_SOCK_CLOEXEC): Likewise.
14163 (__ASSUME_IN_NONBLOCK): Likewise.
14164 (__ASSUME_PIPE2): Likewise.
14165 (__ASSUME_EVENTFD2): Likewise.
14166 (__ASSUME_SIGNALFD4): Likewise.
14167 (__ASSUME_DUP3): Likewise.
14168 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14169 (__ASSUME_UTIMES): Likewise.
14170 (__ASSUME_O_CLOEXEC): Likewise.
14171 (__ASSUME_SOCK_CLOEXEC): Likewise.
14172 (__ASSUME_IN_NONBLOCK): Likewise.
14173 (__ASSUME_PIPE2): Likewise.
14174 (__ASSUME_EVENTFD2): Likewise.
14175 (__ASSUME_SIGNALFD4): Likewise.
14176 (__ASSUME_DUP3): Likewise.
14177 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14178 (__ASSUME_UTIMES): Likewise.
14179 (__ASSUME_O_CLOEXEC): Likewise.
14180 (__ASSUME_SOCK_CLOEXEC): Likewise.
14181 (__ASSUME_IN_NONBLOCK): Likewise.
14182 (__ASSUME_PIPE2): Likewise.
14183 (__ASSUME_EVENTFD2): Likewise.
14184 (__ASSUME_SIGNALFD4): Likewise.
14185 (__ASSUME_DUP3): Likewise.
14186 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14187 Likewise.
14188 (__ASSUME_UTIMES): Likewise.
14189 (__ASSUME_EVENTFD2): Likewise.
14190 (__ASSUME_SIGNALFD4): Likewise.
14191 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14192 (__ASSUME_O_CLOEXEC): Likewise.
14193 (__ASSUME_SOCK_CLOEXEC): Likewise.
14194 (__ASSUME_IN_NONBLOCK): Likewise.
14195 (__ASSUME_PIPE2): Likewise.
14196 (__ASSUME_EVENTFD2): Likewise.
14197 (__ASSUME_SIGNALFD4): Likewise.
14198 (__ASSUME_DUP3): Likewise.
14199 (__ASSUME_UTIMES): Undefine.
14200
5c521ecd
JM
14201 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14202 feclearexcept. Remove symbol versioning code.
14203 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14204 symbol versioning code.
14205 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14206 symbol versioning code.
14207 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14208 feupdateenv. Remove symbol versioning code.
14209 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14210 fegetexceptflag. Remove symbol versioning code.
14211 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14212 fesetexceptflag. Remove symbol versioning code.
14213 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14214 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14215 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14216 (__posix_fadvise64_l32): Remove prototype.
14217 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14218 code.
14219
5da9dfad
RM
142202014-05-13 Roland McGrath <roland@hack.frob.com>
14221
14222 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14223 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14224 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14225 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14226
893b4f37
SK
142272014-05-13 Sami Kerola <kerolasa@iki.fi>
14228
14229 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14230 current working directory
14231
e0db6517
RM
142322014-05-13 Roland McGrath <roland@hack.frob.com>
14233
58aa195d
RM
14234 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14235 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14236 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14237 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14238 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14239 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14240 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14241 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14242 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14243 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14244 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14245 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14246 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14247 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14248 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14249 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14250 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14251 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14252 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14253 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14254 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14255 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14256 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14257 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14258 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14259 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14260 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14261 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14262 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14263 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14264 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14265 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14266 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14267 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14268 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14269 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14270 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14271 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14272 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14273 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14274 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14275 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14276
8c6d01f0
RM
14277 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14278 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14279
14280 * sysdeps/unix/sysv/linux/arm/Makefile
14281 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14282 Add rt-aeabi_unwind_cpp_pr1.
14283 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14284 Add nptl-aeabi_unwind_cpp_pr1.
14285 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14286 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14287 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14288 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14289 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14290 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14291
14292 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14293 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14294 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14295 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14296
bba6da4e
RM
14297 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14298 Deconditionalize the code that was previously under [RESET_PID].
14299 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14300
e0db6517
RM
14301 * sysdeps/generic/exit-thread.h: New file.
14302 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14303 * include/unistd.h (__exit_thread): Remove declaration.
14304 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14305 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14306 * csu/libc-start.c: Include <exit-thread.h>.
14307 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14308 * nptl/pthread_create.c: Include <exit-thread.h>.
14309 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14310 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14311 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14312 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14313 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14314 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14315 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14316 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14317 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14318 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14319 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14320 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14321 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14322 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14323 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14324 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14325 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14326
01eb16fd
AS
143272014-05-13 Andreas Schwab <schwab@suse.de>
14328
14329 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14330
637461d9
JM
143312014-05-12 Joseph Myers <joseph@codesourcery.com>
14332
14333 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14334 (__ASSUME_UTIMES): Do not condition on kernel version.
14335 (__ASSUME_PSELECT): Define unconditionally.
14336 (__ASSUME_PPOLL): Likewise.
14337 (__ASSUME_ATFCTS): Likewise.
14338 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14339 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14340 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14341 (__ASSUME_UTIMENSAT): Define unconditionally.
14342 (__ASSUME_PRIVATE_FUTEX): Likewise.
14343 (__ASSUME_FALLOCATE): Likewise.
14344 (__ASSUME_O_CLOEXEC): Likewise.
14345 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14346 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14347 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14348 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14349 (__ASSUME_IN_NONBLOCK): Likewise.
14350 (__ASSUME_PIPE2): Likewise.
14351 (__ASSUME_EVENTFD2): Likewise.
14352 (__ASSUME_SIGNALFD4): Likewise.
14353 (__ASSUME_DUP3): Likewise.
14354 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14355 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14356 (__ASSUME_AT_RANDOM): Likewise.
14357 (__ASSUME_PREADV): Likewise.
14358 (__ASSUME_PWRITEV): Likewise.
14359 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14360 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14361 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14362 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14363 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14364 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14365 (__ASSUME_O_CLOEXEC): Define unconditionally.
14366 (__ASSUME_PSELECT): Do not undefine conditionally.
14367 (__ASSUME_PPOLL): Likewise.
14368 (__ASSUME_ATFCTS): Likewise.
14369 (__ASSUME_SET_ROBUST_LIST): Likewise.
14370 (__ASSUME_UTIMENSAT): Likewise.
14371 (__ASSUME_FDATASYNC): Define unconditionally.
14372 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14373 (__ASSUME_SIGFRAME_V2): Likewise.
14374 )__ASSUME_EVENTFD2): Likewise.
14375 (__ASSUME_SIGNALFD4): Likewise.
14376 (__ASSUME_PSELECT): Do not undefine conditionally.
14377 (__ASSUME_PPOLL): Likewise.
14378 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14379 (__ASSUME_PSELECT): Define unconditionally.
14380 (__ASSUME_PPOLL): Likewise.
14381 (__ASSUME_O_CLOEXEC): Likewise.
14382 (__ASSUME_SOCK_CLOEXEC): Likewise.
14383 (__ASSUME_IN_NONBLOCK): Likewise.
14384 (__ASSUME_PIPE2): Likewise.
14385 (__ASSUME_EVENTFD2): Likewise.
14386 (__ASSUME_SIGNALFD4): Likewise.
14387 (__ASSUME_DUP3): Likewise.
14388 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14389 (__ASSUME_O_CLOEXEC): Likewise.
14390 (__ASSUME_SOCK_CLOEXEC): Likewise.
14391 (__ASSUME_IN_NONBLOCK): Likewise.
14392 (__ASSUME_PIPE2): Likewise.
14393 (__ASSUME_EVENTFD2): Likewise.
14394 (__ASSUME_SIGNALFD4): Likewise.
14395 (__ASSUME_DUP3): Likewise.
14396 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14397 (__ASSUME_EVENTFD2): Likewise.
14398 (__ASSUME_SIGNALFD4): Likewise.
14399 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14400
315eb1d8
AS
144012014-05-12 Andreas Schwab <schwab@suse.de>
14402
14403 [BZ #16932]
14404 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14405 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14406 than maximum RPC packet size.
14407 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14408 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14409 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14410 (_nss_nis_getservbyport_r): Likewise.
14411
91df99f7
WN
144122014-05-12 Will Newton <will.newton@linaro.org>
14413
14414 * malloc/Makefile (tests): Add tst-mallopt.
14415 * malloc/tst-mallopt.c: New file.
14416
0a982a29
RM
144172014-05-09 Roland McGrath <roland@hack.frob.com>
14418
14419 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14420 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14421
0ded08a5
AZ
144222014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14423
14424 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14425 (tst-tlsmod6.so): Likewise.
14426
55d4d550
RM
144272014-05-09 Roland McGrath <roland@hack.frob.com>
14428
14429 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14430
77d08aca
JM
144312014-05-09 Joseph Myers <joseph@codesourcery.com>
14432
14433 [BZ #16064]
14434 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14435 and <dl-procinfo.h>.
14436 (__fegetenv): Save SSE state in envp->__eip if supported.
14437 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14438 envp->__eip if supported.
14439 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14440 and <dl-procinfo.h>.
14441 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14442 __data_offset and __data_selector in environment to 0. Set SSE
14443 state if supported.
14444 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14445 test-fenv-sse.
14446 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14447 -mfpmath=sse.
14448 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14449
28162f4d
WN
144502014-05-09 Will Newton <will.newton@linaro.org>
14451
14452 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14453 and libc_relro_required for ARM.
14454 * sysdeps/arm/preconfigure: Regenerate.
14455
5a414ff7
DV
144562014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14457 Stefan Liebler <stli@linux.vnet.ibm.com>
14458
14459 * config.make.in (enable-lock-elision): New Makefile variable.
14460 * configure.ac: Likewise.
14461 * configure: Regenerate.
14462 * sysdeps/s390/configure.ac:
14463 Add check for gcc transactions support.
14464 * sysdeps/s390/configure: Regenerate.
14465 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14466 Build elision files if enabled.
14467 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14468 Add lock elision support for s390.
14469 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14470 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14471 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14472 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14473 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14474 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14475 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14476 Likewise.
14477 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14478 Likewise.
14479 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14480 Likewise.
14481 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14482 Likewise.
14483 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14484 (__lll_timedlock_elision, __lll_lock_elision)
14485 (__lll_unlock_elision, __lll_trylock_elision)
14486 (lll_timedlock_elision, lll_lock_elision)
14487 (lll_unlock_elision, lll_trylock_elision): Add.
14488 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14489 (pthread_mutex_t): Add lock elision support for s390.
14490
1a2f40e5
W
144912014-05-14 Wilco <wdijkstr@arm.com>
14492
14493 * sysdeps/arm/fclrexcpt.c: Cleanup.
14494 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14495 * sysdeps/arm/feenablxcpt.c: Cleanup.
14496 * sysdeps/arm/fegetenv.c: Cleanup.
14497 * sysdeps/arm/fegetexcept.c: Cleanup.
14498 * sysdeps/arm/fegetround.c: Cleanup.
14499 * sysdeps/arm/feholdexcpt.c: Cleanup.
14500 * sysdeps/arm/fesetenv.c: Cleanup.
14501 * sysdeps/arm/fesetround.c: Cleanup.
14502 * sysdeps/arm/feupdateenv.c: Cleanup.
14503 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14504 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14505 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14506 * sysdeps/arm/ftestexcept.c: Cleanup.
14507 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14508 * sysdeps/arm/setfpucw.c: Cleanup.
14509
f63c86fe
WN
145102014-05-09 Will Newton <will.newton@linaro.org>
14511
14512 * sysdeps/arm/armv7/strcmp.S: New file.
14513 * NEWS: Mention addition of ARMv7 optimized strcmp.
14514
7a1a51b5
RM
145152014-05-08 Roland McGrath <roland@hack.frob.com>
14516
95afbbe5
RM
14517 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14518 look for %.ac rather than %.in.
14519
14520 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14521 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14522 * sysdeps/mach/hurd/configure: Regenerated.
14523 * sysdeps/unix/sysv/linux/configure: Regenerated.
14524
7a1a51b5
RM
14525 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14526
5057ad3b
SE
145272014-05-07 Steve Ellcey <sellcey@mips.com>
14528
14529 [BZ# 16922]
14530 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14531 (LONG_SUB): Ditto.
14532 (PTR_SUB): Ditto.
14533
8dc97517
AS
145342014-05-07 Andreas Schwab <schwab@suse.de>
14535
14536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14537 when skipping over non-matching result from nscd.
14538
ce0c5b8f
OB
145392014-05-07 Ondřej Bílka <neleai@seznam.cz>
14540
14541 [BZ #16876]
14542 * nptl/sockperf.c (client): Check socket return value.
8dc97517 14543
a1189263
OB
14544 [BZ #16877]
14545 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14546 nscd security class.
ce0c5b8f 14547
0f58d252
RM
145482014-05-06 Roland McGrath <roland@hack.frob.com>
14549
14550 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14551 * sysdeps/arm/unwind.h: ... here.
14552
83df9ad0
AJ
145532014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14554
ce0c5b8f
OB
14555 [BZ# 16916]
14556 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14557 Define.
83df9ad0 14558
f360f94a
VR
145592014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14560
14561 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14562 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14563 multiarch strncpy for PPC64.
14564 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14565 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14567 multiarch optimizations.
14568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14569 (__libc_ifunc_impl_list): Likewise.
14570 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14571 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14572 multiarch stpncpy for PPC64.
14573 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14574 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14575
978a41c3
AS
145762014-05-06 Andreas Schwab <schwab@suse.de>
14577
14578 [BZ #16912]
14579 * gmon/mcount.c (_MCOUNT_DECL): Use
14580 atomic_compare_and_exchange_bool_acq instead of
14581 catomic_compare_and_exchange_bool_acq.
14582
eb1ed03d
RM
145832014-05-05 Roland McGrath <roland@hack.frob.com>
14584
fe658845
RM
14585 * elf/Makefile (others, install-bin): Remove pldd.
14586 (pldd-modules): Variable removed.
14587 ($(objpfx)pldd): Target removed.
14588 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14589 (others, install-bin): Append pldd here.
14590 ($(objpfx)pldd): New target.
14591
eb1ed03d
RM
14592 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14593 to 0, so the first #if test emitted later doesn't see it undefined.
14594 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14595 * sysdeps/gnu/errlist.c: Regenerated.
14596
19c4bec0
AZ
145972014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14598
14599 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14600 [libc_hidden_builtin_def]: Define to empty value.
14601 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14602 [libc_hidden_builtin_def]: Likewise.
14603 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14604 [libc_hidden_builtin_def]: Likewise.
14605 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14606 [libc_hidden_builtin_def]: Likewise.
14607 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14608 __redirect_memcpy and define ifunc as default hidden symbol.
14609 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14610 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14611
7776e669
AC
146122014-05-04 Adam Conrad <adconrad@0c3.net>
14613
14614 * locale/iso-4217.def: Reintroduce XDR currency.
14615
d69aeb12
AM
146162014-05-04 Allan McRae <allan@archlinux.org>
14617
14618 * po/eo.po: Update Esperanto translation from translation project.
14619
8f1df5cf
CD
146202014-05-02 Carlos O'Donell <carlos@redhat.com>
14621
14622 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14623 and FEATURE_INDEX_MAX to 1.
14624 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14625
13e402e7
SE
146262014-05-01 Steve Ellcey <sellcey@mips.com>
14627
14628 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14629 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14630 * iconvdata/big5.c (ONE_DIRECTION): Define.
14631 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14632 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14633 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14634 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14635 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14636 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14637 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14638 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14639 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14640 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14641 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14642 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14643 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14644 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14645 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14646 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14647 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14648 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14649 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14650 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14651 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14652 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14653 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14654 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14655 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14656 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14657 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14658 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14659 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14660 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14661 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14662 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14663 * iconvdata/johab.c (ONE_DIRECTION): Define.
14664 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14665 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14666 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14667 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14668 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14669 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14670 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14671 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14672 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14673 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14674
c727f032
RM
146752014-05-01 Roland McGrath <roland@hack.frob.com>
14676
8f2f08d0
RM
14677 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14678 (_IO_JUMPS_OFFSET): Define to 0.
14679
c727f032
RM
14680 * nptl/sysdeps/pthread/bits/libc-lock.h
14681 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14682 (__libc_lock_define_initialized_recursive): Always define using
14683 initializer. Modern compilers treat uninitialized (implicit zero) and
14684 explicit zero initializers the same (i.e. put the datum in bss).
14685
a849e800
AS
146862014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14687
14688 * nscd/nscd-client.h: Include <string.h>.
14689
5331255b
DM
146902014-05-01 David S. Miller <davem@davemloft.net>
14691
14692 [BZ #16885]
14693 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14694 multiple zero bytes exist at the end of a string.
14695 Reported by Aurelien Jarno <aurelien@aurel32.net>
14696
14697 * string/test-strcmp.c (check): Add explicit test for situations where
14698 there are multiple zero bytes after the first.
14699
4fdfe821
AS
147002014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14701
14702 [BZ #16890]
14703 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14704 when compiling wprintf.
14705 * stdio-common/tstdiomisc.c (t3): New function.
14706 (main): Call it.
14707
0cdddc25
SE
147082014-05-01 Steve Ellcey <sellcey@mips.com>
14709
14710 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14711 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14712 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14713 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14714
6426d77e
SE
147152014-05-01 Steve Ellcey <sellcey@mips.com>
14716
14717 * stdlib/longlong.h: Updated from GCC.
14718
6d96f5e4
WN
147192014-05-01 Will Newton <will.newton@linaro.org>
14720 Bernard Ogden <bernie.ogden@linaro.org>
14721
7470db0c
WN
14722 * NEWS: Update fixed bug list.
14723
6d96f5e4
WN
14724 [BZ #15119]
14725 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14726
211d653c
DM
147272014-04-30 David S. Miller <davem@davemloft.net>
14728
4fa262fa
DM
14729 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14730 (libc_feholdexcept_setround_sparc_ctx): New function.
14731 (libc_fesetenv_sparc_ctx): Likewise.
14732 (libc_feupdateenv_sparc_ctx): Likewise.
14733 (libc_feholdsetround_sparc_ctx): Likewise.
14734 (libc_feholdexcept_setround_ctx): Define.
14735 (libc_feholdexcept_setroundf_ctx): Likewise.
14736 (libc_feholdexcept_setroundl_ctx): Likewise.
14737 (libc_fesetenv_ctx): Likewise.
14738 (libc_fesetenvf_ctx): Likewise.
14739 (libc_fesetenvl_ctx): Likewise.
14740 (libc_feupdateenv_ctx): Likewise.
14741 (libc_feupdateenvf_ctx): Likewise.
14742 (libc_feupdateenvl_ctx): Likewise.
14743 (libc_feresetround_ctx): Likewise.
14744 (libc_feresetroundf_ctx): Likewise.
14745 (libc_feresetroundl_ctx): Likewise.
14746 (libc_feholdsetround_ctx): Likewise.
14747 (libc_feholdsetroundf_ctx): Likewise.
14748 (libc_feholdsetroundl_ctx): Likewise.
14749
1d3d93ef
DM
14750 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14751 with __USE_GNU instead of XOPEN cpp guards.
14752
8aa583c3
DM
14753 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14754 0.
14755
211d653c
DM
14756 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14757 with XOPEN cpp guards.
14758
60c8f1f6
JB
147592014-04-30 Julian Brown <julian@codesourcery.com>
14760
14761 [BZ #16888]
14762 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14763 handling.
14764
9a461d46
JM
147652014-04-30 Joseph Myers <joseph@codesourcery.com>
14766
d0f5b3f8
JM
14767 [BZ #9894]
14768 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14769 Change to 2.6.32.
14770 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14771 * sysdeps/unix/sysv/linux/configure: Regenerated.
14772 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14773 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14774 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14775 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14776 * README: Update reference to required Linux kernel version.
14777 * manual/install.texi (Linux): Update reference to required Linux
14778 kernel headers version.
14779 * INSTALL: Regenerated.
14780
9a461d46
JM
14781 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14782 header inclusion.
14783 [POSIX] (limits.h): Likewise.
14784 [POSIX] (math.h): Likewise.
14785 [POSIX] (sys/wait.h): Likewise.
14786 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14787 function.
14788 [POSIX] (stddef.h): Do not allow header inclusion.
14789
1775babf
AZ
147902014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14791
57f41c40 14792 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 14793
8f630cca
YY
147942014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14795
14796 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14797 Return immediately after lll_futex_wake.
14798
1cdeb237
SP
147992014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14800
bc8f194c
SP
14801 [BZ #16791]
14802 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14803 structure.
14804 (datahead_init_pos): Call datahead_init_common early.
14805 (datahead_init_neg): Likewise.
14806
1cdeb237
SP
14807 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14808 datahead_init_neg): New functions.
14809 * nscd/aicache.c (addhstaiX): Use them.
14810 * nscd/grpcache.c (cache_addgr): Likewise.
14811 * nscd/hstcache.c (cache_addhst): Likewise.
14812 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14813 * nscd/netgroupcache.c (do_notfound): Likewise.
14814 (addgetnetgrentX): Likewise.
14815 (addinnetgrX): Likewise.
14816 * nscd/pwdcache.c (cache_addpw): Likewise.
14817 * nscd/servicescache.c (cache_addserv): Likewise.
14818
16b293a7
SP
148192014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14820 Atsushi Onoe <atsushi@onoe.org>
14821
14822 [BZ #14308]
14823 [BZ #12994]
14824 [BZ #13651]
14825 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14826 one response is valid.
14827 * resolv/res_send.c (send_dg): Check for validity of other
14828 response if the current response is a referral.
14829
a28a9b94
SE
148302014-04-29 Steve Ellcey <sellcey@mips.com>
14831
14832 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14833
2ca180e9
SL
148342014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14835
14836 [BZ #16823]
14837 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14838 Always divide by positive zero when computing -Inf result.
14839 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14840 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14841
18f2945a
AZ
148422014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14843
14844 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14845 FPSCR if value do not change.
14846 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14847 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14848 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14849 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14850 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14851 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14852 function.
14853
5abebba4
CD
148542014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14855
14856 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14857 * sysdeps/unix/sysv/linux/hppa: Move directory from
14858 ports/systeps/unix/sysv/linux/hppa.
14859 * README: Update listing for hppa-*-linux-gnu.
14860
f7ed60c2
OB
148612014-04-28 Ondřej Bílka <neleai@seznam.cz>
14862
fff763a5
OB
14863 [BZ #16754]
14864 * manual/stdio.texi (Hook functions): Fix types of stream hook
14865 functions.
f7ed60c2
OB
14866 [BZ #16854]
14867 * socket/sys/socket.h: Fix typo in comment.
14868
df639d73
WD
148692014-04-28 Wilco <wdijkstr@arm.com>
14870
f7ed60c2 14871 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14872 * sysdeps/arm/math_private.h: New file.
14873 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14874
48332d82
L
148752014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14876
14877 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14878 with __int128_t.
14879 (La_x86_64_retval): Likewise.
14880
e5e0d9a4
IB
148812014-04-24 Ian Bolton <ian.bolton@arm.com>
14882
14883 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14884 fpsr if value didn't change.
14885 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14886 to fpcr if value didn't change.
14887 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14888 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14889 fpsr or fpcr if value didn't change.
14890 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14891 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14892 fpcr if value didn't change.
14893 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14894 to fpsr if value didn't change.
14895
bacc75f7
SP
148962014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14897
14898 * nptl/tst-sem3.c: Use test-skeleton.c
14899 (main): Rename to do_test. Use return instead of
14900 exit.
14901 * nptl/tst-sem4.c: Use test-skeleton.c
14902 (main): Rename to do_test.
14903
a059d359
DM
149042014-04-22 David S. Miller <davem@davemloft.net>
14905
14906 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14907 (struct sigaction): New struct member __glibc_reserved0, change
14908 type of sa_flags to int.
14909
ea6c92f3
YZ
149102014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14911
14912 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14913 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14914
766c4a36
SP
149152014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14916
14917 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14918 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14919
140cc7ab
VK
149202014-04-22 Will Newton <will.newton@linaro.org>
14921 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14922
14923 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14924 (__longjmp): Add longjmp and longjmp_target SystemTap
14925 probes.
14926 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14927 (__sigsetjmp): Add setjmp SystemTap probe.
14928
c54e5cf7
CD
149292014-04-17 Carlos O'Donell <carlos@redhat.com>
14930
14931 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14932 match manual order.
14933
75ffb047
AZ
149342014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14935
14936 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14937
2cd925f7
AZ
14938 * sysdeps/powerpc/fpu/fenv_private.h
14939 (libc_feholdexcept_setroundl_ctx): Define to
14940 libc_feholdexcept_setround_ppc_ctx.
14941 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14942 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14943 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14944 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14945
39e6cd8d
IB
149462014-04-17 Ian Bolton <ian.bolton@arm.com>
14947
14948 * sysdeps/aarch64/math-tests.h: New file.
14949
f9281df9
SY
149502014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14951
14952 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14953 New.
14954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14955 Check and set bit_AVX2_Usable.
14956 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14957 macro.
14958 (bit_AVX2): Likewise.
14959 (index_AVX2_Usable): Likewise.
14960 (CPUID_AVX2): Likewise.
14961 (HAS_AVX2): Likewise.
14962
37d35007
WN
149632014-04-17 Will Newton <will.newton@linaro.org>
14964
7c677662
WN
14965 * manual/setjmp.texi (System V contexts): Add note that
14966 calling setcontext on a context created by a call to a
14967 signal handler is undefined. Update text to note that
14968 setcontext from a signal handler is possible but not
14969 recommended.
14970
37d35007 14971 [BZ #16629]
e04a4e9d
WN
14972 * stdlib/tst-setcontext.c: Include signal.h.
14973 (main): Check that the signal stack before and
14974 after swapcontext is the same.
14975
37d35007
WN
14976 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14977 Re-implement to restore registers in user code and avoid
14978 rt_sigreturn system call.
14979
423a7160
W
149802014-04-17 Wilco <wdijkstr@arm.com>
14981
14982 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14983 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14984 * math/test-fenv.c: Skip exception trap tests on targets which only
14985 support non-stop mode.
14986
bc93ab29
IB
149872014-04-17 Ian Bolton <ian.bolton@arm.com>
14988 Wilco Dijkstra <wilco.dijkstra@arm.com>
14989
14990 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14991 (libc_feholdsetround_aarch64_ctx)
14992 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14993 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14994 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14995 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14996 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14997 (libc_feresetround_noexl_ctx): Define.
14998
95fc5fa3
RH
149992014-04-16 Richard Henderson <rth@redhat.com>
15000
ddb04724
RH
15001 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15002
d77c0899
RH
15003 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15004 unwind tables.
15005
a3df56fc
RH
15006 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15007 const from the non-libc, non-ldso copy.
15008
95fc5fa3
RH
15009 * sysdeps/alpha/libm-test-ulps: Regenerate.
15010
7e0b6763
IB
150112014-04-16 Ian Bolton <ian.bolton@arm.com>
15012 Wilco Dijkstra <wilco.dijkstra@arm.com>
15013
15014 * sysdeps/aarch64/fpu/math_private.h: New file.
15015
a9ea2e0c
MS
150162014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15017
15018 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15019
ea8ba7cd
IZ
150202014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15021
7e54fd04 15022 [BZ #16275]
ea8ba7cd
IZ
15023 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15024 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15025 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15026 Intel MPX bound registers before _dl_profile_fixup.
15027 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15028 registers after _dl_profile_fixup. Save and restore bound
15029 registers bnd0/bnd1 when calling _dl_call_pltexit.
15030 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15031 (LR_BND_OFFSET): Likewise.
15032 (LRV_BND0_OFFSET): Likewise.
15033 (LRV_BND1_OFFSET): Likewise.
15034
9f2a4fbc
ST
150352014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15036
15037 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15038 to...
15039 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
15040 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15041 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15042 fields.
9f2a4fbc 15043
fd15a59b
ST
150442014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15045
15046 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15047
f19dfa0a
SL
150482014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15049
15050 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15051
4fa8bc3b
SL
150522014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15053
15054 [BZ #14770]
15055 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15056 * sysdeps/s390/configure: Regenerate.
15057
8ea587db
SL
15058 [BZ #16824]
15059 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15060 Set round-to-nearest internally to reduce error accumulation.
15061
aa5f0ff1
AM
150622014-04-16 Alan Modra <amodra@gmail.com>
15063
15064 [BZ #16740]
15065 [BZ #16619]
15066 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15067 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 15068 * NEWS: Update fixed bug list.
aa5f0ff1 15069
bb9c256f
SP
150702014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15071
15072 * benchtests/Makefile: Depend on libraries in build directory.
15073 (bench-math): Separate out math tests.
15074 (bench-pthread): Separate out pthread tests.
15075 (bench): Include math and pthread tests.
15076
f737dfd0
CD
150772014-04-14 Carlos O'Donell <carlos@redhat.com>
15078
15079 [BZ #16831]
15080 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15081 _dl_debug_initialize.
15082
0699f766
CD
15083 * configure.ac: Remove SELinux header check.
15084 * configure: Regenerate.
15085 * nscd/selinux.c (perms): Array of const char* to permission names.
15086 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15087 default policy. Call string_to_security_class and string_to_av_perm to
15088 translate strings. Enforce default policy and call avs_has_perm with
15089 results of translated strings.
15090
809bd45f
DM
150912014-04-13 David S. Miller <davem@davemloft.net>
15092
15093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15094
89e691f2
AM
150952014-04-12 Allan McRae <allan@archlinux.org>
15096
15097 [BZ #16838]
15098 * manual/string.texi (Collation Functions): Fix qsort argument
15099 order in example.
15100 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15101
9c9daaeb
CM
151022014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15103
15104 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15105 Make the test a no-op if there are no exceptions defined.
15106
95561fb9
PP
151072014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15108
fe8d072c 15109 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
15110 enable-hardcoded-path-in-tests
15111
970c602a
WN
151122014-04-11 Will Newton <will.newton@linaro.org>
15113
15114 * benchtests/Makefile (extra-objs): Add json-lib.o.
15115 (bench-func): Tidy up JSON output.
15116 * benchtests/bench-skeleton.c: Include json-lib.h.
15117 (main): Use JSON library functions to do output of
15118 benchmark results.
15119 * benchtests/bench-timing-type.c (main): Output the
15120 timing type simply, leaving formatting to the user.
15121 * benchtests/json-lib.c: New file.
15122 * benchtests/json-lib.h: Likewise.
15123
36875b06
TR
151242014-04-11 Torvald Riegel <triegel@redhat.com>
15125
15126 [BZ #15215]
15127 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15128 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15129 memory barriers. Add comments.
15130 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15131 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15132 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15133 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15134 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15135 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15136
579db35a
SL
151372014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15138
15139 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15140 * sysdeps/s390/s390-64/configure.ac: ... this ...
15141 * sysdeps/s390/configure.ac: ... to here.
15142 * sysdeps/s390/s390-32/configure: Delete file.
15143 * sysdeps/s390/s390-64/configure: Delete file.
15144 * sysdeps/s390/configure: Regenerate.
15145
c12e9f37
JAPH
151462014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15147
15148 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15149
439bda32
WN
151502014-04-11 Will Newton <will.newton@linaro.org>
15151
15152 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15153 to zero if it is not defined elsewhere. (mtrim): Test
15154 the value of MALLOC_DEBUG with #if rather than #ifdef.
15155
6a5d6ea1
TR
151562014-04-10 Torvald Riegel <triegel@redhat.com>
15157
15158 * benchtests/pthread_once-inputs: New file.
15159 * benchtests/pthread_once-source.c: New file.
15160 * benchtests/README: Update documentation.
15161
a4c75cfd
IZ
151622014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15163 H.J. Lu <hongjiu.lu@intel.com>
15164
7e54fd04 15165 [BZ #16275]
a4c75cfd
IZ
15166 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15167 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15168 * sysdeps/x86_64/configure: Regenerated.
15169 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15170 macro.
15171 (REGISTER_SAVE_RAX): Likewise.
15172 (REGISTER_SAVE_RCX): Likewise.
15173 (REGISTER_SAVE_RDX): Likewise.
15174 (REGISTER_SAVE_RSI): Likewise.
15175 (REGISTER_SAVE_RDI): Likewise.
15176 (REGISTER_SAVE_R8): Likewise.
15177 (REGISTER_SAVE_R9): Likewise.
15178 (REGISTER_SAVE_BND0): Likewise.
15179 (REGISTER_SAVE_BND1): Likewise.
15180 (REGISTER_SAVE_BND2): Likewise.
15181 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15182 bound registers when calling _dl_fixup.
15183
27822ce6
AZ
151842014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15185
15186 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
15187 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15188 of its definition.
27822ce6
AZ
15189 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15190 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15191 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15192 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15193 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15194 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15195 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15196
a88ddc90
PTB
151972014-04-09 Peter Brett <peter@peter-b.co.uk>
15198
15199 [BZ #15514]
15200 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15201 pathconf(_PC_NAME_MAX).
15202
01f8eac2
AZ
152032014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15204
15205 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15206 Remove macro usage.
15207 (__PTHREAD_SPINS): Move definition to ...
15208 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15209 (__PTHREAD_SPINS): ... here.
15210 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15211 (__PTHREAD_SPIN): Likewise.
15212 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15213 (__PTHREAD_SPIN): Likewise.
15214 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15215 (__PTHREAD_SPIN): Likewise.
15216 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15217 (__PTHREAD_SPIN): Likewise.
15218 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15219 (__PTHREAD_SPIN): Likewise.
15220 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15221 (__PTHREAD_SPIN): Likewise.
15222 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15223 (__PTHREAD_SPIN): Likewise.
15224 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15225 (__PTHREAD_SPIN): Likewise.
15226 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15227 (__PTHREAD_SPIN): Likewise.
15228 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15229 (__PTHREAD_SPIN): Likewise.
15230 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15231 (__PTHREAD_SPIN): Likewise.
15232 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15233 (__PTHREAD_SPIN): Likewise.
15234
de21c33c
AZ
15235 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15236 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15237 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15238 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15239 imply folder.
15240 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15241 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15242 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15243 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15244 correct imply path.
15245 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15246 strlen symbol for non multi-arch builds.
15247 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15248 missing hidden_def and weak_alias.
15249
862c472e
CD
152502014-04-08 Carlos O'Donell <carlos@redhat.com>
15251
15252 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15253
8667f90e
WN
152542014-04-07 Will Newton <will.newton@linaro.org>
15255
15256 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15257 and contents. [!_LIBC] Remove #ifndef and contents.
15258 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15259 * string/memccpy.c (__memccpy): Use ANSI prototype.
15260 * string/memfrob.c (memfrob): Likewise.
15261 * string/strcoll.c (STRCOLL): Likewise.
15262 * string/strlen.c (strlen): Likewise.
15263 * string/strtok.c (STRTOK): Likewise.
15264 * string/strcat.c: Remove unused #include of memcopy.h.
15265 (strcat): Use ANSI prototype.
15266 * string/strchr.c: Remove unused #include of memcopy.h.
15267 (strchr): Use ANSI prototype.
15268 * string/strcmp.c: Remove unused #include of memcopy.h.
15269 (strcmp): Use ANSI prototype.
15270 * string/strcpy.c: Remove unused #include of memcopy.h.
15271 (strcpy): Use ANSI prototype.
15272
7ffa9423
AZ
152732014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15274
15275 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15276 * config.make.in (config-extra-cppflags): Set it from
15277 libc_extra_cppflags.
15278 * configure.ac (libc_extra_cflags): Make it accumulate over
15279 configure fragments.
15280 (libc_extra_cppflags): New flag.
15281 * configure. Regenerate.
15282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
15283 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15284 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
15285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15286
8bd70862
AZ
15287 [BZ #16815]
15288 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15289 result for FE_DOWNWARD rounding mode.
15290 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15291 Likewise.
15292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15293
d42f3448
CM
152942014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15295
15296 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15297 in function argument name.
15298
1c21d115
DS
152992014-04-03 David Svoboda <svoboda@cert.org>
15300
15301 [BZ #5666]
15302 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15303 explicitly.
15304
fcccd512
RM
153052014-04-03 Roland McGrath <roland@hack.frob.com>
15306
15307 * elf/dl-unmap-segments.h: New file.
15308 * sysdeps/generic/ldsodefs.h
15309 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15310 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15311 * elf/dl-fptr.c: Likewise.
15312 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15313 * sysdeps/aarch64/tlsdesc.c: Likewise.
15314 * sysdeps/arm/tlsdesc.c: Likewise.
15315 * sysdeps/i386/tlsdesc.c: Likewise.
15316 * sysdeps/tile/dl-runtime.c: Likewise.
15317 * sysdeps/x86_64/tlsdesc.c: Likewise.
15318 * elf/dl-load.h: New file.
15319 * elf/dl-load.c: Include it.
15320 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15321 Macros moved to dl-load.h.
15322 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15323 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15324 Use _dl_unmap_segments in place of __munmap.
15325 Break out segment-mapping loop into ...
15326 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15327
f6488e2b
WN
153282014-04-03 Will Newton <will.newton@linaro.org>
15329
15330 * elf/dl-lookup.c (do_lookup_x): Remove comment
15331 referring to nested function and move variable
15332 declarations down to before first use.
15333
6f05bafe
JM
153342014-04-02 Joseph Myers <joseph@codesourcery.com>
15335
a84e78c8
JM
15336 [BZ #16799]
15337 [BZ #16800]
15338 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15339 with 0 numerator.
15340 * math/s_catanf.c (__catanf): Likewise.
15341 * math/s_catanh.c (__catanh): Likewise.
15342 * math/s_catanhf.c (__catanhf): Likewise.
15343 * math/s_catanhl.c (__catanhl): Likewise.
15344 * math/s_catanl.c (__catanl): Likewise.
15345 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15346 by positive zero when computing -Inf result.
15347 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15348 (catanh_test): Likewise.
15349 * sysdeps/i386/fpu/libm-test-ulps: Update.
15350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15351
6f05bafe
JM
15352 [BZ #16789]
15353 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15354 instead of using underflowing value in computing result.
15355 * math/s_clog10.c (__clog10): Likewise.
15356 * math/s_clog10f.c (__clog10f): Likewise.
15357 * math/s_clog10l.c (__clog10l): Likewise.
15358 * math/s_clogf.c (__clogf): Likewise.
15359 * math/s_clogl.c (__clogl): Likewise.
15360 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15361 (clog10_test): Likewise.
15362 * sysdeps/i386/fpu/libm-test-ulps: Update.
15363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15364
b0abbc21
AM
153652014-04-02 Alan Modra <amodra@gmail.com>
15366
15367 [BZ #16739]
15368 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15369 output when value is near a power of two. Use int64_t for lx and
15370 remove casts. Use decimal rather than hex exponent constants.
15371 Don't use long double multiplication when double will suffice.
15372 * math/libm-test.inc (nextafter_test_data): Add tests.
15373 * NEWS: Add 16739 and 16786 to bug list.
15374
af6b1797
AM
15375 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15376
483818d7
AM
15377 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15378
f6c55796
WN
153792014-04-01 Will Newton <will.newton@linaro.org>
15380
15381 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15382 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15383
13f7fe35
FW
153842014-04-01 Florian Weimer <fweimer@redhat.com>
15385
15386 [BZ #13347]
15387 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15388 * nptl/tst-setuid2.c: New file.
15389 * nptl/Makefile (xtests): Add tst-setuid2.
15390
c859b32e
AM
153912014-04-01 Alan Modra <amodra@gmail.com>
15392
15393 [BZ #16786]
15394 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15395
54fa2475
JM
153962014-03-31 Joseph Myers <joseph@codesourcery.com>
15397
8795b4a4
JM
15398 [BZ #6803]
15399 [BZ #6804]
15400 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15401 set errno as appropriate.
15402 * math/w_scalbf.c (__scalbf): Likewise.
15403 * math/w_scalbl.c (__scalbl): Likewise.
15404 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15405 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15406 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15407 Add more NaN tests.
15408
54fa2475
JM
15409 [BZ #16349]
15410 * math/w_atan2.c: Include <errno.h>.
15411 (__atan2): Set errno for result underflowing to zero.
15412 * math/w_atan2f.c: Include <errno.h>.
15413 (__atan2f): Set errno for result underflowing to zero.
15414 * math/w_atan2l.c: Include <errno.h>.
15415 (__atan2l): Set errno for result underflowing to zero.
15416 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15417 tests.
15418 * math/auto-libm-test-out: Regenerated.
15419
757d9dd5
AZ
154202014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15421
15422 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15423 Encode instruction correctly in little endian.
15424 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15425 Likewise.
15426 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15427 Likewise.
15428 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15429 Likewise.
15430 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15431 Likewise.
15432
d7a68734
JM
154332014-03-31 Joseph Myers <joseph@codesourcery.com>
15434
47c5adeb
JM
15435 [BZ #9894]
15436 * sysdeps/unix/sysv/linux/kernel-features.h
15437 [__sparc__ && !__arch64__ && !__sparc_v9__]
15438 (__ASSUME_SET_ROBUST_LIST): Do not define.
15439 [__sparc__ && !__arch64__ && !__sparc_v9__]
15440 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15441 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15442 Likewise.
15443 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15444 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15445 (__ASSUME_REQUEUE_PI): Likewise.
15446 (__ASSUME_SET_ROBUST_LIST): Likewise.
15447 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15448 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15449 Undefine.
15450 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15451 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15452 Likewise.
15453 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15454 Likewise.
15455 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15456 Likewise.
15457 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15458 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15459 Undefine.
15460 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15461 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15462 Likewise.
15463
d7a68734
JM
15464 [BZ #16648]
15465 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15466 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15467 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15468
c760f5c2
WN
154692014-03-31 Will Newton <will.newton@linaro.org>
15470
15471 * benchtests/Makefile (bench): Add ffs and ffsll to list
15472 of tests.
15473 * benchtests/ffs-inputs: New file.
15474 * benchtests/ffsll-inputs: Likewise.
15475
ea6029b1
JM
154762014-03-29 Joseph Myers <joseph@codesourcery.com>
15477
15478 [BZ #16770]
15479 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15480 too large before casting to int.
15481 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15482 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15483 * math/libm-test.inc (scalb_test_data): Add more tests.
15484
cf806aff
SP
154852014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15486
56737508
SP
15487 * benchtests/Makefile (DETAILED_OPT): New make option.
15488 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15489 set.
15490 * benchtests/bench-skeleton.c: Include stdbool.h.
15491 (main): Store and print timings per input.
15492 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15493 member to each argument value.
15494 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15495 (_print_arg_data): Initialize per-input timing to 0.
15496
cb5e4aad
SP
15497 * benchtests/Makefile (timing-type): New binary.
15498 (bench-clean): Also remove bench-timing-type.
15499 (bench): New target for timing-type.
15500 (bench-func): Print output in JSON format.
15501 * benchtests/bench-skeleton.c (main): Print output in JSON
15502 format.
15503 * benchtests/bench-timing-type.c: New file.
15504 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15505 (TIMING_PRINT_STATS): Remove.
15506 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15507 name separately.
15508
cf806aff
SP
15509 * benchtests/bench-modf.c: Remove.
15510 * benchtests/modf-inputs: New inputs file.
15511
289e0779
JM
155122014-03-28 Joseph Myers <joseph@codesourcery.com>
15513
15514 [BZ #16362]
15515 * math/s_clog10.c (M_PI_LOG10E): New macro.
15516 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15517 imaginary parts are 0.
15518 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15519 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15520 imaginary parts are 0.
15521 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15522 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15523 imaginary parts are 0.
15524 * math/libm-test.inc (clog10_test_data): Update expected results
15525 for when real and imaginary parts are 0.
15526
277ae3f1
PP
155272014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15528
15529 * elf/dl-load.c: Finish conversion of __builtin_expect into
15530 __glibc_{un}likely.
15531
03a7091f
JM
155322014-03-27 Joseph Myers <joseph@codesourcery.com>
15533
15534 [BZ #16348]
15535 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15536 1+x for argument with exponent below -67.
15537 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15538 Likewise.
15539 * math/auto-libm-test-in: Add more tests of exp.
15540 * math/auto-libm-test-out: Regenerated.
15541
ea7d8b95
SP
155422014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15543
dd3022d7
SP
15544 [BZ #16759]
15545 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15546 (nscd_getnetgrent): Use it.
15547
ea7d8b95
SP
15548 [BZ #16760]
15549 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15550 of stpcpy.
15551
df5b85da
AK
155522014-03-27 Andi Kleen <ak@linux.intel.com>
15553
57f41c40
AS
15554 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15555 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15556 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15557 (lll_robust_unlock): Remove out of line section. Use cfi
15558 intrinsics.
df5b85da 15559 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
15560 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15561 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15562 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15563 (lll_robust_unlock): Remove out of line section. Use cfi
15564 intrinsics.
df5b85da
AK
15565 (LLL_STUB_UNWIND_INFO*): Remove.
15566
fbd6b5a4
SP
155672014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15568
15569 [BZ #16758]
15570 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15571 blank values.
15572
1b26b855
PP
155732014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15574
15575 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15576
9be36fb8
JM
155772014-03-26 Joseph Myers <joseph@codesourcery.com>
15578
15579 [BZ #16198]
15580 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15581 fnstenv.
15582 * math/test-fenv-preserve.c: New file.
15583 * math/Makefile (tests): Add test-fenv-preserve.
15584
60a2f3c1
WN
155852014-03-26 Will Newton <will.newton@linaro.org>
15586
15587 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15588
a5e5f1e2
RM
155892014-03-25 Roland McGrath <roland@hack.frob.com>
15590
15591 * scripts/versionlist.awk: Partition the version sets and emit all
15592 GLIBC_* (sorted) before all others (sorted).
15593
00f4012a
JM
155942014-03-25 Joseph Myers <joseph@codesourcery.com>
15595
15596 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15597 GLIBC_2.2.5 version.
15598
7bc5a741
AZ
155992014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15600
15601 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15602 calls.
15603
7578473b
AZ
15604 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15605 previous change.
15606
f3f1dab3
AZ
15607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15608
6da36183
AS
156092014-03-25 Andreas Schwab <schwab@suse.de>
15610
15611 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15612 label to be used after in6ailist is initialized.
15613
f3f1dab3 156142014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 15615
7578473b 15616 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
15617 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15618
046651c1
JM
156192014-03-25 Joseph Myers <joseph@codesourcery.com>
15620
15621 [BZ #16357]
15622 [BZ #16599]
15623 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15624 min_plus_half.
15625 (fp_formats): Update initializers.
15626 (init_fp_formats): Initialize new field.
15627 (output_for_one_input_case): Allow underflow for results up to
15628 min_plus_half.
15629 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15630 * math/auto-libm-test-in: Don't mark some underflows from asin and
15631 atanh as spurious.
15632 * math/auto-libm-test-out: Regenerated.
15633 * sysdeps/i386/fpu/libm-test-ulps: Update.
15634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15635
003e49ed
AS
156362014-03-25 Andreas Schwab <schwab@suse.de>
15637
15638 * libio/Makefile (tst-ftell-partial-wide-ENV)
15639 (tst-ftell-active-handler-ENV): Define.
15640
de031874
SL
156412014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15642
15643 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15644
55a81e3b
PP
156452014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15646
15647 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15648
f3426898
JM
156492014-03-24 Joseph Myers <joseph@codesourcery.com>
15650
15651 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15652 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15653 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15654
a42faf59
PP
156552014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15656
15657 [BZ #16634]
a42faf59 15658 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
15659 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15660 (open_path): Change from boolean 'secure' to complete flag 'mode'
15661 (_dl_map_object): Adjust.
a42faf59
PP
15662 * elf/Makefile (tests): Add tst-dlopen-aout.
15663 * elf/tst-dlopen-aout.c: New test.
15664
50936127
SL
156652014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15666
15667 [BZ #16714]
15668 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15669 (struct stat): Rename member pad0 to __glibc_reserved0.
15670
26011b5c
SL
15671 [BZ #16712]
15672 * sysdeps/s390/s390-32/bits/wordsize.h
15673 (__WORDSIZE32_SIZE_ULONG): New define.
15674 * sysdeps/s390/s390-64/bits/wordsize.h
15675 (__WORDSIZE32_SIZE_ULONG): Likewise.
15676 * sysdeps/generic/stdint.h (SIZE_MAX):
15677 Define as UL if __WORDSIZE32_SIZE_ULONG.
15678
a2d86bf1
SL
15679 [BZ #16713]
15680 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15681 (__glibc_reserved0): New variable.
15682 (sa_flags): Change type to int.
15683
78b6eebc
SL
15684 * posix/Makefile (before-compile): Use += before-compile instead
15685 of a :=.
15686
f1399b5a
SL
15687 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15688 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15689
a071766e
AS
156902014-03-20 Andreas Schwab <schwab@suse.de>
15691
15692 [BZ #16743]
15693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15694 non-matching result from nscd.
15695
27c673b8
SP
156962014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15697
15698 * scripts/bench.py: Moved to ...
15699 * benchtests/scripts/bench.py: ... here.
15700 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15701
44152e4b
AS
157022014-03-24 Andreas Schwab <schwab@suse.de>
15703
15704 [BZ #16002]
15705 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15706 alloca_account and account alloca use for struct in6ailist.
15707
b376a11a
JM
157082014-03-24 Joseph Myers <joseph@codesourcery.com>
15709
15710 [BZ #16284]
15711 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15712 rounding mode to recompute results that overflow to infinity or
15713 underflow to zero.
15714 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15715 bug 16284.
15716 * math/auto-libm-test-out: Regenerated.
15717 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15718 (ccosh_test): Likewise.
15719 (csin_test_data): Use plus_oflow.
15720 (csin_test): Use ALL_RM_TEST.
15721 (csinh_test_data): Use plus_oflow.
15722 (csinh_test): Use ALL_RM_TEST.
15723 * sysdeps/i386/fpu/libm-test-ulps: Update.
15724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15725
f7be7376
JM
157262014-03-21 Joseph Myers <joseph@codesourcery.com>
15727
1ca2d03e
JM
15728 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15729 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15730 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15731
f7be7376
JM
15732 [BZ #16731]
15733 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15734 when x - 1 is zero.
15735 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15736 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15737 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15738 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15739 argument is 1.
15740 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15741 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15742 zero.
15743 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15744 * sysdeps/i386/fpu/libm-test-ulps: Update.
15745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15746
fdf4534d
SP
157472014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15748
df26ea53
SP
15749 * scripts/bench.pl: Remove file.
15750 * scripts/bench.py: New benchmark script.
15751 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15752 * benchtests/README: Mention python dependency.
15753 * scripts/pylintrc: New file.
15754 * scripts/pylint: New file.
15755
fdf4534d
SP
15756 * bits/mathdef.h: Use #ifdef instead of #if.
15757 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15758 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15759 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15760 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15761 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15762 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15763
6f23d093
AZ
157642014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15765 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15766
15767 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15769 and strpbrk-ppc64 objects.
15770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15771 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15772 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15773 multiarch strpbrk for POWER7.
15774 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15775 multiarch strpbrk for PPC64.
15776 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15777 ifunc selector.
15778 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15779 strpbrk for POWER7.
15780
8c92dfff
JM
157812014-03-20 Joseph Myers <joseph@codesourcery.com>
15782
15783 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15784 (atan_test): Likewise.
15785 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15786 (atanh_test): Use ALL_RM_TEST.
15787 (atan2_test_data): Likewise.
15788 (cabs_test): Likewise.
15789 (cacosh_test): Likewise.
15790 (carg_test): Likewise.
15791 (casin_test): Likewise.
15792 (casinh_test): Likewise.
15793 (cbrt_test): Likewise.
15794 (csqrt_test): Likewise.
15795 (erf_test): Likewise.
15796 (erfc_test): Likewise.
15797 (pow10_test): Likewise.
15798 (exp2_test): Likewise.
15799 (hypot_test): Likewise.
15800 (j0_test): Likewise.
15801 (j1_test): Likewise.
15802 (lgamma_test): Likewise.
15803 (gamma_test): Likewise.
15804 (sincos_test): Likewise.
15805 (tanh_test): Likewise.
15806 (y0_test): Likewise.
15807 (y1_test): Likewise.
15808 * sysdeps/i386/fpu/libm-test-ulps: Update.
15809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15810
6eaf95cb
AZ
158112014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15812
a387428c
SP
15813 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
15815 and strcspn-ppc64 objects.
15816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15817 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15818 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15819 multiarch strcspn for POWER7.
15820 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15821 multiarch strcspn for PPC64.
15822 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15823 ifunc selector.
15824 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15825 strcspn for POWER7.
15826
ae3a5dff
JM
158272014-03-20 Joseph Myers <joseph@codesourcery.com>
15828
15829 * math/gen-libm-test.pl (generate_testfile): Expect only function
15830 name as argument to AUTO_TESTS_* and pass results for all rounding
15831 modes to parse_args.
15832 (parse_auto_input): Separate inputs of automatic tests from
15833 outputs before storing in %auto_tests.
15834 * math/libm-test.inc (acos_test_data): Update call to
15835 AUTO_TESTS_f_f.
15836 (acos_test): Use ALL_RM_TEST.
15837 (acos_tonearest_test_data): Remove.
15838 (acos_test_tonearest): Likewise.
15839 (acos_towardzero_test_data): Likewise.
15840 (acos_test_towardzero): Likewise.
15841 (acos_downward_test_data): Likewise.
15842 (acos_test_downward): Likewise.
15843 (acos_upward_test_data): Likewise.
15844 (acos_test_upward): Likewise.
15845 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15846 (asin_test_data): Likewise.
15847 (asin_test): Use ALL_RM_TEST.
15848 (asin_tonearest_test_data): Remove.
15849 (asin_test_tonearest): Likewise.
15850 (asin_towardzero_test_data): Likewise.
15851 (asin_test_towardzero): Likewise.
15852 (asin_downward_test_data): Likewise.
15853 (asin_test_downward): Likewise.
15854 (asin_upward_test_data): Likewise.
15855 (asin_test_upward): Likewise.
15856 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15857 (atan_test_data): Likewise.
15858 (atanh_test_data): Likewise.
15859 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15860 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15861 (carg_test_data): Likewise.
15862 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15863 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15864 (ccosh_test_data): Likewise.
15865 (cexp_test_data): Likewise.
15866 (clog_test_data): Likewise.
15867 (clog10_test_data): Likewise.
15868 (cos_test_data): Update call to AUTO_TESTS_f_f.
15869 (cos_test): Use ALL_RM_TEST.
15870 (cos_tonearest_test_data): Remove.
15871 (cos_test_tonearest): Likewise.
15872 (cos_towardzero_test_data): Likewise.
15873 (cos_test_towardzero): Likewise.
15874 (cos_downward_test_data): Likewise.
15875 (cos_test_downward): Likewise.
15876 (cos_upward_test_data): Likewise.
15877 (cos_test_upward): Likewise.
15878 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15879 (cosh_test): Use ALL_RM_TEST.
15880 (cosh_tonearest_test_data): Remove.
15881 (cosh_test_tonearest): Likewise.
15882 (cosh_towardzero_test_data): Likewise.
15883 (cosh_test_towardzero): Likewise.
15884 (cosh_downward_test_data): Likewise.
15885 (cosh_test_downward): Likewise.
15886 (cosh_upward_test_data): Likewise.
15887 (cosh_test_upward): Likewise.
15888 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15889 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15890 (ctan_test_data): Likewise.
15891 (ctan_test): Use ALL_RM_TEST.
15892 (ctan_tonearest_test_data): Remove.
15893 (ctan_test_tonearest): Likewise.
15894 (ctan_towardzero_test_data): Likewise.
15895 (ctan_test_towardzero): Likewise.
15896 (ctan_downward_test_data): Likewise.
15897 (ctan_test_downward): Likewise.
15898 (ctan_upward_test_data): Likewise.
15899 (ctan_test_upward): Likewise.
15900 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15901 (ctanh_test): Use ALL_RM_TEST.
15902 (ctanh_tonearest_test_data): Remove.
15903 (ctanh_test_tonearest): Likewise.
15904 (ctanh_towardzero_test_data): Likewise.
15905 (ctanh_test_towardzero): Likewise.
15906 (ctanh_downward_test_data): Likewise.
15907 (ctanh_test_downward): Likewise.
15908 (ctanh_upward_test_data): Likewise.
15909 (ctanh_test_upward): Likewise.
15910 (erf_test_data): Update call to AUTO_TESTS_f_f.
15911 (erfc_test_data): Likewise.
15912 (exp_test_data): Likewise.
15913 (exp_test): Use ALL_RM_TEST.
15914 (exp_tonearest_test_data): Remove.
15915 (exp_test_tonearest): Likewise.
15916 (exp_towardzero_test_data): Likewise.
15917 (exp_test_towardzero): Likewise.
15918 (exp_downward_test_data): Likewise.
15919 (exp_test_downward): Likewise.
15920 (exp_upward_test_data): Likewise.
15921 (exp_test_upward): Likewise.
15922 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15923 (exp10_test): Use ALL_RM_TEST.
15924 (exp10_tonearest_test_data): Remove.
15925 (exp10_test_tonearest): Likewise.
15926 (exp10_towardzero_test_data): Likewise.
15927 (exp10_test_towardzero): Likewise.
15928 (exp10_downward_test_data): Likewise.
15929 (exp10_test_downward): Likewise.
15930 (exp10_upward_test_data): Likewise.
15931 (exp10_test_upward): Likewise.
15932 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15933 (expm1_test_data): Likewise.
15934 (expm1_test): Use ALL_RM_TEST.
15935 (expm1_tonearest_test_data): Remove.
15936 (expm1_test_tonearest): Likewise.
15937 (expm1_towardzero_test_data): Likewise.
15938 (expm1_test_towardzero): Likewise.
15939 (expm1_downward_test_data): Likewise.
15940 (expm1_test_downward): Likewise.
15941 (expm1_upward_test_data): Likewise.
15942 (expm1_test_upward): Likewise.
15943 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15944 (fma_test): Use ALL_RM_TEST.
15945 (fma_towardzero_test_data): Remove.
15946 (fma_test_towardzero): Likewise.
15947 (fma_downward_test_data): Likewise.
15948 (fma_test_downward): Likewise.
15949 (fma_upward_test_data): Likewise.
15950 (fma_test_upward): Likewise.
15951 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15952 (j0_test_data): Update call to AUTO_TESTS_f_f.
15953 (j1_test_data): Likewise.
15954 (jn_test_data): Update call to AUTO_TESTS_if_f.
15955 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15956 (log_test_data): Update call to AUTO_TESTS_f_f.
15957 (log10_test_data): Likewise.
15958 (log1p_test_data): Likewise.
15959 (log2_test_data): Likewise.
15960 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15961 (pow_tonearest_test_data): Likewise.
15962 (sin_test_data): Update call to AUTO_TESTS_f_f.
15963 (sin_test): Use ALL_RM_TEST.
15964 (sin_tonearest_test_data): Remove.
15965 (sin_test_tonearest): Likewise.
15966 (sin_towardzero_test_data): Likewise.
15967 (sin_test_towardzero): Likewise.
15968 (sin_downward_test_data): Likewise.
15969 (sin_test_downward): Likewise.
15970 (sin_upward_test_data): Likewise.
15971 (sin_test_upward): Likewise.
15972 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15973 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15974 (sinh_test): Use ALL_RM_TEST.
15975 (sinh_tonearest_test_data): Remove.
15976 (sinh_test_tonearest): Likewise.
15977 (sinh_towardzero_test_data): Likewise.
15978 (sinh_test_towardzero): Likewise.
15979 (sinh_downward_test_data): Likewise.
15980 (sinh_test_downward): Likewise.
15981 (sinh_upward_test_data): Likewise.
15982 (sinh_test_upward): Likewise.
15983 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15984 (sqrt_test): Use ALL_RM_TEST.
15985 (sqrt_tonearest_test_data): Remove.
15986 (sqrt_test_tonearest): Likewise.
15987 (sqrt_towardzero_test_data): Likewise.
15988 (sqrt_test_towardzero): Likewise.
15989 (sqrt_downward_test_data): Likewise.
15990 (sqrt_test_downward): Likewise.
15991 (sqrt_upward_test_data): Likewise.
15992 (sqrt_test_upward): Likewise.
15993 (tan_test_data): Update call to AUTO_TESTS_f_f.
15994 (tan_test): Use ALL_RM_TEST.
15995 (tan_tonearest_test_data): Remove.
15996 (tan_test_tonearest): Likewise.
15997 (tan_towardzero_test_data): Likewise.
15998 (tan_test_towardzero): Likewise.
15999 (tan_downward_test_data): Likewise.
16000 (tan_test_downward): Likewise.
16001 (tan_upward_test_data): Likewise.
16002 (tan_test_upward): Likewise.
16003 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16004 (tgamma_test_data): Likewise.
16005 (y0_test_data): Likewise.
16006 (y1_test_data): Likewise.
16007 (yn_test_data): Update call to AUTO_TESTS_if_f.
16008 (main): Do not call removed functions.
16009
d71aeee8
JM
160102014-03-19 Joseph Myers <joseph@codesourcery.com>
16011
16012 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16013 (ldexp_test_data): Remove.
16014 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16015 scalbn_test_data.
16016 (scalb_test): Use ALL_RM_TEST.
16017
baaf1ded
AS
160182014-03-19 Andreas Schwab <schwab@suse.de>
16019
16020 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16021
b1115e91
JM
160222014-03-19 Joseph Myers <joseph@codesourcery.com>
16023
16024 [BZ #16649]
16025 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16026 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16027 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16028 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16029 (__ASSUME_PREADV): Undefine.
16030 (__ASSUME_PWRITEV): Likewise.
16031
0283ecca
RM
160322014-03-18 Roland McGrath <roland@hack.frob.com>
16033
7d375303
RM
16034 * bits/mman-linux.h: Add comment about non-Linux use.
16035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16036 bits/mman-linux.h resting place.
16037
0283ecca
RM
16038 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16039 * bits/mman-linux.h: ... here.
16040
aebe1003
AZ
160412014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16042
16043 * conform/conformtest.pl: Add standard definition when calling C
16044 preprocessor on data files.
16045 (checknamespace): Remove unused variable.
16046
b29b6bb8
JM
160472014-03-18 Joseph Myers <joseph@codesourcery.com>
16048
16049 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16050 minus_oflow, plus_uflow and minus_uflow in expected results.
16051 * math/libm-test.inc (scalbn_test_data): Add more tests of
16052 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16053 minus_uflow.
16054 (scalbn_test): Use ALL_RM_TEST.
16055 (scalbln_test_data): Add more tests of negative arguments. Use
16056 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16057 (scalbln_test): Use ALL_RM_TEST.
16058
c8f8fa15
RM
160592014-03-18 Roland McGrath <roland@hack.frob.com>
16060
16061 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16062
fede7a5f
WN
160632014-03-18 Will Newton <will.newton@linaro.org>
16064
16065 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16066 inaccurate comment.
16067
80cf0a58
JM
160682014-03-18 Joseph Myers <joseph@codesourcery.com>
16069
16070 * Makerules [!subdir] (check-abi): Exit with error status if a
16071 test failed.
16072
b3620862
JM
160732014-03-17 Joseph Myers <joseph@codesourcery.com>
16074
16075 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16076 for rint. Include results for all rounding modes.
16077 (nearbyint_test): Use ALL_RM_TEST.
16078 (rint_test_data): Include all tests used for nearbyint.
16079
788bba36
WN
160802014-03-17 Will Newton <will.newton@linaro.org>
16081
04ec140a
WN
16082 * nptl/sysdeps/pthread/pthread.h: Revert previous
16083 change.
16084
7579d8d5
WN
16085 * sysdeps/generic/ldsodefs.h: Revert previous
16086 change.
16087
c15cf13a
WN
16088 * libio/genops.c: Revert previous change.
16089 * libio/libioP.h: Likewise.
16090 * stdio-common/vfprintf.c: Likewise.
16091
d0ac1324
WN
16092 * sysdeps/generic/math_private.h: Revert previous
16093 change.
16094
9290130a
WN
16095 * sysdeps/generic/math_private.h: Check whether
16096 HAVE_RM_CTX is defined with #ifdef rather
16097 than #if.
16098
afb466fc
WN
16099 * argp/argp-fmtstream.h: Check whether
16100 __STRICT_ANSI__ is defined with #ifdef rather
16101 than #if.
16102 * argp/argp.h: Likewise.
16103
f7efd7c3
WN
16104 * libio/genops.c: Check whether
16105 _IO_JUMPS_OFFSET is defined with #ifdef rather
16106 than #if.
16107 * libio/libioP.h: Likewise.
16108 * stdio-common/vfprintf.c: Likewise.
16109
53f1bed3
WN
16110 * sysdeps/generic/ldsodefs.h: Check whether
16111 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16112 than #if.
16113
788bba36
WN
16114 * nptl/sysdeps/pthread/pthread.h: Check
16115 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16116 its value.
16117
fcd89ebe
SP
161182014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16119
ae42bbc5
SP
16120 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16121 setting O_APPEND.
16122 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16123 test case.
16124
ea33158c
SP
16125 [BZ #16680]
16126 * libio/fileops.c (_IO_file_open): Seek to end of file but
16127 don't cache the offset.
16128 (get_file_offset): Remove function.
16129 (do_ftell): Use cached offset when available.
16130 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16131 don't cache the offset.
16132 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16133 case.
16134 (do_one_test): Call it.
16135 (do_ftell_test): Fix up expected old offset for a+ mode.
16136 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16137 available.
16138
b1dbb426
SP
16139 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16140 up test status with function return status.
16141 (do_write_test): Likewise.
16142 (do_append_test): Likewise.
16143
fcd89ebe
SP
16144 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16145 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16146 Remove.
16147
9962a2d3
JM
161482014-03-17 Joseph Myers <joseph@codesourcery.com>
16149
16150 * math/gen-libm-test.pl (parse_args): Handle results specified for
16151 each rounding mode separately.
16152 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16153 tests and results from lrint_tonearest_test_data,
16154 lrint_towardzero_test_data, lrint_downward_test_data and
16155 lrint_upward_test_data.
16156 (lrint_test): Use ALL_RM_TEST.
16157 (lrint_tonearest_test_data): Remove.
16158 (lrint_test_tonearest): Likewise.
16159 (lrint_towardzero_test_data): Likewise.
16160 (lrint_test_towardzero): Likewise.
16161 (lrint_downward_test_data): Likewise.
16162 (lrint_test_downward): Likewise.
16163 (lrint_upward_test_data): Likewise.
16164 (lrint_test_upward): Likewise.
16165 (llrint_test_data): Merge in per-rounding-mode tests and results
16166 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16167 llrint_downward_test_data and llrint_upward_test_data.
16168 (llrint_test): Use ALL_RM_TEST.
16169 (llrint_tonearest_test_data): Remove.
16170 (llrint_test_tonearest): Likewise.
16171 (llrint_towardzero_test_data): Likewise.
16172 (llrint_test_towardzero): Likewise.
16173 (llrint_downward_test_data): Likewise.
16174 (llrint_test_downward): Likewise.
16175 (llrint_upward_test_data): Likewise.
16176 (llrint_test_upward): Likewise.
16177 (rint_test_data): Merge in per-rounding-mode tests and results
16178 from rint_tonearest_test_data, rint_towardzero_test_data,
16179 rint_downward_test_data and rint_upward_test_data. Add
16180 per-rounding-mode results for tests not in those arrays.
16181 (rint_test): Use ALL_RM_TEST.
16182 (rint_tonearest_test_data): Remove.
16183 (rint_test_tonearest): Likewise.
16184 (rint_towardzero_test_data): Likewise.
16185 (rint_test_towardzero): Likewise.
16186 (rint_downward_test_data): Likewise.
16187 (rint_test_downward): Likewise.
16188 (rint_upward_test_data): Likewise.
16189 (rint_test_upward): Likewise.
16190 (main): Don't call removed functions.
16191
5006148e
RM
161922014-03-14 Roland McGrath <roland@hack.frob.com>
16193
16194 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16195 "Compiled on ..." crapola. It is anti-useful.
16196
d6fe5e58
JM
161972014-03-14 Joseph Myers <joseph@codesourcery.com>
16198
16199 * scripts/evaluate-test.sh: Handle fourth argument to determine
16200 whether test run should stop on failure.
16201 * Makeconfig (stop-on-test-failure): New variable.
16202 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16203 $(stop-on-test-failure).
16204 * Makefile (tests): Give a summary of results from testing and
16205 exit with failure status if they include an ERROR or FAIL.
16206 (xtests): Likewise.
16207 * manual/install.texi (Configuring and compiling): Mention
16208 stop-on-test-failure=y.
16209 * INSTALL: Regenerated.
16210
498a2233
RM
162112014-03-14 Roland McGrath <roland@hack.frob.com>
16212
22dbc19d
RM
16213 * scripts/versionlist.awk: New file.
16214 * Makerules [$(build-shared) = yes]
16215 (postclean-generated): Add Versions.def, not Versions.def.v and
16216 Versions.def.v.i.
16217 ($(common-objpfx)Versions.def.v.i): Target removed.
16218 ($(common-objpfx)Versions.def): New target.
16219 ($(common-objpfx)Versions.all): Depend on that rather that
16220 $(common-objpfx)Versions.def.v.
16221 * Versions.def: File removed.
16222
498a2233
RM
16223 * Makeconfig (+gccwarn): Add -Wundef.
16224 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16225 a dl-sysdep.h breaking its contract.
16226 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16227 * include/stackinfo.h: New file.
16228 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16229 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16230 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16231 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16232 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16233 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16234 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16235 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16236 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16237 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16238 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16239 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16240 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16241 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16242 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16243
c7de5025
AZ
162442014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16245
16246 [BZ #16707]
16247 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16248 implementation.
16249 * math/libm-test.inc (round_test_data): Add more tests.
16250
98fb27a3
AZ
16251 [BZ #16706]
16252 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16253 implementation.
16254 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16255
374f7f61
AZ
16256 [BZ #16701]
16257 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16258 implementation.
16259 * math/libm-test.inc (ceil_test_data): Add more tests.
16260
4655c291
AZ
16261 * math/libm-test.inc (trunc_test_data): Add more tests related to
16262 BZ#16414.
16263
d7329d4b
RM
162642014-03-14 Roland McGrath <roland@hack.frob.com>
16265
16266 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16267 with #if rather than #ifdef.
16268 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16269
aa4de9ce
L
162702014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16271
16272 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16273 first. Disable AVX-512 GCC support if assembler doesn't support
16274 it.
16275 * sysdeps/x86_64/configure: Regenerated.
16276
2e03fae7
CD
162772014-03-13 Carlos O'Donell <carlos@redhat.com>
16278
16279 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16280 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16281 (__old_pthread_attr_setstack): Likewise.
16282 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16283 [!_STACK_GROWS_DOWN]: Likewise.
16284
43ca83ec
MF
162852014-03-13 Mike Frysinger <vapier@gentoo.org>
16286
16287 * config.make.in (have-bash2): Delete.
16288 * configure.ac (libc_cv_have_bash2): Delete.
16289 * configure: Regenerate.
16290 * elf/Makefile (common-ldd-rewrite): Rename to ...
16291 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16292 (sh-ldd-rewrite): Delete.
16293 (bash-ldd-rewrite): Delete.
16294 (have-bash2): Delete checks.
57f41c40
AS
16295 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16296 ldd-rewrite.
c66e48b4
MF
16297
16298 * config.make.in (have-ksh): Delete.
16299 (KSH): Delete.
16300 * configure.ac (libc_cv_have_ksh): Delete.
16301 * configure: Regenerate.
16302
b93834ef
MF
16303 * elf/Makefile: Delete $(have-ksh) check.
16304 ($(objpfx)sotruss): Change KSH to BASH.
16305 * elf/sotruss.ksh: Rename to ...
16306 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16307 function style to match POSIX. Drop ksh vim mode setting.
16308
f3a4632a
MF
16309 * manual/time.texi (Specifying the Time Zone with TZ): Change
16310 Tuesday to Thursday.
16311
5896c8bd
MF
16312 * debug/tst-longjmp_chk2.c: Update header comment.
16313 (stackoverflow_handler): Add comment. Call assert on pass value.
16314
2d63a517
IZ
163152014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16316
7e54fd04 16317 [BZ #16194]
2d63a517
IZ
16318 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16319 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16320 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16321 (La_x86_64_vector): Add zmm.
16322 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16323 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16324 ($(objpfx)tst-audit10): New target.
16325 ($(objpfx)tst-audit10.out): Likewise.
16326 (tst-audit10-ENV): New.
16327 (AVX512-CFLAGS): Likewise.
16328 (CFLAGS-tst-audit10.c): Likewise.
16329 (CFLAGS-tst-auditmod10a.c): Likewise.
16330 (CFLAGS-tst-auditmod10b.c): Likewise.
16331 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16332 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16333 * sysdeps/x86_64/configure: Regenerated.
16334 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16335 AVX-512 zmm register support.
16336 (_dl_x86_64_save_sse): Likewise.
16337 (_dl_x86_64_restore_sse): Likewise.
16338 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16339 size vector registers.
16340 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16341 (ZMM_SIZE): Likewise.
16342 * sysdeps/x86_64/tst-audit10.c: New file.
16343 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16344 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16345
44c4e5d5
RM
163462014-03-13 Roland McGrath <roland@hack.frob.com>
16347
16348 * configure.ac (HAVE_EHDR_START): New check.
16349 * configure: Regenerated.
16350 * config.h.in (HAVE_EHDR_START): New #undef.
16351 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16352 assuming the lowest-addressed segment maps the start of the file.
16353
acd6e389
JM
163542014-03-13 Joseph Myers <joseph@codesourcery.com>
16355
16356 * INSTALL: Regenerated.
16357
6f918f36
WN
163582014-03-13 Will Newton <will.newton@linaro.org>
16359
16360 * manual/setjmp.texi (System V contexts): Improve
16361 clarity and grammar of documentation.
16362
798212a0
PP
163632014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16364
16365 [BZ #16381]
798212a0 16366 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16367 (tests-pie): Add tst-pie2.
798212a0
PP
16368 * elf/tst-pie2.c: New file.
16369 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16370 for ET_EXEC.
16371 * elf/rtld.c (map_doit): Load executable as lt_executable.
16372 (dl_main): Likewise.
16373
abe6d90c
JM
163742014-03-12 Joseph Myers <joseph@codesourcery.com>
16375
16376 [BZ #16642]
16377 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16378 (__ASSUME_PSELECT): Undefine.
16379
dd3946c6
AZ
163802014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16381
16382 [BZ #16689]
16383 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16384 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16385 static build.
16386 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16387 selector for static builds.
16388
c44496df
SP
163892014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16390
16391 [BZ #16695]
16392 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16393 key in the buffer.
16394
27c7220a
AZ
163952014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16396
57f41c40
AS
16397 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16398 IFUNC selector for static builds.
27c7220a 16399
600fa361
JM
164002014-03-11 Joseph Myers <joseph@codesourcery.com>
16401
76c96cf7
JM
16402 * sysdeps/mips/math_private.h [__mips_hard_float]
16403 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16404 libc_feresetround_mips_ctx.
16405 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16406 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16407 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16408
600fa361
JM
16409 [BZ #16677]
16410 * math/s_nextafter.c (__nextafter): Do not return value from
16411 overflowing computation.
16412 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16413 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16414 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16415 Likewise.
16416 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16417 Likewise.
16418 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16419 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16420
d7706c32
RM
164212014-03-11 Roland McGrath <roland@hack.frob.com>
16422
16423 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16424 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16425 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16426 the new mov targetting sp.
16427
4facea47
AZ
164282014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16429
16430 [BZ #16683]
16431 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16432 Define it for static builds as well.
16433 (NO_BZERO_IMPL): Likewise.
16434
e65caf1f
VR
164352014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16436
16437 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16438 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16439 multiarch strspn for PPC64.
16440 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16441 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16443 (__libc_ifunc_impl_list): Likewise.
16444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16445 multiarch optimizations
16446 * string/strspn.c (strspn): Using macro to redefine symbol name.
16447
ba9cc071
AZ
164482014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16449 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16450
16451 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16452 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16453 multiarch strncat for PPC64.
16454 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16455 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16457 (__libc_ifunc_impl_list): Likewise.
16458 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16459 multiarch optimizations
16460
8b4ff974
SP
164612014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16462
16463 [BZ #16639]
16464 * nscd/nscd.service: Make service type forking.
16465
54b46a4b
AZ
164662014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16467
16468 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16469 sign in non default rounding modes.
16470 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16471
e9996ef7
JM
164722014-03-08 Joseph Myers <joseph@codesourcery.com>
16473
16474 * math/libm-test.inc (ALL_RM_TEST): New macro.
16475 (ceil_test): Use ALL_RM_TEST.
16476 (cimag_test): Likewise.
16477 (conj_test): Likewise.
16478 (copysign_test): Likewise.
16479 (cproj_test): Likewise.
16480 (creal_test): Likewise.
16481 (fabs_test): Likewise.
16482 (floor_test): Likewise.
16483 (fmax_test): Likewise.
16484 (fmin_test): Likewise.
16485 (fmod_test): Likewise.
16486 (fpclassify_test): Likewise.
16487 (frexp_test): Likewise.
16488 (ilogb_test): Likewise.
16489 (isfinite_test): Likewise.
16490 (finite_test): Likewise.
16491 (isgreater_test): Likewise.
16492 (isgreaterequal_test): Likewise.
16493 (isinf_test): Likewise.
16494 (isless_test): Likewise.
16495 (islessequal_test): Likewise.
16496 (islessgreater_test): Likewise.
16497 (isnan_test): Likewise.
16498 (isnormal_test): Likewise.
16499 (issignaling_test): Likewise.
16500 (isunordered_test): Likewise.
16501 (logb_test): Likewise.
16502 (logb_downward_test_data): Remove.
16503 (logb_test_downward): Likewise.
16504 (lround_test): Use ALL_RM_TEST.
16505 (llround_test): Likewise.
16506 (modf_test): Likewise.
16507 (nexttoward_test): Likewise.
16508 (remainder_test): Likewise.
16509 (drem_test): Likewise.
16510 (remainder_tonearest_test_data): Likewise.
16511 (remainder_test_tonearest): Likewise.
16512 (drem_test_tonearest): Likewise.
16513 (remainder_towardzero_test_data): Likewise.
16514 (remainder_test_towardzero): Likewise.
16515 (drem_test_towardzero): Likewise.
16516 (remainder_downward_test_data): Likewise.
16517 (remainder_test_downward): Likewise.
16518 (drem_test_downward): Likewise.
16519 (remainder_upward_test_data): Likewise.
16520 (remainder_test_upward): Likewise.
16521 (drem_test_upward): Likewise.
16522 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16523 (round_test): Use ALL_RM_TEST.
16524 (signbit_test): Likewise.
16525 (trunc_test): Likewise.
16526 (significand_test): Likewise.
16527 (main): Don't call removed functions.
16528
bc61d27c
JM
165292014-03-07 Joseph Myers <joseph@codesourcery.com>
16530
5c780849
JM
16531 [BZ #16674]
16532 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16533 || __USE_XOPEN2K8].
16534 (ILL_ILLOPN): Likewise.
16535 (ILL_ILLADR): Likewise.
16536 (ILL_ILLTRP): Likewise.
16537 (ILL_PRVOPC): Likewise.
16538 (ILL_PRVREG): Likewise.
16539 (ILL_COPROC): Likewise.
16540 (ILL_BADSTK): Likewise.
16541 (FPE_INTDIV): Likewise.
16542 (FPE_INTOVF): Likewise.
16543 (FPE_FLTDIV): Likewise.
16544 (FPE_FLTOVF): Likewise.
16545 (FPE_FLTUND): Likewise.
16546 (FPE_FLTRES): Likewise.
16547 (FPE_FLTINV): Likewise.
16548 (FPE_FLTSUB): Likewise.
16549 (SEGV_MAPERR): Likewise.
16550 (SEGV_ACCERR): Likewise.
16551 (BUS_ADRALN): Likewise.
16552 (BUS_ADRERR): Likewise.
16553 (BUS_OBJERR): Likewise.
16554 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16555 (TRAP_TRACE): Likewise.
16556 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16557 __USE_XOPEN2K8].
16558 (CLD_KILLED): Likewise.
16559 (CLD_DUMPED): Likewise.
16560 (CLD_TRAPPED): Likewise.
16561 (CLD_STOPPED): Likewise.
16562 (CLD_CONTINUED): Likewise.
16563 (POLL_IN): Likewise.
16564 (POLL_OUT): Likewise.
16565 (POLL_MSG): Likewise.
16566 (POLL_ERR): Likewise.
16567 (POLL_PRI): Likewise.
16568 (POLL_HUP): Likewise.
16569 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16570 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/bits/siginfo.h (ILL_ILLOPC): Likewise.
16609 (ILL_ILLOPN): Likewise.
16610 (ILL_ILLADR): Likewise.
16611 (ILL_ILLTRP): Likewise.
16612 (ILL_PRVOPC): Likewise.
16613 (ILL_PRVREG): Likewise.
16614 (ILL_COPROC): Likewise.
16615 (ILL_BADSTK): Likewise.
16616 (FPE_INTDIV): Likewise.
16617 (FPE_INTOVF): Likewise.
16618 (FPE_FLTDIV): Likewise.
16619 (FPE_FLTOVF): Likewise.
16620 (FPE_FLTUND): Likewise.
16621 (FPE_FLTRES): Likewise.
16622 (FPE_FLTINV): Likewise.
16623 (FPE_FLTSUB): Likewise.
16624 (SEGV_MAPERR): Likewise.
16625 (SEGV_ACCERR): Likewise.
16626 (BUS_ADRALN): Likewise.
16627 (BUS_ADRERR): Likewise.
16628 (BUS_OBJERR): Likewise.
16629 (BUS_MCEERR_AR): Likewise.
16630 (BUS_MCEERR_AO): Likewise.
16631 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16632 (TRAP_TRACE): Likewise.
16633 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16634 __USE_XOPEN2K8].
16635 (CLD_KILLED): Likewise.
16636 (CLD_DUMPED): Likewise.
16637 (CLD_TRAPPED): Likewise.
16638 (CLD_STOPPED): Likewise.
16639 (CLD_CONTINUED): Likewise.
16640 (POLL_IN): Likewise.
16641 (POLL_OUT): Likewise.
16642 (POLL_MSG): Likewise.
16643 (POLL_ERR): Likewise.
16644 (POLL_PRI): Likewise.
16645 (POLL_HUP): Likewise.
16646 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16647 Likewise.
16648 (ILL_ILLOPN): Likewise.
16649 (ILL_ILLADR): Likewise.
16650 (ILL_ILLTRP): Likewise.
16651 (ILL_PRVOPC): Likewise.
16652 (ILL_PRVREG): Likewise.
16653 (ILL_COPROC): Likewise.
16654 (ILL_BADSTK): Likewise.
16655 (ILL_BADIADDR): Likewise.
16656 (ILL_BREAK): Likewise.
16657 (FPE_INTDIV): Likewise.
16658 (FPE_INTOVF): Likewise.
16659 (FPE_FLTDIV): Likewise.
16660 (FPE_FLTOVF): Likewise.
16661 (FPE_FLTUND): Likewise.
16662 (FPE_FLTRES): Likewise.
16663 (FPE_FLTINV): Likewise.
16664 (FPE_FLTSUB): Likewise.
16665 (FPE_DECOVF): Likewise.
16666 (FPE_DECDIV): Likewise.
16667 (FPE_DECERR): Likewise.
16668 (FPE_INVASC): Likewise.
16669 (FPE_INVDEC): Likewise.
16670 (SEGV_MAPERR): Likewise.
16671 (SEGV_ACCERR): Likewise.
16672 (SEGV_PSTKOVF): Likewise.
16673 (BUS_ADRALN): Likewise.
16674 (BUS_ADRERR): Likewise.
16675 (BUS_OBJERR): Likewise.
16676 (BUS_MCEERR_AR): Likewise.
16677 (BUS_MCEERR_AO): Likewise.
16678 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16679 (TRAP_TRACE): Likewise.
16680 (TRAP_BRANCH): Likewise.
16681 (TRAP_HWBKPT): 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/mips/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/s390/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/sparc/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 (FPE_INTDIV): Likewise.
16780 (FPE_INTOVF): Likewise.
16781 (FPE_FLTDIV): Likewise.
16782 (FPE_FLTOVF): Likewise.
16783 (FPE_FLTUND): Likewise.
16784 (FPE_FLTRES): Likewise.
16785 (FPE_FLTINV): Likewise.
16786 (FPE_FLTSUB): Likewise.
16787 (SEGV_MAPERR): Likewise.
16788 (SEGV_ACCERR): Likewise.
16789 (BUS_ADRALN): Likewise.
16790 (BUS_ADRERR): Likewise.
16791 (BUS_OBJERR): Likewise.
16792 (BUS_MCEERR_AR): Likewise.
16793 (BUS_MCEERR_AO): Likewise.
16794 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16795 (TRAP_TRACE): Likewise.
16796 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16797 __USE_XOPEN2K8].
16798 (CLD_KILLED): Likewise.
16799 (CLD_DUMPED): Likewise.
16800 (CLD_TRAPPED): Likewise.
16801 (CLD_STOPPED): Likewise.
16802 (CLD_CONTINUED): Likewise.
16803 (POLL_IN): Likewise.
16804 (POLL_OUT): Likewise.
16805 (POLL_MSG): Likewise.
16806 (POLL_ERR): Likewise.
16807 (POLL_PRI): Likewise.
16808 (POLL_HUP): Likewise.
16809 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16810 (ILL_ILLOPN): Likewise.
16811 (ILL_ILLADR): Likewise.
16812 (ILL_ILLTRP): Likewise.
16813 (ILL_PRVOPC): Likewise.
16814 (ILL_PRVREG): Likewise.
16815 (ILL_COPROC): Likewise.
16816 (ILL_BADSTK): Likewise.
16817 (ILL_DBLFLT): Likewise.
16818 (ILL_HARDWALL): 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 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16850 (ILL_ILLOPN): Likewise.
16851 (ILL_ILLADR): Likewise.
16852 (ILL_ILLTRP): Likewise.
16853 (ILL_PRVOPC): Likewise.
16854 (ILL_PRVREG): Likewise.
16855 (ILL_COPROC): Likewise.
16856 (ILL_BADSTK): Likewise.
16857 (FPE_INTDIV): Likewise.
16858 (FPE_INTOVF): Likewise.
16859 (FPE_FLTDIV): Likewise.
16860 (FPE_FLTOVF): Likewise.
16861 (FPE_FLTUND): Likewise.
16862 (FPE_FLTRES): Likewise.
16863 (FPE_FLTINV): Likewise.
16864 (FPE_FLTSUB): Likewise.
16865 (SEGV_MAPERR): Likewise.
16866 (SEGV_ACCERR): Likewise.
16867 (BUS_ADRALN): Likewise.
16868 (BUS_ADRERR): Likewise.
16869 (BUS_OBJERR): Likewise.
16870 (BUS_MCEERR_AR): Likewise.
16871 (BUS_MCEERR_AO): Likewise.
16872 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16873 (TRAP_TRACE): Likewise.
16874 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16875 __USE_XOPEN2K8].
16876 (CLD_KILLED): Likewise.
16877 (CLD_DUMPED): Likewise.
16878 (CLD_TRAPPED): Likewise.
16879 (CLD_STOPPED): Likewise.
16880 (CLD_CONTINUED): Likewise.
16881 (POLL_IN): Likewise.
16882 (POLL_OUT): Likewise.
16883 (POLL_MSG): Likewise.
16884 (POLL_ERR): Likewise.
16885 (POLL_PRI): Likewise.
16886 (POLL_HUP): Likewise.
16887 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16888 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16889
bc61d27c
JM
16890 [BZ #16670]
16891 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16892 before #include of <time.h>.
16893 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16894 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16895 (test-xfail-UNIX98/sched.h/conform): Likewise.
16896
302949e2
MS
168972014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16898
16899 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16900 error absence of trapping exception support.
16901 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16902
a00f522a
JM
169032014-03-07 Joseph Myers <joseph@codesourcery.com>
16904
6f99f280
JM
16905 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16906 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16907 * timezone/Makefile (testdata): Move definition above include of
16908 Rules.
16909 (test-zones): New variable.
16910 (tests-special): Add zone files.
16911 (build-testdata): Use $(evaluate-test).
16912
0b20a9e8
JM
16913 * elf/Makefile (tests-special): Rename tests to end with .out.
16914 ($(objpfx)noload-mem): Likewise.
16915 ($(objpfx)tst-leaks1-mem): Likewise.
16916 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16917 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16918 $(objpfx)test-iconvconfig.out.
16919 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16920 set -e inside subshell and redirect output to file.
16921 * iconvdata/Makefile (generated): Rename tests to end with .out.
16922 Correct type.
16923 (tests-special): Rename tests to end with .out.
16924 ($(objpfx)mtrace-tst-loading): Likewise.
16925 * intl/Makefile (generated): Likewise.
16926 (tests-special): Likewise.
16927 ($(objpfx)mtrace-tst-gettext): Likewise.
16928 * misc/Makefile (generated): Likewise.
16929 (tests-special): Likewise.
16930 ($(objpfx)tst-error1-mem): Likewise.
16931 * nptl/Makefile (tests-special): Likewise.
16932 ($(objpfx)tst-stack3-mem): Likewise.
16933 (generated): Likewise.
16934 * posix/Makefile (generated): Likewise.
16935 (tests-special): Likewise.
16936 (xtests-special): Likewise.
16937 ($(objpfx)tst-fnmatch-mem): Likewise.
16938 ($(objpfx)bug-regex2-mem): Likewise.
16939 ($(objpfx)bug-regex14-mem): Likewise.
16940 ($(objpfx)bug-regex21-mem): Likewise.
16941 ($(objpfx)bug-regex31-mem): Likewise.
16942 ($(objpfx)tst-vfork3-mem): Likewise.
16943 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16944 ($(objpfx)tst-pcre-mem): Likewise.
16945 ($(objpfx)tst-boost-mem): Likewise.
16946 ($(objpfx)bug-ga2-mem): Likewise.
16947 ($(objpfx)bug-glob2-mem): Likewise.
16948 * resolv/Makefile (generate): Likewise.
16949 (tests-special): Likewise.
16950 (xtests-special): Likewise.
16951 (generated): Likewise.
16952 ($(objpfx)mtrace-tst-leaks): Likewise.
16953 ($(objpfx)mtrace-tst-leaks2): Likewise.
16954
265d52ab
JM
16955 * scripts/merge-test-results.sh: New file.
16956 * Makefile (tests-special-notdir): New variable.
16957 (tests): Run merge-test-results.sh.
16958 (xtests): Likewise.
16959 * Rules (tests-special-notdir): New variable.
16960 (xtests-special-notdir): Likewise.
16961 (tests): Run merge-test-results.sh
16962 (xtests): Likewise.
16963
54ee292d
JM
16964 * Makeconfig (test-xfail-name): New variable.
16965 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16966 compute variable name for expected failures.
16967 * conform/Makefile (conformtest-headers-data): New variable.
16968 (conformtest-standards): Likewise.
16969 (conformtest-headers-ISO): Likewise.
16970 (conformtest-headers-ISO99): Likewise.
16971 (conformtest-headers-ISO11): Likewise.
16972 (conformtest-headers-POSIX): Likewise.
16973 (conformtest-headers-XPG3): Likewise.
16974 (conformtest-headers-XPG4): Likewise.
16975 (conformtest-headers-UNIX98): Likewise.
16976 (conformtest-headers-XOPEN2K): Likewise.
16977 (conformtest-headers-POSIX2008): Likewise.
16978 (conformtest-headers-XOPEN2K8): Likewise.
16979 (conformtest-header-list-base): Likewise.
16980 (conformtest-header-list-tests): Likewise.
16981 (conformtest-header-base): Likewise.
16982 (conformtest-header-tests): Likewise.
16983 (tests-special): Add $(conformtest-header-list-tests). If
16984 [$(fast-check) && !$(cross-compiling)], add
16985 $(conformtest-header-tests) instead of
16986 $(objpfx)run-conformtest.out.
16987 (generated): Add $(conformtest-header-list-base). If
16988 [$(fast-check) && !$(cross-compiling)], add
16989 $(conformtest-header-base). Remove previous setting.
16990 ($(conformtest-header-list-tests)): New target.
16991 (test-xfail-run-conformtest): Remove variable.
16992 ($(objpfx)run-conformtest.out): Remove target.
16993 (test-xfail-ISO11/complex.h/conform): New variable.
16994 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16995 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16996 (test-xfail-XPG3/varargs.h/conform): Likewise.
16997 (test-xfail-XPG4/varargs.h/conform): Likewise.
16998 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16999 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17000 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17001 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17002 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17003 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17004 (test-xfail-XPG3/ftw.h/conform): Likewise.
17005 (test-xfail-XPG3/grp.h/conform): Likewise.
17006 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17007 (test-xfail-XPG3/limits.h/conform): Likewise.
17008 (test-xfail-XPG3/pwd.h/conform): Likewise.
17009 (test-xfail-XPG3/search.h/conform): Likewise.
17010 (test-xfail-XPG3/signal.h/conform): Likewise.
17011 (test-xfail-XPG3/stdio.h/conform): Likewise.
17012 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17013 (test-xfail-XPG3/string.h/conform): Likewise.
17014 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17015 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17016 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17017 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17018 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17019 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17020 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17021 (test-xfail-XPG3/termios.h/conform): Likewise.
17022 (test-xfail-XPG3/time.h/conform): Likewise.
17023 (test-xfail-XPG3/unistd.h/conform): Likewise.
17024 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17025 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17026 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17027 (test-xfail-XPG4/netdb.h/conform): Likewise.
17028 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17029 (test-xfail-XPG4/signal.h/conform): Likewise.
17030 (test-xfail-XPG4/stdio.h/conform): Likewise.
17031 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17032 (test-xfail-XPG4/stropts.h/conform): Likewise.
17033 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17034 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17035 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17036 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17037 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17038 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17039 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17040 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17041 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17042 (test-xfail-XPG4/termios.h/conform): Likewise.
17043 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17044 (test-xfail-XPG4/unistd.h/conform): Likewise.
17045 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17046 (test-xfail-POSIX/sched.h/conform): Likewise.
17047 (test-xfail-POSIX/signal.h/conform): Likewise.
17048 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17049 (test-xfail-POSIX/tar.h/conform): Likewise.
17050 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17051 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17052 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17053 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17054 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17055 (test-xfail-UNIX98/sched.h/conform): Likewise.
17056 (test-xfail-UNIX98/signal.h/conform): Likewise.
17057 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17058 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17059 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17060 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17061 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17062 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17063 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17064 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17065 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17066 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17067 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17068 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17069 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17070 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17071 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17072 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17073 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17074 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17075 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17076 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17077 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17078 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17079 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17080 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17081 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17082 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17083 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17084 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17085 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17086 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17087 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17088 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17089 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17090 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17091 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17092 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17093 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17094 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17095 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17096 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17097 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17098 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17099 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17100 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17101 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17102 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17103 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17104 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17105 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17106 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17107 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17108 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17109 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17110 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17111 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17112 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17113 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17114 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17115 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17116 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17117 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17118 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17119 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17120 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17121 (conformtest-cc-flags): Likewise.
17122 ($(conformtest-header-tests): New target.
17123 * conform/check-header-lists.sh: New file.
17124 * conform/run-conformtest.sh: Remove.
17125
a00f522a
JM
17126 * conform/conformtest.pl: Allow ' and \ in values given for
17127 constants.
17128 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17129 inclusion.
17130 [POSIX] (sys/types.h): Likewise.
17131 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17132 inclusion.
17133 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17134 inclusion.
17135 * conform/data/signal.h-data (SIGIO): Remove expectation.
17136 [XPG3] (SIGBUS): Do not expect.
17137 [POSIX || XPG3] (SIGPOLL): Likewise.
17138 [POSIX || XPG3] (SIGPROF): Likewise.
17139 [POSIX || XPG3] (SIGSYS): Likewise.
17140 [XPG3] (SIGTRAP): Likewise.
17141 [POSIX || XPG3] (SIGURG): Likewise.
17142 [POSIX || XPG3] (SIGVTALRM): Likewise.
17143 [POSIX || XPG3] (SIGXCPU): Likewise.
17144 [POSIX || XPG3] (SIGXFSZ): Likewise.
17145 [POSIX] (SA_SIGINFO): Expect.
17146 [XPG3] (siginfo_t): Do not expect type or contents.
17147 [POSIX] (si_pid): Do not expect element.
17148 [POSIX] (si_uid): Likewise.
17149 [POSIX] (si_addr): Likewise.
17150 [POSIX] (si_status): Likewise.
17151 [POSIX] (si_band): Likewise.
17152 [XPG4] (si_value): Likewise.
17153 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17154 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17155 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17156 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17157 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17158 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17159 [POSIX || XPG3] (ILL_COPROC): Likewise.
17160 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17161 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17162 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17163 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17164 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17165 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17166 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17167 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17168 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17169 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17170 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17171 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17172 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17173 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17174 [POSIX || XPG3] (CLD_EXITED): Likewise.
17175 [POSIX || XPG3] (CLD_KILLED): Likewise.
17176 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17177 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17178 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17179 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17180 [POSIX || XPG3] (POLL_IN): Likewise.
17181 [POSIX || XPG3] (POLL_OUT): Likewise.
17182 [POSIX || XPG3] (POLL_MSG): Likewise.
17183 [POSIX || XPG3] (POLL_ERR): Likewise.
17184 [POSIX || XPG3] (POLL_PRI): Likewise.
17185 [POSIX || XPG3] (POLL_HUP): Likewise.
17186 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17187 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17188 (SIG*): Do not allow.
17189 [XPG3] (si_*): Likewise.
17190 [XPG3] (SI_*): Likewise.
17191 [XPG3 || XPG4] (sigev_*): Likewise.
17192 [XPG3 || XPG4] (SIGEV_*): Likewise.
17193 [XPG3 || XPG4] (sival_*): Likewise.
17194 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17195 [POSIX || XPG3] (BUS_*): Likewise.
17196 [POSIX || XPG3] (CLD_*): Likewise.
17197 [POSIX || XPG3] (FPE_*): Likewise.
17198 [POSIX || XPG3] (ILL_*): Likewise.
17199 [POSIX || XPG3] (POLL_*): Likewise.
17200 [POSIX || XPG3] (SEGV_*): Likewise.
17201 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17202 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17203 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17204 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17205 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17206 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17207 Specify type and value.
17208 (TVERSLEN): Likewise.
17209 (REGTYPE): Likewise.
17210 (AREGTYPE): Likewise.
17211 (LNKTYPE): Likewise.
17212 (SYMTYPE): Likewise.
17213 (CHRTYPE): Likewise.
17214 (BLKTYPE): Likewise.
17215 (DIRTYPE): Likewise.
17216 (FIFOTYPE): Likewise.
17217 (CONTTYPE): Likewise.
17218 (TSUID): Likewise.
17219 (TSGID): Likewise.
17220 (TSVTX): Likewise.
17221 (TUREAD): Likewise.
17222 (TUWRITE): Likewise.
17223 (TUEXEC): Likewise.
17224 (TGREAD): Likewise.
17225 (TGWRITE): Likewise.
17226 (TGEXEC): Likewise.
17227 (TOREAD): Likewise.
17228 (TOWRITE): Likewise.
17229 (TOEXEC): Likewise.
17230 [POSIX] (TSVTX): Expect constant.
17231
aa97dee1
JM
172322014-03-06 Joseph Myers <joseph@codesourcery.com>
17233
f214606a
JM
17234 * Makefile (tests): Change dependencies to ....
17235 (tests-special): ... additions to this variable.
17236 (tests): Depend on $(tests-special).
17237 * Makerules (check-abi-list): New variable.
17238 (check-abi): Depend on $(check-abi-list).
17239 [$(subdir) = elf] (tests-special): Add
17240 $(objpfx)check-abi-libc.out.
17241 [$(build-shared) = yes && subdir] (tests-special): Add
17242 $(check-abi-list).
17243 [$(build-shared) = yes && subdir] (tests): Do not depend on
17244 check-abi.
17245 * Rules (tests): Depend on $(tests-special).
17246 (xtests): Depend on $(xtests-special).
17247 * catgets/Makefile (tests): Change dependencies to ....
17248 (tests-special): ... additions to this variable.
17249 * conform/Makefile (tests): Change dependencies to ....
17250 (tests-special): ... additions to this variable.
17251 * elf/Makefile (tests): Change dependencies to ....
17252 (tests-special): ... additions to this variable.
17253 * grp/Makefile (tests): Change dependencies to ....
17254 (tests-special): ... additions to this variable.
17255 * iconv/Makefile (xtests): Change dependencies to ....
17256 (xtests-special): ... additions to this variable.
17257 * iconvdata/Makefile (tests): Change dependencies to ....
17258 (tests-special): ... additions to this variable.
17259 * intl/Makefile (tests): Change dependencies to ....
17260 (tests-special): ... additions to this variable. Also add
17261 $(objpfx)tst-gettext.out.
17262 * io/Makefile (tests): Change dependencies to ....
17263 (tests-special): ... additions to this variable.
17264 * libio/Makefile (tests): Change dependencies to ....
17265 (tests-special): ... additions to this variable.
17266 * malloc/Makefile (tests): Change dependencies to ....
17267 (tests-special): ... additions to this variable.
17268 * misc/Makefile (tests): Change dependencies to ....
17269 (tests-special): ... additions to this variable.
17270 * nptl/Makefile (tests): Change dependencies to ....
17271 (tests-special): ... additions to this variable.
17272 * nptl_db/Makefile (tests): Change dependencies to ....
17273 (tests-special): ... additions to this variable.
17274 * posix/Makefile (tests): Change dependencies to ....
17275 (tests-special): ... additions to this variable.
17276 (xtests): Change dependencies to ....
17277 (xtests-special): ... additions to this variable.
17278 * resolv/Makefile (tests): Change dependencies to ....
17279 (tests-special): ... additions to this variable.
17280 (xtests): Change dependencies to ....
17281 (xtests-special): ... additions to this variable.
17282 * stdio-common/Makefile (tests): Change dependencies to ....
17283 (tests-special): ... additions to this variable.
17284 (do-tst-unbputc): Remove target.
17285 (do-tst-printf): Likewise.
17286 * stdlib/Makefile (tests): Change dependencies to ....
17287 (tests-special): ... additions to this variable.
17288 * string/Makefile (tests): Change dependencies to ....
17289 (tests-special): ... additions to this variable.
17290 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17291 (tests-special): ... additions to this variable.
17292
81700b53
JM
17293 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17294 whole file.
17295 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17296 whole file.
17297 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17298 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17299
2ea18461
JM
17300 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17301 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17302 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17303 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17304 * conform/data/libgen.h-data [XPG3]: Likewise.
17305 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17306 * conform/data/ndbm.h-data [XPG3]: Likewise.
17307 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17308 * conform/data/netdb.h-data [XPG3]: Likewise.
17309 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17310 * conform/data/poll.h-data [XPG3]: Likewise.
17311 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17312 * conform/data/strings.h-data [XPG3]: Likewise.
17313 * conform/data/stropts.h-data [XPG3]: Likewise.
17314 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17315 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17316 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17317 Likewise.
17318 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17319 * conform/data/sys/time.h-data [XPG3]: Likewise.
17320 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17321 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17322 * conform/data/sys/un.h-data [XPG3]: Likewise.
17323 * conform/data/syslog.h-data [XPG3]: Likewise.
17324 * conform/data/ucontext.h-data [XPG3]: Likewise.
17325 * conform/data/utmpx.h-data [XPG3]: Likewise.
17326 * conform/data/varargs.h-data [UNIX98]: Enable file.
17327
355bc986
JM
17328 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17329
215db402
JM
17330 * math/libm-test.inc (struct test_f_f_data): Move expected results
17331 into structure for each rounding mode.
17332 (struct test_ff_f_data): Likewise.
17333 (struct test_ff_f_data_nexttoward): Likewise.
17334 (struct test_fi_f_data): Likewise.
17335 (struct test_fl_f_data): Likewise.
17336 (struct test_if_f_data): Likewise.
17337 (struct test_fff_f_data): Likewise.
17338 (struct test_c_f_data): Likewise.
17339 (struct test_f_f1_data): Likewise.
17340 (struct test_fF_f1_data): Likewise.
17341 (struct test_ffI_f1_data): Likewise.
17342 (struct test_c_c_data): Likewise.
17343 (struct test_cc_c_data): Likewise.
17344 (struct test_f_i_data): Likewise.
17345 (struct test_ff_i_data): Likewise.
17346 (struct test_f_l_data): Likewise.
17347 (struct test_f_L_data): Likewise.
17348 (struct test_fFF_11_data): Likewise.
17349 (RM_): New macro.
17350 (RM_FE_DOWNWARD): Likewise.
17351 (RM_FE_TONEAREST): Likewise.
17352 (RM_FE_TOWARDZERO): Likewise.
17353 (RM_FE_UPWARD): Likewise.
17354 (RUN_TEST_LOOP_f_f): Update references to expected results.
17355 (RUN_TEST_LOOP_2_f): Likewise.
17356 (RUN_TEST_LOOP_fff_f): Likewise.
17357 (RUN_TEST_LOOP_c_f): Likewise.
17358 (RUN_TEST_LOOP_f_f1): Likewise.
17359 (RUN_TEST_LOOP_fF_f1): Likewise.
17360 (RUN_TEST_LOOP_fI_f1): Likewise.
17361 (RUN_TEST_LOOP_ffI_f1): Likewise.
17362 (RUN_TEST_LOOP_c_c): Likewise.
17363 (RUN_TEST_LOOP_cc_c): Likewise.
17364 (RUN_TEST_LOOP_f_i): Likewise.
17365 (RUN_TEST_LOOP_f_i_tg): Likewise.
17366 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17367 (RUN_TEST_LOOP_f_b): Likewise.
17368 (RUN_TEST_LOOP_f_b_tg): Likewise.
17369 (RUN_TEST_LOOP_f_l): Likewise.
17370 (RUN_TEST_LOOP_f_L): Likewise.
17371 (RUN_TEST_LOOP_fFF_11): Likewise.
17372 * math/gen-libm-test.pl (parse_args): Output four copies of
17373 expected results for each test.
17374
67737b8f
JM
17375 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17376 (__ASSUME_UTIMES): Remove.
17377 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17378 (__ASSUME_UTIMES): Likewise.
17379
aa97dee1
JM
17380 * math/gen-auto-libm-tests.c: Update comment on output format.
17381 (output_for_one_input_case): Generate before-rounding and
17382 after-rounding information as conditions on output flags not
17383 floating-point format.
17384 * math/auto-libm-test-out: Regenerated.
17385 * math/gen-libm-test.pl (cond_value): New function.
17386 (or_cond_value): Use cond_value.
17387 (generate_testfile): Handle conditional exceptions.
17388
e6b6a857
JM
173892014-03-05 Joseph Myers <joseph@codesourcery.com>
17390
2f0a0f44
JM
17391 * math/libm-test.inc (max_valid_error): New variable.
17392 (init_max_error): Take new argument specifying whether function
17393 results are exactly determined. Set max_valid_error and bound
17394 other variables for errors based on this argument.
17395 (set_max_error): Do not record results above max_valid_error.
17396 (check_float_internal): Only accept errors of up to 0.5ulps if
17397 also at most max_valid_error.
17398 (START): Take new argument EXACT and pass it to init_max_error.
17399 (acos_test): Update call to START.
17400 (acos_test_tonearest): Likewise.
17401 (acos_test_towardzero): Likewise.
17402 (acos_test_downward): Likewise.
17403 (acos_test_upward): Likewise.
17404 (acosh_test): Likewise.
17405 (asin_test): Likewise.
17406 (asin_test_tonearest): Likewise.
17407 (asin_test_towardzero): Likewise.
17408 (asin_test_downward): Likewise.
17409 (asin_test_upward): Likewise.
17410 (asinh_test): Likewise.
17411 (atan_test): Likewise.
17412 (atanh_test): Likewise.
17413 (atan2_test): Likewise.
17414 (cabs_test): Likewise.
17415 (cacos_test): Likewise.
17416 (cacosh_test): Likewise.
17417 (carg_test): Likewise.
17418 (casin_test): Likewise.
17419 (casinh_test): Likewise.
17420 (catan_test): Likewise.
17421 (catanh_test): Likewise.
17422 (cbrt_test): Likewise.
17423 (ccos_test): Likewise.
17424 (ccosh_test): Likewise.
17425 (ceil_test): Likewise.
17426 (cexp_test): Likewise.
17427 (cimag_test): Likewise.
17428 (clog_test): Likewise.
17429 (clog10_test): Likewise.
17430 (conj_test): Likewise.
17431 (copysign_test): Likewise.
17432 (cos_test): Likewise.
17433 (cos_test_tonearest): Likewise.
17434 (cos_test_towardzero): Likewise.
17435 (cos_test_downward): Likewise.
17436 (cos_test_upward): Likewise.
17437 (cosh_test): Likewise.
17438 (cosh_test_tonearest): Likewise.
17439 (cosh_test_towardzero): Likewise.
17440 (cosh_test_downward): Likewise.
17441 (cosh_test_upward): Likewise.
17442 (cpow_test): Likewise.
17443 (cproj_test): Likewise.
17444 (creal_test): Likewise.
17445 (csin_test): Likewise.
17446 (csinh_test): Likewise.
17447 (csqrt_test): Likewise.
17448 (ctan_test): Likewise.
17449 (ctan_test_tonearest): Likewise.
17450 (ctan_test_towardzero): Likewise.
17451 (ctan_test_downward): Likewise.
17452 (ctan_test_upward): Likewise.
17453 (ctanh_test): Likewise.
17454 (ctanh_test_tonearest): Likewise.
17455 (ctanh_test_towardzero): Likewise.
17456 (ctanh_test_downward): Likewise.
17457 (ctanh_test_upward): Likewise.
17458 (erf_test): Likewise.
17459 (erfc_test): Likewise.
17460 (exp_test): Likewise.
17461 (exp_test_tonearest): Likewise.
17462 (exp_test_towardzero): Likewise.
17463 (exp_test_downward): Likewise.
17464 (exp_test_upward): Likewise.
17465 (exp10_test): Likewise.
17466 (exp10_test_tonearest): Likewise.
17467 (exp10_test_towardzero): Likewise.
17468 (exp10_test_downward): Likewise.
17469 (exp10_test_upward): Likewise.
17470 (pow10_test): Likewise.
17471 (exp2_test): Likewise.
17472 (expm1_test): Likewise.
17473 (expm1_test_tonearest): Likewise.
17474 (expm1_test_towardzero): Likewise.
17475 (expm1_test_downward): Likewise.
17476 (expm1_test_upward): Likewise.
17477 (fabs_test): Likewise.
17478 (fdim_test): Likewise.
17479 (floor_test): Likewise.
17480 (fma_test): Likewise.
17481 (fma_test_towardzero): Likewise.
17482 (fma_test_downward): Likewise.
17483 (fma_test_upward): Likewise.
17484 (fmax_test): Likewise.
17485 (fmin_test): Likewise.
17486 (fmod_test): Likewise.
17487 (fpclassify_test): Likewise.
17488 (frexp_test): Likewise.
17489 (hypot_test): Likewise.
17490 (ilogb_test): Likewise.
17491 (isfinite_test): Likewise.
17492 (finite_test): Likewise.
17493 (isgreater_test): Likewise.
17494 (isgreaterequal_test): Likewise.
17495 (isinf_test): Likewise.
17496 (isless_test): Likewise.
17497 (islessequal_test): Likewise.
17498 (islessgreater_test): Likewise.
17499 (isnan_test): Likewise.
17500 (isnormal_test): Likewise.
17501 (issignaling_test): Likewise.
17502 (isunordered_test): Likewise.
17503 (j0_test): Likewise.
17504 (j1_test): Likewise.
17505 (jn_test): Likewise.
17506 (ldexp_test): Likewise.
17507 (lgamma_test): Likewise.
17508 (gamma_test): Likewise.
17509 (lrint_test): Likewise.
17510 (lrint_test_tonearest): Likewise.
17511 (lrint_test_towardzero): Likewise.
17512 (lrint_test_downward): Likewise.
17513 (lrint_test_upward): Likewise.
17514 (llrint_test): Likewise.
17515 (llrint_test_tonearest): Likewise.
17516 (llrint_test_towardzero): Likewise.
17517 (llrint_test_downward): Likewise.
17518 (llrint_test_upward): Likewise.
17519 (log_test): Likewise.
17520 (log10_test): Likewise.
17521 (log1p_test): Likewise.
17522 (log2_test): Likewise.
17523 (logb_test): Likewise.
17524 (logb_test_downward): Likewise.
17525 (lround_test): Likewise.
17526 (llround_test): Likewise.
17527 (modf_test): Likewise.
17528 (nearbyint_test): Likewise.
17529 (nextafter_test): Likewise.
17530 (nexttoward_test): Likewise.
17531 (pow_test): Likewise.
17532 (pow_test_tonearest): Likewise.
17533 (pow_test_towardzero): Likewise.
17534 (pow_test_downward): Likewise.
17535 (pow_test_upward): Likewise.
17536 (remainder_test): Likewise.
17537 (drem_test): Likewise.
17538 (remainder_test_tonearest): Likewise.
17539 (drem_test_tonearest): Likewise.
17540 (remainder_test_towardzero): Likewise.
17541 (drem_test_towardzero): Likewise.
17542 (remainder_test_downward): Likewise.
17543 (drem_test_downward): Likewise.
17544 (remainder_test_upward): Likewise.
17545 (drem_test_upward): Likewise.
17546 (remquo_test): Likewise.
17547 (rint_test): Likewise.
17548 (rint_test_tonearest): Likewise.
17549 (rint_test_towardzero): Likewise.
17550 (rint_test_downward): Likewise.
17551 (rint_test_upward): Likewise.
17552 (round_test): Likewise.
17553 (scalb_test): Likewise.
17554 (scalbn_test): Likewise.
17555 (scalbln_test): Likewise.
17556 (signbit_test): Likewise.
17557 (sin_test): Likewise.
17558 (sin_test_tonearest): Likewise.
17559 (sin_test_towardzero): Likewise.
17560 (sin_test_downward): Likewise.
17561 (sin_test_upward): Likewise.
17562 (sincos_test): Likewise.
17563 (sinh_test): Likewise.
17564 (sinh_test_tonearest): Likewise.
17565 (sinh_test_towardzero): Likewise.
17566 (sinh_test_downward): Likewise.
17567 (sinh_test_upward): Likewise.
17568 (sqrt_test): Likewise.
17569 (sqrt_test_tonearest): Likewise.
17570 (sqrt_test_towardzero): Likewise.
17571 (sqrt_test_downward): Likewise.
17572 (sqrt_test_upward): Likewise.
17573 (tan_test): Likewise.
17574 (tan_test_tonearest): Likewise.
17575 (tan_test_towardzero): Likewise.
17576 (tan_test_downward): Likewise.
17577 (tan_test_upward): Likewise.
17578 (tanh_test): Likewise.
17579 (tgamma_test): Likewise.
17580 (trunc_test): Likewise.
17581 (y0_test): Likewise.
17582 (y1_test): Likewise.
17583 (yn_test): Likewise.
17584 (significand_test): Likewise.
17585
e6b6a857
JM
17586 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17587 individual tests in comment.
17588 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17589 (prev_max_error): New variable.
17590 (prev_real_max_error): Likewise.
17591 (prev_imag_max_error): Likewise.
17592 (compare_ulp_data): Don't refer to test names in comment.
17593 (find_test_ulps): Remove function.
17594 (find_function_ulps): Likewise.
17595 (find_complex_function_ulps): Likewise.
17596 (init_max_error): Take function name as argument. Look up ulps
17597 for that function.
17598 (print_ulps): Remove function.
17599 (print_max_error): Use prev_max_error instead of calling
17600 find_function_ulps.
17601 (print_complex_max_error): Use prev_real_max_error and
17602 prev_imag_max_error instead of calling find_complex_function_ulps.
17603 (check_float_internal): Take max_ulp parameter instead of calling
17604 find_test_ulps. Don't call print_ulps.
17605 (check_float): Update call to check_float_internal.
17606 (check_complex): Update calls to check_float_internal.
17607 (START): Pass argument to init_max_error.
17608 * math/gen-libm-test.pl (%results): Don't include "kind"
17609 information.
17610 (parse_ulps): Don't handle ulps of individual tests.
17611 (print_ulps_file): Likewise.
17612 (output_ulps): Likewise.
17613 * math/README.libm-test: Update.
17614 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17615 individual tests.
17616 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17617 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17618 * sysdeps/arm/libm-test-ulps: Likewise.
17619 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17620 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17621 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17622 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17623 * sysdeps/microblaze/libm-test-ulps: Likewise.
17624 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17625 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17626 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17627 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17628 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17629 * sysdeps/sh/libm-test-ulps: Likewise.
17630 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17631 * sysdeps/tile/libm-test-ulps: Likewise.
17632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17633
45adef3c
JM
176342014-03-04 Joseph Myers <joseph@codesourcery.com>
17635
17636 * math/libm-test.inc (print_complex_max_error): Check separately
17637 whether real and imaginary errors are within allowed range and
17638 pass 0 to print_complex_function_ulps instead of value within
17639 allowed range.
17640
000232b9
SP
176412014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17642
d4b17258
SP
17643 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17644 formatting.
17645 (get_handles_fopen): Likewise.
17646 (do_write_test): Likewise.
17647
091eff71
SP
17648 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17649
fa3cd248
SP
17650 * libio/fileops.c (do_ftell): Use cached offset when
17651 available.
17652 * libio/iofwide.c (do_ftell_wide): Likewise.
17653 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17654 _IO_file_attach.
17655 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17656
000232b9
SP
17657 [BZ #16532]
17658 * libio/libioP.h (get_file_offset): New function.
17659 * libio/fileops.c (get_file_offset): Likewise.
17660 (do_ftell): Likewise.
17661 (_IO_new_file_seekoff): Split out ftell logic.
17662 * libio/wfileops.c (do_ftell_wide): Likewise.
17663 (_IO_wfile_seekoff): Split out ftell logic.
17664 * libio/tst-ftell-active-handler.c: New test case.
17665 * libio/Makefile (tests): Add it.
17666
116f4d1a
RM
176672014-03-03 Roland McGrath <roland@hack.frob.com>
17668
17669 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17670 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17671
532a6035
SP
176722014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17673
17674 [BZ #16639]
17675 * nscd/connections.c (nscd_init): Call do_exit.
17676 (start_threads): Call do_exit and notify_parent.
17677 (begin_drop_privileges): Call do_exit.
17678 (finish_drop_privileges): Likewise.
17679 * nscd/selinux.c (preserve_capabilities): Likewise.
17680 (install_real_capabilities): Likewise.
17681 (nscd_selinux_enabled): Likewise.
17682 (avc_create_thread): Likewise.
17683 (avc_alloc_lock): Likewise.
17684 (nscd_avc_init): Likewise.
17685 * nscd/nscd.c (parent_fd): New static variable.
17686 (main): Create a pipe between parent and child processes.
17687 Skip closing parent_fd.
17688 (monitor_child): New function.
17689 (do_exit): Likewise.
17690 (notify_parent): Likewise.
17691 * nscd/nscd.h (notify_parent): Likewise.
17692 (do_exit): Likewise.
17693
d6285c9f
CD
176942014-03-03 Carlos O'Donell <carlos@redhat.com>
17695
17696 * malloc/malloc.c (__libc_calloc): Revert last change.
17697
2b85d2a0
AZ
176982014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17699
17700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17701
c7debbdf
RS
177022014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17703
17704 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17706 implementation.
17707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17708 (__libc_ifunc_impl_list): Likewise.
17709 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17710 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17711 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17712 * string/strrchr.c: Define STRRCHR.
17713
235eed86
OB
177142014-02-28 Ondřej Bílka <neleai@seznam.cz>
17715
17716 * benchtest/bench-strtok.c (simple_strtok): Delete.
17717 (strtok_string): Use as benchmark.
17718 * string/strtok (STRTOK): New macro.
17719
8e25d1e7
CD
177202014-02-28 Carlos O'Donell <carlos@redhat.com>
17721
ef563f92
CD
17722 * manual/threads.texi: Add header and standard comments to all
17723 functions.
17724
8e25d1e7
CD
17725 * elf/dl-lookup.c (check_match): New function.
17726 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17727 (do_lookup_x): Remove nested function check_match. Use non-nested
17728 function check_match.
17729
ff71cc37
RM
177302014-02-28 Roland McGrath <roland@hack.frob.com>
17731
f08e9a26
RM
17732 * csu/Makefile (generated, before-compile): Use += rather than =.
17733 * catgets/Makefile (generated, generated-dirs): Likewise.
17734 * debug/Makefile (generated): Likewise.
17735 * dlfcn/Makefile (generated): Likewise.
17736 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17737 * iconvdata/Makefile (before-compile, generated): Likewise.
17738 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17739 * libio/Makefile (generated): Likewise.
17740 * malloc/Makefile (generated): Likewise.
17741 * manual/Makefile (generated, generated-dirs): Likewise.
17742 * misc/Makefile (generated): Likewise.
17743 * posix/Makefile (generated): Likewise.
17744 * resolv/Makefile (generated): Likewise.
17745 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17746 * timezone/Makefile (generated, generated-dirs): Likewise.
17747
ff71cc37
RM
17748 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17749
fe13a20c
AZ
177502014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17751
57f41c40
AS
17752 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17753 power8 implementation.
17754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17755 file: POWER8 llround ifunc implementation.
17756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17757 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
17758 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17759 POWER8 llround implementation.
17760
57f41c40
AS
17761 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17762 power8 implementation.
17763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17764 file: POWER8 llrint ifunc implementation.
17765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17766 Add POWER8 implementation.
1ad8950a
AZ
17767 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17768 POWER8 llrint implementation.
17769
57f41c40
AS
17770 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17771 power8 implementation.
17772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17773 file: POWER8 finite ifunc implementation.
17774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17775 Add POWER8 implementation.
cac626d6
AZ
17776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17777 Likewise.
17778 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17779 POWER8 finite implementation.
17780 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17781
57f41c40
AS
17782 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17783 power8 implementation.
17784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17785 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
17786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17787 POWER8 implementation.
17788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17789 Likewise.
57f41c40
AS
17790 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17791 isinf implementation.
4393fc11
AZ
17792 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17793
57f41c40
AS
17794 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17795 (INIT_ARCH): Add hwcap2 initialization.
17796 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17797 power8 implementation.
17798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17799 file: POWER8 isnan ifunc implementation.
487972ae
AZ
17800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17801 POWER8 implementation.
17802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17803 Likewise.
57f41c40
AS
17804 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17805 isnan implementation.
487972ae
AZ
17806 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17807
7d92b787
JY
178082014-02-27 Joey Ye <joey.ye@arm.com>
17809
17810 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17811 (_FP_NANFRAC_Q): Set to zero.
17812
1cadc858
SP
178132014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17814
17815 [BZ #16623]
17816 * math/auto-libm-test-in: New test inputs.
17817 * math/auto-libm-test-out: Regenerate.
17818 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17819 and DA.
17820 (__cos): Likewise.
17821 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17822
f8c17e79
JM
178232014-02-27 Joseph Myers <joseph@codesourcery.com>
17824
17825 * scripts/evaluate-test.sh: Take new argument indicating whether
17826 failure is expected.
17827 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17828 indicating whether failure is expected.
17829 * conform/Makefile (test-xfail-run-conformtest): New variable.
17830 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17831 level.
17832 * posix/Makefile (test-xfail-annexc): New variable.
17833 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17834
a5f891ac
JM
178352014-02-26 Joseph Myers <joseph@codesourcery.com>
17836
17837 * argp/Makefile: Include Makeconfig immediately after defining
17838 subdir.
17839 * assert/Makefile: Likewise.
17840 * benchtests/Makefile: Likewise.
17841 * catgets/Makefile: Likewise.
17842 * conform/Makefile: Likewise.
17843 * crypt/Makefile: Likewise.
17844 * csu/Makefile: Likewise.
17845 (all): Remove target.
17846 * ctype/Makefile: Include Makeconfig immediately after defining
17847 subdir.
17848 * debug/Makefile: Likewise.
17849 * dirent/Makefile: Likewise.
17850 * dlfcn/Makefile: Likewise.
17851 * gmon/Makefile: Likewise.
17852 * gnulib/Makefile: Likewise.
17853 * grp/Makefile: Likewise.
17854 * gshadow/Makefile: Likewise.
17855 * hesiod/Makefile: Likewise.
17856 * hurd/Makefile: Likewise.
17857 (all): Remove target.
17858 * iconvdata/Makefile: Include Makeconfig immediately after
17859 defining subdir.
17860 * inet/Makefile: Likewise.
17861 * intl/Makefile: Likewise.
17862 * io/Makefile: Likewise.
17863 * libio/Makefile: Likewise.
17864 (all): Remove target.
17865 * locale/Makefile: Include Makeconfig immediately after defining
17866 subdir.
17867 * login/Makefile: Likewise.
17868 * mach/Makefile: Likewise.
17869 (all): Remove target.
17870 * malloc/Makefile: Include Makeconfig immediately after defining
17871 subdir.
17872 (all): Remove target.
17873 * manual/Makefile: Include Makeconfig immediately after defining
17874 subdir.
17875 * math/Makefile: Likewise.
17876 * misc/Makefile: Likewise.
17877 * nis/Makefile: Likewise.
17878 * nss/Makefile: Likewise.
17879 * po/Makefile: Likewise.
17880 (all): Remove target.
17881 * posix/Makefile: Include Makeconfig immediately after defining
17882 subdir.
17883 * pwd/Makefile: Likewise.
17884 * resolv/Makefile: Likewise.
17885 * resource/Makefile: Likewise.
17886 * rt/Makefile: Likewise.
17887 * setjmp/Makefile: Likewise.
17888 * shadow/Makefile: Likewise.
17889 * signal/Makefile: Likewise.
17890 * socket/Makefile: Likewise.
17891 * soft-fp/Makefile: Likewise.
17892 * stdio-common/Makefile: Likewise.
17893 * stdlib/Makefile: Likewise.
17894 * streams/Makefile: Likewise.
17895 * string/Makefile: Likewise.
17896 * sunrpc/Makefile: Likewise.
17897 (all): Remove target.
17898 * sysvipc/Makefile: Include Makeconfig immediately after defining
17899 subdir.
17900 * termios/Makefile: Likewise.
17901 * time/Makefile: Likewise.
17902 * timezone/Makefile: Likewise.
17903 (all): Remove target.
17904 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17905 subdir.
17906 * wctype/Makefile: Likewise.
17907
5b456e9d
SE
179082014-02-26 Steve Ellcey <sellcey@mips.com>
17909
17910 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17911 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17912 (libc_feholdexcept_setround_mips): Ditto.
17913 (libc_feholdsetround): New.
17914 (libc_feholdsetroundf): New.
17915 (libc_feholdsetroundl): New.
17916 (libc_feupdateenv_test_mips): New.
17917 (libc_feupdateenv_test): New.
17918 (libc_feupdateenv_testf): New.
17919 (libc_feupdateenv_testl): New.
17920 (libc_feresetround): New.
17921 (libc_feresetroundf): New.
17922 (libc_feresetroundl): New.
17923 (libc_fetestexcept_mips): New.
17924 (libc_fetestexcept): New.
17925 (libc_fetestexceptf): New.
17926 (libc_fetestexceptl): New.
17927 (HAVE_RM_CTX): New.
17928 (libc_feholdexcept_setround_mips_ctx): New.
17929 (libc_feholdexcept_setround_ctx): New.
17930 (libc_feholdexcept_setroundf_ctx): New.
17931 (libc_feholdexcept_setroundl_ctx): New.
17932 (libc_fesetenv_mips_ctx): New.
17933 (libc_fesetenv_ctx): New.
17934 (libc_fesetenv_ctxf): New.
17935 (libc_fesetenv_ctxl): New.
17936 (libc_feupdateenv_mips_ctx): New.
17937 (libc_feupdateenv_ctx): New.
17938 (libc_feupdateenvf_ctx): New.
17939 (libc_feupdateenvl_ctx): New.
17940 (libc_feholdsetround_mips_ctx): New.
17941 (libc_feholdsetround_ctx): New.
17942 (libc_feholdsetroundf_ctx): New.
17943 (libc_feholdsetroundl_ctx): New.
17944 (libc_feresetround_mips_ctx): New.
17945 (libc_feresetround_ctx): New.
17946 (libc_feresetroundf_ctx): New.
17947 (libc_feresetroundl_ctx): New.
17948
085d0e35
CD
179492014-02-26 Carlos O'Donell <carlos@redhat.com>
17950
f067bf1f
CD
17951 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17952
085d0e35
CD
17953 * manual/ipc.texi: New file.
17954 * manual/Makefile (chapters): Add ipc.
17955 * manual/job.texi: Add "Inter-Process Communication" to next.
17956 * manual/process.texi: Add "Inter-Process Communication" to prev.
17957
86e58c08
AZ
179582014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17959
17960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17961
4248f0da
OB
179622014-02-26 Ondřej Bílka <neleai@seznam.cz>
17963
17964 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17965
cf822e3c
OB
17966 * manual/arith.texi: Fix spaces after sentences.
17967 * manual/charset.texi: Likewise.
17968 * manual/errno.texi: Likewise.
17969 * manual/install.texi: Likewise.
17970 * manual/llio.texi: Likewise.
17971 * manual/locale.texi: Likewise.
17972 * manual/maint.texi: Likewise.
17973 * manual/math.texi: Likewise.
17974 * manual/memory.texi: Likewise.
17975 * manual/message.texi: Likewise.
17976 * manual/probes.texi: Likewise.
17977 * manual/resource.texi: Likewise.
17978 * manual/signal.texi: Likewise.
17979 * manual/socket.texi: Likewise.
17980 * manual/stdio.texi: Likewise.
17981 * manual/string.texi: Likewise.
17982 * manual/time.texi: Likewise.
17983 * manual/users.texi: Likewise.
17984
ade40b10
CD
179852014-02-25 Carlos O'Donell <carlos@redhat.com>
17986
17987 [BZ #16632]
17988 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17989 _DEFAULT_SOURCE is defined.
17990
d0503676
CD
179912014-02-25 Ulrich Drepper <drepper@gmail.com>
17992 Carlos O'Donell <carlos@redhat.com>
17993
17994 [BZ #16613]
17995 * elf/dl-tls.c (_dl_count_modids): New function.
17996 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17997 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17998 audit library and increment generation counter.
17999 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18000 * elf/tst-audit9.c: New file.
18001 * elf/tst-auditmod9a.c: New file.
18002 * elf/tst-auditmod9b.c: New file.
18003 * elf/Makefile: Add rules to build and run tst-audit9.
18004
4cbf380c
FW
180052014-02-25 Florian Weimer <fweimer@redhat.com>
18006
18007 [BZ #15347]
18008 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18009
80a56cc3
WN
180102014-02-25 Will Newton <will.newton@linaro.org>
18011
18012 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18013 (__longjmp): Restore sp and lr before restoring callee
18014 saved registers. Add longjmp and longjmp_target
18015 SystemTap probe point.
18016 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18017 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18018 Define to zero to match jmpbuf layout.
18019 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18020 (__sigsetjmp): Save sp and lr before saving callee
18021 saved registers. Add setjmp SystemTap probe point.
18022
3ea0f74e
SL
180232014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18024
18025 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18026
b04acb26
AS
180272014-02-24 Andreas Schwab <schwab@suse.de>
18028
18029 [BZ #15804]
18030 * elf/pldd.c (wait_for_ptrace_stop): New function.
18031 (main): Call it after attaching.
18032
098ad55c
RM
180332014-02-22 Roland McGrath <roland@hack.frob.com>
18034
d4ec6ae1
RM
18035 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18036 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18037 Versions files is now verboten.
18038 * hurd/Versions (libc: GLIBC_2.0):
18039 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18040 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18041 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18042 * mach/Versions: Likewise.
18043
098ad55c
RM
18044 * csu/Versions: Remove unused %include.
18045 * resolv/Versions: Likewise.
18046
acd7f096
JM
180472014-02-21 Joseph Myers <joseph@codesourcery.com>
18048
f0881698
JM
18049 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18050 ($(objpfx)check-local-headers.out): Likewise.
18051 ($(objpfx)begin-end-check.out): Likewise.
18052 * Makerules (check-abi-%.out): Likewise.
18053 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18054 ($(objpfx)test2.cat): Likewise.
18055 ($(objpfx)de/libc.cat): Likewise.
18056 ($(objpfx)test-gencat.out): Likewise.
18057 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18058 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18059 ($(objpfx)noload-mem): Likewise.
18060 ($(objpfx)tst-pathopt.out): Likewise.
18061 ($(objpfx)tst-rtld-load-self.out): Likewise.
18062 ($(objpfx)tst-array1-cmp.out): Likewise.
18063 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18064 ($(objpfx)tst-array2-cmp.out): Likewise.
18065 ($(objpfx)tst-array3-cmp.out): Likewise.
18066 ($(objpfx)tst-array4-cmp.out): Likewise.
18067 ($(objpfx)tst-array5-cmp.out): Likewise.
18068 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18069 ($(objpfx)check-textrel.out): Likewise.
18070 ($(objpfx)check-execstack.out): Likewise.
18071 ($(objpfx)check-localplt.out): Likewise.
18072 ($(objpfx)order2-cmp.out): Likewise.
18073 ($(objpfx)tst-leaks1-mem): Likewise.
18074 ($(objpfx)tst-leaks1-static-mem): Likewise.
18075 ($(objpfx)tst-initorder-cmp.out): Likewise.
18076 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18077 ($(objpfx)tst-unused-dep.out): Likewise.
18078 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18079 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18080 * iconv/Makefile (test-iconvconfig): Likewise.
18081 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18082 ($(objpfx)iconv-test.out): Likewise.
18083 ($(objpfx)tst-tables.out): Likewise.
18084 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18085 ($(objpfx)tst-gettext.out): Likewise.
18086 ($(objpfx)tst-translit.out): Likewise.
18087 ($(objpfx)tst-gettext2.out): Likewise.
18088 ($(objpfx)tst-gettext4.out): Likewise.
18089 ($(objpfx)tst-gettext6.out): Likewise.
18090 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18091 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18092 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18093 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18094 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18095 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18096 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18097 ($(objpfx)wordexp-tst.out): Likewise.
18098 ($(objpfx)annexc.out): Likewise.
18099 ($(objpfx)tst-fnmatch-mem): Likewise.
18100 ($(objpfx)bug-regex2-mem): Likewise.
18101 ($(objpfx)bug-regex14-mem): Likewise.
18102 ($(objpfx)bug-regex21-mem): Likewise.
18103 ($(objpfx)bug-regex31-mem): Likewise.
18104 ($(objpfx)tst-vfork3-mem): Likewise.
18105 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18106 ($(objpfx)tst-pcre-mem): Likewise.
18107 ($(objpfx)tst-boost-mem): Likewise.
18108 ($(objpfx)tst-getconf.out): Likewise.
18109 ($(objpfx)bug-ga2-mem): Likewise.
18110 ($(objpfx)bug-glob2-mem): Likewise.
18111 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18112 ($(objpfx)mtrace-tst-leaks2): Likewise.
18113 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18114 ($(objpfx)tst-printf.out): Likewise.
18115 ($(objpfx)tst-setvbuf1.out): Likewise.
18116 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18117 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18118 ($(objpfx)tst-fmtmsg.out): Likewise.
18119 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18120 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18121
acd7f096
JM
18122 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18123 * bits/sigaction.h [__USE_MISC]: Likewise.
18124 * bits/waitstatus.h: Update #endif comments.
18125 * ctype/ctype.h: Likewise.
18126 * dirent/dirent.h: Likewise.
18127 [__USE_MISC]: Remove redundant conditionals.
18128 * grp/grp.h: Update #endif comments.
18129 [__USE_GNU]: Remove redundant conditionals.
18130 [__USE_MISC]: Likewise.
18131 * inet/netinet/in.h [__USE_GNU]: Likewise.
18132 * io/sys/stat.h [__USE_MISC]: Likewise.
18133 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18134 * libio/bits/stdio.h: Update #endif comments.
18135 [__USE_MISC]: Remove redundant conditionals.
18136 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18137 * libio/stdio.h: Update #endif comments.
18138 [__USE_MISC]: Remove redundant conditionals.
18139 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18140 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18141 * math/math.h: Update #else and #endif comments.
18142 [__USE_MISC]: Remove redundant conditionals.
18143 * misc/sys/uio.h: Update #endif comments.
18144 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18145 * posix/glob.h [__USE_MISC]: Likewise.
18146 * posix/sys/types.h: Update #endif comments.
18147 [__USE_MISC]: Remove redundant conditionals.
18148 * posix/sys/wait.h: Update #endif comments.
18149 [__USE_MISC]: Remove redundant conditionals.
18150 * posix/unistd.h: Update #endif comments.
18151 [__USE_MISC]: Remove redundant conditionals.
18152 * pwd/pwd.h [__USE_GNU]: Likewise.
18153 [__USE_MISC]: Likewise.
18154 * resolv/netdb.h [__USE_GNU]: Likewise.
18155 * signal/signal.h: Update #endif comments.
18156 [__USE_MISC]: Remove redundant conditionals.
18157 * stdlib/stdlib.h: Update #else and #endif comments.
18158 [__USE_MISC]: Remove redundant conditionals.
18159 [__USE_GNU]: Likewise.
18160 * string/bits/string2.h [__USE_MISC]: Likewise.
18161 * string/string.h: Update #endif comments.
18162 [__USE_MISC]: Remove redundant conditionals.
18163 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18164 Likewise.
18165 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18166 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18167 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18168 Likewise.
18169 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18170 Likewise.
18171 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18172 comments.
18173 [__USE_MISC]: Remove redundant conditionals.
18174 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18175 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18176 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18177 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18178 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18179 Likewise.
18180 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18181 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18182 Likewise.
18183 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18184 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18185 Likewise.
18186 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18187 Likewise.
18188 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18189 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18190 Likewise.
18191 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18192 Likewise.
18193 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18194 * sysdeps/x86/bits/string.h: Update #endif comments.
18195 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18196 conditionals.
18197 * time/sys/time.h: Update #endif comments.
18198 * time/time.h: Likewise.
18199 [__USE_MISC]: Remove redundant conditionals.
18200
a5d82e4e
YG
182012014-02-21 Yury Gribov <y.gribov@samsung.com>
18202
18203 [BZ #16600]
18204 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18205
9a80491d
AS
182062014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18207
18208 * Versions.def (librt): Add GLIBC_2.17.
18209
105fa381
AC
182102014-02-21 Adam Conrad <adconrad@0c3.net>
18211
18212 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18213 synonym for _SYS_AUXV_H to allow direct inclusion.
18214 * sysdeps/sparc/bits/hwcap.h: Likewise.
18215 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18216 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18217 * sysdeps/sparc/sysdep.h: Likewise.
18218
b8cd1c4e
SP
182192014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18220
18221 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18222
bd939d23
RS
182232014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18224
18225 * benchtests/bench-strrchr.c: Print length instead of position.
18226
5d7b57ca
JM
182272014-02-20 Joseph Myers <joseph@codesourcery.com>
18228
bc688c10
JM
18229 [BZ #16611]
18230 * sysdeps/unix/sysv/linux/kernel-features.h
18231 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18232 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18233 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18234 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18235 Likewise.
18236 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18237 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18238 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18239 (__ASSUME_SENDMMSG): Define instead of using previous
18240 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18241 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18242 (__ASSUME_SENDMMSG_SYSCALL): Define.
18243 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18244 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18245 Likewise.
18246 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18247 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18248 Likewise.
18249 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18250 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18251 Likewise.
18252 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18253 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18254 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18255 [__ASSUME_SENDMMSG]: Change conditionals to
18256 [__ASSUME_SENDMMSG_SOCKETCALL].
18257 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18258 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18259 Define.
18260 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18261 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18262 Likewise.
18263 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18264 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18265 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18266 [!__ASSUME_SENDMMSG]: Change conditional to
18267 [!__ASSUME_SENDMMSG_SOCKETCALL].
18268 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18269 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18270 Define.
18271
0e31b18c
JM
18272 [BZ #16610]
18273 * sysdeps/unix/sysv/linux/kernel-features.h
18274 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18275 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18276 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18277 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18278 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18279 [__i386__ || __sparc__]
18280 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18281 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18282 (__ASSUME_RECVMMSG): Define instead of using previous
18283 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18284 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18285 (__ASSUME_RECVMMSG_SYSCALL): Define.
18286 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18287 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18288 Likewise.
18289 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18290 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18291 Likewise.
18292 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18293 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18294 Likewise.
18295 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18296 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18297 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18298 [__ASSUME_RECVMMSG]: Change condition to
18299 [__ASSUME_RECVMMSG_SOCKETCALL].
18300 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18301 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18302 Define.
18303 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18304 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18305 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18306 Likewise.
18307 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18308 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18309 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18310 [!__ASSUME_RECVMMSG]: Change condition to
18311 [!__ASSUME_RECVMMSG_SOCKETCALL].
18312 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18313 (__ASSUME_RECVMMSG_SYSCALL): Define.
18314
dd481ccf
JM
18315 [BZ #16609]
18316 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18317 __powerpc__ || __s390__ || __sh__ || __sparc__]
18318 (__ASSUME_SOCKETCALL): Define.
18319 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18320 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18321 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18322 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18323 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18324 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18325 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18326 (__ASSUME_ACCEPT4): Define instead of using previous
18327 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18328 __powerpc__ || __sparc__ || __s390__)] condition.
18329 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18330 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18331 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18332 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18333 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18334 [!__ASSUME_ACCEPT4]: Change condition to
18335 [!__ASSUME_ACCEPT4_SOCKETCALL].
18336 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18337 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18338 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18339 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18340 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18341 __ASSUME_ACCEPT4_SYSCALL.
18342 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18343 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18344 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18345 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18346 __ASSUME_ACCEPT4_SYSCALL.
18347 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18348 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18349 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18350 [__ASSUME_ACCEPT4]: Change condition to
18351 [__ASSUME_ACCEPT4_SOCKETCALL].
18352 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18353 (__ASSUME_SOCKETCALL): Define.
18354 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18355 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18356 (__ASSUME_SOCKETCALL): Define.
18357 (__ASSUME_ACCEPT4): Remove.
18358 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18359 Define.
18360 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18361 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18362 Likewise.
18363 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18364 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18365
5d7b57ca
JM
18366 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18367 macro.
18368 (HWCAP_ARM_LPAE): Likewise.
18369 (HWCAP_ARM_EVTSTRM): Likewise.
18370 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18371 Add vpfd32, lpae and evtstrm.
18372 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18373 Increase to 22.
18374
63689d61
JM
183752014-02-19 Joseph Myers <joseph@codesourcery.com>
18376
18377 * math/auto-libm-test-in: Add tests of clog10.
18378 * math/auto-libm-test-out: Regenerated.
18379 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18380 * sysdeps/i386/fpu/libm-test-ulps: Update.
18381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18382
ab09bf61
AS
183832014-02-18 Andreas Schwab <schwab@suse.de>
18384
18385 [BZ #16574]
18386 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18387 Store non-zero if the second buffer was newly allocated.
18388 (send_dg): Likewise.
18389 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18390 to send_vc and send_dg.
18391 (res_nsend): Pass NULL for ansp2_malloced.
18392 * resolv/res_query.c (__libc_res_nquery): Add parameter
18393 answerp2_malloced and pass it down to __libc_res_nsend.
18394 (res_nquery): Pass additional NULL to __libc_res_nquery.
18395 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18396 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18397 second answer buffer if answerp2_malloced was set.
18398 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18399 (__libc_res_nquerydomain): Add parameter
18400 answerp2_malloced and pass it down to __libc_res_nquery.
18401 (res_nquerydomain): Pass additional NULL to
18402 __libc_res_nquerydomain.
18403 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18404 additional NULL to __libc_res_nsend and __libc_res_nquery.
18405 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18406 additional NULL to __libc_res_nsearch.
18407 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18408 parameter of __libc_res_nsearch to check for separately allocated
18409 second buffer.
18410 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18411 __libc_res_nquery.
18412 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18413 additional NULL to __libc_res_nquery.
18414 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18415 __libc_res_nsearch.
18416 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18417 * include/resolv.h: Update prototypes of __libc_res_nquery,
18418 __libc_res_nsearch, __libc_res_nsend.
18419
a4fb7861
JM
184202014-02-18 Joseph Myers <joseph@codesourcery.com>
18421
c6af2d89
JM
18422 * math/auto-libm-test-in: Add tests of fma.
18423 * math/auto-libm-test-out: Regenerated.
18424 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18425 (fma_towardzero_test_data): Likewise.
18426 (fma_downward_test_data): Likewise.
18427 (fma_upward_test_data): Likewise.
18428 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18429 mpc_mode.
18430 (rounding_modes): Add values for new field.
18431 (func_calc_method): Add value mpfr_fff_f.
18432 (func_calc_desc): Add mpfr_fff_f union field.
18433 (test_function): Add field exact_args.
18434 (FUNC): Add macro argument EXACT_ARGS.
18435 (FUNC_mpfr_f_f): Update call to FUNC.
18436 (FUNC_mpfr_f_f): Likewise.
18437 (FUNC_mpfr_ff_f): Likewise.
18438 (FUNC_mpfr_if_f): Likewise.
18439 (FUNC_mpc_c_f): Likewise.
18440 (FUNC_mpc_c_c): Likewise.
18441 (test_functions): Add fma. Update calls to FUNC.
18442 (handle_input_arg): Add argument exact_args.
18443 (add_test): Update call to handle_input_arg.
18444 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18445 (output_for_one_input_case): Update call to calc_generic_results.
18446 Recalculate exact zero results in each rounding mode.
18447
a4fb7861
JM
18448 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18449 non-negative before setting low bit.
18450 * math/auto-libm-test-in: Mark one asin test possibly having
18451 spurious underflow.
18452 * math/auto-libm-test-out: Regenerated.
18453 * sysdeps/i386/fpu/libm-test-ulps: Update.
18454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18455
ef114eaf
DH
184562014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18457
2b7f4f2c
SP
18458 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18459 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18460 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18461 * README: Add missing listing for microblaze*-*-linux-gnu.
18462
8125aedc
AM
184632014-02-16 Ondřej Bílka <neleai@seznam.cz>
18464
18465 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18466 duplicate code
18467
c70a4b1d
MF
184682014-02-16 Mike Frysinger <vapier@gentoo.org>
18469
18470 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18471 * sysdeps/unix/sysv/linux/ia64: Move directory from
18472 ports/sysdeps/unix/sysv/linux/ia64.
18473 * README: Update listing for ia64-*-linux-gnu.
18474
591aeaf7
TD
184752014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18476 Joseph Myers <joseph@codesourcery.com>
18477
18478 * Makeconfig (test-name): New variable.
18479 (evaluate-test): Likewise.
18480 * Makerules (do-test-clean): Remove .test-result files.
18481 (common-mostlyclean): Likewise.
18482 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18483 * scripts/evaluate-test.sh: New file.
18484
6e89caf1
JM
184852014-02-14 Joseph Myers <joseph@codesourcery.com>
18486
7f98f180
JM
18487 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18488 separate $(objpfx)tst-fopenloc-cmp.out and
18489 $(objpfx)tst-fopenloc-mem.out targets.
18490 (tests): Update dependencies.
18491 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18492 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18493 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18494 (tst-rxspencer-no-utf8-ARGS): New variable.
18495 (tst-rxspencer-no-utf8-ENV): Likewise.
18496 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18497 instead of $(objpfx)tst-rxspencer-mem.
18498 ($(objpfx)tst-rxspencer-mem): Change target to
18499 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18500 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18501 * posix/tst-rxspencer-no-utf8.c: New file.
18502
6e89caf1
JM
18503 * elf/Makefile ($(objpfx)order.out): Remove rule.
18504 [$(run-built-tests) = yes] (tests): Depend on
18505 $(objpfx)order-cmp.out.
18506 ($(objpfx)order-cmp.out): New rule.
18507 [$(run-built-tests) = yes] (tests): Depend on
18508 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18509 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18510 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18511 $(objpfx)tst-array5-static-cmp.out.
18512 ($(objpfx)tst-array1.out): Remove rule.
18513 ($(objpfx)tst-array1-cmp.out): New rule.
18514 ($(objpfx)tst-array1-static.out): Remove rule.
18515 ($(objpfx)tst-array1-static-cmp.out): New rule.
18516 ($(objpfx)tst-array2.out): Remove rule.
18517 ($(objpfx)tst-array2-cmp.out): New rule.
18518 ($(objpfx)tst-array3.out): Remove rule.
18519 ($(objpfx)tst-array3-cmp.out): New rule.
18520 ($(objpfx)tst-array4.out): Remove rule.
18521 ($(objpfx)tst-array4-cmp.out): New rule.
18522 ($(objpfx)tst-array5.out): Remove rule.
18523 ($(objpfx)tst-array5-cmp.out): New rule.
18524 ($(objpfx)tst-array5-static.out): Remove rule.
18525 ($(objpfx)tst-array5-static-cmp.out): New rule.
18526 [$(run-built-tests) = yes] (tests): Depend on
18527 $(objpfx)order2-cmp.out.
18528 ($(objpfx)order2.out): Remove rule.
18529 ($(objpfx)order2-cmp.out): New rule.
18530 ($(objpfx)tst-initorder.out): Remove rule.
18531 [$(run-built-tests) = yes] (tests): Depend on
18532 $(objpfx)tst-initorder-cmp.out.
18533 ($(objpfx)tst-initorder-cmp.out): New rule.
18534 ($(objpfx)tst-initorder2.out): Remove rule.
18535 [$(run-built-tests) = yes] (tests): Depend on
18536 $(objpfx)tst-initorder2-cmp.out.
18537 ($(objpfx)tst-initorder2-cmp.out): New rule.
18538 [$(run-built-tests) = yes] (tests): Depend on
18539 $(objpfx)tst-unused-dep-cmp.out.
18540 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18541 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18542 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18543 on $(objpfx)tst-setvbuf1-cmp.out.
18544 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18545 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18546 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18547 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18548 ($(objpfx)tst-svc.out): Remove rule.
18549 ($(objpfx)tst-svc-cmp.out): New rule.
18550
ed9a38e2
JM
185512014-02-13 Joseph Myers <joseph@codesourcery.com>
18552
18553 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18554 * ctype/ctype.h [__USE_MISC]: Likewise.
18555 * dirent/dirent.h [__USE_MISC]: Likewise.
18556 * grp/grp.h [__USE_MISC]: Likewise.
18557 * io/fcntl.h [__USE_MISC]: Likewise.
18558 * io/sys/stat.h [__USE_MISC]: Likewise.
18559 * libio/stdio.h [__USE_MISC]: Likewise.
18560 * posix/unistd.h [__USE_MISC]: Likewise.
18561 * pwd/pwd.h [__USE_MISC]: Likewise.
18562 * stdlib.h [__USE_MISC]: Likewise.
18563 * string/bits/string2.h [__USE_MISC]: Likewise.
18564 * string/string.h [__USE_MISC]: Likewise.
18565 * time/time.h [__USE_MISC]: Likewise.
18566
d6680619
AS
185672014-02-13 Andreas Schwab <schwab@suse.de>
18568
18569 [BZ #16574]
18570 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18571 second answer buffer if it was separately allocated.
18572
ace614b8
JM
185732014-02-12 Joseph Myers <joseph@codesourcery.com>
18574
743151ae
JM
18575 * sysdeps/mips/math-tests.h: Include <features.h>.
18576 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18577 (ROUNDING_TESTS_long_double): Do not define.
18578 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18579 (EXCEPTION_TESTS_long_double): Likewise.
18580 * sysdeps/mips/mips64/libm-test-ulps: Update.
18581
498afc54
JM
18582 * include/features.h (__USE_BSD): Remove macro definitions.
18583 (__USE_SVID): Likewise.
18584 (_BSD_SOURCE): Likewise.
18585 (_SVID_SOURCE): Likewise.
18586 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18587 from definition of _DEFAULT_SOURCE.
18588 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18589 [_DEFAULT_SOURCE].
18590 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18591 * bits/mman.h [__USE_BSD]: Likewise.
18592 * bits/termios.h [__USE_BSD]: Likewise.
18593 * bits/waitstatus.h [__USE_BSD]: Likewise.
18594 * ctype/ctype.h [__USE_SVID]: Likewise.
18595 * dirent/dirent.h [__USE_BSD]: Likewise.
18596 * grp/grp.h [__USE_SVID]: Likewise.
18597 [__USE_BSD]: Likewise.
18598 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18599 * io/fcntl.h [__USE_BSD]: Likewise.
18600 * io/ftw.h [__USE_BSD]: Likewise.
18601 * io/sys/stat.h [__USE_BSD]: Likewise.
18602 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18603 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18604 * libio/stdio.h [__USE_SVID]: Likewise.
18605 [__USE_BSD]: Likewise.
18606 * math/math.h [__USE_SVID]: Likewise.
18607 [__USE_BSD]: Likewise.
18608 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18609 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18610 * misc/search.h [__USE_SVID]: Likewise.
18611 * misc/sys/mman.h [__USE_BSD]: Likewise.
18612 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18613 * misc/sys/uio.h [__USE_BSD]: Likewise.
18614 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18615 * posix/glob.h [__USE_BSD]: Likewise.
18616 * posix/regex.h [__USE_BSD]: Likewise.
18617 * posix/sys/types.h [__USE_BSD]: Likewise.
18618 [__USE_SVID]: Likewise.
18619 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18620 * posix/sys/wait.h [__USE_BSD]: Likewise.
18621 [__USE_SVID]: Likewise.
18622 * posix/unistd.h [__USE_BSD]: Likewise.
18623 [__USE_SVID]: Likewise.
18624 * pwd/pwd.h [__USE_SVID]: Likewise.
18625 * resolv/netdb.h [__USE_BSD]: Likewise.
18626 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18627 * signal/signal.h [__USE_BSD]: Likewise.
18628 [__USE_SVID]: Likewise.
18629 * socket/sys/socket.h [__USE_BSD]: Likewise.
18630 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18631 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18632 [__USE_SVID]: Likewise.
18633 * string/bits/string2.h [__USE_BSD]: Likewise.
18634 [__USE_SVID]: Likewise.
18635 * string/bits/string3.h [__USE_BSD]: Likewise.
18636 * string/endian.h [__USE_BSD]: Likewise.
18637 * string/string.h [__USE_SVID]: Likewise.
18638 [__USE_BSD]: Likewise.
18639 * string/strings.h [__USE_BSD]: Likewise.
18640 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18641 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18642 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18643 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18644 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18645 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18646 Likewise.
18647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18648 Likewise.
18649 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18650 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18651 Likewise.
18652 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18653 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18654 Likewise.
18655 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18656 Likewise.
18657 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18658 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18659 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18660 Likewise.
18661 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18662 Likewise.
18663 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18664 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18665 * termios/termios.h [__USE_BSD]: Likewise.
18666 * time/sys/time.h [__USE_BSD]: Likewise.
18667 * time/time.h [__USE_BSD]: Likewise.
18668 [__USE_SVID]: Likewise.
18669
dd7b064c
JM
18670 * Makefile (subdir_targets): Remove subdir_lint.out.
18671
a2c4c199
JM
18672 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18673 (do-tst-printf): Likewise.
18674 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18675 $(objpfx)tst-printf.out.
18676
8756f740
JM
18677 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18678
1b6dd3f1
JM
18679 * Makerules (check-abi-%): Change target to
18680 $(objpfx)check-abi-%.out.
18681 (check-abi target): Update dependencies.
18682 (check-abi-pattern variable): Redirect output of diff to $@.
18683 (check-abi variable): Likewise.
18684 * elf/Makefile (check-abi): Update dependencies.
18685
ace614b8
JM
18686 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18687 unused.
18688 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18689 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18690 subnormal range.
18691 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18692 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18693 value has largest subnormal exponent.
18694 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18695 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18696 * sysdeps/aarch64/soft-fp/sfp-machine.h
18697 (_FP_TININESS_AFTER_ROUNDING): New macro.
18698 * sysdeps/alpha/soft-fp/sfp-machine.h
18699 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18700 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18701 Likewise.
18702 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18703 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18704 * sysdeps/mips/soft-fp/sfp-machine.h
18705 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18706 * sysdeps/powerpc/soft-fp/sfp-machine.h
18707 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18708 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18709 Likewise.
18710 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18711 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18712 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18713 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18714 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18715 Likewise.
18716
fbfdf9cb
DAS
187172014-02-12 Dylan Alex Simon <dylan@dylex.net>
18718
18719 [BZ #16545]
18720 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18721 model 1.
18722
68b7efaa
RH
187232014-02-12 Richard Henderson <rth@redhat.com>
18724
c70a4b1d 18725 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
18726 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18727 * sysdeps/unix/sysv/linux/alpha: Move directory from
18728 ports/sysdeps/unix/sysv/linux/alpha.
18729 * README: Update listing for alpha-*-linux-gnu.
18730
cb4a2928
JM
187312014-02-11 Joseph Myers <joseph@codesourcery.com>
18732
c941736c
JM
18733 * include/features.h: Update comment documenting feature test
18734 macros.
18735 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18736 _DEFAULT_SOURCE.
18737 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18738 (_SVID_SOURCE): Likewise.
18739 (_DEFAULT_SOURCE): Update description of default features.
18740 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18741 with _GNU_SOURCE.
18742 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18743 (S_ISVTX): Likewise.
18744 * manual/math.texi (Mathematical Constants): Likewise.
18745 * manual/signal.texi (Interrupted Primitives): Likewise.
18746 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18747 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18748 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18749 Don't refer to _SVID_SOURCE in warning text.
18750
e8d8d7ec
JM
18751 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18752
cb4a2928
JM
18753 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18754 already defined.
18755 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18756 * sysdeps/mips/dl-lookup.c: Remove.
18757 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18758
7e6424e3
AK
187592014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18760
18761 [BZ #16447]
18762 * math/auto-libm-test-in: Add testcase for expl.
18763 * math/auto-libm-test-out: Regenerate.
18764 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18765 calculation of unsafe.
18766 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18767
75eff3fe
MS
187682014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18769
18770 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18771 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18772 ports/sysdeps/unix/sysv/linux/aarch64.
18773 * README: Update listing for aarch64*-*-linux-gnu.
18774
d35f1e80
WN
187752014-02-11 Will Newton <will.newton@linaro.org>
18776
18777 * manual/probes.texi (Mathematical Function Probes): Use
18778 "triggered" instead of "hit".
18779
7b3436d4
WN
18780 * manual/probes.texi (Internal Probes): Add documentation
18781 of setjmp, longjmp and longjmp_target probes.
18782
b4f12ca3
WN
18783 * include/stap-probe.h: Add comment about probe argument
18784 format.
18785
c13a72b7
WN
18786 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18787 definition. (tr_where, tr_freehook, tr_mallochook,
18788 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18789
195b8165
DM
187902014-02-11 David S. Miller <davem@davemloft.net>
18791
18792 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18793 processing int_tests.
18794
2ad7600b
JM
187952014-02-10 Joseph Myers <joseph@codesourcery.com>
18796
18797 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18798 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18799 * sysdeps/unix/sysv/linux/mips: Move directory from
18800 ports/sysdeps/unix/sysv/linux/mips.
18801 * README: Update listing for mips-*-linux-gnu and
18802 mips64-*-linux-gnu.
18803
73588a72
AS
188042014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18805
18806 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18807 * sysdeps/unix/sysv/linux/m68k: Move directory from
18808 ports/sysdeps/unix/sysv/linux/m68k.
18809 * README: Update listing for m68k-*-linux-gnu.
18810
4372980f
CM
188112014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18812
18813 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18814 * sysdeps/unix/sysv/linux/generic: Move directory from
18815 ports/sysdeps/unix/sysv/linux/generic.
18816 * sysdeps/unix/sysv/linux/tile: Move directory from
18817 ports/sysdeps/unix/sysv/linux/tile.
18818 * README: Update listing for tile*-*-linux-gnu.
18819
a1ffb40e
OB
188202014-02-10 Ondřej Bílka <neleai@seznam.cz>
18821
57f41c40
AS
18822 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18823 __builtin_expect.
a1ffb40e
OB
18824 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18825 * catgets/open_catalog.c (__open_catalog): Likewise.
18826 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18827 * debug/confstr_chk.c: Likewise.
18828 * debug/fread_chk.c (__fread_chk): Likewise.
18829 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18830 * debug/getgroups_chk.c: Likewise.
18831 * debug/mbsnrtowcs_chk.c: Likewise.
18832 * debug/mbsrtowcs_chk.c: Likewise.
18833 * debug/mbstowcs_chk.c: Likewise.
18834 * debug/memcpy_chk.c: Likewise.
18835 * debug/memmove_chk.c: Likewise.
18836 * debug/mempcpy_chk.c: Likewise.
18837 * debug/memset_chk.c: Likewise.
18838 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18839 * debug/strcat_chk.c (__strcat_chk): Likewise.
18840 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18841 * debug/strncat_chk.c (__strncat_chk): Likewise.
18842 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18843 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18844 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18845 * debug/wcpncpy_chk.c: Likewise.
18846 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18847 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18848 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18849 * debug/wcsncpy_chk.c: Likewise.
18850 * debug/wcsnrtombs_chk.c: Likewise.
18851 * debug/wcsrtombs_chk.c: Likewise.
18852 * debug/wcstombs_chk.c: Likewise.
18853 * debug/wmemcpy_chk.c: Likewise.
18854 * debug/wmemmove_chk.c: Likewise.
18855 * debug/wmempcpy_chk.c: Likewise.
18856 * debug/wmemset_chk.c: Likewise.
18857 * dirent/scandirat.c (SCANDIRAT): Likewise.
18858 * dlfcn/dladdr1.c (dladdr1): Likewise.
18859 * dlfcn/dladdr.c (dladdr): Likewise.
18860 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18861 * dlfcn/dlerror.c (__dlerror): Likewise.
18862 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18863 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18864 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18865 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18866 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18867 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18868 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18869 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18870 Likewise.
18871 * elf/dl-conflict.c: Likewise.
18872 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18873 * elf/dl-dst.h: Likewise.
18874 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18875 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18876 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18877 * elf/dl-init.c (call_init, _dl_init): Likewise.
18878 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18879 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18880 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18881 Likewise.
a1ffb40e
OB
18882 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18883 Likewise.
18884 * elf/dl-minimal.c (__libc_memalign): Likewise.
18885 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18886 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18887 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18888 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18889 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18890 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18891 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18892 * elf/dl-writev.h (_dl_writev): Likewise.
18893 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18894 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18895 (dl_main): Likewise.
a1ffb40e
OB
18896 * elf/setup-vdso.h (setup_vdso): Likewise.
18897 * grp/compat-initgroups.c (compat_call): Likewise.
18898 * grp/fgetgrent.c (fgetgrent): Likewise.
18899 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18900 * grp/putgrent.c (putgrent): Likewise.
18901 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18902 Likewise.
18903 * hurd/hurdinit.c: Likewise.
18904 * iconvdata/8bit-gap.c (struct): Likewise.
18905 * iconvdata/ansi_x3.110.c : Likewise.
18906 * iconvdata/big5.c : Likewise.
18907 * iconvdata/big5hkscs.c : Likewise.
18908 * iconvdata/cp1255.c: Likewise.
18909 * iconvdata/cp1258.c : Likewise.
18910 * iconvdata/cp932.c : Likewise.
18911 * iconvdata/euc-cn.c: Likewise.
18912 * iconvdata/euc-jisx0213.c : Likewise.
18913 * iconvdata/euc-jp.c: Likewise.
18914 * iconvdata/euc-jp-ms.c : Likewise.
18915 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18916 * iconvdata/gb18030.c : Likewise.
18917 * iconvdata/gbbig5.c (const): Likewise.
18918 * iconvdata/gbgbk.c: Likewise.
18919 * iconvdata/gbk.c : Likewise.
18920 * iconvdata/ibm1364.c : Likewise.
18921 * iconvdata/ibm930.c : Likewise.
18922 * iconvdata/ibm932.c: Likewise.
18923 * iconvdata/ibm933.c : Likewise.
18924 * iconvdata/ibm935.c : Likewise.
18925 * iconvdata/ibm937.c : Likewise.
18926 * iconvdata/ibm939.c : Likewise.
18927 * iconvdata/ibm943.c: Likewise.
18928 * iconvdata/iso_11548-1.c: Likewise.
18929 * iconvdata/iso-2022-cn.c : Likewise.
18930 * iconvdata/iso-2022-cn-ext.c : Likewise.
18931 * iconvdata/iso-2022-jp-3.c: Likewise.
18932 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18933 * iconvdata/iso-2022-kr.c : Likewise.
18934 * iconvdata/iso646.c (gconv_end): Likewise.
18935 * iconvdata/iso_6937-2.c : Likewise.
18936 * iconvdata/iso_6937.c : Likewise.
18937 * iconvdata/iso8859-1.c: Likewise.
18938 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18939 * iconvdata/shift_jisx0213.c : Likewise.
18940 * iconvdata/sjis.c : Likewise.
18941 * iconvdata/t.61.c : Likewise.
18942 * iconvdata/tcvn5712-1.c : Likewise.
18943 * iconvdata/tscii.c: Likewise.
18944 * iconvdata/uhc.c : Likewise.
18945 * iconvdata/unicode.c (gconv_end): Likewise.
18946 * iconvdata/utf-16.c (gconv_end): Likewise.
18947 * iconvdata/utf-32.c (gconv_end): Likewise.
18948 * iconvdata/utf-7.c (base64): Likewise.
18949 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18950 * iconv/gconv_close.c (__gconv_close): Likewise.
18951 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18952 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18953 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18954 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18955 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18956 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18957 * iconv/iconv.c (iconv): Likewise.
18958 * iconv/iconv_close.c: Likewise.
18959 * iconv/loop.c (SINGLE): Likewise.
18960 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18961 * include/atomic.h: Likewise.
18962 * inet/inet6_option.c (option_alloc): Likewise.
18963 * intl/bindtextdom.c (set_binding_values): Likewise.
18964 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18965 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18966 * intl/localealias.c (read_alias_file): Likewise.
18967 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18968 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18969 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18970 * libio/fmemopen.c (fmemopen): Likewise.
18971 * libio/iofgets.c (_IO_fgets): Likewise.
18972 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18973 * libio/iofgetws.c (fgetws): Likewise.
18974 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18975 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18976 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18977 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18978 * locale/findlocale.c (_nl_find_locale): Likewise.
18979 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18980 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18981 Likewise.
18982 * locale/setlocale.c (setlocale): Likewise.
18983 * login/programs/pt_chown.c (main): Likewise.
18984 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18985 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18986 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18987 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18988 * math/e_exp2l.c: Likewise.
18989 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18990 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18991 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18992 * math/s_catan.c (__catan): Likewise.
18993 * math/s_catanf.c (__catanf): Likewise.
18994 * math/s_catanh.c (__catanh): Likewise.
18995 * math/s_catanhf.c (__catanhf): Likewise.
18996 * math/s_catanhl.c (__catanhl): Likewise.
18997 * math/s_catanl.c (__catanl): Likewise.
18998 * math/s_ccosh.c (__ccosh): Likewise.
18999 * math/s_ccoshf.c (__ccoshf): Likewise.
19000 * math/s_ccoshl.c (__ccoshl): Likewise.
19001 * math/s_cexp.c (__cexp): Likewise.
19002 * math/s_cexpf.c (__cexpf): Likewise.
19003 * math/s_cexpl.c (__cexpl): Likewise.
19004 * math/s_clog10.c (__clog10): Likewise.
19005 * math/s_clog10f.c (__clog10f): Likewise.
19006 * math/s_clog10l.c (__clog10l): Likewise.
19007 * math/s_clog.c (__clog): Likewise.
19008 * math/s_clogf.c (__clogf): Likewise.
19009 * math/s_clogl.c (__clogl): Likewise.
19010 * math/s_csin.c (__csin): Likewise.
19011 * math/s_csinf.c (__csinf): Likewise.
19012 * math/s_csinh.c (__csinh): Likewise.
19013 * math/s_csinhf.c (__csinhf): Likewise.
19014 * math/s_csinhl.c (__csinhl): Likewise.
19015 * math/s_csinl.c (__csinl): Likewise.
19016 * math/s_csqrt.c (__csqrt): Likewise.
19017 * math/s_csqrtf.c (__csqrtf): Likewise.
19018 * math/s_csqrtl.c (__csqrtl): Likewise.
19019 * math/s_ctan.c (__ctan): Likewise.
19020 * math/s_ctanf.c (__ctanf): Likewise.
19021 * math/s_ctanh.c (__ctanh): Likewise.
19022 * math/s_ctanhf.c (__ctanhf): Likewise.
19023 * math/s_ctanhl.c (__ctanhl): Likewise.
19024 * math/s_ctanl.c (__ctanl): Likewise.
19025 * math/w_pow.c: Likewise.
19026 * math/w_powf.c: Likewise.
19027 * math/w_powl.c: Likewise.
19028 * math/w_scalb.c (sysv_scalb): Likewise.
19029 * math/w_scalbf.c (sysv_scalbf): Likewise.
19030 * math/w_scalbl.c (sysv_scalbl): Likewise.
19031 * misc/error.c (error_tail): Likewise.
19032 * misc/pselect.c (__pselect): Likewise.
19033 * nis/nis_callback.c (__nis_create_callback): Likewise.
19034 * nis/nis_call.c (__nisfind_server): Likewise.
19035 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19036 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19037 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19038 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19039 * nis/nis_lookup.c (nis_lookup): Likewise.
19040 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
19041 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19042 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 19043 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
19044 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19045 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19046 * nis/nss_compat/compat-initgroups.c (add_group)
19047 (internal_getgrent_r): Likewise.
19048 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19049 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19050 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19051 (internal_getspnam_r): Likewise.
19052 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19053 (_nss_nis_getaliasbyname_r): Likewise.
19054 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19055 (_nss_nis_getntohost_r): Likewise.
19056 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19057 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19058 (_nss_nis_getgrgid_r): Likewise.
19059 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19060 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19061 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19062 (_nss_nis_gethostbyname4_r): Likewise.
19063 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19064 (initgroups_netid): Likewise.
a1ffb40e 19065 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
19066 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19067 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19068 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19069 (_nss_nis_getprotobynumber_r): Likewise.
19070 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19071 (_nss_nis_getsecretkey): Likewise.
19072 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19073 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19074 (_nss_nis_getpwuid_r): Likewise.
19075 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19076 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19077 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19078 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19079 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19080 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
19081 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19082 Likewise.
57f41c40
AS
19083 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19084 (_nss_nisplus_getntohost_r): Likewise.
19085 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19086 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19087 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19088 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 19089 Likewise.
57f41c40
AS
19090 * nis/nss_nisplus/nisplus-initgroups.c
19091 (_nss_nisplus_initgroups_dyn): Likewise.
19092 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19093 (_nss_nisplus_getnetbyaddr_r): Likewise.
19094 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19095 (_nss_nisplus_getprotobynumber_r): Likewise.
19096 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19097 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
19098 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19099 Likewise.
57f41c40
AS
19100 * nis/nss_nisplus/nisplus-service.c
19101 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19102 (_nss_nisplus_getservbyport_r): Likewise.
19103 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19104 (_nss_nisplus_getspnam_r): Likewise.
19105 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19106 Likewise.
a1ffb40e
OB
19107 * nscd/aicache.c (addhstaiX): Likewise.
19108 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
19109 * nscd/connections.c (register_traced_file, send_ro_fd)
19110 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19111 (main_loop_epoll): Likewise.
a1ffb40e
OB
19112 * nscd/grpcache.c (addgrbyX): Likewise.
19113 * nscd/hstcache.c (addhstbyX): Likewise.
19114 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19115 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
19116 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19117 (addinnetgrX): Likewise.
19118 * nscd/nscd-client.h (__nscd_acquire_maplock)
19119 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
19120 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19121 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19122 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19123 Likewise.
19124 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19125 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
19126 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19127 (__nscd_get_map_ref): Likewise.
a1ffb40e 19128 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
19129 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19130 Likewise.
a1ffb40e
OB
19131 * nscd/pwdcache.c (addpwbyX): Likewise.
19132 * nscd/selinux.c (preserve_capabilities): Likewise.
19133 * nscd/servicescache.c (addservbyX): Likewise.
19134 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19135 * posix/fnmatch.c (fnmatch): Likewise.
19136 * posix/getopt.c (_getopt_internal_r): Likewise.
19137 * posix/glob.c (glob, glob_in_dir): Likewise.
19138 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
19139 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19140 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
19141 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19142 * resolv/res_init.c: Likewise.
19143 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19144 * resolv/res_query.c (__libc_res_nquery): Likewise.
19145 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19146 Likewise.
19147 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19148 * stdio-common/perror.c (perror): Likewise.
19149 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19150 * stdio-common/tmpnam.c (tmpnam): Likewise.
19151 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19152 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
19153 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19154 Likewise.
a1ffb40e
OB
19155 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19156 * stdlib/putenv.c (putenv): Likewise.
19157 * stdlib/setenv.c (__add_to_environ): Likewise.
19158 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19159 * stdlib/strtol_l.c (INTERNAL): Likewise.
19160 * string/memmem.c (memmem): Likewise.
19161 * string/strerror.c (strerror): Likewise.
19162 * string/strnlen.c (__strnlen): Likewise.
19163 * string/test-memmem.c (simple_memmem): Likewise.
19164 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19165 * sunrpc/pm_getport.c (__get_socket): Likewise.
19166 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19167 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
19168 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19169 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
19170 Likewise.
19171 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19172 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19173 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19174 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19175 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
19176 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19177 Likewise.
19178 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19179 Likewise.
a1ffb40e
OB
19180 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19181 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19182 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19183 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19184 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19185 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19186 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19187 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19188 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19189 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19190 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19191 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19192 Likewise.
19193 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19194 Likewise.
19195 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19196 Likewise.
19197 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19198 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19199 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19200 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19201 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19202 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19203 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19204 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19205 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19206 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19207 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19208 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19209 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19210 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19211 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
19212 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19213 Likewise.
a1ffb40e
OB
19214 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19215 Likewise.
19216 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19217 Likewise.
19218 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19219 Likewise.
19220 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19221 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19222 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19223 Likewise.
19224 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19225 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19226 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19227 * sysdeps/posix/sleep.c: Likewise.
19228 * sysdeps/posix/tempname.c: Likewise.
19229 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19230 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19231 Likewise.
57f41c40
AS
19232 * sysdeps/powerpc/powerpc32/dl-machine.h
19233 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
19234 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19235 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19236 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19237 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19238 Likewise.
19239 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19240 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19241 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19242 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19243 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19244 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19245 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19246 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19247 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19248 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19249 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19250 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19251 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19252 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19253 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19254 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19255 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19256 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19257 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19258 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19259 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19260 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19261 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19262 Likewise.
19263 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19264 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19265 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19266 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19267 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19268 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19269 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19270 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19271 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19272 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19273 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19274 Likewise.
19275 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19276 (__posix_fallocate64_l64): Likewise.
19277 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19278 (posix_fallocate): Likewise.
57f41c40
AS
19279 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19280 Likewise.
a1ffb40e 19281 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
19282 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19283 (getifaddrs_internal): Likewise.
a1ffb40e
OB
19284 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19285 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19286 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19287 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19288 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19289 (__posix_fallocate64_l64): Likewise.
19290 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19291 Likewise.
19292 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
19293 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19294 (__get_clockfreq): Likewise.
a1ffb40e
OB
19295 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19296 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19297 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19298 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19299 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19300 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19301 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19302 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19303 Likewise.
19304 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19305 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19306 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19307 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19308 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19309 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19310 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19311 Likewise.
19312 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19313 (posix_fallocate): Likewise.
19314 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19315 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19316 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19317 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19318 (elf_machine_rela, elf_machine_rela_relative)
19319 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19320 * time/asctime.c (asctime_internal): Likewise.
19321 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19322 * time/tzset.c (__tzset_parse_tz): Likewise.
19323 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19324 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19325 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19326 * wcsmbs/wcsmbsload.h: Likewise.
19327
f3d338c9
OB
19328 [BZ #15894]
19329 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19330
57f41c40
AS
19331 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19332 (arena_get2): Remove THREAD_STATS conditionals.
19333 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19334 (__malloc_stats, int): Likewise.
bdfe308a 19335
d674667c
MF
193362014-02-08 Mike Frysinger <vapier@gentoo.org>
19337
19338 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19339 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19340
6349768c
MF
19341 * manual/setjmp.texi: Fix typos/grammar errors.
19342
0b7c7473
MF
19343 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19344 Only return early when n is <= 0. Delete unused return statement.
19345
ac8cc9e3
MF
19346 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19347 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19348 * debug/tst-longjmp_chk3.c: New file.
19349
c5bb8e23
MF
19350 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19351 (test_main): Replace code with set_fortify_handler call.
19352 * debug/test-strcpy_chk.c: Likewise.
19353 * debug/tst-chk1.c: Likewise.
19354 * debug/tst-longjmp_chk.c: Likewise.
19355 * test-skeleton.c: Include fcntl.h & paths.h
19356 (set_fortify_handler): Define.
19357
10444e42
MF
19358 * debug/tst-longjmp_chk.c: Add header comment and include
19359 ../test-skeleton.c.
19360 (do_test): Mark static.
19361 (TEST_FUNCTION): Define.
19362
1e805e8d
MF
19363 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19364 (IP_PMTUDISC_INTERFACE): Likewise.
19365 (IP_MULTICAST_IF): Likewise.
19366 (IP_MULTICAST_TTL): Likewise.
19367 (IP_MULTICAST_LOOP): Likewise.
19368 (IP_ADD_MEMBERSHIP): Likewise.
19369 (IP_DROP_MEMBERSHIP): Likewise.
19370 (IP_UNBLOCK_SOURCE): Likewise.
19371 (IP_BLOCK_SOURCE): Likewise.
19372 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19373 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19374 (IP_MSFILTER): Likewise.
19375 (MCAST_JOIN_GROUP): Likewise.
19376 (MCAST_BLOCK_SOURCE): Likewise.
19377 (MCAST_UNBLOCK_SOURCE): Likewise.
19378 (MCAST_LEAVE_GROUP): Likewise.
19379 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19380 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19381 (MCAST_MSFILTER): Likewise.
19382 (IP_MULTICAST_ALL): Likewise.
19383 (IP_UNICAST_IF): Likewise.
19384
73f79bb7
MF
19385 * timezone/Makefile: Delete $(have-ksh) check.
19386 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19387 * timezone/tzselect.ksh: Add +x mode bits.
19388
8da79b60
MF
19389 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19390 (ANON_INODE_FS_MAGIC): Likewise.
19391 (BDEVFS_MAGIC): Likewise.
19392 (BINFMTFS_MAGIC): Likewise.
19393 (BTRFS_TEST_MAGIC): Likewise.
19394 (CRAMFS_MAGIC_WEND): Likewise.
19395 (DEBUGFS_MAGIC): Likewise.
19396 (ECRYPTFS_SUPER_MAGIC): Likewise.
19397 (EXT3_SUPER_MAGIC): Likewise.
19398 (EXT4_SUPER_MAGIC): Likewise.
19399 (FUTEXFS_SUPER_MAGIC): Likewise.
19400 (HOSTFS_SUPER_MAGIC): Likewise.
19401 (HUGETLBFS_MAGIC): Likewise.
19402 (MINIX3_SUPER_MAGIC): Likewise.
19403 (MTD_INODE_FS_MAGIC): Likewise.
19404 (NILFS_SUPER_MAGIC): Likewise.
19405 (OPENPROM_SUPER_MAGIC): Likewise.
19406 (PIPEFS_MAGIC): Likewise.
19407 (PSTOREFS_MAGIC): Likewise.
19408 (QNX6_SUPER_MAGIC): Likewise.
19409 (RAMFS_MAGIC): Likewise.
19410 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19411 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19412 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19413 (SECURITYFS_MAGIC): Likewise.
19414 (SELINUX_MAGIC): Likewise.
19415 (SMACK_MAGIC): Likewise.
19416 (SOCKFS_MAGIC): Likewise.
19417 (SQUASHFS_MAGIC): Likewise.
19418 (STACK_END_MAGIC): Likewise.
19419 (TMPFS_MAGIC): Likewise.
19420 (USBDEVICE_SUPER_MAGIC): Likewise.
19421 (V9FS_MAGIC): Likewise.
19422 (XENFS_SUPER_MAGIC): Likewise.
19423 (CRAMFS_MAGIC): Fix typo in comment.
19424 (EXT2_SUPER_MAGIC): Update comment.
19425 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19426
464263cc
JM
194272014-02-08 Joseph Myers <joseph@codesourcery.com>
19428
c6bfe5c4
JM
19429 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19430 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19431 * sysdeps/unix/sysv/linux/arm: Move directory from
19432 ports/sysdeps/unix/sysv/linux/arm.
19433 * README: Update listing for arm-*-linux-gnueabi.
19434
464263cc
JM
19435 * README: Remove mention of am33.
19436
32749f6c
RM
194372014-02-07 Roland McGrath <roland@hack.frob.com>
19438
19439 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19440 than the comma operator, to avoid "rhs of comma has no effect"
19441 compiler warnings.
19442 (__sigfillset, __sigandset, __sigorset): Likewise.
19443 * include/signal.h (__sigemptyset): Likewise.
19444 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19445
d5b396c1
AM
194462014-02-07 Allan McRae <allan@archlinux.org>
19447
19448 * version.h (RELEASE): Set to "development".
19449 (VERSION): Set to "2.19.90"
19450 * NEWS: Add 2.20 section.
19451
3bfff2ed
CD
194522014-02-06 Carlos O'Donell <carlos@redhat.com>
19453
19454 [BZ #16529]
19455 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19456
ee7cc385
SP
194572014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19458
19459 * manual/contrib.texi: Update entry for Carlos O'Donell,
19460 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19461
f877c4f2
CD
194622014-02-05 Carlos O'Donell <carlos@rehdat.com>
19463
27e839f6
CD
19464 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19465
f877c4f2
CD
19466 * sysdeps/unix/sysv/linux/kernel-features.h
19467 [__LINUX_KERNEL_VERSION >= 0x020621]
19468 (__ASSUME_PROC_PID_TASK_COMM): Define.
19469
68159946
SP
194702014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19471
ba17cdbd
SP
19472 [BZ #16398]
19473 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19474 conversion when destination buffer does not have enough space.
19475 * libio/tst-ftell-partial-wide.c: New test case.
19476 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19477
68159946
SP
19478 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19479 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19480 Leonard and Allan McRae.
19481
2b528732
DM
194822014-02-04 David S. Miller <davem@davemloft.net>
19483
19484 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19485 32-bit.
19486
0ff82463
AZ
194872014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19488
57f41c40
AS
19489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19490 New file
c01603f7
AZ
19491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19492 New file
57f41c40
AS
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19494 New file.
19495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19496 New file.
c01603f7
AZ
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19498 New file.
57f41c40
AS
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19500 New file.
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19502 New file.
c01603f7
AZ
19503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19504 New file.
19505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19506 New file.
19507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19508 New file.
19509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19510 New file.
19511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19512 New file.
19513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19514 New file.
19515
195162014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19517
0ff82463
AZ
19518 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19519 * shlib-versions: Likewise.
19520
1695c773
AZ
195212014-02-04 Roland McGrath <roland@hack.frob.com>
19522 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19523
19524 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19525 (abilist-pattern): New variable, set to %-le.abilist.
19526
19527 * Makerules (abilist-pattern): New variable.
19528 (vpath): Use $(abilist-pattern) in place of %.abilist.
19529 (check-abi-% pattern rule): Likewise.
19530 (check-abi, update-abi): Likewise.
19531
6c0ce4b4
EW
195322014-02-04 Eric Wong <normalperson@yhbt.net>
19533
19534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19535
481e3524
CD
195362014-02-03 Carlos O'Donell <carlos@redhat.com>
19537
19538 * manual/startup.texi: Add next, previous, and top entries for
19539 the `Program Arguments' and `Environment Variables' nodes.
19540
375592d3
AO
195412014-02-03 Alexandre Oliva <aoliva@redhat.com>
19542
19543 * manual/macros.texi: Add comments before MTASC-safety macros.
19544
f54838ba
AO
19545 * manual/users.texi: Document MTASC-safety properties.
19546
57f41c40
AS
19547 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19548 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
19549 @deftypefun, and add @safety note.
19550 * manual/signal.texi: Move comments that analyze the above
19551 functions to their home place.
19552
fd3daba4
AM
195532014-02-03 Allan McRae <allan@archlinux.org>
19554
19555 * po/sl.po: Update Slovenian translation from translation project.
19556
597636d7
AO
195572014-02-02 Alexandre Oliva <aoliva@redhat.com>
19558
19559 * manual/time.texi (timegm): Add missing blank after @c.
19560 Reported by Joseph Myers <joseph@codesourcery.com>.
19561
ee196e3c
AO
195622014-02-01 Alexandre Oliva <aoliva@redhat.com>
19563
19564 * manual/check-safety.sh: New.
19565 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19566
f8d529d5
AO
19567 * manual/terminal.texi: Document MTASC-safety properties.
19568
de55fdf4
AO
19569 * manual/filesys.texi: Document MTASC-safety properties.
19570
c3299c08
AO
19571 * manual/errno.texi: Document MTASC-safety properties.
19572
06e90b14
AO
19573 * manual/intro.texi: Document safety identifiers and
19574 conditionals.
19575
1acd4371
AO
19576 * manual/string.texi (wcstok): Fix prototype.
19577 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19578
23e5b8cb
AO
19579 * manual/time.texi: Document MTASC-safety properties.
19580
11087373
AO
19581 * manual/string.texi: Document MTASC-safety properties.
19582
5da2c93d
AO
19583 * manual/threads.texi: Document MTASC-safety properties.
19584
171e9210
AO
19585 * manual/stdio.texi: Document MTASC-safety properties.
19586
d9e02532
AO
19587 * manual/syslog.texi: Document MTASC-safety properties.
19588
6af8bab7
AO
19589 * manual/sysinfo.texi: Document MTASC-safety properties.
19590
663b02d7
AO
19591 * manual/startup.texi: Document MTASC-safety properties.
19592
973f180b
AO
19593 * manual/socket.texi: Document MTASC-safety properties.
19594
8f3c25c8
AO
19595 * manual/signal.texi: Document MTASC-safety properties.
19596
542210fb
AO
195972014-01-31 Alexandre Oliva <aoliva@redhat.com>
19598
19599 * manual/setjmp.texi: Document MTASC-safety properties.
19600
433c45a2
AO
19601 * manual/search.texi: Document MTASC-safety properties.
19602
c8ce789c
AO
19603 * manual/resource.texi: Document MTASC-safety properties.
19604
19f5d29c
AO
19605 * manual/process.texi: Document MTASC-safety properties.
19606
e2dfb7f4
AO
19607 * manual/platform.texi: Document MTASC-safety properties.
19608
8c1413f5
AO
19609 * manual/pipe.texi: Document MTASC-safety properties.
19610
03483ada
AO
19611 * manual/pattern.texi: Document MTASC-safety properties.
19612
29e7e2df
AO
19613 * manual/message.texi: Document MTASC-safety properties.
19614
9f529d7c
AO
19615 [BZ #12751]
19616 * manual/memory.texi: Document MTASC-safety properties.
19617
27aaa791
AO
19618 * manual/math.texi: Document MTASC-safety properties.
19619
f2d58726
AO
19620 * manual/locale.texi: Document MTASC-safety properties.
19621
2cc3615c
AO
19622 * manual/llio.texi: Document MTASC-safety properties.
19623
d9f0ec97
AO
19624 * manual/libdl.texi: New.
19625
e7c4409a
AO
19626 * manual/lang.texi: Document MTASC-safety properties.
19627
27bdc63c
AO
19628 * manual/job.texi: Document MTASC-safety properties.
19629
a7b90ea9
AO
19630 * manual/getopt.texi: Document MTASC-safety properties.
19631
c49130e3
AO
19632 * manual/ctype.texi: Document MTASC-safety properties.
19633
0d23a5c1
MR
196342014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19635
19636 [BZ #16046]
19637 * csu/libc-tls.c (static_map): Remove variable.
19638 (__libc_setup_tls): Use main executable's link map for TLS data.
19639 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19640 casing for LM_ID_BASE and GL(dl_nns).
19641 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19642 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19643 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19644 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19645 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19646 member.
19647 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19648 l_phnum members.
19649
0037bb60
AO
196502014-01-30 Alexandre Oliva <aoliva@redhat.com>
19651
19652 * manual/debug.texi: Document MTASC-safety properties.
19653
409e00bd
L
196542014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19655
19656 [BZ #16510]
19657 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19658 of __x86_64__ when disabling x87 inline functions.
19659
86e60666
AO
196602014-01-29 Alexandre Oliva <aoliva@redhat.com>
19661
19662 * manual/charset.texi: Document MTASC-safety properties.
19663
76167637
AO
19664 * manual/crypt.texi: Document MTASC-safety properties.
19665
e567f2a0
AO
19666 * manual/conf.texi: Document MTASC-safety properties.
19667
b719dafd
AO
19668 * manual/arith.texi: Document MTASC-safety properties.
19669
4a16c662
AO
19670 * manual/argp.texi: Document MTASC-safety properties.
19671
0a57b83e
AO
19672 * manual/macros.texi: Introduce macros to document multi
19673 thread, asynchronous signal and asynchronous cancellation
19674 safety properties.
19675 * manual/intro.texi: Introduce the properties themselves.
19676
feab2397
KK
196772014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19678
19679 * sysdeps/sh/sh4/Makefile: New file.
19680
1c0d11bc
AS
196812014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19682
19683 * math/gen-libm-test.pl ($srcdir): New variable.
19684 ($auto_input): Use it.
19685
af37a8a3
SP
196862014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19687
d7b00f98
SP
19688 [BZ #16506]
19689 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19690 access beyond array bounds when parsing netgroups file.
19691
af37a8a3
SP
19692 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19693 the old buffer before realloc.
19694
0c00f062
AM
196952014-01-27 Allan McRae <allan@archlinux.org>
19696
19697 * po/fr.po: Update French translation from translation project.
19698
7d69a1b0
KK
196992014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19700
19701 * sysdeps/sh/libm-test-ulps: Regenerate.
19702
6e697ff7
DM
197032014-01-24 David S. Miller <davem@davemloft.net>
19704
19705 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19706
9cadb35c
KK
197072014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19708
19709 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19710 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19711
5d41dadf
SP
197122013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19713
19714 [BZ #16474]
19715 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19716 string pointers after reallocation.
19717
0bad441c
KK
197182014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19719
19720 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19721 __SH4A__ instead of __SH_FPU_ANY__.
19722
7007c661
KK
197232014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19724
19725 * sysdeps/sh/fpu_control.h: New file.
19726 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19727 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19728 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19729 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19730 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19731 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19732 * sysdeps/sh/sys/ucontext.h: Remove.
19733 * sysdeps/sh/sys: Remove directory.
19734
0f0c35e4
AK
197352014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19736
19737 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19738 s390/sys/ucontext.h.
19739 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19740 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19741
4959e284
L
197422014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19743
19744 [BZ #15605]
19745 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19746
d98720e0
AZ
197472014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19748
19749 [BZ#16431]
19750 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19751 Adjust the vDSO correctly for internal calls.
19752 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19753
91cbd0bc
AM
197542014-01-20 Allan McRae <allan@archlinux.org>
19755
19756 * po/ca.po: Update Catalan translation from translation project.
19757
7a02cfad
MF
197582014-01-16 Mike Frysinger <vapier@gentoo.org>
19759
19760 * sysdeps/s390/sotruss-lib.c: New file.
19761
736c304a
AZ
197622014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19763
19764 [BZ#16430]
6e077ee5 19765 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
19766 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19767 local calls issues by not having a PLT stub required for IFUNC calls.
19768 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19769
94d0cea0
JM
197702014-01-16 Joseph Myers <joseph@codesourcery.com>
19771
19772 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19773 * math/test-fpucw-static.c: Likewise.
19774
980cb518
SP
197752013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19776
19777 [BZ #16453]
19778 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19779
2393fc01
AZ
197802014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19781
19782 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19783 implementation for powerpc.
19784
d359bcc2
OB
197852014-01-15 Ondřej Bílka <neleai@seznam.cz>
19786
19787 [BZ #14782]
19788 * sysdeps/posix/system.c (__libc_system): Do not enable
19789 asynchronous cancellation.
19790
7beb48cb
AK
197912014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19792
19793 [BZ #16427]
19794 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19795 handling only for numbers special also in the IEEE case.
19796
c20d5bf5
AK
197972014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19798
19799 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19800
e83bd4ee
AM
198012014-01-11 Allan McRae <allan@archlinux.org>
19802
76d0ea69
AM
19803 * po/bg.po: Update Bulgarian translation from translation project.
19804
e83bd4ee
AM
19805 * po/de.po: Update German translation from translation project.
19806
bc2ba20a
RM
198072014-01-10 Roland McGrath <roland@hack.frob.com>
19808
19809 * sysdeps/generic/gcc-compat.h: New file.
19810
649ecea2
SP
198112014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19812
19813 * benchtests/asin-inputs: Correct slow inputs.
19814 * benchtests/acos-inputs: Likewise.
19815
1b19c006
AM
198162014-01-10 Allan McRae <allan@archlinux.org>
19817
a46dab08
AM
19818 * po:sv.po: Update Swedish translation from translation project.
19819
421df74a
AM
19820 * po/vi.po: Update Vietnamese translation from translation project.
19821
d61c51a7
AM
19822 * po/eo.po: Update Esperanto translation from translation project.
19823
0339a319
AM
19824 * po/cs.po: Update Czech translation from translation project.
19825
94ad3e99
AM
19826 * po/nl.po: Update Dutch translation from translation project.
19827
e349ca71
AM
19828 * po/pl.po: Update Polish translation from translation project.
19829
ddf930c1
AM
19830 * po/ru.po: Update Russian translation from translation project.
19831
1b19c006
AM
19832 * po/uk.po: Update Ukrainian translation from translation project.
19833
9f236c49
BM
198342014-01-08 Brooks Moses <bmoses@google.com>
19835
19836 * elf/dl-load.c: Fix comment typo.
19837
cd6701cf
CD
198382014-01-08 Carlos O'Donell <carlos@redhat.com>
19839
19840 * po/header.pot: Rename to...
19841 * po/pot.header: ... this.
19842 * po/Makefile: Use pot.header.
19843
66671c84
YK
198442014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19845 Maxim Kuvyrkov <maxim@kugelworks.com>
19846
19847 [BZ #16394]
cd6701cf
CD
19848 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19849 SRC and DEST against LEN.
66671c84 19850
38f34581
AZ
198512014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19852
19853 [BZ #16414]
19854 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19855 implementation.
19856 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19857
198582014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19859
19860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19861
4c327f2a
JM
198622014-01-08 Joseph Myers <joseph@codesourcery.com>
19863
19864 [BZ #16408]
19865 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19866 for large positive arguments.
19867
b821f414
JM
198682014-01-07 Joseph Myers <joseph@codesourcery.com>
19869
1f0f2067
JM
19870 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19871
a5a326f6
JM
19872 * math/auto-libm-test-in: Mark various tests with
19873 xfail-rounding:ldbl-128ibm.
19874 * math/auto-libm-test-out: Regenerated.
19875
b821f414
JM
19876 [BZ #16407]
19877 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19878 Increase overflow threshold.
19879
94c8a4bc
OB
198802014-01-07 Ondřej Bílka <neleai@seznam.cz>
19881
19882 [BZ #14286]
19883 * stdio-common/vfprintf.c: Check for integer overflow.
19884
87ded0c3
AK
198852014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19886
19887 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19888 the first argument and return value of __tls_get_addr_internal.
19889
c5eebdd0
AK
198902014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19891
19892 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19893 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19894
05d138ef
AK
198952014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19896
19897 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19898 * sysdeps/s390/rtld-global-offsets.sym: New file.
19899 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19900 GLIBC_2.19 symbol.
19901 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19902 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19903 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19904 ... this.
19905 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19906 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19907 ... this.
19908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19909 Regenerate.
19910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19911 Regenerate.
19912 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19913 halfs of GPRs for high_gprs contexts.
19914 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19915 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19916 field.
19917 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19918 uc_flags field.
19919 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19920 64 bit versions:
19921 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19922 for high GPRs (uc_high_gprs) and for future extensions
19923 (__reserved).
19924 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19925 for future extensions (__reserved).
19926 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19927 64 bit versions:
19928 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19929 SC_HIGHGPRS offset definition.
19930 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19931 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19932
93a45ff1
AK
19933 * Versions.def: Add GLIBC_2.19 for libpthread.
19934 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19935 siglongjmp for libpthread with GLIBC_2.19 symver.
19936 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19937 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19938 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19939 * sysdeps/s390/__longjmp.c: New file.
19940 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19941 * sysdeps/s390/longjmp.c: New file.
19942 * sysdeps/s390/setjmp.S: New file.
19943 * sysdeps/s390/sigjmp.S: New file.
19944 * sysdeps/s390/v1-longjmp.c: New file.
19945 * sysdeps/s390/v1-setjmp.h: New file.
19946 * sysdeps/s390/v1-sigjmp.c: New file.
19947 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19948 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19949 GLIBC_2.19 version.
19950 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19951 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19952 versioned symbols for ____longjmp_chk.
19953 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19954 Likewise.
19955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19956 Regenerate.
19957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19958 Regenerate.
19959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19960 Regenerate.
19961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19962 Regenerate.
19963 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19964 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19965 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19966 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19967 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19968 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19969 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19970 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19971 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19972 * sysdeps/s390/rtld-__longjmp.c: New file.
19973 * sysdeps/s390/rtld-setjmp.S: New file.
19974
eb3fc44b
JM
199752014-01-06 Joseph Myers <joseph@codesourcery.com>
19976
19977 [BZ #16400]
19978 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19979 Return -__logl (x) for small positive arguments without evaluating
19980 a polynomial.
19981
9341dde4
MF
199822014-01-06 Mike Frysinger <vapier@gentoo.org>
19983
19984 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19985 Rename to ...
19986 (__ptrace_peeksiginfo_args): ... this.
19987 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19988 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19989 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19990
4cff0293
AM
199912014-01-06 Allan McRae <allan@archlinux.org>
19992
19993 * inet/netinet/in.h: Fix typo in comment.
19994
75595dcf
AJ
199952014-01-05 Andreas Jaeger <aj@suse.de>
19996
19997 * sysdeps/i386/fpu/libm-test-ulps: Update.
19998
79c1e109
AM
199992014-01-05 Allan McRae <allan@archlinux.org>
20000
dd804818
AM
20001 * po/libc.pot: Regenerated.
20002
79c1e109
AM
20003 * malloc/memusagestat.c: Fix gettext call formatting.
20004
0c813d1f
SK
200052014-01-04 Sami Kerola <kerolasa@iki.fi>
20006
20007 * nscd/nscd.c: Improve usage() output.
20008
20f4a8d9
MF
200092014-01-04 Mike Frysinger <vapier@gentoo.org>
20010
20011 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20012 * sysdeps/unix/sysv/linux/configure: Regenerated.
20013 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20014 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20015
22562bb2
JM
200162014-01-03 Joseph Myers <joseph@codesourcery.com>
20017
20018 [BZ #16390]
20019 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20020 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20021
d7ad2d9b
AZ
200222014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20023
20024 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20025 extra tokens at end of #undef directive.
20026 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20027 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20028 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20029
7dd009d8
JM
200302014-01-03 Joseph Myers <joseph@codesourcery.com>
20031
24db925a
JM
20032 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20033
7dd009d8
JM
20034 * math/auto-libm-test-in: Mark various tests with
20035 xfail-rounding:ldbl-128ibm.
20036 * math/auto-libm-test-out: Regenerated.
20037
396e3ecf
JM
200382014-01-02 Joseph Myers <joseph@codesourcery.com>
20039
819e5d50
JM
20040 [BZ #16386]
20041 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20042 numbers with subnormal high part when calculating exponent.
20043
90b6a1e5
JM
20044 [BZ #16385]
20045 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20046 fabs.
20047
396e3ecf
JM
20048 [BZ #16384]
20049 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20050 M_LN2l.
20051 (__ieee754_acoshl): Use __log1pl not __log1p.
20052
6c8dbf00
OB
200532013-01-02 Ondřej Bílka <neleai@seznam.cz>
20054
57f41c40
AS
20055 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20056 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20057 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20058 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20059 (reused_arena, arena_get2): Convert to GNU style.
20060 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20061 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20062 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 20063 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
20064 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20065 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20066 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20067 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20068 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20069 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 20070 * malloc/malloc.h: Likewise.
57f41c40
AS
20071 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20072 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 20073 * malloc/mcheck.h: Likewise.
57f41c40
AS
20074 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20075 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
20076 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20077 * malloc/morecore.c (__default_morecore): Likewise.
20078 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
20079 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20080 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20081 (print_and_abort): Likewise.
6c8dbf00
OB
20082 * malloc/obstack.h: Likewise.
20083 * malloc/set-freeres.c (__libc_freeres): Likewise.
20084 * malloc/tst-mallocstate.c (main): Likewise.
20085 * malloc/tst-mtrace.c (main): Likewise.
20086 * malloc/tst-realloc.c (do_test): Likewise.
20087
d4124212
SP
200882013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20089
9a3c6a6f
SP
20090 [BZ #16366]
20091 * nscd/netgroupcache.c (do_notfound): New function.
20092 (addgetnetgrentX): Use it.
20093
d4124212
SP
20094 [BZ # 16365]
20095 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20096 NSS_STATUS_NOTFOUND.
20097
97b9a009
JM
200982014-01-01 Joseph Myers <joseph@codesourcery.com>
20099
20100 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20102
d4697bc9
AM
201032014-01-01 Allan McRae <allan@archlinux.org>
20104
ddb3687f
AM
20105 * scripts/update-copyrights: Update configure input file suffix.
20106
88726d48
AM
20107 * NEWS: Update copyright year.
20108 * catgets/gencat.c: Likewise.
20109 * csu/version.c: Likewise.
20110 * debug/catchsegv.sh: Likewise.
20111 * debug/pcprofiledump.c: Likewise.
20112 * debug/xtrace.sh: Likewise.
20113 * elf/ldconfig.c: Likewise.
20114 * elf/ldd.bash.in: Likewise.
20115 * elf/pldd.c: Likewise.
20116 * elf/sotruss.ksh: Likewise.
20117 * elf/sprof.c: Likewise.
20118 * iconv/iconv_prog.c: Likewise.
20119 * iconv/iconvconfig.c: Likewise.
20120 * locale/programs/locale.c: Likewise.
20121 * locale/programs/localedef.c: Likewise.
20122 * login/programs/pt_chown.c: Likewise.
20123 * malloc/memusage.sh: Likewise.
20124 * malloc/memusagestat.c: Likewise.
20125 * malloc/mtrace.pl: Likewise.
20126 * manual/libc.texinfo: Likewise.
20127 * nscd/nscd.c: Likewise.
20128 * nss/getent.c: Likewise.
20129 * nss/makedb.c: Likewise.
20130 * posix/getconf.c: Likewise.
20131 * scripts/test-installation.pl: Likewise.
20132
d4697bc9
AM
20133 * All files with FSF copyright notices: Update copyright dates
20134 using scripts/update-copyrights.
20135 * intl/plural.c: Regenerated.
20136 * locale/programs/charmap-kw.h: Likewise.
20137 * locale/programs/locfile-kw.h: Likewise.
20138
c8590f9d
MF
201392013-12-31 Mike Frysinger <vapier@gentoo.org>
20140
20141 * sysdeps/unix/sysv/linux/configure: Regenerated.
20142 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20143 the linux/fanotify.h header.
20144 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20145 HAVE_LINUX_FANOTIFY_H is defined.
20146
b19221b9
SP
201472013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20148
dd1d85e5
SP
20149 * benchtests/cos-inputs: New inputs.
20150 * benchtests/sin-inputs: Likewise.
20151
1acbb90f
SP
20152 * benchtests/atan-inputs: New inputs. Fix name of multiple
20153 precision fallback inputs.
20154
4c012ed3
SP
20155 * benchtests/atanh-inputs: New inputs.
20156 * benchtests/tanh-inputs: Likewise.
20157
eff98324
SP
20158 * benchtests/acosh-inputs: New inputs.
20159 * benchtests/asinh-inputs: Likewise.
20160
ce641152
SP
20161 * benchtests/cosh-inputs: New inputs.
20162 * benchtests/sinh-inputs: Likewise.
20163
b19221b9
SP
20164 * benchtests/acos-inputs: Add more inputs.
20165 * benchtests/asin-inputs: Likewise.
20166
030a4976 201672013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 20168
030a4976 20169 [BZ #16375]
9dcc8f11
VS
20170 * manual/arith.texi: Fix spelling.
20171 * manual/charset.texi: Likewise.
20172 * manual/errno.texi: Likewise.
20173 * manual/filesys.texi: Likewise.
20174 * manual/lang.texi: Likewise.
20175 * manual/llio.texi: Likewise.
20176 * manual/locale.texi: Likewise.
20177 * manual/message.texi: Likewise.
20178 * manual/resource.texi: Likewise.
20179 * manual/search.texi: Likewise.
20180 * manual/setjmp.texi: Likewise.
20181 * manual/stdio.texi: Likewise.
20182 * manual/string.texi: Likewise.
20183 * manual/sysinfo.texi: Likewise.
20184 * manual/time.texi: Likewise.
20185
11520a57
CD
201862013-12-27 Carlos O'Donell <carlos@redhat.com>
20187
20188 * po/sl.po: New file.
20189
471103ae
MF
201902013-12-27 Mike Frysinger <vapier@gentoo.org>
20191
20192 * .gitignore: Add core/.gdbinit/.gdb_history.
20193
6c9642ed
AM
201942013-12-27 Allan McRae <allan@archlinux.org>
20195
20196 [BZ #16369]
20197 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20198 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20199
3f637079
BM
202002013-12-24 Brooks Moses <bmoses@google.com>
20201
20202 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20203 all compilers that claim C++98 compliance, not just GCC.
20204 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20205 Likewise.
20206
abc26e99
MK
202072013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20208
20209 * NEWS: Restore accidentally deleted bug-fix entries.
20210
362b47fe
MK
202112013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20212 Ondřej Bílka <neleai@seznam.cz>
20213
20214 [BZ #15073]
20215 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 20216 have_lock.
362b47fe 20217
b9bcbbcb
OB
202182013-12-23 Ondřej Bílka <neleai@seznam.cz>
20219
20220 [BZ #12986]
20221 * manual/stdio.texi (String Input Conversions): Clarify that character
20222 classes are not supported.
20223
fb55fcd2
AZ
202242013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20225
20226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20227
ef7344f0
JM
202282013-12-22 Joseph Myers <joseph@codesourcery.com>
20229
4f40e4b3
JM
20230 [BZ #16337]
20231 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20232 Calculate results for small negative arguments directly rather
20233 than using reflection formula with special underflow handling.
20234
ef7344f0
JM
20235 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20236 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20237 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20238 (fchflags): Likewise.
20239 (revoke): Likewise.
20240 (setlogin): Likewise.
20241 (sigaltstack): Likewise.
20242 (wait4): Likewise.
20243 (sigblock): Remove.
20244 (sigsetmask): Likewise.
20245 (wait3): Likewise.
20246 (waitpid): Likewise.
20247 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20248 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20249 file.
20250 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20251 * sysdeps/unix/bsd/Makefile: ... here.
20252 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20253 * sysdeps/unix/bsd/Versions: ... here.
20254 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20255 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20256 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20257 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20258 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20259 * sysdeps/unix/bsd/sigblock.c: ... here.
20260 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20261 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20262 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20263 * sysdeps/unix/bsd/sigvec.c: ... here.
20264 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20265 * sysdeps/unix/bsd/tcdrain.c: ... here.
20266 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20267 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20268 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20269 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20270 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20271 * sysdeps/unix/bsd/wait.c: ... here.
20272 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20273 * sysdeps/unix/bsd/wait3.c: ... here.
20274 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20275 * sysdeps/unix/bsd/waitpid.c: ... here.
20276
5b0626b9
JM
202772013-12-21 Joseph Myers <joseph@codesourcery.com>
20278
20279 [BZ #16356]
20280 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20281 round-to-nearest for [!USE_AS_EXPM1L].
20282 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20283 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20284 more tests of exp and exp10. Expect some exp10 tests to miss
20285 exceptions or fail in directed rounding modes.
20286 * math/auto-libm-test-out: Regenerated.
20287 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20288 (exp10_test_tonearest): New function.
20289 (exp10_towardzero_test_data): New array.
20290 (exp10_test_towardzero): New function.
20291 (exp10_downward_test_data): New array.
20292 (exp10_test_downward): New function.
20293 (exp10_upward_test_data): New array.
20294 (exp10_test_upward): New function.
20295 (main): Call the new functions.
20296 * sysdeps/i386/fpu/libm-test-ulps: Update.
20297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20298
7fda5682
JM
202992013-12-20 Joseph Myers <joseph@codesourcery.com>
20300
31e3a405
JM
20301 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20302 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20303 * math/auto-libm-test-out: Regenerated.
20304 * math/libm-test.inc (acosh_test_data): Add more tests.
20305 (atanh_test_data): Likewise.
20306 (ceil_test_data): Likewise.
20307 (copysign_test_data): Likewise.
20308 * sysdeps/i386/fpu/libm-test-ulps: Update.
20309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20310
85bff96a
JM
20311 * timezone/checktab.awk: Update from tzcode 2013i.
20312 * timezone/private.h: Likewise.
20313 * timezone/scheck.c: Likewise.
20314 * timezone/tzfile.h: Likewise.
20315 * timezone/tzselect.ksh: Likewise.
20316 * timezone/zdump.c: Likewise.
20317 * timezone/zic.c: Likewise.
20318
b7867a3b
JM
20319 * math/auto-libm-test-in: Add tests of cpow.
20320 * math/auto-libm-test-out: Regenerated.
20321 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20322 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20323 mpc_cc_c.
20324 (func_calc_desc): Add mpc_cc_c union field.
20325 (test_functions): Add cpow.
20326 (special_fill_2pi): New function.
20327 (special_real_inputs): Add 2pi.
20328 (calc_generic_results): Handle mpc_cc_c.
20329 * sysdeps/i386/fpu/libm-test-ulps: Update.
20330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20331
7fda5682
JM
20332 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20333 csqrt, ctan and ctanh.
20334 * math/auto-libm-test-out: Regenerated.
20335 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20336 (TEST_COND_x86): Likewise.
20337 (ccos_test_data): Use AUTO_TESTS_c_c.
20338 (ccosh_test_data): Likewise.
20339 (cexp_test_data): Likewise.
20340 (clog_test_data): Likewise.
20341 (csqrt_test_data): Likewise.
20342 (ctan_test_data): Likewise.
20343 (ctan_tonearest_test_data): Likewise.
20344 (ctan_towardzero_test_data): Likewise.
20345 (ctan_downward_test_data): Likewise.
20346 (ctan_upward_test_data): Likewise.
20347 (ctanh_test_data): Likewise.
20348 (ctanh_tonearest_test_data): Likewise.
20349 (ctanh_towardzero_test_data): Likewise.
20350 (ctanh_downward_test_data): Likewise.
20351 (ctanh_upward_test_data): Likewise.
20352 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20353 mpc_c_c.
20354 (func_calc_desc): Add mpc_c_c union field.
20355 (FUNC_mpc_c_c): New macro.
20356 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20357 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20358 ctanh.
20359 (special_fill_min_subnorm_p120): New function.
20360 (special_real_inputs): Add min_subnorm_p120.
20361 (calc_generic_results): Handle mpc_c_c.
20362 * sysdeps/i386/fpu/libm-test-ulps: Update.
20363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20364
5ff8d60e
SP
203652013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20366
57f41c40
AS
20367 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20368 (do_sin_slow): New functions.
20369 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20370 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20371
84ba214c
SP
20372 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20373 Use M to change sign of result instead of X. Assume X is
20374 positive.
20375 (csloww1): Likewise.
20376 (__sin): Adjust.
20377 (__cos): Adjust.
20378
975195e4
SP
20379 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20380 arguments A and DA.
20381 (__sin): Adjust.
20382 (__cos): Likewise.
20383
5ff8d60e
SP
20384 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20385 (__cos): Likewise.
20386 (sloww1): Don't adjust sign of DX.
20387 (csloww1): Likewise.
20388 (sloww2): Use X directly and don't adjust sign of DX.
20389 (csloww2): Likewise.
20390
eb983568
JM
203912013-12-19 Joseph Myers <joseph@codesourcery.com>
20392
64a17f1a
JM
20393 * math/auto-libm-test-in: Add tests of cabs and carg.
20394 * math/auto-libm-test-out: Regenerated.
20395 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20396 (carg_test_data): Likewise.
20397 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20398 mpc_c_f.
20399 (func_calc_desc): Add mpc_c_f union field.
20400 (test_functions): Add cabs and carg.
20401 (calc_generic_results): Handle mpc_c_f.
20402
eb983568
JM
20403 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20404 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20405 as a macro and a compat symbol.
20406 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20407 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20408 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20409 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20410 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20411 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20412 not use .hidden.
20413 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20414 Likewise.
20415 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20416 Likewise.
20417 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20418 Likewise.
20419 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20420 Likewise.
20421 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20422 Likewise.
20423 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20424 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20425 from GLIBC_2.3.2.
20426
6eeb678a
AZ
204272013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20428
20429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20430
6f6fc482
JM
204312013-12-19 Joseph Myers <joseph@codesourcery.com>
20432
21fea2e2
JM
20433 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20434 trailing whitespace removed.
20435 * scripts/config.guess: Update to version 2013-11-29.
20436 * scripts/config.sub: Update to version 2013-10-01.
20437
6f6fc482
JM
20438 * math/auto-libm-test-in: Add tests of sincos.
20439 * math/auto-libm-test-out: Regenerated.
20440 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20441 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20442 mpfr_f_11.
20443 (func_calc_desc): Add mpfr_f_11 union field.
20444 (test_functions): Add sincos.
20445 (calc_generic_results): Handle mpfr_f_11.
20446 * sysdeps/i386/fpu/libm-test-ulps: Update.
20447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20448
83f5c32d
AS
204492013-12-19 Andreas Schwab <schwab@suse.de>
20450
20451 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20452 CALL_MCOUNT.
20453 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20454 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20455 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20456
c688b419
JM
204572013-12-19 Joseph Myers <joseph@codesourcery.com>
20458
335ee092
JM
20459 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20460 * sysdeps/i386/fpu/libm-test-ulps: Update.
20461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20462
f88acd39
JM
20463 [BZ #16293]
20464 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20465 round-to-nearest mode when using frndint.
20466 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20467 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20468 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20469 Likewise.
20470 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20471 sinh test to fail.
20472 * math/auto-libm-test-out: Regenerated.
20473 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20474 (TEST_COND_x86): Likewise.
20475 (expm1_tonearest_test_data): New array.
20476 (expm1_test_tonearest): New function.
20477 (expm1_towardzero_test_data): New array.
20478 (expm1_test_towardzero): New function.
20479 (expm1_downward_test_data): New array.
20480 (expm1_test_downward): New function.
20481 (expm1_upward_test_data): New array.
20482 (expm1_test_upward): New function.
20483 (main): Run the new test functions.
20484 * sysdeps/i386/fpu/libm-test-ulps: Update.
20485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20486
c688b419
JM
20487 * include/features.h: Update comment documenting feature test
20488 macros. Mention _DEFAULT_SOURCE in comment.
20489 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20490 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20491 _BSD_SOURCE and _SVID_SOURCE.
20492 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20493 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20494 !_SVID_SOURCE]: Likewise.
20495 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20496 (__USE_POSIX_IMPLICITLY): Define.
20497 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20498 (_POSIX_SOURCE): Undefine and redefine.
20499 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20500 (_POSIX_C_SOURCE): Likewise.
20501 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20502 (Feature Test Macros): Update documentation of default features.
20503
9f6e964c
RS
205042013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20505
20506 * benchtests/Makefile: Add bench-strtok.
20507 * benchtests/bench-strtok.c: New file: strtok benchtest.
20508
ee0a148a
AM
205092013-12-19 Allan McRae <allan@archlinux.org>
20510
20511 * manual/install.texi: Suppress menu for plain text output.
20512 * INSTALL: Regenerated.
20513
b9ab448f
BM
205142013-12-18 Brooks Moses <bmoses@google.com>
20515
20516 [BZ #15846]
20517 * misc/getauxval.c: Include errno.h.
20518 (__getauxval): Set errno to ENOENT if the requested type is not
20519 found.
20520 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20521 don't declare with __attribute_const__.
20522 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20523 * manual/startup.texi: Document that getauxval sets errno.
20524
23776487
JM
205252013-12-18 Joseph Myers <joseph@codesourcery.com>
20526
f889953b
JM
20527 * math/auto-libm-test-in: Add tests of jn and yn.
20528 * math/auto-libm-test-out: Regenerated.
20529 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20530 (yn_test_data): Likewise.
20531 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20532 mpfr_if_f.
20533 (func_calc_desc): Add mpfr_if_f union field.
20534 (FUNC_mpfr_if_f): New macro.
20535 (test_functions): Add jn and yn.
20536 (calc_generic_results): Assert type of second input for
20537 mpfr_ff_f. Handle mpfr_if_f.
20538 (output_for_one_input_case): Disable all checking for arguments
20539 fitting floating-point types in case of an integer argument.
20540 * sysdeps/i386/fpu/libm-test-ulps: Update.
20541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20542
23776487
JM
20543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20544 Don't expect fegetround reference in libm.so.
20545
cb756c6d
MS
205462013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20547
20548 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20549 $(config-cflags-nofma).
20550
2dec468f
JM
205512013-12-18 Joseph Myers <joseph@codesourcery.com>
20552
5953eb3a
JM
20553 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20554 * math/auto-libm-test-out: Regenerated.
20555
2dec468f
JM
20556 [BZ #16338]
20557 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20558 to determine exponent and adjust argument to have exponent of -1.
20559 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20560 log2.
20561 * math/auto-libm-test-out: Regenerated.
20562 * sysdeps/i386/fpu/libm-test-ulps: Update.
20563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20564
4d84e6ad
OB
205652013-12-18 Ondřej Bílka <neleai@seznam.cz>
20566
20567 * manual/probes.texi: Remove cases when per-thread arenas are
20568 disabled.
20569
1818483b
AS
205702013-12-18 Andreas Schwab <schwab@suse.de>
20571
20572 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20573 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20574 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20575 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20576 * sysdeps/i386/i686/multiarch/Makefile: Update.
20577 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20578
25de95bf
JM
205792013-12-17 Joseph Myers <joseph@codesourcery.com>
20580
20581 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20582 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20583
674762d9
PE
205842013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20585
ed27ed83 20586 [BZ #15968]
0748546f
PE
20587 Support TZ transition times < 00:00:00.
20588 This is needed for version-3 tz-format files; it supports time
20589 stamps past 2037 for America/Godthab (the only entry in the tz
20590 database for which this change is relevant).
20591 * manual/time.texi (TZ Variable): Document transition times
20592 from -167:59:59 through -00:00:01.
20593 * time/tzset.c (tz_rule): Time of day is now signed.
20594 (__tzset_parse_tz): Parse negative time of day.
20595
4480e934
PE
20596 Document TZ transition times >= 25:00:00.
20597 * manual/time.texi (TZ Variable): Document transition times from
20598 25:00:00 through 167:59:59. These are already supported, and this
20599 support will help with version-3 tz-format files.
20600
69947401
PE
20601 * manual/time.texi (TZ Variable): Modernize North America example
20602 to reflect current (i.e., 2007-and-later) daylight saving rules.
20603
674762d9
PE
20604 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20605
7011c262
JM
206062013-12-17 Joseph Myers <joseph@codesourcery.com>
20607
2fc6557e
JM
20608 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20609 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20610 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20612 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20613 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20614 * sysdeps/unix/bsd/clock.c: Likewise.
20615 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20616 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20617 * sysdeps/unix/bsd/init-posix.c: Likewise.
20618 * sysdeps/unix/bsd/poll.c: Likewise.
20619 * sysdeps/unix/bsd/ptsname.c: Likewise.
20620 * sysdeps/unix/bsd/seekdir.c: Likewise.
20621 * sysdeps/unix/bsd/setegid.c: Likewise.
20622 * sysdeps/unix/bsd/seteuid.c: Likewise.
20623 * sysdeps/unix/bsd/setgid.c: Likewise.
20624 * sysdeps/unix/bsd/setrgid.c: Likewise.
20625 * sysdeps/unix/bsd/setruid.c: Likewise.
20626 * sysdeps/unix/bsd/setsid.c: Likewise.
20627 * sysdeps/unix/bsd/setuid.c: Likewise.
20628 * sysdeps/unix/bsd/sigaction.c: Likewise.
20629 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20630 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20631 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20632 * sysdeps/unix/bsd/telldir.c: Likewise.
20633 * sysdeps/unix/bsd/times.c: Likewise.
20634 * sysdeps/unix/bsd/usleep.c: Likewise.
20635
029c7b25
JM
20636 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20637 ($(objpfx)libbsd-compat.a): Remove rule.
20638
7011c262
JM
20639 * include/features.h (__FAVOR_BSD): Do not define.
20640 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20641 features conflicting with POSIX.
20642 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20643 (_BSD_SOURCE): Remove description of not being a subset of other
20644 feature test macros.
20645 * manual/job.texi (getpgrp): Do not document BSD version.
20646 (getpgid): Do not document by reference to BSD getpgrp.
20647 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20648 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20649 * signal/signal.h [__FAVOR_BSD]: Likewise.
20650 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20651 instead of making contents conditional on [__FAVOR_BSD].
20652 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20653
affb6f78
AZ
206542013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20655
20656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20657
c88769dd
JM
206582013-12-17 Joseph Myers <joseph@codesourcery.com>
20659
6432a540
JM
20660 [BZ #16314]
20661 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20662 values below 2**-450, not 2**-500.
20663 * math/auto-libm-test-in: Don't allow spurious underflow from
20664 hypot.
20665 * math/auto-libm-test-out: Regenerated.
20666
c88769dd
JM
20667 [BZ #16316]
20668 [BZ #16330]
20669 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20670 values of ha and hb and sort them after adjusting subnormal
20671 arguments.
20672 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20673 Likewise.
20674 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20675 values of ea and eb and sort them after adjusting subnormal
20676 arguments.
20677 * math/auto-libm-test-in: Do not expect some hypot tests of
20678 subnormals to fail. Add more hypot tests.
20679 * math/auto-libm-test-out: Regenerated.
20680
29618f6b
KK
206812013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20682
20683 [BZ #13304]
20684 * sysdeps/sh/s_fma.c: New file.
20685 * sysdeps/sh/s_fmaf.c: New file.
20686 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20687 version.
20688 * sysdeps/sh/Implies: Add sh/soft-fp.
20689
eacfdfbf
RM
206902013-12-16 Roland McGrath <roland@hack.frob.com>
20691
20692 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20693 level of indirection to members `objname', `errstring', `malloced'.
20694 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20695 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20696 it as the __longjmp argument (just pass 1 instead).
20697 (_dl_catch_error): Initialize C with argument pointers and address of
20698 volatile local ERRCODE rather than copying values out of C at return.
20699
ff362e5b
JM
207002013-12-16 Joseph Myers <joseph@codesourcery.com>
20701
20702 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20703 * math/auto-libm-test-out: Regenerated.
20704 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20705 (hypot_test_data): Likewise.
20706 (pow_test_data): Likewise.
20707 (pow_tonearest_test_data): Likewise.
20708 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20709 mpfr_ff_f.
20710 (func_calc_desc): Add mpfr_ff_f union field.
20711 (FUNC_mpfr_ff_f): New macro.
20712 (test_functions): Add atan2, hypot and pow.
20713 (special_fill_min): New function.
20714 (special_fill_minus_min): Likewise.
20715 (special_fill_min_subnorm): Likewise.
20716 (special_fill_minus_min_subnorm): Likewise.
20717 (special_real_inputs): Add min, -min, min_subnorm and
20718 -min_subnorm.
20719 (calc_generic_results): Handle mpfr_ff_f.
20720 * sysdeps/i386/fpu/libm-test-ulps: Update.
20721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20722
5764c27f
WN
207232013-12-16 Will Newton <will.newton@linaro.org>
20724
20725 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20726 (Aligned Memory Blocks): Add documentation for aligned_alloc
20727 and suggest it as an alternative to posix_memalign.
20728 (Hooks for Malloc): Document __memalign_hook is also called
20729 for aligned_alloc. (Summary of Malloc): Add summary for
20730 aligned alloc. Document __memalign_hook is also called
20731 for aligned_alloc.
20732
0a096e44
WN
207332013-12-16 Will Newton <will.newton@linaro.org>
20734
20735 * manual/memory.texi (Malloc Examples): Clarify default
20736 alignment documentation. Suggest posix_memalign rather
20737 than memalign or valloc.
20738 (Aligned Memory Blocks): Remove suggestion to use memalign
20739 or valloc. Remove obsolete comment about BSD.
20740 Document memalign errno values and mark the function obsolete.
20741 Document posix_memalign returned error codes. Mark valloc
20742 as obsolete. (Hooks for Malloc): __memalign_hook is also
20743 called for posix_memalign and valloc.
20744 (Summary of Malloc): Add posix_memalign to function summary.
20745 __memalign_hook is also called for posix_memalign and valloc.
20746
8d561986
SP
207472013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20748
20749 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20750 TAYLOR_SIN.
20751 (__sin): Adjust.
20752 (__cos): Likewise.
20753 (sloww): Use mynumber union. Expand ternary operator into
20754 if-else statements.
20755 (cslow): use mynumber union.
20756
73616a74
AM
207572013-12-16 Allan McRae <allan@archlinux.org>
20758
9e8ac24b
AM
20759 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20760 * configure: Regenerated.
20761
6f8e37eb
AM
20762 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20763
8894bad3
AM
20764 [BZ #14120]
20765 * configure.ac: Added --enable-maintainer-mode. Check for
20766 autoconf when enabled.
20767 * configure: Regenerated.
20768
73616a74
AM
20769 * nscd/nscd.service: New file.
20770 * nscd/nscd.tmpfiles: New file.
20771
584b18eb
OB
207722013-12-14 Ondřej Bílka <neleai@seznam.cz>
20773
20774 [BZ #12100]
20775 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20776 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20777 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20778 (strstr): Add __strstr_sse2_unaligned ifunc.
20779 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20780 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20781 (strcasestr): Remove __strcasestr_sse42 ifunc.
20782 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20783 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20785
8a5c7897
KK
207862013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20787
20788 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20789 * sysdeps/sh/bits/fenv.h: ... here.
20790 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20791
fd712ef3
AZ
207922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20793
20794 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20795
42fcb46c
AZ
20796 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20797 hypotf multiarch implementations.
20798 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20799 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20800 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20801 multiarch hypot for PPC64.
20802 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20803 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20804 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20805 multiarch hypotf for PPC64.
20806
83efded4
AZ
20807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20808 modff multiarch implementations.
20809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20812 multiarch modf for PPC64.
20813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20816 multiarch modff for PPC64.
20817
43e246d2
AZ
20818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20819 and logl multiarch implementations.
20820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20823 multiarch logb for PPC64.
20824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20827 multiarch logb for PPC64.
20828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20831 multiarch logb for PPC64.
20832
8fdad123
AZ
20833 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20834 isinff multiarch implementation.
20835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20836 file.
20837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20839 multiarch isinf for PPC64.
20840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20841 file.
20842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20843 multiarch isinff for PPC64.
20844
1481d706
AZ
20845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20846 finitef multiarch implementation.
20847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20848 file.
20849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20851 multiarch finite for PPC64.
20852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20853 file.
20854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20855 multiarch finitef for PPC64.
20856
5ccd5fc8
AZ
20857 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20858 lrint multiarch implementation.
20859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20860 file.
20861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20863 multiarch llrint for PPC64.
20864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20865 multiarch lrint for PPC64.
20866
2568f3fa
AZ
20867 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20868 copysignf multiarch implementation.
20869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20870 file.
20871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20872 file.
20873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20874 multiarch copysign for PPC64.
20875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20876 multiarch copysignf for PPC64.
20877
1cb341fd
AZ
20878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20879 multiarch implementation.
20880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20881 file.
20882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20883 file.
20884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20885 file.
20886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20887 file.
20888 multiarch llround for PPC64.
20889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20890 multiarch trunc for PPC64.
20891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20892 multiarch truncf for PPC64.
20893
59a3e194
AZ
20894 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20895 multiarch implementation.
20896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20897 file.
20898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20899 file.
20900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20901 file.
20902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20903 file.
20904 multiarch llround for PPC64.
20905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20906 multiarch round for PPC64.
20907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20908 multiarch roundf for PPC64.
20909
357fd3b4
AZ
20910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20911 multiarch implementation.
20912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20913 file.
20914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20915 file.
20916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20917 file.
20918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20919 file.
20920 multiarch llround for PPC64.
20921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20922 multiarch floor for PPC64.
20923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20924 multiarch floorf for PPC64.
20925
96770f12
AZ
20926 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20927 multiarch implementation.
20928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20929 file.
20930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20931 file.
20932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20933 file.
20934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20935 file.
20936 multiarch llround for PPC64.
20937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20938 multiarch ceil for PPC64.
20939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20940 multiarch ceilf for PPC64.
20941
c3627f6e
AZ
20942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20943 multiarch implementation.
20944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20945 file.
20946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20947 file.
20948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20949 file.
20950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20951 multiarch llround for PPC64.
20952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20953 multiarch lround for PPC64.
20954
b2284ad7
AZ
20955 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20956 multiarch implementation.
20957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20960 file.
20961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20964 multiarch isnan for PPC64.
20965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20966 multiarch isnanf for PPC64.
20967
69bbc63d
AZ
20968 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20969 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20970 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20971 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20972 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20974
c24517c9
AZ
20975 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20976 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20977 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20978 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20979
a52374e8
AZ
20980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20981 multiarch implementations.
20982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20983 (__libc_ifunc_impl_list): Likewise.
20984 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20985 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20986 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20987 multiarch stpcpy for PPC64.
20988
7f5ec113
AZ
20989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20990 multiarch implementations.
20991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20992 (__libc_ifunc_impl_list): Likewise.
20993 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20994 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20995 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20996 multiarch strcpy for PPC64.
20997
e28bcd42
AZ
20998 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20999 redefine function name.
21000 (_wordcopy_fwd_dest_aligned): Likewise.
21001 (_wordcopy_bwd_aligned): Likewise.
21002 (_wordcopy_bwd_dest_aligned): Likewise.
21003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21004 multiarch implementations.
21005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21006 (__libc_ifunc_impl_list): Likewise.
21007 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21008 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21009 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21010 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21011 multiarch wcscpy for PPC64.
21012
92cacfce
AZ
21013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21014 multiarch implementations.
21015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21016 (__libc_ifunc_impl_list): Likewise.
21017 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21018 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21019 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21020 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21021 multiarch wcscpy for PPC64.
21022
7b714620
AZ
21023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21024 multiarch implementations.
21025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21026 (__libc_ifunc_impl_list): Likewise.
21027 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21028 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21029 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21030 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21031 multiarch wcsrchr for PPC64.
21032
16fd2ae3
AZ
21033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21034 multiarch implementations.
21035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21036 (__libc_ifunc_impl_list): Likewise.
21037 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21038 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21039 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21040 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21041 multiarch wcschr for PPC64.
21042
9ee2969b
AZ
21043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21044 multiarch implementations.
21045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21046 (__libc_ifunc_impl_list): Likewise.
21047 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21048 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21049 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21050 multiarch strchrnul for PPC64.
21051
372dc060
AZ
21052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21053 implementations.
21054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21055 (__libc_ifunc_impl_list): Likewise.
21056 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21057 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21058 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21059 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21060 strchr for PPC64.
21061
24c2c3b9
AZ
21062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21063 implementations.
21064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21065 (__libc_ifunc_impl_list): Likewise.
21066 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21067 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21068 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21069 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21070 strncmp for PPC64.
21071
1c92d9a0
AZ
21072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21073 multiarch implementations.
21074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21075 (__libc_ifunc_impl_list): Likewise.
21076 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21077 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21078 strncasecmp for PPC64.
21079 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21080 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21081 multiarch strncasecmp_l for PPC64.
21082
17de3ee3
AZ
21083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21084 multiarch implementations.
21085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21086 (__libc_ifunc_impl_list): Likewise.
21087 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21088 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21089 multiarch strcasecmp for PPC64.
21090 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21091 file.
21092 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21093 multiarch strcasecmp_l for PPC64.
21094
62982bf9
AZ
21095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21096 implementations.
21097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21098 (__libc_ifunc_impl_list): Likewise.
21099 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21100 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21101 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21102 strnlen for PPC64.
21103
a65f4904
AZ
21104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21105 implementations.
21106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21107 (__libc_ifunc_impl_list): Likewise.
21108 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21109 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21110 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21111 strlen for PPC64.
21112
1fd005ad
AZ
21113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21114 implementations.
21115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21116 (__libc_ifunc_impl_list): Likewise.
21117 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21118 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21119 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21120 rawmemrchr for PPC64.
21121
cd05ba91
AZ
21122 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21123 implementation.
21124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21125 (__libc_ifunc_impl_list): Likewise.
21126 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21127 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21128 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21129 memrchr for PPC64.
21130
870f8676
AZ
21131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21132 implementation.
21133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21134 (__libc_ifunc_impl_list): Likewise.
21135 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21136 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21137 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21138 memchr for PPC64.
21139
f00be62b
AZ
21140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21141 implementation.
21142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21143 (__libc_ifunc_impl_list): Likewise.
21144 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21145 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21146 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21147 mempcpy for PPC64.
21148
8a29a3d0
AZ
21149 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21150 avoid cretion of __bzero symbol.
21151 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21152 Likewise.
21153 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21154 Likewise.
21155 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21156 Likewise.
21157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21158 multiarch implementations.
21159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21160 (__libc_ifunc_impl_list): Likewise.
21161 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21162 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21163 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21164 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21165 bzero for PPC32.
21166 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21167 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21168 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21169 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21170 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21171 memset for PPC64.
21172 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21173
07253fcf
AZ
21174 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21176 implementations.
21177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21178 (__libc_ifunc_impl_list): Likewise.
21179 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21180 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21181 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21182 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21183 memcmp for PPC64.
21184
b5beafbc
AZ
21185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21186 multiarch for POWER/PPC64.
21187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21188 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21189 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21190 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21191 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21192 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21193 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21194 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21195 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21196 memcpy for PPC64.
21197
5e6a4d4b
AZ
21198 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21199 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21200 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21201 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21202 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21203 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21204 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21205 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21206 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21207 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21208 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21209 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21210 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21211 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21212 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21220
ddfab6dc
KK
212212013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21222
21223 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21224
19b5525e
SP
212252013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21226
21227 * benchtests/Makefile (bench): Add exp2 and log2.
21228 (LDLIBS-bench-exp2): Add -lm.
21229 (LDLIBS-bench-log2): Likewise.
21230 * benchtests/exp2-inputs: New inputs file.
21231 * benchtests/log2-inputs: New inputs file.
21232 * benchtests/log-inputs: Add new inputs.
21233 * benchtests/tan-inputs: Likewise.
21234
196f7f5d
SP
212352013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21236
7a74607f
SP
21237 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21238 definition...
57f41c40
AS
21239 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21240 (csloww2): ... from here.
7a74607f 21241
196f7f5d
SP
21242 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21243 instead of structures.
21244 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21245 (POLYNOMIAL): Likewise.
21246 (TAYLOR_SLOW): Likewise.
21247 (__sin): Likewise.
21248 (__cos): Likewise.
21249 (slow1): Likewise.
21250 (slow2): Likewise.
21251 (sloww): Likewise.
21252 (sloww1); Likewise.
21253 (sloww2): Likewise.
21254 (bsloww1): Likewise.
21255 (bsloww2): Likewise.
21256 (cslow2): Likewise.
21257 (csloww): Likewise.
21258 (csloww1): Likewise.
21259 (csloww2): Likewise.
21260
0dfa665c
OB
212612013-12-10 Ondřej Bílka <neleai@seznam.cz>
21262
21263 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21264 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21265 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21266 * malloc/hooks.c (realloc_check): Likewise.
21267
5782a80f
OB
21268 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21269 * malloc/arena.c: Remove PER_THREAD conditional.
21270 [!PER_THREAD]: Remove code.
21271 (ptmalloc_unlock_all2): Likewise.
21272 (ptmalloc_init): Likewise.
21273 (_int_new_arena): Likewise.
21274 (arena_get2): Likewise.
21275 * malloc/hooks.c (__malloc_get_state): Likewise.
21276 (__malloc_set_state): Likewise.
21277 * malloc/malloc.c: Likewise.
21278 (struct malloc_state): Likewise.
21279 (struct malloc_par): Likewise.
21280 (__libc_realloc): Likewise.
21281 (__libc_mallopt): Likewise.
21282
aeb95445
AZ
212832013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21284
21285 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21286
e8349efd
OB
212872013-12-09 Ondřej Bílka <neleai@seznam.cz>
21288
21289 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21290 macro to a function. Check for zero perturb_byte.
21291 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21292
f3eeb3fc 21293 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
21294 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21295 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
21296 force_reg by atomic_forced_read.
21297 * malloc/arena.c (ptmalloc_init): Likewise.
21298 * malloc/hooks.c (top_check): Likewise.
21299
be2f9009
AZ
213002013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21301
21302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21303
e7b914bd
MT
213042013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21305
21306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21307
9f0be4f8
JM
213082013-12-08 Joseph Myers <joseph@codesourcery.com>
21309
21310 * math/auto-libm-test-in: Add tests of lgamma.
21311 * math/auto-libm-test-out: Regenerated.
21312 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21313 (M_LOG_2_SQRT_PIl): Likewise.
21314 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21315 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21316 mpfr_f_f1.
21317 (func_calc_desc): Add mpfr_f_f1 union field.
21318 (ARGS1): New macro.
21319 (ARGS2): Likewise.
21320 (ARGS3): Likewise.
21321 (ARGS4): Likewise.
21322 (RET1): Likewise.
21323 (RET2): Likewise.
21324 (CALC): Likewise.
21325 (FUNC): Likewise.
21326 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21327 (test_functions): Add lgamma.
21328 (calc_generic_results): Handle mpfr_f_f1.
21329 * sysdeps/i386/fpu/libm-test-ulps: Update.
21330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21331
24eeafdb
AZ
213322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21333
21334 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21335 __mpn_add_n for PowerPC64/POWER7.
21336 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21337 __mpn_sub_n for PowerPC64/POWER7.
21338
4a2c0fd4
AZ
21339 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21340 __mpn_addmul_1 for PowerPC64.
21341 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21342 __mpn_submul_1 for PowerPC64.
21343 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21344 for PowerPC64.
21345 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21346 for PowerPC64.
21347
4b5b548c
FS
213482013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21349
21350 [BZ #15089]
21351 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21352
0a3ac0aa
AZ
213532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21354
21355 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21356
ccdc8438
AZ
21357 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21358 add multiarch folders.
21359 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21360 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21361 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21362 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21363 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21364 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21365 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21366 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21367 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21368 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21369 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21376
2e973d99
AZ
21377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21378 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21380 New file.
21381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21382 New file.
21383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21384 multiarch __ieee754_hypot for PowerPC32.
21385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21386 New file.
21387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21388 New file.
21389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21390 multiarch __ieee754_hypotf for PowerPC32.
21391
2d9470b2
AZ
21392 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21393 long_double_symbol only if __logbl is defined.
21394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21395 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21397 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21398 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21399 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21400 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21401 path for implementation.
21402 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21403 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21405 logb, and logbl multiarch implementations for PowerPC32.
21406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21407 file.
21408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21409 file.
21410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21411 multiarch logb for PowerPC32.
21412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21413 file.
21414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21415 file.
21416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21417 multiarch logbf for PowerPC32.
21418 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21420 file.
21421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21422 multiarch logbl implementation for PowerPC32.
21423
5212ffce
AZ
21424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21425 and modff multiarch implementations.
21426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21427 New file.
21428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21429 New file.
21430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21431 multiarch modf for PowerPC32.
21432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21433 New file.
21434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21435 New file.
21436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21437 multiarch modff for PowerPC32.
21438
79dccf31
AZ
21439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21440 and lrintf multiarch implementations.
21441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21442 New file.
21443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21444 New file.
21445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21446 multiarch lrint for PowerPC32.
21447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21448 file: multiarch lrintf for PowerPC32.
21449
deb66480
AZ
21450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21451 and lroundf multiarch implementations.
21452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21453 New file.
21454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21455 New file.
21456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21457 New file.
21458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21459 multiarch lround for PowerPC32.
21460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21461 file: multiarch lroundf for PowerPC32.
21462
264b036b
AZ
21463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21464 copysign and copysignf multiarch implementations.
21465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21466 New file.
21467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21468 New file.
21469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21470 file: multiarch copysign for PowerPC32.
21471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21472 file: multiarch copysignf for PowerPC32.
21473
d47db6c9
AZ
21474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21475 and truncf multiarch implementations.
21476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21477 New file.
21478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21479 file.
21480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21481 multiarch trunc for PowerPC32.
21482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21483 New file.
21484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21485 New file.
21486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21487 multiarch truncf for PowerPC32.
21488
ddb60b5a
AZ
21489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21490 and roundf multiarch implementations.
21491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21492 New file.
21493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21494 file.
21495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21496 multiarch round for PowerPC32.
21497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21498 New file.
21499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21500 New file.
21501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21502 multiarch roundf for PowerPC32.
21503
bedcf49b
AZ
21504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21505 and floorf multiarch implementations.
21506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21507 New file.
21508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21509 file.
21510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21511 multiarch floor for PowerPC32.
21512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21513 New file.
21514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21515 New file.
21516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21517 multiarch floorf for PowerPC32.
21518
35ae5b40
AZ
21519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21520 and ceilf multiarch implementations.
21521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21522 New file.
21523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21524 file.
21525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21526 multiarch ceil for PowerPC32.
21527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21528 New file.
21529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21530 file.
21531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21532 multiarch ceilf for PowerPC32.
21533
ae1a4cd9
AZ
21534 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21535 is defined.
21536 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21537 FINITEF is defined.
21538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21539 and finitef multiarch implementations.
21540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21541 New file.
21542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21543 file.
21544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21545 multiarch finite for PowerPC32.
21546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21547 New file.
21548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21549 file: multiarch finitef for PowerPC32.
21550
64fffd65
AZ
21551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21552 and isinff multiarch implementations.
21553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21554 file.
21555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21556 file.
21557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21558 multiarch isinf for PowerPC32.
21559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21560 New file.
21561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21562 multiarch isinff for PowerPC32.
21563
8e4e7ba2
AZ
21564 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21565 alias when __isnan is defined.
21566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21567 and isnanf multiarch implementations.
21568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21569 file.
21570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21571 file.
21572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21573 file.
21574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21575 file.
21576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21577 multiarch isnan for PowerPC32.
21578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21579 New file.
21580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21581 New file.
21582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21583 multiarch isnanf for PowerPC32.
21584
ddba588e
AZ
21585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21586 and sqrtf multiarch implementations.
21587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21588 file.
21589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21590 file.
21591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21592 multiarch sqrt for PowerPC32.
21593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21594 file.
21595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21596 file.
21597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21598 multiarch sqrtf for PowerPC32.
21599
0f96a2f0
AZ
21600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21601 and llroundf multiarch implementations.
21602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21603 New file.
21604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21605 New file.
21606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21607 New file.
21608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21609 file: multiarch llround for PowerPC32.
21610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21611 file: multiarch llroundf for PowerPC32.
21612
c9b5d79e
AZ
21613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21614 multiarch PowerPC32 fpu implementations.
21615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21616 New file.
21617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21618 New file.
21619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21620 multiarch llrint for PowerPC32.
21621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21622 New file.
21623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21624 New file.
21625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21626 file.
21627
9cbb3aab
AZ
21628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21629
ea5a72f8
AZ
21630 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21631 file.
21632 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21633 file.
21634 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21635 file.
21636 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21637 multiarch wordcopy for PPC32.
21638 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21639 wordcopy objects.
21640 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21641 (__libc_ifunc_impl_list): Likewise.
21642 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21643 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21644 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21645 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21646 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21647 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21648
93be09e7
AZ
21649 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21650 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21651 file.
21652 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21653 file.
21654 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21655 file.
21656 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21657 multiarch wcscpy for PPC32.
21658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21659 multiarch objects.
21660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21661 (__libc_ifunc_impl_list): Likewise.
21662 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21663 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21664 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21665 sysdeps/powerpc/power6/wcscpy.c.
21666
bb04e529
AZ
21667 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21668 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21669 file.
21670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21671 file.
21672 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21673 file.
21674 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21675 multiarch wcsrchr for PPC32.
21676 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21677 multiarch objects.
21678 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21679 (__libc_ifunc_impl_list): Likewise.
21680 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21681 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21682 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21683 sysdeps/powerpc/power6/wcsrchr.c.
21684
05b5cd1c
AZ
21685 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21686 file.
21687 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21688 file.
21689 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21690 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21691 multiarch wcschr for PPc32.
21692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21693 multiarch objects.
21694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21695 (__libc_ifunc_impl_list): Likewise.
21696 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21697 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21698 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21699 sysdeps/powerpc/power6/wcschr.c.
21700
ba964147
AZ
21701 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21702 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21703 file.
21704 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21705 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21706 file: multiarch strchr for PPC32.
21707 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21708 multiarch objects.
21709 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21710 (__libc_ifunc_impl_list): Likewise.
21711
31c81aaa
AZ
21712 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21713 name.
21714 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21715 file.
21716 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21717 file.
21718 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21719 multiarch strchrnul for PPC32.
21720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21721 multiarch objects.
21722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21723 (__libc_ifunc_impl_list): Likewise.
21724
0d0607d9
AZ
21725 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21726 file.
21727 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21728 multiarch strncasecmp for PPC32.
21729 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21730 file.
21731 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21732 multiarch strncasecmp_l for PPC32.
21733 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21734 strncasecmp multiarch objects.
21735 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21736 (__libc_ifunc_impl_list): Likewise.
21737
4dfd5c86
AZ
21738 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21739 file.
21740 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21741 multiarch strncasecmp for PPC32.
21742 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21743 New file.
21744 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21745 multiarch strcasecmp_l for PPC32.
21746 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21747 multiarch objects.
21748 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21749 (__libc_ifunc_impl_list): Likewise.
21750
a19e01a3
AZ
21751 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21752 file.
21753 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21754 file.
21755 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21756 multiarch strncmp for PPC32.
21757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21758 multiarch objects.
21759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21760 (__libc_ifunc_impl_list): Likewise.
21761
ae9cf7a2
AZ
21762 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21763 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21764 file.
21765 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21766 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21768 multiarch objects.
21769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21770 (__libc_ifunc_impl_list): Likewise.
21771
3148bb7d
AZ
21772 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21773 file.
21774 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21775 file.
21776 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21778 multiarch objects.
21779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21780 (__libc_ifunc_impl_list): Likewise.
21781
7af8b946
AZ
21782 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21783 file.
21784 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21785 file.
21786 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21787 multiarch rawmemchr for PPC32.
21788 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21789 multiarch objects.
21790 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21791 (__libc_ifunc_impl_list): Likewise.
21792
03a6aa6a
AZ
21793 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21794 file.
21795 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21796 file.
21797 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21798 file: memrchr multiarch for PPC32.
21799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21800 multiarch objects.
21801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21802 (__libc_ifunc_impl_list): Likewise.
21803
1c62e6d9
AZ
21804 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21805 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21806 file.
21807 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21808 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21809 multiarch memchr for PPC32.
21810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21811 multiarch objects.
21812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21813 (__libc_ifunc_impl_list): Likewise.
21814
87da8bdb
AZ
21815 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21816 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21817 file.
21818 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21819 file.
21820 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21821 file: multiarch mempcpy for PPC32.
21822 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21823 multiarch objects.
21824 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21825 (__libc_ifunc_impl_list): Likewise.
21826
20ed4714
AZ
21827 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21828 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21829 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21830 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21831 multiarch bzero for PPC32.
21832 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21833 file.
21834 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21835 file.
21836 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21837 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21838 file: multiarch memset for PPC32.
21839 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21841 memset multiarch objects.
21842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21843 (__libc_ifunc_impl_list): Likewise.
21844
ab3e3a46
AZ
21845 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21846 file.
21847 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21848 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21849 memcmp for PPC32.
21850 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21852 multiarch objects.
21853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21854 (__libc_ifunc_impl_list): Likewise.
21855
930de6f0
AZ
21856 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21857 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21858 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21859 file.
21860 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21861 file.
21862 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21863 file.
21864 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21865 multiarch memcpy for PPC32.
21866 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21867 multiarch objects.
21868 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21869 (__libc_ifunc_impl_list): Likewise.
21870
4c628e00
AZ
21871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21872 support multiarch for POWER/PPC32.
21873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21874 Likewise.
21875 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21877 Implies file to make multiarch folder appers before the fpu and
21878 default folder for power4 configuration.
21879
f4479220
SP
218802013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21881
21882 * scripts/bench.pl: Append volatile keyword to type.
21883
8517800f
KK
218842013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21885
21886 * sysdeps/sh/sotruss-lib.c: New file.
21887 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21888
180138f1
AZ
218892013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21890
21891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21892
bbf37bdc
JM
218932013-12-05 Joseph Myers <joseph@codesourcery.com>
21894
e47cc4e0
JM
21895 [BZ #6810]
21896 * math/w_tgamma.c: Include <errno.h>.
21897 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21898 * math/w_tgammaf.c: Include <errno.h>.
21899 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21900 * math/w_tgammal.c: Include <errno.h>.
21901 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21902 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21903 underflow. Add more tgamma tests.
21904 * math/auto-libm-test-out: Regenerated.
21905 * sysdeps/i386/fpu/libm-test-ulps: Update.
21906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21907
bbf37bdc
JM
21908 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21909 sin, sinh, tan, tanh, tgamma, y0 and y1.
21910 * math/auto-libm-test-out: Regenerated.
21911 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21912 (TEST_COND_x86): Likewise.
21913 (M_E2l): Remove macro.
21914 (M_E3l): Likewise.
21915 (M_2_SQRT_PIl): Likewise.
21916 (M_SQRT_PIl): Likewise.
21917 (M_1_DIV_El): Likewise.
21918 (log_test_data): Use AUTO_TESTS_f_f.
21919 (log10_test_data): Likewise.
21920 (log1p_test_data): Likewise.
21921 (log2_test_data): Likewise.
21922 (sin_test_data): Likewise.
21923 (sin_tonearest_test_data): Likewise.
21924 (sin_towardzero_test_data): Likewise.
21925 (sin_downward_test_data): Likewise.
21926 (sin_upward_test_data): Likewise.
21927 (sinh_test_data): Likewise.
21928 (sinh_tonearest_test_data): Likewise.
21929 (sinh_towardzero_test_data): Likewise.
21930 (sinh_downward_test_data): Likewise.
21931 (sinh_upward_test_data): Likewise.
21932 (tan_test_data): Likewise.
21933 (tan_tonearest_test_data): Likewise.
21934 (tan_towardzero_test_data): Likewise.
21935 (tan_downward_test_data): Likewise.
21936 (tan_upward_test_data): Likewise.
21937 (tanh_test_data): Likewise.
21938 (tgamma_test_data): Likewise.
21939 (y0_test_data): Likewise.
21940 (y1_test_data): Likewise.
21941 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21942 (special_real_inputs): Add pi/4.
21943 * sysdeps/i386/fpu/libm-test-ulps: Update.
21944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21945
eb5ad6b9
AZ
219462013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21947
21948 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21949 "longjmp_target" static probes.
21950 (__longjmp): Rename to __longjmp_symbol.
21951 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21952 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21953 on which longjmp to generate.
21954 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21955 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21956 probe.
21957 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21958 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21959 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21960 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21961 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21962 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21964 __longjmp_symbol based on which __longjmp to generate.
21965 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21966 probe.
21967 (setjmp): Rename to setjmp_symbol.
21968 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21969 (_setjmp): Rename to _setjmp_symbol.
21970 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21971 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21972 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21973 which setjmp to generate.
21974 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21975 "longjmp_target" static probes.
21976
d136c6dc
SP
219772013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21978
9298ecba
SP
21979 * benchtests/README: Add note about output arguments.
21980 * benchtests/bench-sincos.c: Remove file.
21981 * benchtests/sincos-inputs: New file.
21982 * scripts/bench.pl: Identify output arguments and define
21983 static variables for them.
21984
232983e9
SP
21985 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21986
d136c6dc
SP
21987 [BZ #15941]
21988 * Makefile (INSTALL): Add install-plain.texi as the primary
21989 dependency.
21990 * manual/install-plain.texi: New file.
21991 * manual/install.texi: Include node directive only for
21992 non-plaintext output.
21993
699ff837
JM
219942013-12-04 Joseph Myers <joseph@codesourcery.com>
21995
ab07cea8
JM
21996 * stdlib/longlong.h: Update from GCC.
21997
699ff837
JM
21998 [BZ #6807]
21999 [BZ #15901]
22000 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22001 * math/w_j0f.c (y0f): Likewise.
22002 * math/w_j0l.c (__y0l): Likewise.
22003 * math/w_j1.c (y1): Likewise.
22004 * math/w_j1f.c (y1f): Likewise.
22005 * math/w_j1l.c (__y1l): Likewise
22006 * math/w_jn.c (yn): Likewise.
22007 * math/w_jnf.c (ynf): Likewise.
22008 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22009 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22010 value for Bessel function domain errors outside _SVID_ mode.
22011 Adjust sign of return value for yn (negative integer, 0).
22012 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22013 by zero in return for negative x and set sign appropriately for
22014 negative n.
22015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22016 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22017 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22018 expectations in error cases.
22019 (y1_test_data): Likewise.
22020 (yn_test_data): Likewise.
22021 * sysdeps/i386/fpu/libm-test-ulps: Update.
22022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22023
5b118558
UW
220242013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22025
22026 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22027 "64" to "64-v1". Add "64-v2".
22028 (abi-64-options): Rename to ...
22029 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22030 (abi-64-condition): Rename to ...
22031 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22032 (abi-64-ld-soname): Rename to ...
22033 (abi-64-v1-ld-soname): ... this.
22034 (abi-64-v2-options): Define.
22035 (abi-64-v2-condition): Likewise.
22036 (abi-64-v2-ld-soname): Likewise.
22037 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22038 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22042
61cd8fe4
UW
220432013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22044 Alan Modra <amodra@gmail.com>
22045
22046 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22047 New versions for use with the ELFv2 ABI.
22048 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22049 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22050 declaration.
22051 (struct La_ppc64v2_retval): Likewise.
22052 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22053 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22054 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22055 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22056 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22057 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22058 Do not save or restore CR.
22059 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22060 (_dl_profile_resolve): Do no save or restore CR. Support extended
22061 return values for ELFv2 ABI. Fix location of FPR return registers.
22062 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22063 updated values for _CALL_ELF == 2.
22064 (La_regs, La_retval, int_retval): Likewise.
22065
8b8a692c
UW
220662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22067
22068 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22069 (FRAME_MIN_SIZE_PARM): Likewise.
22070 (FRAME_BACKCHAIN): Likewise.
22071 (FRAME_CR_SAVE): Likewise.
22072 (FRAME_LR_SAVE): Likewise.
22073 (FRAME_TOC_SAVE): Likewise.
22074 (FRAME_PARM_SAVE): Likewise.
22075 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22076 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22077 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22078 (call_mcount_parm_offset): New macro.
22079 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22080 (PROF): Use symbolic stack frame offsets.
22081 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22082 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22083 Redefine in terms of FRAME_MIN_SIZE.
22084 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22085 (_dl_profile_resolve): Likewise. Update comment.
22086 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22087 symbols stack frame offsets.
22088 (__sigsetjmp): Likewise.
22089 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22090 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22091 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22092 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22093
22094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22095 (FRAME_BACKCHAIN): Remove.
22096 (FRAME_CR_SAVE): Likewise.
22097 (FRAME_LR_SAVE): Likewise.
22098 (FRAME_COMPILER_DW): Likewise.
22099 (FRAME_LINKER_DW): Likewise.
22100 (FRAME_TOC_SAVE): Likewise.
22101 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
22102 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22103 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22104 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
22105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22106 (CHECK_SP): Use symbolic stack frame offsets.
22107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22108 zone" instead of caller's parameter save area for temp storage.
22109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22110 Likewise. Also, use symbolic stack frame offsets.
22111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22112 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22113 our own stack frame instead of the caller's.
22114 (__socket): Use symbolic stack frame offsets.
22115
122b66de
UW
221162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22117 Alan Modra <amodra@gmail.com>
22118
22119 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22120 Define.
57f41c40
AS
22121 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22122 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
22123 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22124 New function.
22125 (elf_machine_fixup_plt): Call it.
22126 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22127 reloc arguments.
22128 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
22129 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22130 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
22131 r2 before calling target.
22132
696caf1d
UW
221332013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22134 Alan Modra <amodra@gmail.com>
22135
22136 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22137 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22138 versions of macros to support ELFv2 ABI.
22139 (LOCALENTRY): New macro.
22140 (ENTRY, EALIGN): Use it.
22141 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22142 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22143 fall through into ENTRY entry point.
22144 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22145 Only define if _CALL_ELF != 2.
22146
22147 (elf_machine_matches_host): Verify ABI version matches.
22148 (RTLD_START): Use LOCALENTRY.
22149 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22150 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22151 (PLT_ENTRY_WORDS): New macro.
22152 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22153 (elf_machine_runtime_setup): Support ELFv2 ABI.
22154 (elf_machine_fixup_plt): Likewise.
22155 (elf_machine_plt_conflict): Likewise.
22156 (resolve_ifunc): Likewise.
22157 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22158 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22159 Likewise.
22160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22161 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22163 (makecontext): Support ELFv2 ABI.
22164 * elf/elf.h (EF_PPC64_ABI): Define.
22165
d31beafa
UW
221662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22167
57f41c40
AS
22168 * sysdeps/powerpc/powerpc64/sysdep.h
22169 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22170 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22171 (ENTRY) [ASSEMBLER]: ... but instead here ...
22172 (EALIGN) [ASSEMBLER]: ... and here.
22173 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22174 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22175 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
22176 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22177 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
22178 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22179 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
22180 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22182 Use PPC64_LOAD_FUNCPTR.
22183
b525166b
UW
22184 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22185
7ec07d9a
AM
221862013-12-04 Alan Modra <amodra@gmail.com>
22187
22188 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22189 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22190 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22191 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22192
22193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22194 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22195 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22196 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22197 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22198 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22199
5162e7dd
UW
222002013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22201
22202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22203 (__makecontext): Fix incorrect CFI when backtracing out of
22204 context created via makecontext.
22205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22206 (__setcontext): Fix incorrect CFI during switch to new context.
22207 (__novec_setcontext): Likewise.
22208
19e3372b
OB
222092013-12-04 Ondřej Bílka <neleai@seznam.cz>
22210
22211 [BZ #4772]
22212 * time/strptime_l.c (__strptime_internal): Allow modifiers
22213 in strptime.
22214 * time/tst-strptime.c (day_tests): Add testcase.
22215
ecaf142d
SP
222162013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22217
22218 * scripts/bench.pl: Skip over blank lines.
22219
fbf964ae
PE
222202013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22221
22222 [BZ #926]
22223 * manual/time.texi (Calendar Time): Clarify what timezone functions
22224 use.
22225
fa60a674
AZ
222262013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22227
22228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22229
d674f0ef
OB
222302013-12-04 Ondřej Bílka <neleai@seznam.cz>
22231
22232 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22233 implementation.
22234 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22235 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22236 * debug/memset_chk.c (__memset_chk): Likewise.
22237 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22238 * debug/strncpy_chk.c: Likewise.
22239
17dea188
JM
222402013-12-03 Joseph Myers <joseph@codesourcery.com>
22241
749008ff
JM
22242 [BZ #15268]
22243 [BZ #15425]
22244 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22245 (__ieee754_exp): For possibly underflowing results, check size of
22246 result and force underflow exception if required.
22247 * math/auto-libm-test-in: Add more tests of exp.
22248 * math/auto-libm-test-out: Regenerated.
22249 * sysdeps/i386/fpu/libm-test-ulps: Update.
22250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22251
17dea188
JM
22252 [BZ #16283]
22253 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22254 * math/w_exp2f.c (__exp2f): Likewise.
22255 * math/w_exp2l.c (__exp2l): Likewise.
22256 * math/auto-libm-test-in: Do not allow missing errno on exp2
22257 underflow.
22258 * math/auto-libm-test-out: Regenerated.
22259
b20de2c3
OB
222602013-12-03 Ondřej Bílka <neleai@seznam.cz>
22261
22262 [BZ #16274]
22263 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22264 handle filename validation.
22265 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22266 (do_open): Delete.
22267
d8e2dbe3
JM
222682013-12-03 Joseph Myers <joseph@codesourcery.com>
22269
34e16df5
JM
22270 [BZ #6786]
22271 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22272 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22273 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22274 <float.h>.
22275 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22276 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22277 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22278 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22279 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22280 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22281 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22282 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22283 Add more erfc tests.
22284 * math/auto-libm-test-out: Regenerated.
22285 * sysdeps/i386/fpu/libm-test-ulps: Update.
22286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22287
d8e2dbe3
JM
22288 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22289 exp2, expm1, j0 and j1.
22290 * math/auto-libm-test-out: Regenerated.
22291 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22292 (erfc_test_data): Likewise.
22293 (exp_test_data): Likewise.
22294 (exp_tonearest_test_data): Likewise.
22295 (exp_towardzero_test_data): Likewise.
22296 (exp_downward_test_data): Likewise.
22297 (exp_upward_test_data): Likewise.
22298 (exp10_test_data): Likewise.
22299 (exp2_test_data): Likewise.
22300 (expm1_test_data): Likewise.
22301 (j0_test_data): Likewise.
22302 (j1_test_data): Likewise.
22303 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22304 (input_flag_type): Add flag_xfail_rounding.
22305 (input_flags): Add xfail-rounding.
22306 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22307 (output_for_one_input_case): Handle flag_xfail_rounding.
22308 * sysdeps/i386/fpu/libm-test-ulps: Update.
22309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22310
18d14251
AJ
223112013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22312
3d2e6075 22313 [BZ #16289]
18d14251
AJ
22314 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22315 division by 0.
22316
520d437b
SP
223172013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22318
22319 [BZ #16195]
22320 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22321 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22322 (STAP_PROBE0): New macro.
22323 (STAP_PROBE1): Likewise.
22324 (STAP_PROBE2): Likewise.
22325 (STAP_PROBE3): Likewise.
22326 (STAP_PROBE4): Likewise.
22327
416e0145
OB
223282013-12-02 Ondřej Bílka <neleai@seznam.cz>
22329
22330 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22331
9d17796a
SE
223322013-12-02 Steve Ellcey <sellcey@mips.com>
22333
22334 * benchtests/Makefile (bench): Add sqrt.
22335 (LDLIBS-bench-sqrt): New.
22336 * benchtests/sqrt-input: New.
22337
f524d6a8
PS
223382013-12-02 Pavel Simerda <psimerda@redhat.com>
22339
639a0ef8
PS
22340 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22341 (GAIH_EAI): Likewise.
22342 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22343 (gaih_inet): Likewise.
22344 (getaddrinfo): Don't use GAIH_EAI.
22345
f524d6a8
PS
22346 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22347 (struct gaih): Remove definition.
22348
df3aedaf
SP
223492013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22350
22351 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22352 Use HERRNOP directly.
22353
1ab19dec
AZ
223542013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22355
b42ad38d 22356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22357
176b0c79
JM
223582013-11-30 Joseph Myers <joseph@codesourcery.com>
22359
22360 * math/gen-auto-libm-tests.c (test_functions): Add more
22361 single-argument functions.
22362 (special_fill_pi_2): New function.
22363 (special_fill_minus_pi_2): Likewise.
22364 (special_fill_pi_6): Likewise.
22365 (special_fill_minus_pi_6): Likewise.
22366 (special_fill_pi_3): Likewise.
22367 (special_fill_2pi_3): Likewise.
22368 (special_fill_e): Likewise.
22369 (special_fill_1_e): Likewise.
22370 (special_fill_e_minus_1): Likewise.
22371 (special_real_inputs): Add more special inputs.
22372 (output_for_one_input_case): Do not require ERANGE on underflow to
22373 zero if round-to-nearest result does not underflow to zero, unless
22374 exact results required.
22375 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22376 atan, atanh, cbrt, cos and cosh.
22377 * math/auto-libm-test-out: Regenerated.
22378 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22379 (acos_tonearest_test_data): Likewise.
22380 (acos_towardzero_test_data): Likewise.
22381 (acos_downward_test_data): Likewise.
22382 (acos_upward_test_data): Likewise.
22383 (acosh_test_data): Likewise.
22384 (asin_test_data): Likewise.
22385 (asin_tonearest_test_data): Likewise.
22386 (asin_towardzero_test_data): Likewise.
22387 (asin_upward_test_data): Likewise.
22388 (asinh_test_data): Likewise.
22389 (atan_test_data): Likewise.
22390 (atanh_test_data): Likewise.
22391 (cbrt_test_data): Likewise.
22392 (cos_test_data): Likewise.
22393 (cos_tonearest_test_data): Likewise.
22394 (cos_towardzero_test_data): Likewise.
22395 (cos_downward_test_data): Likewise.
22396 (cos_upward_test_data): Likewise.
22397 (cosh_test_data): Likewise.
22398 (cosh_tonearest_test_data): Likewise.
22399 (cosh_towardzero_test_data): Likewise.
22400 (cosh_downward_test_data): Likewise.
22401 (cosh_upward_test_data): Likewise.
22402 * sysdeps/i386/fpu/libm-test-ulps: Update.
22403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22404
ffb536d0
JM
224052013-11-29 Joseph Myers <joseph@codesourcery.com>
22406
2a77a467
JM
22407 [BZ #6787]
22408 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22409 * math/w_exp10f.c (__exp10f): Likewise.
22410 * math/w_exp10l.c (__exp10l): Likewise.
22411 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22412 errno settings in existing tests.
22413
ea3bc4e8
JM
22414 [BZ #14032]
22415 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22416 precision control set to double precision.
22417 * sysdeps/i386/fpu/w_sqrt.c: New file.
22418 * math/auto-libm-test-in: Add more tests.
22419 * math/auto-libm-test-out: Update.
22420
0712c9d8
JM
22421 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22422 (sqrt_test_tonearest): New function.
22423 (sqrt_towardzero_test_data): New variable.
22424 (sqrt_test_towardzero): New function.
22425 (sqrt_downward_test_data): New variable.
22426 (sqrt_test_downward): New function.
22427 (sqrt_upward_test_data): New variable.
22428 (sqrt_test_upward): New function.
22429 (main): Call the new functions.
22430
ffb536d0
JM
22431 * math/gen-auto-libm-tests.c: New file.
22432 * math/auto-libm-test-in: Likewise.
22433 * math/auto-libm-test-out: New generated file.
22434 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22435 variables.
22436 (%beautify): Add generated representations of zero.
22437 (top level): Set $auto_input and call parse_auto_input.
22438 (beautify): Remove trailing "f" from hex float constants.
22439 (parse_args): Handle XFAIL_TEST.
22440 (convert_condition): New function.
22441 (or_value): Likewise.
22442 (or_cond_value): Likewise.
22443 (generate_testfile): Handle AUTO_TESTS_* lines.
22444 (parse_auto_input): New function.
22445 * math/libm-test.inc (XFAIL_TEST): New macro.
22446 (ERRNO_UNCHANGED): Update value.
22447 (ERRNO_EDOM): Likewise.
22448 (ERRNO_ERANGE): Likewise.
22449 (IGNORE_RESULT): Likewise.
22450 (TEST_COND_flt_32): New macro.
22451 (TEST_COND_dbl_64): Likewise.
22452 (TEST_COND_ldbl_96_intel): Likewise.
22453 (TEST_COND_ldbl_96_m68k): Likewise.
22454 (TEST_COND_ldbl_128): Likewise.
22455 (TEST_COND_ldbl_128ibm): Likewise.
22456 (TEST_COND_long32): Likewise.
22457 (TEST_COND_long64): Likewise.
22458 (TEST_COND_before_rounding): Likewise.
22459 (TEST_COND_after_rounding): Likewise.
22460 (enable_test): Handle XFAIL_TEST flag.
22461 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22462 with finite results.
22463 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22464 auto-libm-test-out.
22465
acd98a8e
AK
224662013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22467 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22468
22469 [BZ #16214]
22470 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22471 __tls_get_addr_internal instead of __tls_get_offset in order to
22472 avoid GOT pointer dependency. Make rtld export
22473 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22474 __tls_get_addr since we are a __tls_get_offset platform.
22475 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22476 GOT pointer being set up before.
22477 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22478
3c1c46a6
JM
224792013-11-28 Joseph Myers <joseph@codesourcery.com>
22480
7475aef5
JM
22481 * manual/math.texi (Errors in Math Functions): Document accuracy
22482 goals.
22483
8bca7cd8
JM
22484 [BZ #15004]
22485 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22486 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22487 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22488 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22489 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22490 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22491 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22492 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22493 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22494 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22495 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22496 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22497 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22498 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22499 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22500 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22501
91a1f3fe
JM
22502 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22503 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22504 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22505 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22506 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22507 Likewise.
22508 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22509 Likewise.
22510 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22511 Likewise.
22512 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22513 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22514 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22515 atomic-feupdateenv and flt-rounds.
22516 * sysdeps/powerpc/nofpu/Versions (libc): Add
22517 __atomic_feholdexcept, __atomic_feclearexcept,
22518 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22519 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22520 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22521 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22522 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22523 here.
22524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22525 Update.
22526
c5df7609
JM
22527 * manual/arith.texi (FP Exceptions): Document that exceptions may
22528 not be raised when matherr is used.
22529 (Math Error Reporting): Document overflow in directed rounding
22530 modes. Document that errno may not be set when finite values are
22531 returned on overflow. Document intent to set errno on underflow
22532 only for underflow to zero.
22533
3c1c46a6
JM
22534 [BZ #16271]
22535 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22536 round-to-nearest then adjust result for other rounding modes.
22537 * include/fenv.h (fegetround): Use libm_hidden_proto.
22538 * math/fegetround.c (fegetround): Use libm_hidden_def.
22539 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22540 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22541 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22542 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22543 Likewise.
22544 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22545 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22546 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22547 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22548
5a4c6d53
SP
225492013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22550
22551 [BZ #16077]
22552 * nss/Versions (libnss_files): Add
22553 _nss_files_gethostbyname3_r.
22554 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22555 New function.
22556 (HOST_DB_LOOKUP): Remove macro.
22557 (_nss_files_gethostbyname_r): Implement function without the
22558 HOST_DB_LOOKUP macro.
22559 (_nss_files_gethostbyname2_r): Likewise.
22560
897b98ba
OB
225612013-11-28 Ondřej Bílka <neleai@seznam.cz>
22562
22563 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22564
6f476861
UB
225652013-11-26 Uros Bizjak <ubizjak@gmail.com>
22566
22567 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22568 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22569 warning.
22570
bd12ab55
AZ
225712013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22572
22573 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22574 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22575 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22576 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22577 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22578 __fe_nomask_env_priv and attribute_hidden.
22579 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22580 (libc_feupdateenv_test_ppc): Likewise.
22581 (libc_feresetround_ppc): Likewise.
22582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22583 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22584 compat_symbol macro.
22585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22586 (__fe_nomask_env): Likewise.
22587 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22588
52bb6543
OB
225892013-11-26 Ondřej Bílka <neleai@seznam.cz>
22590
22591 * string/Makefile: Remove ifunc tests.
22592 * string/test-string.h: Define TEST_IFUNC.
22593 * string/test-bcopy-ifunc.c: Remove.
22594 * string/test-bzero-ifunc.c: Likewise.
22595 * string/test-memccpy-ifunc.c: Likewise.
22596 * string/test-memchr-ifunc.c: Likewise.
22597 * string/test-memcmp-ifunc.c: Likewise.
22598 * string/test-memcpy-ifunc.c: Likewise.
22599 * string/test-memmem-ifunc.c: Likewise.
22600 * string/test-memmove-ifunc.c: Likewise.
22601 * string/test-mempcpy-ifunc.c: Likewise.
22602 * string/test-memrchr-ifunc.c: Likewise.
22603 * string/test-memset-ifunc.c: Likewise.
22604 * string/test-rawmemchr-ifunc.c: Likewise.
22605 * string/test-stpcpy-ifunc.c: Likewise.
22606 * string/test-stpncpy-ifunc.c: Likewise.
22607 * string/test-strcasecmp-ifunc.c: Likewise.
22608 * string/test-strcasestr-ifunc.c: Likewise.
22609 * string/test-strcat-ifunc.c: Likewise.
22610 * string/test-strchr-ifunc.c: Likewise.
22611 * string/test-strchrnul-ifunc.c: Likewise.
22612 * string/test-strcmp-ifunc.c: Likewise.
22613 * string/test-strcpy-ifunc.c: Likewise.
22614 * string/test-strcspn-ifunc.c: Likewise.
22615 * string/test-strlen-ifunc.c: Likewise.
22616 * string/test-strncasecmp-ifunc.c: Likewise.
22617 * string/test-strncat-ifunc.c: Likewise.
22618 * string/test-strncmp-ifunc.c: Likewise.
22619 * string/test-strncpy-ifunc.c: Likewise.
22620 * string/test-strnlen-ifunc.c: Likewise.
22621 * string/test-strpbrk-ifunc.c: Likewise.
22622 * string/test-strrchr-ifunc.c: Likewise.
22623 * string/test-strspn-ifunc.c: Likewise.
22624 * string/test-strstr-ifunc.c: Likewise.
22625
ab260039 226262013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
22627
22628 * benchtests/Makefile: Remove ifunc tests.
22629 * benchtests/bench-string.h: Define TEST_IFUNC.
22630 * benchtests/bench-bcopy-ifunc.c: Remove.
22631 * benchtests/bench-bzero-ifunc.c: Likewise.
22632 * benchtests/bench-memccpy-ifunc.c: Likewise.
22633 * benchtests/bench-memchr-ifunc.c: Likewise.
22634 * benchtests/bench-memcmp-ifunc.c: Likewise.
22635 * benchtests/bench-memcpy-ifunc.c: Likewise.
22636 * benchtests/bench-memmem-ifunc.c: Likewise.
22637 * benchtests/bench-memmove-ifunc.c: Likewise.
22638 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22639 * benchtests/bench-memrchr-ifunc.c: Likewise.
22640 * benchtests/bench-memset-ifunc.c: Likewise.
22641 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22642 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22643 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22644 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22645 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22646 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22647 * benchtests/bench-strcat-ifunc.c: Likewise.
22648 * benchtests/bench-strchr-ifunc.c: Likewise.
22649 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22650 * benchtests/bench-strcmp-ifunc.c: Likewise.
22651 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22652 * benchtests/bench-strcpy-ifunc.c: Likewise.
22653 * benchtests/bench-strcspn-ifunc.c: Likewise.
22654 * benchtests/bench-strlen-ifunc.c: Likewise.
22655 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22656 * benchtests/bench-strncat-ifunc.c: Likewise.
22657 * benchtests/bench-strncmp-ifunc.c: Likewise.
22658 * benchtests/bench-strncpy-ifunc.c: Likewise.
22659 * benchtests/bench-strnlen-ifunc.c: Likewise.
22660 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22661 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 22662 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
22663 * benchtests/bench-strspn-ifunc.c: Likewise.
22664 * benchtests/bench-strstr-ifunc.c: Likewise.
22665
226662013-11-26 Ondřej Bílka <neleai@seznam.cz>
22667
ab260039
OB
22668 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22669
d1d9eaf4 226702013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 22671
d1d9eaf4
OB
22672 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22673 * rt/aio.h: Likewise.
22674 * sysdeps/gnu/bits/utmp.h: Likewise.
22675 * sysdeps/gnu/bits/utmpx.h: Likewise.
22676 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22677 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22678 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22679 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22680 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22681 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22682 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22683 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22684 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22685 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22686 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22687 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22688 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22690 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22691 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22692 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22693 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22694 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22695 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22696 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22697 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22698 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22699 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22700 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22702 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22703 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22704 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22705 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22706 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22707 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22708 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22709 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22710 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22711 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22712 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22713 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22714 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22715 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22716 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22717 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22718
a7624ed9
CD
227192013-11-25 Carlos O'Donell <carlos@redhat.com>
22720
22721 [BZ #16245]
22722 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22723 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22724
63cfe52b
JM
227252013-11-25 Joseph Myers <joseph@codesourcery.com>
22726
22727 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22728 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22729 Likewise.
22730
41e8926a
AZ
227312013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22732
22733 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22734 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22735 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22736 (__fesetround): Remove define.
22737 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22738 rounding and exceptions handling.
22739 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22740 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22741 (__fe_nomask_env): Likewise.
22742 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22743 __fegetround instead of fegetround.
22744 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22745 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22746
6851bd4d
RM
227472013-11-21 Roland McGrath <roland@hack.frob.com>
22748
070906ff
RM
22749 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22750 it's there.
22751
6851bd4d
RM
22752 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22753
84ae135d
MI
227542013-11-21 Meador Inge <meadori@codesourcery.com>
22755
22756 [BZ #11157]
22757 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22758 (encrypt_r): Likewise.
22759 * malloc/obstack.h (obstack_free): Likewise.
22760 * posix/unistd.h (encrypt): Likewise.
22761
daf75146
GM
227622013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22763
22764 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22765 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22766 DL_CALL_DT_FINI() that call the functions directly.
22767 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22768 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22769 * elf/dl-fini.c: Likewise.
22770
10ad46bc
OB
227712013-11-20 Ondřej Bílka <neleai@seznam.cz>
22772
22773 * malloc/hooks.c (memalign_check): Add alignment rounding.
22774 * malloc/malloc.c (_mid_memalign): New function.
22775 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22776 Implement by calling _mid_memalign.
22777 * manual/probes.texi (Memory Allocation Probes): Remove
22778 memory_valloc_retry and memory_pvalloc_retry.
22779
f3fd2628
SP
227802013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22781
4712799f
SP
22782 * locale/programs/locarchive.c (open_archive): Add const
22783 qualifier to ARCHIVEFNAME and copy default fname to
22784 DEFAULT_FNAME.
22785
0417b20f
SP
22786 [BZ #15601]
22787 * libio/tst-widetext.input: Rename Oriya to Odia.
22788 * locale/iso-639.def: Likewise.
22789
f3fd2628
SP
22790 * manual/probes.texi (Mathematical Function Probes): Add
22791 documentation for sin, cos, asin and acos probes.
22792 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22793 (__sin32): Add slowasin probe.
22794 (__cos32): Add slowacos probe.
22795 (__mpsin): Add slowsin probe.
22796 (__mpcos): Add slowcos probe.
22797
73c1ce4f
JM
227982013-11-19 Joseph Myers <joseph@codesourcery.com>
22799
22800 [BZ #15483]
22801 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22802 thread-local __sim_exceptions_thread and global
22803 __sim_exceptions_global.
22804 (__sim_disabled_exceptions): Change to thread-local
22805 __sim_disabled_exceptions_thread and global
22806 __sim_disabled_exceptions_global.
22807 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22808 and global __sim_round_mode_global.
22809 (__simulate_exceptions): Use thread-local floating-point state and
22810 set global state from it as needed.
22811 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22812 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22813 __sim_round_mode_thread.
22814 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22815 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22816 and global __sim_exceptions_global.
22817 (__sim_disabled_exceptions): Change to thread-local
22818 __sim_disabled_exceptions_thread and global
22819 __sim_disabled_exceptions_global.
22820 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22821 and global __sim_round_mode_global.
22822 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22823 (SIM_SET_GLOBAL): Likewise.
22824 * sysdeps/powerpc/soft-fp/sfp-machine.h
22825 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22826 __sim_round_mode_thread.
22827 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22828 __sim_disabled_exceptions_thread.
22829 (__sim_exceptions): Change to __sim_exceptions_thread.
22830 (__sim_disabled_exceptions): Change to
22831 __sim_disabled_exceptions_thread.
22832 (__sim_round_mode): Change to __sim_round_mode_thread.
22833 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22834 thread-local floating-point state and set global state from it as
22835 needed.
22836 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22837 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22838 (__sim_disabled_exceptions): Remove extern declaration.
22839 (feenableexcept): Use thread-local floating-point state and set
22840 global state from it as needed.
22841 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22842 extern declaration.
22843 (__sim_disabled_exceptions): Likewise.
22844 (__sim_round_mode): Likewise.
22845 (__fegetenv): Use thread-local floating-point state.
22846 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22847 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22848 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22849 floating-point state and set global state from it as needed.
22850 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22851 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22852 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22853 Likewise.
22854 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22855 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22856 Likewise.
22857 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22858 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22859 Use __sim_round_mode_thread.
22860 * math/test-fenv-tls.c: New file.
22861 * math/Makefile (tests): Add test-fenv-tls.
22862 ($(objpfx)test-fenv-tls): Depend on
22863 $(common-objpfx)nptl/libpthread.so.
22864
b5449b12
AS
228652013-11-19 Andreas Schwab <schwab@suse.de>
22866
22867 * locale/programs/locale.c (show_info): Decode wordarray elements.
22868 * locale/categories.def (LC_MONETARY): Add element for
22869 _NL_MONETARY_CRNCYSTR.
22870 * locale/C-monetary.c (conversion_rate): New variable.
22871 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22872 element.
22873
e186536b
CM
228742013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22875
22876 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22877 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22878
5c349950
PP
228792013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22880
22881 * elf/Makefile (tst-auxv): New test.
22882 * elf/tst-auxv.c: New
22883 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22884
699df45b
JM
228852013-11-18 Joseph Myers <joseph@codesourcery.com>
22886
22887 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22888 (hidden_proto): Caller changed.
22889 (hidden_tls_proto): New macro.
22890 (libc_hidden_tls_proto): Likewise.
22891 (rtld_hidden_tls_proto): Likewise.
22892 (libm_hidden_tls_proto): Likewise.
22893 (libresolv_hidden_tls_proto): Likewise.
22894 (librt_hidden_tls_proto): Likewise.
22895 (libdl_hidden_tls_proto): Likewise.
22896 (libnss_files_hidden_tls_proto): Likewise.
22897 (libnsl_hidden_tls_proto): Likewise.
22898 (libnss_nisplus_hidden_tls_proto): Likewise.
22899 (libutil_hidden_tls_proto): Likewise.
22900
b7589107
OB
229012013-11-18 Ondřej Bílka <neleai@seznam.cz>
22902
22903 [BZ #10253]
22904 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22905 (decompose_rpath): Defer expansion to fillin_rpath.
22906 (_dl_init_paths): Pass linkmap to fillin_rpath.
22907
250c23bd
RS
229082013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22909
22910 * benchtests/Makefile: Add strsep.
22911 * benchtests/bench-strsep.c: New file: strsep benchtest.
22912 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22913
a7931fcf
AS
229142013-11-18 Andreas Schwab <schwab@suse.de>
22915
22916 * locale/programs/locale.c (show_info) [case byte]: Check for
22917 '\377' instead of '\177'.
22918 * locale/C-monetary.c (not_available): Always use "\377".
22919 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22920 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22921 detect unavailable sign_posn locale elements.
22922 * locale/localeconv.c (__localeconv): For grouping and
22923 mon_grouping handle "\177" and "\377" like no grouping.
22924 (INT_ELEM): New macro. Use it to set all numeric members.
22925 * locale/programs/ld-monetary.c (monetary_read)
22926 <tok_mon_grouping>: Normalize single -1 to the empty string.
22927 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22928 Likewise.
22929
728dab0e
OB
229302013-11-07 Ondřej Bílka <neleai@seznam.cz>
22931
22932 [BZ #16055]
22933 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22934 when we match (nil).
22935 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22936
66294491
JM
229372013-11-16 Joseph Myers <joseph@codesourcery.com>
22938
ce665817
JM
22939 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22940 (NO_TEST_INLINE): Update value.
22941 (ERRNO_UNCHANGED): Likewise.
22942 (ERRNO_EDOM): Likewise.
22943 (ERRNO_ERANGE): Likewise.
22944 (IGNORE_RESULT): Likewise.
22945 (check_float_internal): Check signs of NaN results if
22946 TEST_NAN_SIGN used.
22947 (check_complex): Pass TEST_NAN_SIGN flag through to second
22948 check_float_internal call.
22949 (copysign_test_data): Add tests with quiet NaNs as second
22950 argument. Use TEST_NAN_SIGN.
22951 (fabs_test_data): Add test of negative quiet NaN argument. Use
22952 TEST_NAN_SIGN.
22953 (signbit_test_data): Add tests of quiet NaN argument.
22954 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22955
ee1466a9
JM
22956 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22957 $ignore_result.
22958 (parse_args): Handle function results specified as IGNORE.
22959 * math/libm-test.inc (IGNORE_RESULT): New macro.
22960 (check_float_internal): Do not check numerical result if flag
22961 IGNORE_RESULT set.
22962 (check_complex): Pass through IGNORE_RESULT to second
22963 check_float_internal call.
22964 (check_int): Do not check numerical result if flag IGNORE_RESULT
22965 set.
22966 (check_long): Likewise.
22967 (check_bool): Likewise.
22968 (check_longlong): Likewise.
22969 (lrint_test_data): Add tests of infinite and NaN arguments.
22970 (lrint_tonearest_test_data): Likewise.
22971 (lrint_towardzero_test_data): Likewise.
22972 (lrint_downward_test_data): Likewise.
22973 (lrint_upward_test_data): Likewise.
22974 (llrint_test_data): Likewise.
22975 (llrint_tonearest_test_data): Likewise.
22976 (llrint_towardzero_test_data): Likewise.
22977 (llrint_downward_test_data): Likewise.
22978 (llrint_upward_test_data): Likewise.
22979 (lround_test_data): Likewise.
22980 (llround_test_data): Likewise.
22981
14407b7e
JM
22982 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22983 (ERRNO_UNCHANGED): Update value.
22984 (ERRNO_EDOM): Likewise.
22985 (ERRNO_ERANGE): Likewise.
22986 (NO_TEST_INLINE_FLOAT): New macro.
22987 (NO_TEST_INLINE_DOUBLE): Likewise.
22988 (enable_test): New function.
22989 (RUN_TEST_f_f): Check enable_test before running test.
22990 (RUN_TEST_2_f): Likewise.
22991 (RUN_TEST_fff_f): Likewise.
22992 (RUN_TEST_c_f): Likewise.
22993 (RUN_TEST_f_f1): Likewise.
22994 (RUN_TEST_fF_f1): Likewise.
22995 (RUN_TEST_fI_f1): Likewise.
22996 (RUN_TEST_ffI_f1): Likewise.
22997 (RUN_TEST_c_c): Likewise.
22998 (RUN_TEST_cc_c): Likewise.
22999 (RUN_TEST_f_i): Likewise.
23000 (RUN_TEST_f_i_tg): Likewise.
23001 (RUN_TEST_ff_i_tg): Likewise.
23002 (RUN_TEST_f_b): Likewise.
23003 (RUN_TEST_f_b_tg): Likewise.
23004 (RUN_TEST_f_l): Likewise.
23005 (RUN_TEST_f_L): Likewise.
23006 (RUN_TEST_fFF_11): Likewise.
23007 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23008 conditionals.
23009 (cosh_test_data): Likewise.
23010 (exp_test_data): Likewise.
23011 (expm1_test_data): Likewise.
23012 (hypot_test_data): Likewise.
23013 (pow_test_data): Likewise.
23014 (sinh_test_data): Likewise.
23015 (tanh_test_data): Likewise.
23016 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23017 flags argument.
23018
ca07f197
JM
23019 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23020 tests with quiet NaN input and output.
23021 (acosh_test_data): Likewise.
23022 (asin_test_data): Likewise.
23023 (asinh_test_data): Likewise.
23024 (atan_test_data): Likewise.
23025 (atanh_test_data): Likewise.
23026 (atan2_test_data): Likewise.
23027 (cbrt_test_data): Likewise.
23028 (cos_test_data): Likewise.
23029 (cosh_test_data): Likewise.
23030 (erf_test_data): Likewise.
23031 (erfc_test_data): Likewise.
23032 (exp_test_data): Likewise.
23033 (exp10_test_data): Likewise.
23034 (exp2_test_data): Likewise.
23035 (expm1_test_data): Likewise.
23036 (hypot_test_data): Likewise.
23037 (j0_test_data): Likewise.
23038 (j1_test_data): Likewise.
23039 (jn_test_data): Likewise.
23040 (lgamma_test_data): Likewise.
23041 (log_test_data): Likewise.
23042 (log10_test_data): Likewise.
23043 (log1p_test_data): Likewise.
23044 (log2_test_data): Likewise.
23045 (pow_test_data): Likewise.
23046 (scalb_test_data): Likewise.
23047 (sin_test_data): Likewise.
23048 (sincos_test_data): Likewise.
23049 (sinh_test_data): Likewise.
23050 (tan_test_data): Likewise.
23051 (tanh_test_data): Likewise.
23052 (tgamma_test_data): Likewise.
23053 (y0_test_data): Likewise.
23054 (y1_test_data): Likewise.
23055 (yn_test_data): Likewise.
23056
66294491
JM
23057 [BZ #16167]
23058 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23059 argument being NaN and avoid computations with second argument in
23060 that case.
23061 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23062 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23063 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23064
1820b143
CL
230652013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23066
23067 * locale/iso-639.def: Add Chitwani Tharu (the).
23068
714bd261
AS
230692013-11-14 Andreas Schwab <schwab@suse.de>
23070
23071 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23072 word instead of empty string.
23073
7ab44563
AZ
230742013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23075
23076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23077 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23079 (__fe_nomask_env): Likewise.
23080
e8470ea2
SE
230812013-11-13 Steve Ellcey <sellcey@mips.com>
23082
23083 * benchtests/bench-timing.h: Include time.h.
23084
17c1d9f0
L
230852013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23086
23087 [BZ #15997]
23088 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23089 to 3.4.0 for x32.
23090 * sysdeps/unix/sysv/linux/configure: Regenerated.
23091
9310c284
JM
230922013-11-13 Joseph Myers <joseph@codesourcery.com>
23093
23094 [BZ #16151]
23095 * stdlib/strtod_l.c (round_and_return): Do not consider
23096 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23097 exponent one less than half the least subnormal exponent.
23098 * stdlib/test-strtod-round-data: Add more tests.
23099 * stdlib/tst-strtod-round.c (tests): Regenerated.
23100
7a2ad8cf
AZ
231012013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23102
23103 [BZ #14143]
23104 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23105 (__fe_mask_env): Likewise.
23106 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23107 libm_hidden_proto and add function prototype.
23108 (__fe_mask_env): Add function prototype.
23109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23110 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23112 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23114 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23115
50727aa7
MS
231162013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23117
b2f386c1 23118 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
23119 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23120
a615be46
MS
231212013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23122
23123 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23124 of htab_find_slot().
23125
7ddace62
DM
231262013-11-11 David S. Miller <davem@davemloft.net>
23127
23128 [BZ #16150]
23129 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23130 symbol in the non-vis3 case in static builds.
23131 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23132 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23133 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23134 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23135
9182aa67
JK
231362013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23137
23138 [BZ #387]
23139 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23140 it is empty.
23141
450a2e2d
AZ
231422013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23143
b2f386c1
SP
23144 * benchtests/Makefile: Add bench-strtod.
23145 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 23146
8ec3f656
AS
231472013-11-11 Andreas Schwab <schwab@suse.de>
23148
23149 [BZ #16153]
23150 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23151 terminating NUL in key length.
23152
76a9b998
AZ
231532013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23154
23155 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23156 Add artificial ODP entry for vDSO symbol for PPC64.
23157 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23158 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23159
e4368156
OB
231602013-11-07 Ondřej Bílka <neleai@seznam.cz>
23161
23162 [BZ #15374]
23163 * nss/getent.c (services_keys): Recognize services starting with digit.
23164
8d6bb57c
DM
231652013-11-06 David S. Miller <davem@davemloft.net>
23166
23167 [BZ #15985]
23168 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23169 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23170
e256c421
WN
231712013-11-06 Will Newton <will.newton@linaro.org>
23172
23173 * manual/memory.texi (Malloc Examples): Remove register
23174 keyword from examples.
23175
f6e12daa 231762013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 23177
f6e12daa 23178 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 23179
9d880655
AS
231802013-11-04 Joseph Myers <joseph@codesourcery.com>
23181
fd2f9486 23182 [BZ #6981]
9d880655
AS
23183 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23184 depending on [__GCC_IEC_559 > 0].
23185 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23186 depending on [__GCC_IEC_559_COMPLEX > 0].
23187
ae129d3c
CL
231882013-11-03 Chris Leonard <cjl@sugarlabs.org>
23189
23190 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23191 to iso-639.def.
23192
4a15c2a4 231932013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
23194
23195 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23196
8b35e35d
OB
231972013-11-01 Ondřej Bílka <neleai@seznam.cz>
23198
23199 [BZ #16112]
23200 * malloc/malloc (malloc_info): Do not handle first bin as
23201 special case.
23202
1d70fd6c
CL
232032013-11-01 Chris Leonard <cjl@sugarlabs.org>
23204
23205 * locale/iso-639.def: Add Central Nahuatl (nhn).
23206
8c5c2600
BH
232072013-11-01 Bruno Haible <bruno@clisp.org>
23208
23209 [BZ #7003]
23210 * manual/math.texi (BSD Random): Specify range upper bound as
23211 in POSIX.
23212
da5579c2
CL
232132013-10-31 Chris Leonard <cjl@sugarlabs.org>
23214
23215 * locale/iso-639.def: Add Meadow Mari (mhr).
23216
5d30d853
OB
232172013-10-31 Ondřej Bílka <neleai@seznam.cz>
23218
23219 [BZ #14752], [BZ #15763]
23220 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23221 Validate name.
23222 * rt/tst_shm.c: Add test for escaping directory.
23223
a4966c61
AS
232242013-10-31 Andreas Schwab <schwab@suse.de>
23225
8a43e768 23226 [BZ #15917]
a4966c61
AS
23227 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23228 followed by 'x' as part of digit sequence.
23229 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23230
28d708c4
MAP
232312013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23232
23233 [BZ #16037]
23234 * configure.ac: allow GNU Make 4.0 and greater.
23235 * configure: Regenerated.
23236
a56ee40b
WN
232372013-10-30 Will Newton <will.newton@linaro.org>
23238
23239 [BZ #16038]
23240 * malloc/hooks.c (memalign_check): Limit alignment to the
23241 maximum representable power of two.
23242 * malloc/malloc.c (__libc_memalign): Likewise.
23243 * malloc/tst-memalign.c (do_test): Add test for very
23244 large alignment values.
23245 * malloc/tst-posix_memalign.c (do_test): Likewise.
23246
c6e4925d
OB
232472013-10-30 Ondřej Bílka <neleai@seznam.cz>
23248
23249 [BZ #11087]
23250 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23251 (munmap_chunk): Likewise.
23252 (mremap_chunk): Likewise.
23253
232542013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23255
8a43e768 23256 [BZ #15799]
bbea82f7
OB
23257 * stdlib/div.c (div): Remove obsolete code.
23258 * stdlib/ldiv.c (ldiv): Likewise.
23259 * stdlib/lldiv.c (lldiv): Likewise.
23260
977f4b31
SP
232612013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23262
23263 [BZ #16071]
23264 * nss/nss_files/files-XXX.c (get_contents_ret): New
23265 enumerator.
23266 (get_contents): New function.
23267 (internal_getent): Use it. Expand size of LINEBUFLEN.
23268
cb8a6dbd
MF
232692013-10-30 Mike Frysinger <vapier@gentoo.org>
23270
23271 * configure.in: Moved to ...
23272 * configure.ac: ... here. Change reference to configure.in
23273 to configure.ac.
23274 * sysdeps/arm/preconfigure.ac: ... here.
23275 configure.in to configure.ac.
23276 * sysdeps/gnu/configure.in: Moved to ...
23277 * sysdeps/gnu/configure.ac: ... here.
23278 * sysdeps/i386/configure.in: Moved to ...
23279 * sysdeps/i386/configure.ac: ... here.
23280 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23281 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23282 * sysdeps/mach/configure.in: Moved to ...
23283 * sysdeps/mach/configure.ac: ... here.
23284 * sysdeps/mach/hurd/configure.in: Moved to ...
23285 * sysdeps/mach/hurd/configure.ac: ... here.
23286 * sysdeps/powerpc/configure.in: Moved to ...
23287 * sysdeps/powerpc/configure.ac: ... here.
23288 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23289 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23290 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23291 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23292 * sysdeps/s390/s390-32/configure.in: Moved to ...
23293 * sysdeps/s390/s390-32/configure.ac: ... here.
23294 * sysdeps/s390/s390-64/configure.in: Moved to ...
23295 * sysdeps/s390/s390-64/configure.ac: ... here.
23296 * sysdeps/sh/configure.in: Moved to ...
23297 * sysdeps/sh/configure.ac: ... here.
23298 * sysdeps/sparc/configure.in: Moved to ...
23299 * sysdeps/sparc/configure.ac: ... here.
23300 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23301 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23302 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23303 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23304 * sysdeps/x86_64/configure.in: Moved to ...
23305 * sysdeps/x86_64/configure.ac: ... here.
23306 * sysdeps/x86_64/preconfigure.in: Moved to ...
23307 * sysdeps/x86_64/preconfigure.ac: ... here.
23308 * aclocal.m4: Change reference to configure.in to configure.ac.
23309 * config.h.in: Likewise.
23310 * manual/install.texi: Likewise.
23311 * manual/maint.texi: Likewise.
23312 * Makefile: Likewise.
23313 * malloc/Makefile: Likewise.
23314 * nscd/Makefile: Likewise.
23315 * Makeconfig: Change reference to configure.in and
23316 preconfigure.in to configure.ac and preconfigure.ac
23317 respectively.
23318 * INSTALL: Regenerated.
23319 * configure: Likewise.
23320 * sysdeps/gnu/configure: Likewise.
23321 * sysdeps/i386/configure: Likewise.
23322 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23323 * sysdeps/mach/configure: Likewise.
23324 * sysdeps/mach/hurd/configure: Likewise.
23325 * sysdeps/powerpc/configure: Likewise.
23326 * sysdeps/powerpc/powerpc32/configure: Likewise.
23327 * sysdeps/powerpc/powerpc64/configure: Likewise.
23328 * sysdeps/s390/s390-32/configure: Likewise.
23329 * sysdeps/s390/s390-64/configure: Likewise.
23330 * sysdeps/sh/configure: Likewise.
23331 * sysdeps/sparc/configure: Likewise.
23332 * sysdeps/unix/sysv/linux/configure: Likewise.
23333 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23334 * sysdeps/x86_64/configure: Likewise.
23335 * sysdeps/x86_64/preconfigure: Likewise.
23336
36a4953a
AS
233372013-10-29 Andreas Schwab <schwab@suse.de>
23338
23339 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23340
c79a1204
SP
233412013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23342
dfa1b402
SP
23343 * benchtests/pow-inputs: Add new inputs.
23344
54f73d9c
SP
23345 * benchtests/exp-inputs: Add new inputs.
23346
c79a1204
SP
23347 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23348 conditional check for return value.
23349 (__cos32): Likewise.
23350
67beb545 233512013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23352
23353 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23354 to provide a boost for large inputs with word alignment.
23355 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23356 implementation based on optimized PPC64 strcpy.
23357 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23358 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23359 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23360 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23361
151659f6
OB
233622013-10-25 Ondřej Bílka <neleai@seznam.cz>
23363
482a077e 23364 [BZ #2801]
151659f6
OB
23365 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23366
10b0f26b
OB
233672013-10-25 Ondřej Bílka <neleai@seznam.cz>
23368
23369 [BZ #14876]
23370 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23371 * time/tst-strptime.c (day_tests): Add testcase.
23372
ca42d35e
OB
233732013-10-25 Ondřej Bílka <neleai@seznam.cz>
23374
482a077e 23375 [BZ #14029]
ca42d35e
OB
23376 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23377
52e6d801
FB
233782013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23379
23380 [BZ #16074]
23381 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23382 MAP_FAILED on error.
23383
7cbcdb36
SP
233842013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23385
23386 [BZ #16072]
23387 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23388 heap for large requests.
23389
894f3f10
AM
233902013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23391
23392 [BZ #9954]
23393 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23394 result if the result has no associated interface.
23395 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23396 interface for all 127.X.Y.Z addresses.
23397
b85545a6
CL
233982013-10-24 Chris Leonard <cjl@sugarlabs.org>
23399
23400 * locale/iso-639.def: Add Ligurian (lij)
23401
d1f23d46
OB
234022013-10-21 Ondřej Bílka <neleai@seznam.cz>
23403
23404 [BZ #15825]
23405 * sunrpc/rpc_main.c: Document rpcgen -5.
23406
4db5b08f
MS
234072013-10-19 Michael Stahl <mstahl@redhat.com>
23408
23409 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23410
a471e96a
OB
234112013-10-19 Ondřej Bílka <neleai@seznam.cz>
23412
d1f23d46 23413 [BZ #10278]
a471e96a
OB
23414 * posix/glob.c: Match only directories when trailing slash is present.
23415 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23416 (main): Add testcase.
23417
45c30c61
OB
234182013-10-19 Ondřej Bílka <neleai@seznam.cz>
23419
23420 [BZ #15670]
23421 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23422
484c12fb
CD
234232013-10-18 Carlos O'Donell <carlos@redhat.com>
23424
3d7dc513
CD
23425 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23426 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23427 AUTH_DES and cindex for FIPS 140-2.
23428 (DES Encryption): Add cindex FIPS 46-3.
23429
484c12fb
CD
23430 * locale/locarchive.h (struct locarhandle): Add fname.
23431 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23432 if an optional argument was specified to --list-archive,
23433 otherwise NULL.
23434 * locale/programs/locarchive.c (show_archive_content): Take new
23435 argument fname and pass it via ah.fname to open_archive.
23436 * locale/programs/localedef.h: Update decl.
23437 (open_archive): If AH->fname is non-null, open that file
23438 rather than the default file name, and don't ignore ENOENT.
23439 (create_archive): Set AH.fname to NULL.
23440 (delete_locales_from_archive): Likewise.
23441 (add_locales_to_archive): Likewise.
23442 * locale/programs/locfile.c (write_all_categories): Likewise.
23443
3c8325fb
JM
234442013-10-18 Joseph Myers <joseph@codesourcery.com>
23445 Aldy Hernandez <aldyh@redhat.com>
23446
23447 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23448 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23449 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23450 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23451 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23452 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23453 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23454 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23455 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23456 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23457 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23458 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23459 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23460 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23461 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23462 Likewise.
23463 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23464 Likewise.
23465 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23466 Likewise.
23467 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23468 Likewise.
23469 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23470 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23471 Likewise.
23472 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23473 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23474 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23475 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23476 Likewise.
23477 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23478 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23479 * sysdeps/powerpc/preconfigure: Likewise.
23480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23481 Likewise.
23482 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23483 Replace contents of file by #include of <fenv_libc.h>.
23484 * sysdeps/powerpc/soft-fp/sfp-machine.h
23485 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23486 and <sys/prctl.h>.
23487 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23488 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23489 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23490 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23491 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23492 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23494 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23495 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23496 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23497 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23498 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23500 Allow copysignl PLT reference to be missing.
23501
5abe0682
RS
235022013-10-18 Richard Sandiford <richard@codesourcery.com>
23503 Joseph Myers <joseph@codesourcery.com
23504
23505 [BZ #15948]
23506 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23507 single character.
23508 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23509
c7738d08
SP
235102013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23511
23512 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23513 * elf/tst-tls1.c: Likewise.
23514 * elf/tst-tls10.h: Likewise.
23515 * elf/tst-tls14.c: Likewise.
23516 * elf/tst-tls2.c: Likewise.
23517 * elf/tst-tls3.c: Likewise.
23518 * elf/tst-tls4.c: Likewise.
23519 * elf/tst-tls5.c: Likewise.
23520 * elf/tst-tls6.c: Likewise.
23521 * elf/tst-tls7.c: Likewise.
23522 * elf/tst-tls8.c: Likewise.
23523 * elf/tst-tls9.c: Likewise.
23524 * elf/tst-tlsmod1.c: Likewise.
23525 * elf/tst-tlsmod13.c: Likewise.
23526 * elf/tst-tlsmod13a.c: Likewise.
23527 * elf/tst-tlsmod14a.c: Likewise.
23528 * elf/tst-tlsmod16a.c: Likewise.
23529 * elf/tst-tlsmod16b.c: Likewise.
23530 * elf/tst-tlsmod2.c: Likewise.
23531 * elf/tst-tlsmod3.c: Likewise.
23532 * elf/tst-tlsmod4.c: Likewise.
23533 * elf/tst-tlsmod5.c: Likewise.
23534 * elf/tst-tlsmod6.c: Likewise.
23535
0bfcf2c7
OB
235362013-10-18 Ondřej Bílka <neleai@seznam.cz>
23537
23538 [BZ #12486]
23539 * malloc/malloc.c: remove checks for statistics.
23540
264aad1e
OB
235412013-10-17 Ondřej Bílka <neleai@seznam.cz>
23542
23543 [BZ #15277]
23544 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23545 * inet/tst-network.c: Add testcase.
23546
b957ced8
AS
235472013-10-17 Andreas Schwab <schwab@suse.de>
23548
23549 [BZ #15218]
23550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23551 to determine canonical name.
23552
c5d5d574
OB
235532013-10-17 Ondřej Bílka <neleai@seznam.cz>
23554
23555 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23556 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23557 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23558 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23559 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23560 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23561 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23562 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23563 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23564 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23565 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23566 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23567 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23568 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23569 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23570 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23571 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23572 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23573 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23574 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23575 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23577 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23578 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23579 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23580 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23581 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23582 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23583 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23584 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23585 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23586 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23587 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23588 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23589 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23590 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23591 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23592 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23593 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23594 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23595 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23596 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23597 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23598 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23599 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23600 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23601 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23602 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23603 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23604 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23605 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23606 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23607 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23608 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23609 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23610 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23611 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23612 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23613
e5c2c2d0
JM
236142013-10-17 Joseph Myers <joseph@codesourcery.com>
23615
23616 [BZ #16041]
23617 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23618 make result into a quiet NaN.
23619
51ca9e29
JM
236202013-10-16 Joseph Myers <joseph@codesourcery.com>
23621
23622 * soft-fp/adddf3.c: Fix horizontal whitespace.
23623 * soft-fp/addsf3.c: Likewise.
23624 * soft-fp/addtf3.c: Likewise.
23625 * soft-fp/divdf3.c: Likewise.
23626 * soft-fp/divsf3.c: Likewise.
23627 * soft-fp/divtf3.c: Likewise.
23628 * soft-fp/double.h: Likewise.
23629 * soft-fp/eqdf2.c: Likewise.
23630 * soft-fp/eqsf2.c: Likewise.
23631 * soft-fp/eqtf2.c: Likewise.
23632 * soft-fp/extenddftf2.c: Likewise.
23633 * soft-fp/extended.h: Likewise.
23634 * soft-fp/extendsfdf2.c: Likewise.
23635 * soft-fp/extendsftf2.c: Likewise.
23636 * soft-fp/extendxftf2.c: Likewise.
23637 * soft-fp/fixdfdi.c: Likewise.
23638 * soft-fp/fixdfsi.c: Likewise.
23639 * soft-fp/fixdfti.c: Likewise.
23640 * soft-fp/fixsfdi.c: Likewise.
23641 * soft-fp/fixsfsi.c: Likewise.
23642 * soft-fp/fixsfti.c: Likewise.
23643 * soft-fp/fixtfdi.c: Likewise.
23644 * soft-fp/fixtfsi.c: Likewise.
23645 * soft-fp/fixtfti.c: Likewise.
23646 * soft-fp/fixunsdfdi.c: Likewise.
23647 * soft-fp/fixunsdfsi.c: Likewise.
23648 * soft-fp/fixunsdfti.c: Likewise.
23649 * soft-fp/fixunssfdi.c: Likewise.
23650 * soft-fp/fixunssfsi.c: Likewise.
23651 * soft-fp/fixunssfti.c: Likewise.
23652 * soft-fp/fixunstfdi.c: Likewise.
23653 * soft-fp/fixunstfsi.c: Likewise.
23654 * soft-fp/fixunstfti.c: Likewise.
23655 * soft-fp/floatdidf.c: Likewise.
23656 * soft-fp/floatdisf.c: Likewise.
23657 * soft-fp/floatditf.c: Likewise.
23658 * soft-fp/floatsidf.c: Likewise.
23659 * soft-fp/floatsisf.c: Likewise.
23660 * soft-fp/floatsitf.c: Likewise.
23661 * soft-fp/floattidf.c: Likewise.
23662 * soft-fp/floattisf.c: Likewise.
23663 * soft-fp/floattitf.c: Likewise.
23664 * soft-fp/floatundidf.c: Likewise.
23665 * soft-fp/floatundisf.c: Likewise.
23666 * soft-fp/floatunditf.c: Likewise.
23667 * soft-fp/floatunsidf.c: Likewise.
23668 * soft-fp/floatunsisf.c: Likewise.
23669 * soft-fp/floatunsitf.c: Likewise.
23670 * soft-fp/floatuntidf.c: Likewise.
23671 * soft-fp/floatuntisf.c: Likewise.
23672 * soft-fp/floatuntitf.c: Likewise.
23673 * soft-fp/fmadf4.c: Likewise.
23674 * soft-fp/fmasf4.c: Likewise.
23675 * soft-fp/fmatf4.c: Likewise.
23676 * soft-fp/gedf2.c: Likewise.
23677 * soft-fp/gesf2.c: Likewise.
23678 * soft-fp/getf2.c: Likewise.
23679 * soft-fp/ledf2.c: Likewise.
23680 * soft-fp/lesf2.c: Likewise.
23681 * soft-fp/letf2.c: Likewise.
23682 * soft-fp/muldf3.c: Likewise.
23683 * soft-fp/mulsf3.c: Likewise.
23684 * soft-fp/multf3.c: Likewise.
23685 * soft-fp/negdf2.c: Likewise.
23686 * soft-fp/negsf2.c: Likewise.
23687 * soft-fp/negtf2.c: Likewise.
23688 * soft-fp/op-1.h: Likewise.
23689 * soft-fp/op-2.h: Likewise.
23690 * soft-fp/op-4.h: Likewise.
23691 * soft-fp/op-8.h: Likewise.
23692 * soft-fp/op-common.h: Likewise.
23693 * soft-fp/quad.h: Likewise.
23694 * soft-fp/single.h: Likewise.
23695 * soft-fp/soft-fp.h: Likewise.
23696 * soft-fp/sqrtdf2.c: Likewise.
23697 * soft-fp/sqrtsf2.c: Likewise.
23698 * soft-fp/sqrttf2.c: Likewise.
23699 * soft-fp/subdf3.c: Likewise.
23700 * soft-fp/subsf3.c: Likewise.
23701 * soft-fp/subtf3.c: Likewise.
23702 * soft-fp/truncdfsf2.c: Likewise.
23703 * soft-fp/trunctfdf2.c: Likewise.
23704 * soft-fp/trunctfsf2.c: Likewise.
23705 * soft-fp/trunctfxf2.c: Likewise.
23706 * soft-fp/unorddf2.c: Likewise.
23707 * soft-fp/unordsf2.c: Likewise.
23708 * soft-fp/unordtf2.c: Likewise.
23709
9ebb0332
JM
237102013-10-15 Joseph Myers <joseph@codesourcery.com>
23711
23712 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23713 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23714
4b1a6d8b
OB
237152013-10-15 Ondřej Bílka <neleai@seznam.cz>
23716
23717 * elf/dl-libc.c: Clear initfini list after freeing.
23718
1e145589
JM
237192013-10-14 Joseph Myers <joseph@codesourcery.com>
23720
23721 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23722 * soft-fp/addsf3.c: Likewise.
23723 * soft-fp/addtf3.c: Likewise.
23724 * soft-fp/divdf3.c: Likewise.
23725 * soft-fp/divsf3.c: Likewise.
23726 * soft-fp/divtf3.c: Likewise.
23727 * soft-fp/double.h: Likewise.
23728 * soft-fp/eqdf2.c: Likewise.
23729 * soft-fp/eqsf2.c: Likewise.
23730 * soft-fp/eqtf2.c: Likewise.
23731 * soft-fp/extenddftf2.c: Likewise.
23732 * soft-fp/extended.h: Likewise.
23733 * soft-fp/extendsfdf2.c: Likewise.
23734 * soft-fp/extendsftf2.c: Likewise.
23735 * soft-fp/extendxftf2.c: Likewise.
23736 * soft-fp/fixdfdi.c: Likewise.
23737 * soft-fp/fixdfsi.c: Likewise.
23738 * soft-fp/fixdfti.c: Likewise.
23739 * soft-fp/fixsfdi.c: Likewise.
23740 * soft-fp/fixsfsi.c: Likewise.
23741 * soft-fp/fixsfti.c: Likewise.
23742 * soft-fp/fixtfdi.c: Likewise.
23743 * soft-fp/fixtfsi.c: Likewise.
23744 * soft-fp/fixtfti.c: Likewise.
23745 * soft-fp/fixunsdfdi.c: Likewise.
23746 * soft-fp/fixunsdfsi.c: Likewise.
23747 * soft-fp/fixunsdfti.c: Likewise.
23748 * soft-fp/fixunssfdi.c: Likewise.
23749 * soft-fp/fixunssfsi.c: Likewise.
23750 * soft-fp/fixunssfti.c: Likewise.
23751 * soft-fp/fixunstfdi.c: Likewise.
23752 * soft-fp/fixunstfsi.c: Likewise.
23753 * soft-fp/fixunstfti.c: Likewise.
23754 * soft-fp/floatdidf.c: Likewise.
23755 * soft-fp/floatdisf.c: Likewise.
23756 * soft-fp/floatditf.c: Likewise.
23757 * soft-fp/floatsidf.c: Likewise.
23758 * soft-fp/floatsisf.c: Likewise.
23759 * soft-fp/floatsitf.c: Likewise.
23760 * soft-fp/floattidf.c: Likewise.
23761 * soft-fp/floattisf.c: Likewise.
23762 * soft-fp/floattitf.c: Likewise.
23763 * soft-fp/floatundidf.c: Likewise.
23764 * soft-fp/floatundisf.c: Likewise.
23765 * soft-fp/floatunsidf.c: Likewise.
23766 * soft-fp/floatunsisf.c: Likewise.
23767 * soft-fp/floatuntidf.c: Likewise.
23768 * soft-fp/floatuntisf.c: Likewise.
23769 * soft-fp/floatuntitf.c: Likewise.
23770 * soft-fp/fmadf4.c: Likewise.
23771 * soft-fp/fmasf4.c: Likewise.
23772 * soft-fp/fmatf4.c: Likewise.
23773 * soft-fp/gedf2.c: Likewise.
23774 * soft-fp/gesf2.c: Likewise.
23775 * soft-fp/getf2.c: Likewise.
23776 * soft-fp/ledf2.c: Likewise.
23777 * soft-fp/lesf2.c: Likewise.
23778 * soft-fp/letf2.c: Likewise.
23779 * soft-fp/muldf3.c: Likewise.
23780 * soft-fp/mulsf3.c: Likewise.
23781 * soft-fp/multf3.c: Likewise.
23782 * soft-fp/negdf2.c: Likewise.
23783 * soft-fp/negsf2.c: Likewise.
23784 * soft-fp/negtf2.c: Likewise.
23785 * soft-fp/op-1.h: Likewise.
23786 * soft-fp/op-2.h: Likewise.
23787 * soft-fp/op-4.h: Likewise.
23788 * soft-fp/op-8.h: Likewise.
23789 * soft-fp/op-common.h: Likewise.
23790 * soft-fp/quad.h: Likewise.
23791 * soft-fp/single.h: Likewise.
23792 * soft-fp/soft-fp.h: Likewise.
23793 * soft-fp/sqrtdf2.c: Likewise.
23794 * soft-fp/sqrtsf2.c: Likewise.
23795 * soft-fp/sqrttf2.c: Likewise.
23796 * soft-fp/subdf3.c: Likewise.
23797 * soft-fp/subsf3.c: Likewise.
23798 * soft-fp/subtf3.c: Likewise.
23799 * soft-fp/truncdfsf2.c: Likewise.
23800 * soft-fp/trunctfdf2.c: Likewise.
23801 * soft-fp/trunctfsf2.c: Likewise.
23802 * soft-fp/trunctfxf2.c: Likewise.
23803 * soft-fp/unorddf2.c: Likewise.
23804 * soft-fp/unordsf2.c: Likewise.
23805 * soft-fp/unordtf2.c: Likewise.
23806
17c48a60
OB
238072013-10-14 Ondřej Bílka <neleai@seznam.cz>
23808
23809 [BZ #15672]
23810 * misc/error.c (error_tail): Fix possible buffer overflow.
23811
cabba934
OB
238122013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23813
23814 [BZ #13028]
23815 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23816 address.
23817
94bf958a
PM
238182013-10-14 P. J. McDermott <pj@pehjota.net>
23819
23820 [BZ #832]
23821 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23822 testing pipefail option.
23823
71b4dea7
JM
238242013-10-12 Joseph Myers <joseph@codesourcery.com>
23825
23826 * soft-fp/double.h: Indent preprocessor directives inside #if.
23827 * soft-fp/extended.h: Likewise.
23828 * soft-fp/op-2.h: Likewise.
23829 * soft-fp/op-4.h: Likewise.
23830 * soft-fp/op-common.h: Likewise.
23831 * soft-fp/quad.h: Likewise.
23832 * soft-fp/single.h: Likewise.
23833 * soft-fp/soft-fp.h: Likewise.
23834
55602758
YC
238352013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23836
23837 * iconv/iconv_prog.c: Fix typos.
23838 * stdio-common/psiginfo-data.h: Likewise.
23839
9cd83302
RT
238402013-10-12 Reuben Thomas <rrt@sc3d.org>
23841
23842 [BZ #15764]
23843 * locale/setlocale.c: Fix typo.
23844
99fd9f47
JM
238452013-10-12 Joseph Myers <joseph@codesourcery.com>
23846
b7ea74f0
JM
23847 [BZ #16036]
23848 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23849 signaling NaN arguments.
23850 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23851 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23852
8a509447
JM
23853 [BZ #14910]
23854 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23855 unordered operands.
23856 * soft-fp/gesf2.c (__gesf2): Likewise.
23857 * soft-fp/getf2.c (__getf2): Likewise.
23858 * soft-fp/ledf2.c (__ledf2): Likewise.
23859 * soft-fp/lesf2.c (__lesf2): Likewise.
23860 * soft-fp/letf2.c (__letf2): Likewise.
23861
98998e9f
JM
23862 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23863 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23864 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23865 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23866 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23867 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23868 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23869 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23870 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23871 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23872 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23873 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23874 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23875 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23876 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23877 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23878 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23879 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23880 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23881 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23882 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23883 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23884 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23885 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23886 * soft-fp/floattidf.c (__floattidf): Likewise.
23887 * soft-fp/floattisf.c (__floattisf): Likewise.
23888 * soft-fp/floattitf.c (__floattitf): Likewise.
23889 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23890 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23891 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23892 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23893 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23894 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23895 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23896 * soft-fp/gesf2.c (__gesf2): Likewise.
23897 * soft-fp/getf2.c (__getf2): Likewise.
23898 * soft-fp/ledf2.c (__ledf2): Likewise.
23899 * soft-fp/lesf2.c (__lesf2): Likewise.
23900 * soft-fp/letf2.c (__letf2): Likewise.
23901
8edc4a11
JM
23902 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23903 Undefine and redefine.
23904 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23905 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23906 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23907 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23908 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23909 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23910 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23911 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23912 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23913 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23914 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23915 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23916 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23917 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23918 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23919
8399acaf
JM
23920 [BZ #16032]
23921 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23922 without decrementing exponent if mantissa >= that for the
23923 denominator, not >.
23924 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23925 denominator, not >. Decrement exponent in < case instead of
23926 incrementing in >= case.
23927 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23928 without decrementing exponent if mantissa >= that for the
23929 denominator, not >.
23930
99fd9f47
JM
23931 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23932 computing saturated result for unsigned overflow.
23933
10e1cf6b
SP
239342013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23935 Jeff Law <law@redhat.com>
23936
23937 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23938 (atan2Mp): Add systemtap probe marker.
23939 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23940 (__ieee754_log): Add systemtap probe marker.
23941 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23942 (atanMp): Add systemtap probe marker.
23943 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23944 (tanMp): Add systemtap probe marker.
23945 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23946 (__slowexp): Add systemtap probe marker.
23947 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23948 (__slowpow): Add systemtap probe marker.
23949 * manual/probes.texi: Document probes.
23950
3d110c7c
EB
239512013-10-11 Eric Biggers <ebiggers3@gmail.com>
23952
23953 [BZ #15362]
23954 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23955 written.
23956 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23957 written.
23958 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23959 written to buffer but not flushed.
23960 * libio/iofwrite_u.c: Likewise.
23961 * libio/iopadn.c: Return bytes returned even if EOF was
23962 encountered.
23963 * libio/iowpadn.c: Likewise.
23964 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23965 if _IO_padn does not write the whole buffer.
23966 [!COMPILE_WPRINTF] (PAD): Likewise.
23967
75b4202a
DM
239682013-10-10 David S. Miller <davem@davemloft.net>
23969
23970 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23971 directory block.
23972
6c6352e6
JM
239732013-10-10 Joseph Myers <joseph@codesourcery.com>
23974
33b853c3
JM
23975 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23976 instead of FSF address.
23977 * soft-fp/fixdfti.c: Likewise.
23978 * soft-fp/fixsfti.c: Likewise.
23979 * soft-fp/fixtfti.c: Likewise.
23980 * soft-fp/fixunsdfti.c: Likewise.
23981 * soft-fp/fixunssfti.c: Likewise.
23982 * soft-fp/fixunstfti.c: Likewise.
23983 * soft-fp/floattidf.c: Likewise.
23984 * soft-fp/floattisf.c: Likewise.
23985 * soft-fp/floattitf.c: Likewise.
23986 * soft-fp/floatuntidf.c: Likewise.
23987 * soft-fp/floatuntisf.c: Likewise.
23988 * soft-fp/floatuntitf.c: Likewise.
23989 * soft-fp/trunctfxf2.c: Likewise.
23990
6c6352e6
JM
23991 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23992 * soft-fp/fixdfti.c: Likewise.
23993 * soft-fp/fixsfti.c: Likewise.
23994 * soft-fp/fixtfti.c: Likewise.
23995 * soft-fp/fixunsdfti.c: Likewise.
23996 * soft-fp/fixunssfti.c: Likewise.
23997 * soft-fp/fixunstfti.c: Likewise.
23998 * soft-fp/floattidf.c: Likewise.
23999 * soft-fp/floattisf.c: Likewise.
24000 * soft-fp/floattitf.c: Likewise.
24001 * soft-fp/floatuntidf.c: Likewise.
24002 * soft-fp/floatuntisf.c: Likewise.
24003 * soft-fp/floatuntitf.c: Likewise.
24004 * soft-fp/trunctfxf2.c: Likewise.
24005
3bf78b71
DM
240062013-10-10 David S. Miller <davem@davemloft.net>
24007
24008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24009
6f10289e
JM
240102013-10-10 Joseph Myers <joseph@codsourcery.com>
24011
bd878fc0
JM
24012 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24013 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24014 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24015 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24016 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24017 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24018 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24019
6f10289e
JM
24020 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24021 for NaNs before doing comparisons on argument.
24022 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24023 Likewise.
24024
321e2684
WN
240252013-10-10 Will Newton <will.newton@linaro.org>
24026
24027 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24028 passed to _int_memalign does not overflow.
24029
40fefba1
TR
240302013-10-10 Torvald Riegel <triegel@redhat.com>
24031
24032 * scripts/bench.pl: Add include-sources directive.
24033 * benchtests/README: Update documentation.
24034
2ae21ed2
JM
240352013-10-10 Joseph Myers <joseph@codesourcery.com>
24036
dcc2dd3f
JM
24037 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24038 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24039 instead of FP_INIT_ROUNDMODE.
24040 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24041 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24042
2ae21ed2
JM
24043 [BZ #16034]
24044 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24045 copy class of input value.
24046 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24047 not handle exceptions.
24048 * soft-fp/negsf2.c (__negsf2): Likewise.
24049 * soft-fp/negtf2.c (__negtf2): Likewise.
24050 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24051
cb8f9562
JM
240522013-10-09 Joseph Myers <joseph@codesourcery.com>
24053
24054 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24055 semicolon. From Linux kernel.
24056
5b60c59d
AB
240572013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24058
24059 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24060
b86835ca
YC
240612013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24062
24063 [BZ #156]
24064 * manual/socket.texi: Added statement about buffer
24065 for gethostbyname2_r.
24066
e7044ea7
OB
240672013-10-08 Ondřej Bílka <neleai@seznam.cz>
24068
24069 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24070 Use .p2align directive instead, throughout.
24071 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24072 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24073 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24074 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24075 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24076 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24077 * sysdeps/x86_64/strchr.S: Likewise.
24078 * sysdeps/x86_64/strrchr.S: Likewise.
24079
09544cbc
SP
240802013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24081
88576635
SP
24082 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24083
e7b2d1dd
SP
24084 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24085
09544cbc
SP
24086 * sysdeps/generic/math_private.h (__mpsin1): Remove
24087 declaration.
24088 (__mpcos1): Likewise.
24089 (__mpsin): New argument __range_reduce.
24090 (__mpcos): Likewise.
24091 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24092 (slow): Use __mpsin and __mpcos.
24093 (slow1): Likewise.
24094 (slow2): Likewise.
24095 (sloww): Likewise.
24096 (sloww1): Likewise.
24097 (sloww2): Likewise.
24098 (bsloww): Likewise.
24099 (bsloww1): Likewise.
24100 (bsloww2): Likewise.
24101 (cslow2): Likewise.
24102 (csloww): Likewise.
24103 (csloww1): Likewise.
24104 (csloww2): Likewise.
24105 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24106 range_reduce. Merge in __mpsin1.
24107 (__mpcos): Likewise.
24108 (__mpsin1): Remove.
24109 (__mpcos1): Likewise.
24110
7602d070
JM
241112013-10-07 Joseph Myers <joseph@codesourcery.com>
24112
24113 * locale/loadlocale.c (_nl_intern_locale_data): Use
24114 LOCFILE_ALIGNED_P.
24115 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24116 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24117 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24118 obstack data is appropriately aligned.
24119 (obstack_int32_grow_fast): Likewise.
24120 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24121 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24122 (add_locale_uint32_array): Likewise.
24123
a357259b
SP
241242013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24125
24126 * benchtests/Makefile: Remove ARGLIST and RET variables.
24127 ($(objpfx)bench-%.c): Pass only function name to the script.
24128 * benchtests/README: Update documentation.
24129 * benchtests/acos-inputs: Add new directives.
24130 * benchtests/acosh-inputs: Likewise.
24131 * benchtests/asin-inputs: Likewise.
24132 * benchtests/asinh-inputs: Likewise.
24133 * benchtests/atan-inputs: Likewise.
24134 * benchtests/atanh-inputs: Likewise.
24135 * benchtests/cos-inputs: Likewise.
24136 * benchtests/cosh-inputs: Likewise.
24137 * benchtests/exp-inputs: Likewise.
24138 * benchtests/log-inputs: Likewise.
24139 * benchtests/pow-inputs: Likewise.
24140 * benchtests/rint-inputs: Likewise.
24141 * benchtests/sin-inputs: Likewise.
24142 * benchtests/sinh-inputs: Likewise.
24143 * benchtests/tan-inputs: Likewise.
24144 * benchtests/tanh-inputs: Likewise.
24145 * scripts/bench.pl: Add support for new directives.
24146
9ec1b13d
AM
241472013-10-07 Alan Modra <amodra@gmail.com>
24148
24149 * README: Fix careless merge.
24150
8b7d57cd
AM
241512013-10-05 Alan Modra <amodra@gmail.com>
24152
24153 * NEWS: Mention powerpc64le support and bugs fixed.
24154 * README: Both big-endian and little-endian powerpc64 supported.
24155
7b7bab13
ST
241562013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24157
57f41c40
AS
24158 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24159 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
24160 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24161 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24162
d39baad1
RA
241632013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24164
24165 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24166 match prototype.
24167
cd78f7e7
JM
241682013-10-04 Joseph Myers <joseph@codesourcery.com>
24169
29d73d86
JM
24170 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24171 Move -mhard-float appending from
24172 ports/sysdeps/powerpc/powerpc32/Makefile.
24173 [$(with-fp) = yes] (ASFLAGS): Likewise.
24174 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24175 * sysdeps/powerpc/nofpu: Move directory from
24176 ports/sysdeps/powerpc/nofpu.
24177 * sysdeps/powerpc/soft-fp: Move directory from
24178 ports/sysdeps/powerpc/soft-fp.
24179 * sysdeps/powerpc/powerpc32/405: Move directory from
24180 ports/sysdeps/powerpc/powerpc32/405.
24181 * sysdeps/powerpc/powerpc32/440: Move directory from
24182 ports/sysdeps/powerpc/powerpc32/440.
24183 * sysdeps/powerpc/powerpc32/464: Move directory from
24184 ports/sysdeps/powerpc/powerpc32/464.
24185 * sysdeps/powerpc/powerpc32/476: Move directory from
24186 ports/sysdeps/powerpc/powerpc32/476.
24187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24188 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24190 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24192 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24194 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24196 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24197 * README: Update for powerpc-*-linux-gnu software floating point
24198 support in libc.
24199
e246b347
JM
24200 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24201 case to powerpc/powerpc32*.
24202 * sysdeps/unix/sysv/linux/configure: Regenerated.
24203
89c2003e
JM
24204 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24205 (_FPU_MASK_OM): Define as 0x04.
24206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24208 0x00c10080.
24209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24210 0x0000003c.
24211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24212
cd78f7e7
JM
24213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24214 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24215 getcontext_e500.
24216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24217 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24218 setcontext_e500.
24219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24220 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24221 and setcontext_e500.
24222
c755294d
CL
242232013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24224
24225 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24226
e16d221c
SP
242272013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24228
24229 * manual/threads.texi (Default Thread Attributes): Fix typo.
24230
215c7d43
WN
242312013-10-04 Will Newton <will.newton@linaro.org>
24232
24233 * malloc/Makefile: Add tst-memalign.
24234 * malloc/tst-memalign.c: New file.
24235
27d0461b
WN
24236 * malloc/tst-posix_memalign.c: Add comments.
24237 (do_test): Add comments and call free on all potentially
24238 allocated pointers. Add space after cast.
24239
1bc92709
WN
24240 * malloc/tst-pvalloc.c: Add comments.
24241 (do_test): Add comments and call free on all potentially
24242 allocated pointers. Remove duplicate check for NULL pointer.
24243 Add space after cast.
24244
66a9be9d
WN
24245 * malloc/tst-valloc.c: Add comments.
24246 (do_test): Add comments and call free on all potentially
24247 allocated pointers. Remove duplicate check for NULL pointer.
24248 Add space after cast.
24249
4cb81307
AM
242502013-10-04 Alan Modra <amodra@gmail.com>
24251
24252 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24253 Use stdint types in rather than __attribute__((mode())).
24254 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24255
f8e3e9f3
AM
242562013-10-04 Alan Modra <amodra@gmail.com>
24257
24258 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24259 Correct handling of unaligned relocs for little-endian.
24260 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24261
8f9ebb08
AM
242622013-10-04 Alan Modra <amodra@gmail.com>
24263
24264 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24265 * configure: Regenerate.
24266 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24267 * shlib-versions: Likewise.
24268
0edf96c2
AM
242692013-10-04 Alan Modra <amodra@gmail.com>
24270
24271 * string/tester.c (test_memrchr): Increment reported test cycle.
24272
e0f7a380
AM
242732013-10-04 Alan Modra <amodra@gmail.com>
24274
24275 * string/test-memcpy.c (do_one_test): When reporting errors, print
24276 string address and don't overrun end of string.
24277
466b0393
AM
242782013-10-04 Alan Modra <amodra@gmail.com>
24279
24280 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24281 insrdi. Make better use of reg selection to speed exit slightly.
24282 Schedule entry path a little better. Remove useless "are we done"
24283 checks on entry to main loop. Handle wrapping around zero address.
24284 Correct main loop count. Handle single left-over word from main
24285 loop inline rather than by using loop_small. Remove extra word
24286 case in loop_small caused by wrong loop count. Add little-endian
24287 support.
24288 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24289 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24290 cache hint.
24291 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24292 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24293 support. Avoid rlwimi.
24294 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24295
3be87c77
AM
242962013-10-04 Alan Modra <amodra@gmail.com>
24297
24298 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 24299 insrdi. Formatting.
3be87c77
AM
24300 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24301 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24302 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24303 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24304 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24305 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24306
759cfef3
AM
243072013-10-04 Alan Modra <amodra@gmail.com>
24308
24309 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24310 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24311 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24312 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24313 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24314 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24315 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24316 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24317 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24318 use of regs. Use power7 mtocrf. Tidy function tails.
24319
fe6e95d7
AM
243202013-10-04 Alan Modra <amodra@gmail.com>
24321
24322 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24323 Formatting. Consistently use rXXX register defines or rN defines.
24324 Use early exit labels that avoid restoring unused non-volatile regs.
24325 Make cr field use more consistent with rWORDn compares. Rename
24326 regs used as shift registers for unaligned loop, using rN defines
24327 for short lifetime/multiple use regs.
24328 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24329 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24330 addi 1,1,64 to pop stack frame. Simplify return value code.
24331 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24332
664318c3
AM
243332013-10-04 Alan Modra <amodra@gmail.com>
24334
24335 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24336 support. Correct typos, formatting. Optimize tail. Use insrdi
24337 rather than rlwimi.
24338 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24339 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24340 little-endian support. Correct typos.
24341 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24342 rather than rlwimi.
24343 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24344 in loop and entry code to keep "and." results.
24345 (strchr): Add little-endian support. Comment. Move cntlzd
24346 earlier in tail.
24347 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24348
43b84013
AM
243492013-10-04 Alan Modra <amodra@gmail.com>
24350
24351 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24352 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24353 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24354 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24355
8a7413f9
AM
243562013-10-04 Alan Modra <amodra@gmail.com>
24357
24358 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24359 (rTMP): Define as r11.
24360 (strcmp): Add little-endian support. Optimise tail.
24361 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24362 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24363 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24364 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24365 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24366 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24368
33ee81de
AM
243692013-10-04 Alan Modra <amodra@gmail.com>
24370
24371 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24372 little-endian support. Remove unnecessary "are we done" tests.
24373 Handle "s" wrapping around zero and extremely large "size".
24374 Correct main loop count. Handle single left-over word from main
24375 loop inline rather than by using small_loop. Correct comments.
24376 Delete "zero" tail, use "end_max" instead.
24377 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24378
db9b4570
AM
243792013-10-04 Alan Modra <amodra@gmail.com>
24380
24381 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24382 support. Don't branch over align.
24383 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24384 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24385 support. Rearrange tmp reg use to suit. Comment.
24386 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24387
f7c399cf
AM
243882013-10-04 Alan Modra <amodra@gmail.com>
24389
24390 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24391
0b2c2ace
AM
243922013-10-04 Alan Modra <amodra@gmail.com>
24393
24394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24395 conditional form of branch and link when obtaining pc.
24396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24397
02f04a6c
AM
243982013-10-04 Alan Modra <amodra@gmail.com>
24399
24400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24401 HIWORD/LOWORD.
24402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24404
9b874b2f
AM
244052013-10-04 Alan Modra <amodra@gmail.com>
24406
24407 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24408 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24409 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24410 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24411 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24412 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24413 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24414 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24415 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24416 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24417
be1e5d31
AB
244182013-10-04 Anton Blanchard <anton@au1.ibm.com>
24419 Alistair Popple <alistair@ozlabs.au.ibm.com>
24420 Alan Modra <amodra@gmail.com>
24421
24422 [BZ #15723]
24423 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24424 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24425 _dl_hwcap access for little-endian.
24426 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24427 destroy vmx regs when saving unaligned.
24428 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24429 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24430 destroy vmx regs when saving unaligned.
24431
fef13a78
AM
244322013-10-04 Alan Modra <amodra@gmail.com>
24433
24434 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24435 Don't use a union to pack hi/low value.
24436
76a66d51
AB
244372013-10-04 Anton Blanchard <anton@au1.ibm.com>
24438
24439 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24440 for little-endian.
24441 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24442 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24443 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24444 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24445 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24446
6a31fe7f
AM
244472013-10-04 Alan Modra <amodra@gmail.com>
24448
24449 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24450 constants to usual value for .cst8 section, and remove redundant
24451 high address load.
24452 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24453 constant for 0x1p52. Load little-endian words of double from
24454 correct stack offsets.
24455
7b88401f
AM
244562013-10-04 Alan Modra <amodra@gmail.com>
24457
24458 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24459 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24460 words of double from correct stack offsets.
24461 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24462 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24463 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24464 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24465 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24466 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24467 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24468 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24469 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24470 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24471 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24472 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24473 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24474 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24475 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24476 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24477 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24478
9c008155
AM
244792013-10-04 Alan Modra <amodra@gmail.com>
24480
24481 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24482 64-bit int/double union.
24483 (_FPU_SETCW): Likewise.
24484 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24485 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24486
da13146d
AM
244872013-10-04 Alan Modra <amodra@gmail.com>
24488
24489 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24490 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24491
603e8410
AM
244922013-10-04 Alan Modra <amodra@gmail.com>
24493
24494 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24495 use vector int constants.
24496 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24497
4a28b3ca
AB
244982013-10-04 Anton Blanchard <anton@au1.ibm.com>
24499
24500 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24501 array with long long.
24502 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24503 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24504 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24505 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24506 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24507 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24508 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24509 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24510 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24511 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24512 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24513 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24514 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24515
2ca85d2b
AB
245162013-10-04 Anton Blanchard <anton@au1.ibm.com>
24517
24518 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24519 (__signbit): Likewise. Correct for little-endian.
24520 (__signbitl): Call __signbit.
24521 (lrint): Correct for little-endian.
24522 (lrintf): Call lrint.
24523
62a728ae
AM
245242013-10-04 Alan Modra <amodra@gmail.com>
24525
24526 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24527 union 32-bit int array member with 64-bit int array.
24528 (t515, tm256): Double rather than long double.
24529 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24530
32c301df
AM
245312013-10-04 Alan Modra <amodra@gmail.com>
24532
24533 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24534 Delete.
24535 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24536 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24537 version of math_ldbl.h.
24538
650ef4bd
AM
245392013-10-04 Alan Modra <amodra@gmail.com>
24540
24541 [BZ #15734], [BZ #15735]
24542 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24543 all uses of ieee875 long double macros and unions. Simplify test
24544 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24545 ldbl_extract_mantissa value for ix,iy exponents. Properly
24546 normalize after ldbl_extract_mantissa, and don't add hidden bit
24547 already handled. Don't treat low word of ieee854 mantissa like
24548 low word of IBM long double and mask off bit when testing for
24549 zero.
24550 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24551 all uses of ieee875 long double macros and unions. Simplify tests
24552 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24553 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24554 two1022, instead use their values. Recognise that tests for large
24555 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24556 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24557 Rewrite all uses of ieee875 long double macros and unions. Simplify
24558 test for 0.0L and nan. Correct negation.
24559 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24560 ieee875 long double macros and unions. Correct output for large
24561 magnitude x. Correct absolute value calculation.
24562 (__erfcl): Likewise.
24563 * math/libm-test.inc: Add tests for errors discovered in IBM long
24564 double versions of fmodl, remainderl, erfl and erfcl.
24565
765714ca
AM
245662013-10-04 Alan Modra <amodra@gmail.com>
24567
24568 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24569 all uses of ieee854 long double macros and unions. Simplify tests
24570 for long doubles that are fully specified by the high double.
24571 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24572 Likewise.
24573 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24574 Remove dead code too.
24575 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24576 (__ieee754_ynl): Likewise.
24577 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24578 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24579 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24580 Remove dead code too.
24581 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24582 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24583 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24584 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24585 Simplify.
24586 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24587 Simplify.
24588 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24589 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24590 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24591 Comment on variable precision.
24592 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24593 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24594 Likewise.
24595 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24596 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24597 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24598 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24599 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24600
4ebd120c
AM
246012013-10-04 Alan Modra <amodra@gmail.com>
24602
24603 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24604 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24605 all uses of ieee854 long double macros and unions.
24606 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24607 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24608 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24609 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24610 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24611 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24612 Likewise.
24613 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24614 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24615 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24616 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24617 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24618 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24619 Simplify sign and nan test too.
24620 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24621 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24622 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24623 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24624 Likewise.
24625 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24626 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24627 Likewise.
24628 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24629 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24630 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24631 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24632 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24634
1b6adf88
AM
246352013-10-04 Alan Modra <amodra@gmail.com>
24636
24637 * stdio-common/printf_size.c (__printf_size): Don't use
24638 union ieee854_long_double in fpnum union.
24639 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24640 signbit macro to retrieve sign from long double.
24641 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24642 retrieve sign from long double.
24643 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24644 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24645 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24646 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24647 * math/test-misc.c (main): Don't use union ieee854_long_double.
24648
4cf69995
AM
246492013-10-04 Alan Modra <amodra@gmail.com>
24650
24651 [BZ #15680]
24652 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24653 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24654 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24655 calculation. Remove unnecessary test for denormal exponent.
24656 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24657 Correct handling of denormals. Avoid undefined shift behaviour.
24658 Correct normalisation of low mantissa when low double is denormal.
24659 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24660 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24661 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24662 Correct normalisation of low mantissa. Test for overflow of high
24663 mantissa and normalise.
24664 (ldbl_nearbyint): Use more readable constant for two52.
24665 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24666 (__mpn_construct_long_double): Fix test for overflow of high
24667 mantissa and correct normalisation. Avoid undefined shift.
24668
9605ca6c
AM
246692013-10-04 Alan Modra <amodra@gmail.com>
24670
24671 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24672 (union ibm_extended_long_double): Define as an array of ieee754_double.
24673 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24674 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24675 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24676 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24677 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24678 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24679 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24680 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24681 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24682 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24683 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24684
975569d0
JM
246852013-10-03 Joseph Myers <joseph@codesourcery.com>
24686
d3d23756
JM
24687 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24688 page size instead of calling getpagesize.
24689
975569d0
JM
24690 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24691 (LOCFILE_ALIGN_MASK): Likewise.
24692 (LOCFILE_ALIGN_UP): Likewise.
24693 (LOCFILE_ALIGNED_P): Likewise.
24694 * locale/programs/ld-collate.c (collate_output): Use the new
24695 macros instead of __alignof__ (int32_t).
24696 * locale/weight.h (findidx): Likewise.
24697
b1fe1f2b
OB
246982013-10-03 Ondřej Bílka <neleai@seznam.cz>
24699
24700 [BZ #431]
24701 * manual/string.texi: Fix strncat and wcsncat.
24702
5f855e35
BM
247032013-10-03 Brooks Moses <bmoses@google.com>
24704
24705 [BZ #15915]
24706 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24707 * Makerules: ...here, and adjust associated comments.
24708
3cef6009
WN
247092013-10-02 Will Newton <will.newton@linaro.org>
24710
24711 * malloc/Makefile: Add tst-pvalloc.
24712 * malloc/tst-pvalloc.c: New file.
24713
7815420b
WN
247142013-10-02 Will Newton <will.newton@linaro.org>
24715
24716 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24717 improve test coverage.
24718
4868b204
WN
247192013-10-02 Will Newton <will.newton@linaro.org>
24720
24721 * malloc/Makefile: Add tst-posix_memalign.
24722 * malloc/tst-posix_memalign.c: New file.
24723
29c793b3
EB
247242013-10-01 Eric Blake <eblake@redhat.com>
24725
24726 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24727 Use __THROWNL rather than __THROW on static functions.
24728
fd967522
PM
247292013-09-30 Petr Machata <pmachata@redhat.com>
24730
24731 * elf/elf.h (R_AARCH64_ABS16): New macro.
24732 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24733 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24734 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24735 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24736 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24737 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24738 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24739 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24740 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24741 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24742 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24743 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24744 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24745 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24746 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24747 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24748 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24749 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24750 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24751 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24752 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24753 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24754 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24755 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24756 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24757 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24758 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24759 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24760 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24761 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24762 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24763 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24764 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24765 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24766 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24767 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24768 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24769 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24770 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24771 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24772 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24773 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24774 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24775 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24776 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24777 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24778 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24779 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24780 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24781 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24782 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24783 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24784 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24785 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24786 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24787 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24788 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24789 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24790 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24791 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24792 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24793 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24794 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24795 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24796 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24797 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24798 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24799 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24800 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24801 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24802 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24803 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24804 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24805 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24806 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24807 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24808 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24809 (R_AARCH64_TLSDESC_LDR): Likewise.
24810 (R_AARCH64_TLSDESC_ADD): Likewise.
24811 (R_AARCH64_TLSDESC_CALL): Likewise.
24812
b2179107
AS
248132013-09-30 Andreas Schwab <schwab@suse.de>
24814
24815 [BZ #15048]
24816 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24817 the nss database lookup.
24818 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24820
47f28d0a
MF
248212013-09-28 Mike Frysinger <vapier@gentoo.org>
24822
24823 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24824
248252013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
24826
24827 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24828 ${Bash-specific parameter/pattern/string} parameter expansion.
24829 * sysdeps/unix/make-syscalls.sh: Likewise.
24830
f4518a17
KK
248312013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24832
24833 * sysdeps/sh/stackguard-macros.h: New file.
24834
dc1a95c7
OB
248352013-09-26 Ondřej Bílka <neleai@seznam.cz>
24836
24837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24839 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24840 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24841 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24842 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24843
5ebbff8f
AZ
248442013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24845
24846 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24847 Fix thread ID register.
24848
4fd2cf9f
JM
248492013-09-25 Joseph Myers <joseph@codesourcery.com>
24850
24851 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24852 [POSIX || UNIX98]: Require rather than permitting all symbols from
24853 <time.h>.
24854 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24855 element of struct sched_param.
24856 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24857 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24858 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24859 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24860 constant.
24861
12c22bc4
OL
248622013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24863
24864 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24865 argument calculation.
24866
a03d8ea7
JM
248672013-09-24 Joseph Myers <joseph@codesourcery.com>
24868
24869 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24870 Expect macro.
24871 [POSIX] (pthread_attr_t): Do not require type.
24872 [POSIX] (pthread_cond_t): Likewise.
24873 [POSIX] (pthread_condattr_t): Likewise.
24874 [POSIX] (pthread_key_t): Likewise.
24875 [POSIX] (pthread_mutex_t): Likewise.
24876 [POSIX] (pthread_mutexattr_t): Likewise.
24877 [POSIX] (pthread_once_t): Likewise.
24878 [POSIX] (pthread_t): Likewise.
24879 [POSIX-based standards] (pthread_atfork): Expect function.
24880
6055173a
JM
248812013-09-24 Joseph Myers <joseph@codesourcery.com>
24882 Richard Sandiford <richard@codesourcery.com>
24883
24884 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24885 (swap_endianness_p): New extern variable.
24886 (set_big_endian): New inline function.
24887 (maybe_swap_uint32): Likewise.
24888 (maybe_swap_uint32_array): Likewise.
24889 (maybe_swap_uint32_obstack): Likewise.
24890 * locale/programs/locfile.c: Include <stdbool.h>.
24891 (swap_endianness_p): New variable.
24892 (add_locale_uint32): Call maybe_swap_uint32.
24893 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24894 (write_locale_data): Call maybe_swap_uint32_array.
24895 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24896 maybe_swap_uint32.
24897 (obstack_int32_grow_fast): Likewise.
24898 (output_weightwc): Call maybe_swap_uint32_obstack.
24899 (collate_output): Likewise.
24900 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24901 (OPT_LITTLE_ENDIAN): Likewise.
24902 (options): Add --little-endian and --big-endian options.
24903 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24904 * locale/programs/locarchive.c: Include "locfile.h".
24905 (GET): New macro.
24906 (SET): Likewise.
24907 (INC): Likewise.
24908 (create_archive): Use the new macros to access fields of
24909 structures directly mapped from or written to locale archives.
24910 (oldlocrecentcmp): Likewise.
24911 (enlarge_archive): Likewise.
24912 (insert_name): Likewise.
24913 (add_alias): Likewise.
24914 (add_locale): Likewise.
24915 (delete_locales_from_archive): Likewise.
24916 (show_archive_content): Likewise.
24917 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24918 locale data.
24919
39bf0bb4
RM
249202013-09-24 Roland McGrath <roland@hack.frob.com>
24921
24922 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24923 http://www.gnu.org/doc/freemanuals.texi.
24924 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24925
f02eed10
WN
249262013-09-24 Will Newton <will.newton@linaro.org>
24927
24928 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24929 macro.
24930
a3a6c312
JM
249312013-09-23 Joseph Myers <joseph@codesourcery.com>
24932
24933 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24934 unsigned char.
24935
107375ac
MR
249362013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24937
24938 * manual/threads.texi (POSIX Threads): Fix a typo.
24939
141f3a77
SP
249402013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24941
303e567a
SP
24942 [BZ #14547]
24943 * string/tst-strcoll-overflow.c: New test case.
24944 * string/Makefile (xtests): Add tst-strcoll-overflow.
24945 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24946 cache if string sizes may cause integer overflow.
24947
141f3a77
SP
24948 [BZ #14547]
24949 * string/strcoll_l.c (coll_seq): New members rule, idx,
24950 save_idx and back_us.
24951 (get_next_seq_nocache): New function.
24952 (do_compare_nocache): New function.
24953 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24954 when malloc fails.
24955
c61b4d41
CD
249562013-09-23 Carlos O'Donell <carlos@redhat.com>
24957
0b1f8e35
CD
24958 [BZ #15754]
24959 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24960 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24961 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24962
c61b4d41
CD
24963 [BZ #15754]
24964 * elf/Makefile (tests): Add tst-ptrguard1.
24965 (tests-static): Add tst-ptrguard1-static.
24966 (tst-ptrguard1-ARGS): Define.
24967 (tst-ptrguard1-static-ARGS): Define.
24968 * elf/tst-ptrguard1.c: New file.
24969 * elf/tst-ptrguard1-static.c: New file.
24970 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24971 * sysdeps/i386/stackguard-macros.h: Likewise.
24972 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24973 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24974 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24975 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24976 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24977 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24978
249792013-09-23 Hector Marco <hecmargi@upv.es>
24980 Ismael Ripoll <iripoll@disca.upv.es>
24981 Carlos O'Donell <carlos@redhat.com>
24982
24983 [BZ #15754]
24984 * sysdeps/generic/stackguard-macros.h: Define
24985 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24986 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24987 Define __pointer_chk_guard_local.
24988 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24989 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24990
f5f4e7b4
VV
249912013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24992
24993 [BZ #15859]
24994 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24995
5bb43a43
AS
249962013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24997
24998 * include/string.h (__ffs): Declare as hidden.
24999 * string/ffs.c (__ffs): Define as hidden.
25000 * sysdeps/i386/ffs.c (__ffs): Likewise.
25001 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25002 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25003 * sysdeps/s390/ffs.c (__ffs): Likewise.
25004 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25005
3ea5be54
AO
250062013-09-20 Alexandre Oliva <aoliva@redhat.com>
25007
ffb89e53
AO
25008 * NEWS: Mention malloc probes.
25009
322dea08
AO
25010 * malloc/arena.c (new_heap): New memory_heap_new probe.
25011 (grow_heap): New memory_heap_more probe.
25012 (shrink_heap): New memory_heap_less probe.
25013 (heap_trim): New memory_heap_free probe.
25014 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25015 (systrim): New memory_sbrk_less probe.
25016 * manual/probes.texi: Document them.
25017
655673f3
AO
25018 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25019 * manual/probes.texi: Document it.
25020
35fed6f1
AO
25021 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25022 (__libc_realloc): Add memory_realloc_retry probe.
25023 (__libc_memalign): Add memory_memalign_retry probe.
25024 (__libc_valloc): Add memory_valloc_retry probe.
25025 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25026 (__libc_calloc): Add memory_calloc_retry probe.
25027 * manual/probes.texi: Document them.
25028
6999d38c
AO
25029 * malloc/arena.c (get_free_list): Add probe
25030 memory_arena_reuse_free_list.
25031 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25032 and memory_arena_reuse.
25033 (arena_get2) [!PER_THREAD]: Likewise.
25034 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25035 memory_arena_reuse_realloc.
25036 * manual/probes.texi: Document them.
25037
0653427f
AO
25038 * malloc/malloc.c (__libc_free): Add
25039 memory_mallopt_free_dyn_thresholds probe.
25040 (__libc_mallopt): Add multiple memory_mallopt probes.
25041 * manual/probes.texi: Document them.
25042
3ea5be54
AO
25043 * malloc/malloc.c: Include stap-probe.h.
25044 (__libc_mallopt): Add memory_mallopt probe.
25045 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25046 * manual/probes.texi: New.
25047 * manual/Makefile (chapters): Add probes.
25048 * manual/threads.texi: Set next node.
25049
e35696c3 250502013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 25051
e35696c3
CL
25052 [BZ #15963, #13985]
25053 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25054 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25055 Add `Chinese' to `nan' entry name.
25056
4aafb73c
SP
250572013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25058
25059 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25060 (POLYNOMIAL): Likewise.
25061 (TAYLOR_SINCOS): Likewise.
25062 (TAYLOR_SLOW): Likewise.
25063 (__sin): Use TAYLOR_SINCOS.
25064 (__cos): Likewise.
25065 (slow): Use TAYLOR_SLOW.
25066 (sloww): Likewise.
25067 (bsloww): Likewise.
25068 (csloww): Likewise.
25069
d84f25c7
LD
250702013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25071
25072 * stdlib/strtod_l.c: Fix buffer overrun.
25073
5eea0404
SP
250742013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25075
7849ff93
SP
25076 * benchtests/Makefile (bench): Add sincos.
25077 * benchtests/bench-sincos.c: New file.
25078
cfa3c886
SP
25079 * math/libm-test.inc (cos_test_data): New test inputs.
25080 (sin_test_data): Likewise.
25081
b348e1e3
SP
25082 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25083 macro.
25084 (__sin): Use it.
25085 (__cos): Likewise.
25086 (slow1): Likewise.
25087 (slow2): Likewise.
25088 (sloww1): Likewise.
25089 (sloww2): Likewise.
25090 (bsloww1): Likewise.
25091 (bsloww2): Likewise.
25092 (cslow2): Likewise.
25093 (csloww1): Likewise.
25094 (csloww2): Likewise.
25095
6cce25f8
SP
25096 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25097 function.
25098 (__sin): Use it.
25099 (__cos): Likewise.
25100
5eea0404
SP
25101 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25102 gotos.
25103 (__cos): Likewise.
25104
9c21573c
MR
251052013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25106
25107 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25108 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25109 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25110 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25111 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25112 * elf/cache.c (print_entry): Handle the new cache flags.
25113
24d22e65
JM
251142013-09-18 Joseph Myers <joseph@codesourcery.com>
25115 Aldy Hernandez <aldyh@redhat.com>
25116
25117 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25118 Change condition to [_SOFT_FLOAT].
25119 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25120 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25121 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25122 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25123 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25124 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25125 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25126 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25128 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25129 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25131 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25134 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25135 declaration.
25136
d13ef066
JM
251372013-09-18 Joseph Myers <joseph@codesourcery.com>
25138
2e071de0
JM
25139 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25140 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25141 (__longjmp): Use LOAD_GP to load saved GPRs.
25142 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25143 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25144 (__sigsetjmp): Use SAVE_GP to save GPRs.
25145
d13ef066
JM
25146 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25147 Do not append -msoft-float.
25148 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25149
97a0650b
SP
251502013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25151
25152 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25153
11ca09e9
JM
251542013-09-17 Joseph Myers <joseph@codesourcery.com>
25155
25156 [BZ #15966]
25157 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25158 (_FPU_GETCW): Use initial "__" on variable and field names but not
25159 on macro parameter name.
25160 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25161 parentheses around reference to macro parameter.
25162
08ffcf34
RS
251632013-09-13 Richard Sandiford <richard@codesourcery.com>
25164
25165 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25166 prototype.
25167 (ctype_startup): Use uint32_t in cast and sizeof for
25168 ctype->charnames.
25169
ae7080d3
JL
251702013-09-11 Jia Liu <proljc@gmail.com>
25171
25172 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25173 __daddr_t_defined.
25174 [__FreeBSD__]: Likewise.
25175
5905e7b3
OB
251762013-09-11 Ondřej Bílka <neleai@seznam.cz>
25177
25178 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25179 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25180 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25181 (strchr): Remove __strchr_sse42 ifunc selection.
25182 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25183 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25184
b987c776
WN
251852013-09-11 Will Newton <will.newton@linaro.org>
25186
25187 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25188 parameter to RES. Remove hardcoded 1000 value.
25189 * benchtests/bench-skeleton.c (main): Pass RES parameter
25190 to TIMING_INIT and multiply result by 1000.
25191
ddf985af
AZ
251922013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25193
25194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25195
ffdd3181
AS
251962013-09-11 Andreas Schwab <schwab@suse.de>
25197
25198 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25199 if not defined.
25200 (O_TMPFILE) [__USE_GNU]: Define.
25201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25202 Define.
25203
b73ed247
WN
252042013-09-11 Will Newton <will.newton@linaro.org>
25205
25206 [BZ #15857]
25207 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25208 does not overflow.
25209
55e17aad
WN
252102013-09-11 Will Newton <will.newton@linaro.org>
25211
25212 [BZ #15856]
25213 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25214 does not overflow.
25215
1159a193
WN
252162013-09-11 Will Newton <will.newton@linaro.org>
25217
25218 [BZ #15855]
25219 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25220 does not overflow.
25221
5905e7b3 252222013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
25223
25224 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25225 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25226 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25227 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25228 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25229
cdfc721b
AM
252302013-09-10 Allan McRae <allan@archlinux.org>
25231
aa04af00
AM
25232 [BZ #15748]
25233 * manual/arith.texi (Parsing of Floats): Clarify
25234 cross-reference.
25235
cdfc721b
AM
25236 [BZ #15849]
25237 * manual/install.texi (Running make install): Mention
25238 --enable-pt-chown.
25239 * INSTALL: Regenerated.
25240
95e7cf29
MR
252412013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25242
25243 * csu/init-first.c (_init): Remove the !SHARED condition around
25244 FPU control word initialization.
25245 * elf/dl-support.c (_dl_fpu_control): New variable.
25246 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25247 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25248 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25249 * math/test-fpucw-static.c: New file.
25250 * math/test-fpucw-ieee.c: New file.
25251 * math/test-fpucw-ieee-static.c: New file.
25252 * math/Makefile (tests): Add `test-fpucw-ieee' and
25253 `$(tests-static)'.
25254 (tests-static): New variable.
25255 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25256 dependency to...
25257 [($(build-shared),yes)]
25258 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25259 ... this.
25260 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25261 New dependency.
25262
83e43bf0
AM
252632013-09-09 Allan McRae <allan@archlinux.org>
25264
a9f5ce09
AM
25265 [BZ #15939]
25266 * manual/string.texi (Collation Functions): Fix typo in
25267 strcoll example.
25268 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25269
34829bc2
AM
25270 [BZ #15893]
25271 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25272
3932737d
AM
25273 [BZ #15892]
25274 * libio/memstream.c (open_memstream): Fix memory leak.
25275 * libio/wmemstream.c (open_wmemstream): Likewise.
25276
83e43bf0
AM
25277 [BZ #15895]
25278 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25279
0c66b8e9
WN
252802013-09-09 Will Newton <will.newton@linaro.org>
25281
25282 * malloc/Makefile: Add tst-realloc to tests.
25283 * malloc/tst-realloc.c: New file.
25284
f6b00fd1
AM
252852013-09-09 Allan McRae <allan@archlinux.org>
25286
25287 [BZ #15844]
25288 * COPYING: Update from GNU website to fix FSF address.
25289 * COPYING.LIB: Likewise.
25290
eec55e16
DM
252912013-09-06 David S. Miller <davem@davemloft.net>
25292
25293 * po/zh_TW.po: Update Chinese (traditional) translation from
25294 translation project.
25295
1ecbb381
RS
252962013-09-06 Richard Sandiford <richard@codesourcery.com>
25297 Joseph Myers <joseph@codesourcery.com>
25298
25299 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25300 "localeinfo.h".
25301 (obstack_chunk_alloc): New macro.
25302 (obstack_chunk_free): Likewise.
25303 (record_offset): New function.
25304 (init_locale_data): Likewise.
25305 (align_locale_data): Likewise.
25306 (add_locale_empty): Likewise.
25307 (add_locale_raw_data): Likewise.
25308 (add_locale_raw_obstack): Likewise.
25309 (add_locale_string): Likewise.
25310 (add_locale_wstring): Likewise.
25311 (add_locale_uint32): Likewise.
25312 (add_locale_uint32_array): Likewise.
25313 (add_locale_char): Likewise.
25314 (start_locale_structure): Likewise.
25315 (end_locale_structure): Likewise.
25316 (start_locale_prelude): Likewise.
25317 (end_locale_prelude): Likewise.
25318 (write_locale_data): Take locale_file structure rather than an
25319 iovec.
25320 * locale/programs/locfile.h: Include "obstack.h".
25321 (struct locale_file): Change to store locale file contents instead
25322 of header.
25323 (init_locale_data): New prototype.
25324 (align_locale_data): Likewise.
25325 (add_locale_empty): Likewise.
25326 (add_locale_raw_data): Likewise.
25327 (add_locale_raw_obstack): Likewise.
25328 (add_locale_string): Likewise.
25329 (add_locale_wstring): Likewise.
25330 (add_locale_uint32): Likewise.
25331 (add_locale_uint32_array): Likewise.
25332 (add_locale_char): Likewise.
25333 (start_locale_structure): Likewise.
25334 (end_locale_structure): Likewise.
25335 (start_locale_prelude): Likewise.
25336 (end_locale_prelude): Likewise.
25337 (write_locale_data): Update prototype.
25338 * locale/programs/3level.h (struct TABLE): Remove result field.
25339 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25340 Use new locale_file interface.
25341 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25342 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25343 * locale/programs/ld-address.c (address_output): Use new
25344 locale_file interface.
25345 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25346 NO_ADD_LOCALE.
25347 (collate_finish): Don't call collseq_table_finalize.
25348 (collate_output): Use new locale_file interface.
25349 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25350 in file.
25351 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25352 (TABLE): Move defines earlier in file.
25353 (ELEMENT): Likewise.
25354 (DEFAULT): Likewise.
25355 (wctrans_table_add): Move macro and inline function earlier in
25356 file.
25357 (struct wctype_table): Move type earlier in file.
25358 (add_locale_wctype_table): New static prototype.
25359 (struct locale_ctype_t): Use logical types instead of struct iovec
25360 pointers for members.
25361 (ctype_output): Use new locale_file interface.
25362 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25363 new locale_file interface.
25364 (allocate_arrays): Update for use of new locale_file interface.
25365 * locale/programs/ld-identification.c (identification_output): Use
25366 new locale_file interface.
25367 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25368 * locale/programs/ld-messages.c (messages_output): Likewise.
25369 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25370 * locale/programs/ld-name.c (name_output): Likewise.
25371 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25372 * locale/programs/ld-paper.c (paper_output): Likewise.
25373 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25374 * locale/programs/ld-time.c (time_output): Likewise.
25375
e029e2e5
AZ
253762013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25377
25378 * benchtests/Makefile: Add memrchr benchmark.
25379 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25380 benchmark as memrchr.
25381 * benchtests/bench-memrchr-ifunc.c: New file.
25382 * benchtests/bench-memrchr.c: New file.
25383
bbf6e8e4
WN
253842013-09-06 Will Newton <will.newton@linaro.org>
25385
25386 * benchtests/Makefile (string-bench): Add memcpy.
25387
6c82a2f8
CD
253882013-09-05 Carlos O'Donell <carlos@redhat.com>
25389 Cong Wang <amwang@redhat.com>
25390
e732c5f0 25391 [BZ #15850]
6c82a2f8
CD
25392 * sysdeps/unix/sysv/linux/bits/in.h
25393 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25394 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25395 before __USE_KERNEL_IPV6_DEFS uses.
25396 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25397 IPPROTO_BEETPH.
25398 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25399 sockaddr_in6, or ipv6_mreq.
25400
5430fc65
AZ
254012013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25402
25403 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25404 memory access for final bytes in some large inputs.
25405 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25406
4660856c
AZ
254072013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25408
25409 * string/test-memrchr.c: New file.
25410 * string/test-memrchr-ifunc.c: New file.
25411 * string/Makefile: Add new memrchr testcase.
25412
bb8ea713
MF
254132013-09-05 Mike Frysinger <vapier@gentoo.org>
25414
25415 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25416 fanotify_init returns EPERM.
25417
b92a20b5
JM
254182013-09-04 Joseph Myers <joseph@codesourcery.com>
25419
25420 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25421 errors.
25422 (top level): Treat second token from macro or constant entries for
25423 allowed headers as allowed.
25424 * include/complex.h: Condition internal declarations on
25425 [!_ISOMAC].
25426 * include/fenv.h: Condition include of <stdbool.h> and internal
25427 declarations on [!_ISOMAC].
7447ccd9
CL
25428
254292013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25430
3e181dda 25431 [BZ #15923]
7447ccd9
CL
25432 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25433
3f2e46a4
JM
254342013-09-04 Joseph Myers <joseph@codesourcery.com>
25435
25436 * configure.in (--enable-versioning): Remove configure option.
25437 (libc_cv_asm_symver_directive): Remove configure test.
25438 (libc_cv_ld_version_script_option): Likewise.
25439 (VERSIONING): Remove variable and AC_SUBST.
25440 (DO_VERSIONING): Remove AC_DEFINE.
25441 * configure: Regenerated.
25442 * config.h.in (DO_VERSIONING): Remove macro.
25443 * Makerules [$(versioning) = yes]: Change conditionals to
25444 [$(build-shared) = yes].
25445 * config.make.in (versioning): Remove variable.
25446 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25447 [$(build-shared) = yes].
25448 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25449 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25450 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25451 [$(build-shared) = yes].
25452 * extra-lib.mk [$(versioning) = yes]: Likewise.
25453 * hurd/Makefile [$(versioning) = yes]: Likewise.
25454 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25455 [SHARED].
25456 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25457 [SHARED].
25458 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25459 [SHARED && !NO_HIDDEN].
25460 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25461 [SHARED].
25462 [SHARED && DO_VERSIONING]: Likewise..
25463 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25464 [$(build-shared) = yes].
25465 * manual/install.texi (--disable-versioning): Remove
25466 documentation.
25467 * INSTALL: Regenerated.
25468 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25469 to [SHARED].
25470 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25471 [$(build-shared) = yes].
25472 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25473 * sysdeps/i386/i686/multiarch/strstr-c.c
25474 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25475 [SHARED && !NO_HIDDEN].
25476 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25477 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25478 * sysdeps/powerpc/powerpc32/dl-machine.c
25479 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25480 * sysdeps/powerpc/powerpc32/sysdep.h
25481 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25482 to [SHARED && PIC && !NO_HIDDEN].
25483 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25484 conditional to [SHARED].
25485
44558701
WN
254862013-09-04 Will Newton <will.newton@linaro.org>
25487
25488 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25489 * benchtests/bench-string.h: Include bench-timing.h instead
25490 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25491 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25492 call to HP_TIMING_DIFF_INIT.
25493 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25494 instead of hp-timing.h macros.
25495 * benchtests/bench-memchr.c: Likewise.
25496 * benchtests/bench-memcmp.c: Likewise.
25497 * benchtests/bench-memcpy.c: Likewise.
25498 * benchtests/bench-memmem.c: Likewise.
25499 * benchtests/bench-memmove.c: Likewise.
25500 * benchtests/bench-memset.c: Likewise.
25501 * benchtests/bench-rawmemchr.c: Likewise.
25502 * benchtests/bench-strcasecmp.c: Likewise.
25503 * benchtests/bench-strcasestr.c: Likewise.
25504 * benchtests/bench-strcat.c: Likewise.
25505 * benchtests/bench-strchr.c: Likewise.
25506 * benchtests/bench-strcmp.c: Likewise.
25507 * benchtests/bench-strcpy.c: Likewise.
25508 * benchtests/bench-strcpy_chk.c: Likewise.
25509 * benchtests/bench-strlen.c: Likewise.
25510 * benchtests/bench-strncasecmp.c: Likewise.
25511 * benchtests/bench-strncat.c: Likewise.
25512 * benchtests/bench-strncmp.c: Likewise.
25513 * benchtests/bench-strncpy.c: Likewise.
25514 * benchtests/bench-strnlen.c: Likewise.
25515 * benchtests/bench-strpbrk.c: Likewise.
25516 * benchtests/bench-strrchr.c: Likewise.
25517 * benchtests/bench-strspn.c: Likewise.
25518 * benchtests/bench-strstr.c: Likewise.
25519
cae16d66
WN
255202013-09-04 Will Newton <will.newton@linaro.org>
25521
25522 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25523
ffa3cd7f
JM
255242013-09-03 Joseph Myers <joseph@codesourcery.com>
25525
25526 [BZ #15427]
25527 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25528 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25529 * math/libm-test.inc (lgamma_test_data): Add more tests.
25530 * sysdeps/i386/fpu/libm-test-ulps: Update.
25531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25532
8f02859f
OB
255332013-09-03 Ondřej Bílka <neleai@seznam.cz>
25534
25535 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25536 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25537 Add ifunc.
25538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25539 Add strcmp-sse2-unaligned
25540 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25541
18d43716
MF
255422013-09-02 Mike Frysinger <vapier@gentoo.org>
25543
25544 * Versions.def (libc): Add GLIBC_2.19.
25545
ac444012
MF
255462013-09-02 Mike Frysinger <vapier@gentoo.org>
25547
25548 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25549 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25550
b7835e32
JM
255512013-09-02 Joseph Myers <joseph@codesourcery.com>
25552
25553 [BZ #14155]
25554 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25555 intermediate calculations in recurrence.
25556 (__ieee754_ynf): Likewise.
25557 * math/libm-test.inc (jn_test_data): Do not allow spurious
25558 underflow exception. Add more tests.
25559 (yn_test_data): Add more tests.
25560 * sysdeps/i386/fpu/libm-test-ulps: Update.
25561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25562
8220f4f0
OB
255632013-09-02 Ondřej Bílka <neleai@seznam.cz>
25564
25565 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25566
f24a6d08
OB
255672013-08-30 Ondřej Bílka <neleai@seznam.cz>
25568
25569 * csu/init-first.c: Fix then/than typos.
25570 * locale/programs/ld-collate.c: Likewise.
25571 * locale/programs/linereader.h: Likewise.
25572 * manual/charset.texi: Likewise.
25573 * manual/filesys.texi: Likewise.
25574 * manual/stdio.texi: Likewise.
25575 * manual/string.texi: Likewise.
25576 * stdlib/fmtmsg.c: Likewise.
25577 * sysdeps/i386/stpncpy.S: Likewise.
25578 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25579 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25580 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25581 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25582
382466e0
OB
255832013-08-30 Ondřej Bílka <neleai@seznam.cz>
25584
25585 * elf/dl-open.c: Fix typos.
25586 * iconvdata/gbbig5.c: Likewise.
25587 * iconvdata/iso-2022-jp.c: Likewise.
25588 * iconv/gconv_int.h: Likewise.
25589 * iconv/loop.c: Likewise.
25590 * nis/rpcsvc/nis.h: Likewise.
25591 * resolv/ns_name.c: Likewise.
25592 * stdio-common/vfscanf.c: Likewise.
25593 * streams/stropts.h: Likewise.
25594 * sunrpc/rpc_thread.c: Likewise.
25595 * sysdeps/i386/strpbrk.S: Likewise.
25596 * sysdeps/ieee754/k_standard.c: Likewise.
25597 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25598 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25599 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25600 * sysdeps/mach/hurd/profil.c: Likewise.
25601 * sysdeps/s390/dl-procinfo.h: Likewise.
25602 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25603 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25604 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25605 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25606 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25607
0186c6e9
OB
256082013-08-30 Ondřej Bílka <neleai@seznam.cz>
25609
25610 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25612
d4e16af1
OB
256132013-08-29 Ondřej Bílka <neleai@seznam.cz>
25614
25615 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25616 aix specific files.
25617 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25618 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25619 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25620 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25621 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25622 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25623 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25624 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25625
88335980
TS
256262013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25627 Roland McGrath <roland@hack.frob.com>
25628
25629 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25630 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25631
ed479b02
ST
256322013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25633
25634 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25635 __executable_start symbol instead of _start.
25636
f1cc4c86
TS
256372013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25638
d821f07c
TS
25639 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25640 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25641 Move macros to...
25642 * sysdeps/gnu/ldsodefs.h: ... this new file.
25643
c54290cf
TS
25644 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25645 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25646 instead of ELFOSABI_LINUX.
25647
0007fc9b 25648 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
25649 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25650 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25651 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25652 Likewise.
25653 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25654 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25655 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25656 Likewise.
25657 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25658 (ibm_extended_long_double): Add ieee_nan member.
25659 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25660 (do_test): New function.
25661
f1cc4c86
TS
25662 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25663 TEST_TRUNC.
25664 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25665 functions, renamed from truncdfsf_test, trunctfsf_test,
25666 trunctfdf_test.
25667 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25668 functions.
25669 (do_test): Run all these.
25670
6f65e668
OB
256712013-08-29 Ondřej Bílka <neleai@seznam.cz>
25672
25673 * argp/argp-help.c: Fix typos.
25674 * argp/argp-parse.c: Likewise.
25675 * debug/backtracesyms.c: Likewise.
25676 * elf/elf.h: Likewise.
25677 * malloc/malloc.c: Likewise.
25678 * nis/nis_print.c: Likewise.
25679 * resolv/res_comp.c: Likewise.
25680 * stdlib/stdlib.h: Likewise.
25681 * sunrpc/clnt_tcp.c: Likewise.
25682 * sunrpc/clnt_udp.c: Likewise.
25683 * sunrpc/clnt_unix.c: Likewise.
25684 * sysdeps/unix/bsd/ptsname.c: Likewise.
25685 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25686 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
25687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25688 Likewise.
25689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25690 Likewise.
25691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25692 Likewise.
6f65e668
OB
25693 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25694
3a309239
SP
256952013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25696
25697 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25699
3b813b29
MF
257002013-08-27 Mike Frysinger <vapier@gentoo.org>
25701
25702 [BZ #15897]
25703 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25704 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25705 ($(objpfx)bug-dl-leaf): New rule.
25706 ($(objpfx)bug-dl-leaf.so): Likewise.
25707 ($(objpfx)bug-dl-leaf.out): Likewise.
25708 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25709 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25710 * dlfcn/bug-dl-leaf.c: New test.
25711 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25712 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25713 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25714 (dlclose): Likewise.
25715 (dlmopen): Likewise.
25716
8cc3269f
RM
257172013-08-27 Roland McGrath <roland@hack.frob.com>
25718
7f9d0034
RM
25719 * include/netdb.h [!_ISOMAC]:
25720 Don't include <tls.h>.
25721 (h_errno, __libc_h_errno): Move declaration and macros out of
25722 [_LIBC_REENTRANT].
25723
fb431262
RM
25724 * include/resolv.h [_RESOLV_H_]:
25725 Don't include <tls.h>.
25726 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25727 * resolv/res_libc.c: Don't include <tls.h>.
25728 (_res): Use __attribute__ ((nocommon)) in place of
25729 __attribute__ ((section (".bss"))).
25730
bd81123a
RM
25731 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25732 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25733
c4e42566
RM
25734 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25735
f890a59b
RM
25736 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25737 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25738
25739 * resolv/res_mkquery.c: Include <sys/time.h>.
25740
5d1f0a09
RM
25741 * inet/ifreq.c: Moved to ...
25742 * sysdeps/unix/ifreq.c: ... here.
25743 * inet/ifreq.c: New file, true stub version.
25744
6fcf28b3
RM
25745 * socket/sa_len.c: New file.
25746 * socket/Makefile (aux): Add it.
25747 * sysdeps/unix/sysv/linux/Makefile
25748 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25749 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25750 and #include <socket/sa_len.c>.
25751 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25752 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25753
e041fb8b
RM
25754 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25755 * bits/socket.h: ... here.
25756
8cc3269f
RM
25757 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25758 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25759 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25760
5d228a43
AS
257612013-08-27 Andreas Schwab <schwab@suse.de>
25762
45b8accc
AS
25763 [BZ #15736]
25764 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25765 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25766 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25767 * string/test-strcasecmp.c (test_main): Run tests in several
25768 locales.
25769 * string/test-strncasecmp.c (test_main): Likewise.
25770
5d228a43
AS
25771 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25772 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25773 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25774 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25775 (__strncasecmp_ssse3) [PIC]: Likewise.
25776
59d112a4
RM
257772013-08-26 Roland McGrath <roland@hack.frob.com>
25778
53234cc3
RM
25779 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25780
59d112a4
RM
25781 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25782 instead of explicitly declaring xdecrypt.
25783 * nis/nss_nis/nis-publickey.c: Likewise.
25784
595aba70
SP
257852013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25786
25787 [BZ #15890]
25788 * nscd/aicache.c: Include res_hconf.h.
25789 (addhstaiX): Initialize res_hconf.
25790
ffabd393
AS
257912013-08-26 Andreas Schwab <schwab@suse.de>
25792
25793 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25794 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25795
e0a69f5c
SP
257962013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25797
25798 * nscd/aicache.c (addhstaiX): Fix indentation.
25799
8c12f01d
MF
258002013-08-25 Mike Frysinger <vapier@gentoo.org>
25801
25802 * configure.ac: Quote $build_pt_chown test.
25803 * configure: Regenerated.
25804
8fe89494
JM
258052013-08-23 Joseph Myers <joseph@codesourcery.com>
25806
25807 [BZ #15532]
25808 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25809 * math/s_cexpf.c (__cexpf): Likewise.
25810 * math/s_cexpl.c (__cexpl): Likewise.
25811 * math/libm-test.inc (cexp_test_data): Correct expected return
25812 value for NaN + i0. Add another test.
25813
75b181d6
DM
258142013-08-22 David S. Miller <davem@davemloft.net>
25815
25816 * po/ca.po: Update Catalan translation from translation project.
936241e4 25817 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 25818
acd06bb1
JM
258192013-08-21 Joseph Myers <joseph@codesourcery.com>
25820
25821 [BZ #15797]
25822 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25823 is infinite, not alongside NaN test.
25824 * math/s_fdimf.c (__fdimf): Likewise.
25825 * math/s_fdiml.c (__fdiml): Likewise.
25826 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25827 errno is unchanged.
25828
c0c3f78a
OB
258292013-08-21 Ondřej Bílka <neleai@seznam.cz>
25830
25831 * argp/argp-help.c: Fix typos.
25832 * crypt/speeds.c: Likewise.
25833 * csu/check_fds.c: Likewise.
25834 * elf/dl-load.c: Likewise.
25835 * elf/dl-open.c: Likewise.
25836 * elf/reldep3.c: Likewise.
25837 * elf/reldep.c: Likewise.
25838 * elf/sprof.c: Likewise.
25839 * iconv/iconv_charmap.c: Likewise.
25840 * iconv/skeleton.c: Likewise.
25841 * iconv/strtab.c: Likewise.
25842 * io/lockf64.c: Likewise.
25843 * libio/libioP.h: Likewise.
25844 * resolv/gai_notify.c: Likewise.
25845 * resolv/ns_name.c: Likewise.
25846 * resolv/ns_samedomain.c: Likewise.
25847 * resolv/res_send.c: Likewise.
25848 * stdlib/random.c: Likewise.
25849 * sunrpc/rpc/xdr.h: Likewise.
25850 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25851 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25852 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25853 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25854 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25855 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25857 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25858 * sysdeps/mach/hurd/check_fds.c: Likewise.
25859 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25860 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25861 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25862 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25863 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25864 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25865 * sysdeps/pthread/aio_notify.c: Likewise.
25866 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25867 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25868 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25869 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25870 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25871
46ed1038
LD
258722013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25873
25874 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25875 version if bit_Slow_SSE4_2 is set.
25876 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25877 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25878
d400dcac
AZ
258792013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25880
25881 [BZ #15867]
25882 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25883 trampoline stack frame information.
25884 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25885 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25886 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25887 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25888 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25889 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25890 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25891 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25892 sa_flags value.
25893 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25894 interrupting a syscall and set with option SA_SIGINFO.
25895
42c8fdd8
JM
258962013-08-20 Joseph Myers <joseph@codesourcery.com>
25897
c980f2f4
JM
25898 [BZ #15531]
25899 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25900 argument is infinite.
25901 * math/s_cprojf.c (__cprojf): Likewise.
25902 * math/s_cprojl.c (__cprojl): Likewise.
25903 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25904 * math/libm-test.inc (cproj_test_data): Add more tests.
25905
0716c4fc
JM
25906 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25907
42c8fdd8
JM
25908 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25909 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25910 size. Use __ffs to determine corresponding shift.
25911
b31469d0
JM
259122013-08-20 Joseph Myers <joseph@codesourcery.com>
25913 Roland McGrath <roland@hack.frob.com>
25914
25915 * Makefile (INSTALL): Remove trailing blank lines from output of
25916 makeinfo.
25917
4e39af6e
AK
259182013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25919
25920 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25921 Align 32 bit compat elf_greg to 8 bytes.
25922
f315524e
AA
259232013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25924
25925 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25926
1326ba1a
SP
259272013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25928
25929 * string/strcoll_l.c (coll_seq): New structure.
25930 (get_next_seq_cached): New function.
25931 (get_next_seq): New function.
25932 (do_compare): New function.
25933 (STRCOLL): Use GNU style definition. Simplify implementation
25934 by using get_next_seq, get_next_seq_cached and do_compare.
25935
91ce4085
FW
259362013-08-16 Florian Weimer <fweimer@redhat.com>
25937
25938 [BZ #14699]
25939 CVE-2013-4237
25940 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25941 member.
25942 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25943 member.
25944 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25945 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25946 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25947 conditional.
25948 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25949 GETDENTS_64BIT_ALIGNED.
25950 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25951 * manual/filesys.texi (Reading/Closing Directory): Document
25952 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25953 strongly.
25954 * manual/conf.texi (Limits for Files): Add portability note to
25955 NAME_MAX, PATH_MAX.
25956 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25957
ca0a6bc4
AS
259582013-08-13 Andreas Schwab <schwab@suse.de>
25959
25960 [BZ #15749]
25961 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25962 of fabs.
25963 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25964 LDBL_MAX_EXP >= 16384]: Add tests for it.
25965
6c1fd795
DM
259662013-08-12 David S. Miller <davem@davemloft.net>
25967
25968 * version.h (RELEASE): Set to "development".
25969 (VERSION): Set to "2.18.90".
25970 * NEWS: Add 2.19 section.
25971
31ad488d
DM
259722013-08-03 David S. Miller <davem@davemloft.net>
25973
25974 * po/ko.po: Update Korean translation from translation project.
25975
db24e684
DM
259762013-08-01 David S. Miller <davem@davemloft.net>
25977
25978 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25979 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25980 Bilka.
25981
f723285b
DM
259822013-07-30 David S. Miller <davem@davemloft.net>
25983
25984 * po/fr.po: Update French translation from translation project.
25985
3cbc52db
DM
259862013-07-28 David S. Miller <davem@davemloft.net>
25987
30bbc0cc
DM
25988 * po/cs.po: Update Czech translation from translation project.
25989
3cbc52db
DM
25990 * po/sv.po: Update Swedish translation from translation project.
25991
d492e6d0
DM
259922013-07-27 David S. Miller <davem@davemloft.net>
25993
f1a7f492
DM
25994 * po/eo.po: Update Esperanto translation from translation project.
25995
90e62a4a
DM
25996 * po/vi.po: Update Vietnamese translation from translation project.
25997
d492e6d0
DM
25998 * po/de.po: Update German translation from translation project.
25999
d4baa62d
DM
260002013-07-26 David S. Miller <davem@davemloft.net>
26001
641aa7b4
DM
26002 * po/bg.po: Update Bulgarian translation from translation project.
26003
d4baa62d
DM
26004 * po/nl.po: Update Dutch translation from translation project.
26005 * po/pl.po: Update Polish translation from translation project.
26006 * po/ru.po: Update Russian translation from translation project.
26007
61a9dcb9
DM
260082013-07-24 David S. Miller <davem@davemloft.net>
26009
26010 * po/libc.pot: Update.
26011
7b1f8b58
AZ
260122013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26013
26014 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26015 variable page size.
26016 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26017 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26018 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26019
a8fc7a03
AK
260202013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26021
26022 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26023
e4608715
CD
260242013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26025 Andreas Schwab <schwab@suse.de>
26026 Roland McGrath <roland@hack.frob.com>
26027 Joseph Myers <joseph@codesourcery.com>
26028 Carlos O'Donell <carlos@redhat.com>
26029
26030 [BZ #15755]
26031 * config.h.in: Define HAVE_PT_CHOWN.
26032 * config.make.in (build-pt-chown): New variable.
26033 * configure.in (--enable-pt_chown): New configure option.
26034 * configure: Regenerate.
26035 * login/Makefile: Include Makeconfig. Build pt_chown only if
26036 build-pt-chown is enabled.
26037 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26038 pt_chown to fix pty ownership.
26039 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26040 CLOSE_ALL_FDS.
26041 * manual/install.texi (Configuring and compiling): Mention
26042 --enable-pt_chown. Add @findex for grantpt.
26043 * INSTALL: Regenerate.
26044
da2d62df
DM
260452013-07-20 David S. Miller <davem@davemloft.net>
26046
26047 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26048 difference between 32-bit and 64-bit.
26049
d7e06450
CD
260502013-07-15 Carlos O'Donell <carlos@redhat.com>
26051
26052 [BZ #15711]
26053 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26054 Avoid system header dependency with -ffreestanding.
26055 ($(objpfx)bits/syscall%d): Likewise.
26056
f959cfd7
DM
260572013-07-13 David S. Miller <davem@davemloft.net>
26058
26059 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26060 underflows from atanl/atan2l due to bug 15319.
26061 (casinh_test_data): Likewise.
26062
c61f8513
DM
260632013-07-07 David S. Miller <davem@davemloft.net>
26064
26065 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26066
72c90ed0
JA
260672013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26068
26069 * sysdeps/i386/fpu/libm-test-ulps: Update.
26070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26071
52dfbe13
SP
260722013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26073
26074 * configure.in (--enable-lock-elision): Fix message text.
26075 * INSTALL: Regenerate.
26076 * configure: Regenerate.
26077
3f169543
AZ
260782013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26079
26080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26081
521c6785
AJ
260822013-07-03 Andreas Jaeger <aj@suse.de>
26083
26084 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26085 define.
26086 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26087 (ptrace_peeksiginfo_args): Add.
26088 (__ptrace_peeksiginfo_flags): Add.
26089 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26090 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26091 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26092
d2cc15cb
AM
260932013-07-03 Allan McRae <allan@archlinux.org>
26094
26095 * sysdeps/i386/fpu/libm-test-ulps: Update.
26096
3aaeeca7
DM
260972013-07-02 David S. Miller <davem@davemloft.net>
26098
26099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26100
5314ed1a
MT
261012013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26102
26103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26104
67338156
JM
261052013-07-02 Joseph Myers <joseph@codesourcery.com>
26106
26107 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26109
1717da59
AK
261102013-07-02 Andi Kleen <ak@linux.intel.com>
26111
26112 * config.h.in (ENABLE_LOCK_ELISION): Add.
26113 * configure.in (--enable-lock-elision): Add option.
26114 * manual/install.texi: Document --enable lock elision.
26115 * configure: Regenerate
26116 * INSTALL: Regenerate.
26117
1c81621c
L
261182013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26119
26120 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26121 SSE4.2 strcasecmp for libc.a.
26122 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26123
77f01ab5
JM
261242013-07-02 Joseph Myers <joseph@codesourcery.com>
26125
26126 [BZ #13304]
26127 * soft-fp/op-common.h (_FP_FMA): New macro.
26128 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26129 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26130 (_FP_MUL_MEAT_1_imm): ... here.
26131 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26132 (_FP_MUL_MEAT_1_wide): ... here.
26133 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26134 (_FP_MUL_MEAT_1_hard): ... here.
26135 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26136 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26137 (_FP_MUL_MEAT_2_wide): ... here.
26138 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26139 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26140 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26141 (_FP_MUL_MEAT_2_gmp): ... here.
26142 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26143 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26144 (_FP_MUL_MEAT_4_wide): ... here.
26145 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26146 (_FP_MUL_MEAT_4_gmp): ... here.
26147 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26148 (_FP_WFRACBITS_DW_S): Likewise.
26149 (_FP_WFRACXBITS_DW_S): Likewise.
26150 (_FP_HIGHBIT_DW_S): Likewise.
26151 (FP_FMA_S): Likewise.
26152 (_FP_FRAC_HIGH_DW_S): Likewise.
26153 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26154 (_FP_WFRACBITS_DW_D): Likewise.
26155 (_FP_WFRACXBITS_DW_D): Likewise.
26156 (_FP_HIGHBIT_DW_D): Likewise.
26157 (FP_FMA_D): Likewise.
26158 (_FP_FRAC_HIGH_DW_D): Likewise.
26159 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26160 (_FP_WFRACBITS_DW_E): Likewise.
26161 (_FP_WFRACXBITS_DW_E): Likewise.
26162 (_FP_HIGHBIT_DW_E): Likewise.
26163 (FP_FMA_E): Likewise.
26164 (_FP_FRAC_HIGH_DW_E): Likewise.
26165 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26166 (_FP_WFRACBITS_DW_Q): Likewise.
26167 (_FP_WFRACXBITS_DW_Q): Likewise.
26168 (_FP_HIGHBIT_DW_Q): Likewise.
26169 (FP_FMA_Q): Likewise.
26170 (_FP_FRAC_HIGH_DW_Q): Likewise.
26171 * soft-fp/fmasf4.c: New file.
26172 * soft-fp/fmadf4.c: Likewise.
26173 * soft-fp/fmatf4.c: Likewise.
26174
6308fd9a
LD
261752013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26176
26177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26178 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26179 Silvermont.
26180 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26181 macro.
26182 (index_Slow_SSE4_2): Likewise.
26183 (index_Prefer_PMINUB_for_stringop): Likewise.
26184 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26185 bit_Slow_SSE4_2 is set.
26186 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26187 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26188
89cd9569
RA
261892013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26190
26191 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26192 rtld_global._dl_hwcap2.
26193 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26194 POWER8.
26195 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26196 POWER8 feature descriptions defined in _dl_hwcap2.
26197 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26198 string handling for POWER8 feature bits.
26199 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26200 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26201 _dl_powerpc_cap_flags.
26202 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26203 * sysdeps/powerpc/rtld-global-offsets.sym
26204 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26205 _dl_hwcap2 in the rtld_global_ro structure.
26206
1ae8bfe0
RA
262072013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26208
26209 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26210 hardware capabilities in support of AT_HWCAP2.
26211 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26212 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26213 GLRO(dl_hwcap2).
26214 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26215 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26216 explicitly the unknown a_type display mechanism is used.
26217 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26218 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26219 struct member.
26220 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26221 to macro prototype for AT_HWCAP2 support.
26222 * sysdeps/i386/dl-procinfo.h: Likewise.
26223 * sysdeps/s390/dl-procinfo.h: Likewise.
26224 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26225 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26226 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26227 return -1 for unknown a_type display fallback.
26228 * sysdeps/sparc/dl-procinfo.h: Likewise.
26229 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26230 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26231
8fbec010
JM
262322013-06-28 Joseph Myers <joseph@codesourcery.com>
26233
26234 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26235 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26236
0432680e
PY
262372013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26238
26239 [BZ #12492]
26240 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26241 mprotect making __stack_prot writable.
26242
ce61a2ad
NF
262432013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26244 Joseph Myers <joseph@codesourcery.com>
26245
26246 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26247 as being properly aligned.
26248
f91f1c0f
MR
262492013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26250
3d0f5d0c
MR
26251 * dlfcn/modstatic5.c: New file.
26252 * dlfcn/tststatic5.c: New file.
26253 * dlfcn/Makefile (tests): Add tststatic5.
26254 (tests-static): Likewise.
26255 (modules-names): Add modstatic5.
26256 (tststatic5-ENV): New variable.
26257 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26258
f91f1c0f
MR
26259 [BZ #15022]
26260 * elf/dl-support.c (_dl_main_map): New variable.
26261 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26262 (_dl_nns, _dl_load_adds): Set to 1.
26263 (_dl_initial_searchlist): Refer to _dl_main_map.
26264 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26265 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26266 call to _dl_get_origin.
26267 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26268 around call_map.
26269 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26270 * dlfcn/modstatic3.c: New file.
26271 * dlfcn/tststatic3.c: New file.
26272 * dlfcn/tststatic4.c: New file.
26273 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26274 (tests-static): Likewise.
26275 (modules-names): Add modstatic3.
26276 (tststatic3-ENV, tststatic4-ENV): New variables.
26277 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26278 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26279
cbe7d24b
JM
262802013-06-26 Joseph Myers <joseph@codesourcery.com>
26281
26282 * configure.in (CC): Require GCC version 4.4 or later.
26283 * configure: Regenerated.
26284 * manual/install.texi (Tools for Compilation): Update GCC version
26285 requirement.
26286 * INSTALL: Regenerated.
26287
11b8a0e1
LD
262882013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26289
26290 [BZ #15674]
bb5bb87c
L
26291 * string/test-memcmp.c (check2): New.
26292 (main): Call check2.
26293
11b8a0e1
LD
26294 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26295
b0037103
MR
262962013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26297
26298 [BZ #15022]
26299 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26300 over to...
26301 (dl_open_worker) [!SHARED]: ... here.
26302
c18c701d
RA
263032013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26304
26305 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26306
1d17fa5f
RH
263072013-06-25 Richard Henderson <rth@redhat.com>
26308
26309 * locale/programs/locarchive.c: Include <libc-internal.h>
26310
8fcb833a
JM
263112013-06-25 Joseph Myers <joseph@codesourcery.com>
26312
26313 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26314 trailing whitespace removed.
26315
17db6e8d
MF
263162013-06-24 Mike Frysinger <vapier@gentoo.org>
26317
26318 [BZ #10283]
17db6e8d
MF
26319 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26320 * locale/programs/locarchive.c: Include libc-mmap.h.
26321 (prepare_address_space): Take two new outputs (the mmap base and len).
26322 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26323 values.
26324 (create_archive): Declare new mmap base and len values for
26325 prepare_address_space, and store the result in ah.
26326 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26327 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26328 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26329 Declare new mmap base and len values for
26330 prepare_address_space, and store the result in new_ah.
26331 (open_archive): Declare new mmap base and len values for
26332 prepare_address_space, and store the result in ah.
26333 (close_archive): If ah->mmap_base is not NULL, use that and
26334 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26335 * sysdeps/generic/libc-mmap.h: New file.
26336
d605071e
MF
263372013-06-24 Mike Frysinger <vapier@gentoo.org>
26338
26339 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26340 (ALIGN_UP): Likewise.
26341 (PTR_ALIGN_DOWN): Likewise.
26342 (PTR_ALIGN_UP): Likewise.
26343
2f063a6e
RA
263442013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26345
26346 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26347 entry mapped to PPC_PLATFORM_POWER8.
26348 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26349 POWER8.
26350 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26351 (_dl_string_platform): Add case for exporting platform position for
26352 POWER8.
26353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26354 search path to sysdeps/powerpc/powerpc32/power8 directory.
26355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26356 search path to sysdeps/powerpc/powerpc64/power8 directory.
26357 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26358 power7 directories.
26359 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26360 power7 directories.
26361
a31ee4b3
SP
263622013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26363
a74ca98f
SP
26364 * INSTALL: Regenerate.
26365
a31ee4b3
SP
26366 * nscd/connections.c (nscd_init): Fix comment.
26367
695c378f
JM
263682013-06-22 Joseph Myers <joseph@codesourcery.com>
26369
d8412221
JM
26370 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26371
695c378f
JM
26372 [BZ #15667]
26373 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26374 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26375
d1d54715
MR
263762013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26377
26378 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26379 DL_DST_REQ_STATIC.
26380 (DL_DST_REQ_STATIC): Remove macro.
26381
8fdda7af
JM
263822013-06-21 Joseph Myers <joseph@codesourcery.com>
26383
26384 [BZ #7006]
26385 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26386 with a shift of 0 bits.
26387
f3bc5e5a
MR
263882013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26389
26390 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26391 $(tststatic-ENV).
26392
be09e8c9
KK
263932013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26394
26395 [BZ #15655]
26396 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26397
85c2e611
AZ
263982013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26399
26400 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26401 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26402 accepts -fno-tree-loop-distribute-patterns.
26403 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26404 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26405 recursive call.
26406 * string/memset.c (memset): Likewise.
26407 * string/test-memmove.c (simple_memmove): Disable loop transformation
26408 to library calls.
26409 * string/test-memset.c (simple_memset): Likewise.
26410 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26411 * benchtests/bench-memset.c (simple_memset): Likewise.
26412 * configure: Regenerated.
26413
c91e0825
JM
264142013-06-20 Joseph Myers <joseph@codesourcery.com>
26415
b8c792af
JM
26416 * math/test-misc.c (main): Ignore fesetround failure when failures
26417 of subsequent rounding tests would be ignored.
26418
c91e0825
JM
26419 [BZ #15654]
26420 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26421 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26422 * math/fegetenv.c (__fegetenv): Return 0.
26423 * math/fegetexcept.c (fegetexcept): Return 0.
26424 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26425 FE_TONEAREST.
26426 * math/feholdexcpt.c (feholdexcept): Return 0.
26427 * math/fesetenv.c (__fesetenv): Return 0.
26428 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26429 argument FE_TONEAREST.
26430 * math/feupdateenv.c (__feupdateenv): Return 0.
26431 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26432
bfcacbde
RM
264332013-06-18 Roland McGrath <roland@hack.frob.com>
26434
26435 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26436 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26437 ($(objpfx)rtld-%.os rules): Use them.
26438
e55a9b25
AZ
264392013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26440
26441 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26442 fields.
26443
346d65b3
RM
264442013-06-17 Roland McGrath <roland@hack.frob.com>
26445
12086fb4
RM
26446 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26447 length of target pattern, then descending length of dependency pattern.
26448 * configure.in (AWK): Require gawk 3.1.2 or newer.
26449 * manual/install.texi (Tools for Compilation): Say that we do.
26450 * configure: Regenerated.
26451
346d65b3
RM
26452 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26453 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26454 * scripts/sysd-rules.awk: ... this new script.
26455 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26456 than a glob-style pattern.
26457
1a846317
JM
264582013-06-17 Joseph Myers <joseph@codesourcery.com>
26459
26460 * math/test-misc.c (main): Do not treat incorrectly rounded
26461 conversions as failure unless ROUNDING_TESTS passes.
26462
8fc75e6f
JM
264632013-06-15 Joseph Myers <joseph@codesourcery.com>
26464
3711a167
JM
26465 [BZ #15631]
26466 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26467 restore exception state around main square root computation, then
26468 check for inexactness explicitly.
26469
8fc75e6f
JM
26470 * math/libm-test.inc (fma_test_data): Add another test.
26471
61dd6208
SP
264722013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26473
adf23d2c
SP
26474 * manual/threads.texi (Non-POSIX Extensions): New document
26475 node. Document pthread_getattr_default_np and
26476 pthread_setattr_default_np.
26477
61dd6208
SP
26478 * Versions.def (libpthread): Add GLIBC_2.18.
26479 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26481 Likewise.
26482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26483 Likewise.
26484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26485 Likewise.
26486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26487 Likewise.
26488 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26489 Likewise.
26490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26491 Likewise.
26492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26493 Likewise.
26494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26495 Likewise.
26496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26497 Likewise.
26498
d086fc7b
LD
264992013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26500
26501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26502 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26503
747ef469
SP
265042013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26505 H.J. Lu <hjl.tools@gmail.com>
26506
26507 [BZ #15627]
26508 * sysdeps/x86_64/rtld-memset.c: Remove file.
26509 * sysdeps/x86_64/rtld-memset.S: New file.
26510
1b2feed2
JM
265112013-06-14 Joseph Myers <joseph@codesourcery.com>
26512
26513 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26514 (test_in_one_mode): Take arguments for whether the rounding mode
26515 is supported for each floating-point type.
26516 (do_test): Pass new arguments to test_in_one_mode using
26517 ROUNDING_TESTS.
26518
a58ad3f8
RM
265192013-06-13 Roland McGrath <roland@hack.frob.com>
26520
26521 * posix/tst-waitid.c (do_test): Distinguish different instances of
26522 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26523 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26524 before entering the kernel for waitpid.
26525
c204ab28
SP
265262013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26527
26528 * NEWS: Fix note on clock function precision. Text by Roland
26529 McGrath.
26530
f4a29fba
RM
265312013-06-13 Roland McGrath <roland@hack.frob.com>
26532
26533 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26534 it into place only when and if the sanity check passes.
26535
1f24b9ad
JM
265362013-06-13 Joseph Myers <joseph@codesourcery.com>
26537
26538 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26539 output for whether conversion result is exact. Take argument
26540 indicating whether type is IBM long double.
26541 (round_for_all): Change need_exact field to ibm_ld.
26542 * stdlib/tst-strtod-round.c (struct exactness): New type.
26543 (struct test): Change bool ld_ok field to struct exactness exact.
26544 (TEST): Update all definitions for change to field.
26545 (tests): Regenerate array contents.
26546 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26547 field value. Check for IBM long double here.
26548 (do_test): Update calls to test_in_one_mode.
26549
58206c68
SP
265502013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26551
26552 [BZ #12515]
26553 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26554 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26555
2d6f4c5b 265562013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
26557
26558 [BZ #15605]
26559 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26560 generated by the compiler on loop optimizations.
26561 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26562 general definitions.
26563
94f2c076
JM
265642013-06-12 Joseph Myers <joseph@codesourcery.com>
26565
26566 * math/bug-nextafter.c: Include <math-tests.h>.
26567 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26568 the relevant type.
26569 * math/bug-nexttoward.c: Include <math-tests.h>.
26570 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26571 the relevant type.
26572 * math/test-misc.c: Include <math-tests.h>.
26573 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26574 the relevant type.
26575
e0e50a0a
AJ
265762013-06-12 Andreas Jaeger <aj@suse.de>
26577
26578 * po/ia.po: Update Interlingua translation from translation
26579 project.
26580
25061094
SP
265812013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26582
26583 * include/fenv.h: Include stdbool.h.
26584 (struct rm_ctx): New structure.
26585 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26586 Define macro.
26587 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26588 (SET_RESTORE_ROUNDF): Likewise.
26589 (SET_RESTORE_ROUNDL): Likewise.
26590 (SET_RESTORE_ROUND_NOEX): Likewise.
26591 (SET_RESTORE_ROUND_NOEXF): Likewise.
26592 (SET_RESTORE_ROUND_NOEXL): Likewise.
26593 (SET_RESTORE_ROUND_53BIT): Likewise.
26594 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26595 (libc_feresetround_noexf_ctx): Likewise.
26596 (libc_feresetround_noexl_ctx): Likewise.
26597 (libc_feholdsetround_53bit_ctx): Likewise.
26598 (libc_feresetround_53bit_ctx): Likewise.
26599 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26600 (libc_feholdexcept_setround_sse_ctx): New function.
26601 (libc_fesetenv_sse_ctx): Likewise.
26602 (libc_feupdateenv_sse_ctx): Likewise.
26603 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26604 (libc_feholdexcept_setround_387_ctx): Likewise.
26605 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26606 (libc_feholdsetround_387_prec_ctx): Likewise.
26607 (libc_feholdsetround_387_ctx): Likewise.
26608 (libc_feholdsetround_387_53bit_ctx): Likewise.
26609 (libc_feholdsetround_sse_ctx): Likewise.
26610 (libc_feresetround_sse_ctx): Likewise.
26611 (libc_feresetround_387_ctx): Likewise.
26612 (libc_feupdateenv_387_ctx): Likewise.
26613 (libc_feholdexcept_setroundf_ctx): Define macro.
26614 (libc_fesetenvf_ctx): Likewise.
26615 (libc_feupdateenvf_ctx): Likewise.
26616 (libc_feholdsetroundf_ctx): Likewise.
26617 (libc_feresetroundf_ctx): Likewise.
26618 (libc_feholdexcept_setround_ctx): Likewise.
26619 (libc_fesetenv_ctx): Likewise.
26620 (libc_feupdateenv_ctx): Likewise.
26621 (libc_feholdsetround_ctx): Likewise.
26622 (libc_feresetround_ctx): Likewise.
26623 (libc_feholdexcept_setroundl_ctx): Likewise.
26624 (libc_feupdateenvl_ctx): Likewise.
26625 (libc_feholdsetroundl_ctx): Likewise.
26626 (libc_feresetroundl_ctx): Likewise.
26627 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26628 (libc_feresetround_53bit_ctx): Likewise.
26629
59b30555
SP
266302013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26631
26632 * locale/iso-639.def: Convert to UTF-8.
26633
f1d73d30
JM
266342013-06-11 Joseph Myers <joseph@codesourcery.com>
26635
26636 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26637 (EXCEPTION_TESTS_double): Likewise.
26638 (EXCEPTION_TESTS_long_double): Likewise.
26639 (EXCEPTION_TESTS): Likewise.
26640 * math/libm-test.inc (test_exceptions): Only test exceptions if
26641 EXCEPTION_TESTS (FLOAT).
26642
94aca5e7
SP
266432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26644
26645 * benchtests/Makefile (string-bench): Add strcpy_chk and
26646 stpcpy_chk.
26647 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26648 * benchtests/bench-stpcpy_chk.c: New file.
26649 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26650 * benchtests/bench-strcpy_chk.c: New file.
26651 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26652 code.
26653 (do_test): Likewise.
26654
fac0c5f2
RA
266552013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26656
26657 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26658 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26659 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26660 with tabs where appropriate.
26661 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26662 dl-procinfo.h.
26663 [PPC_PLATFORM_PPC440]: Likewise.
26664 [PPC_PLATFORM_PPC464]: Likewise.
26665 [PPC_PLATFORM_PPC476]: Likewise.
26666 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26667 ppc464, and ppc476 platform strings merging from ports/
26668 dl-procinfo.h.
26669
f22bc486
AS
266702013-06-11 Andreas Schwab <schwab@suse.de>
26671
26672 [BZ #14991]
26673 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26674 (from_ucs4_idx): Regenerate.
26675 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26676 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26677 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26678 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26679 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26680 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26681 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26682 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26683 from FROM_LOOP and TO_LOOP specific macros.
26684 (BODY): Handle combining characters.
26685 * iconvdata/BIG5HKSCS.irreversible: Update.
26686 * iconvdata/BIG5HKSCS.precomposed: New file.
26687 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26688 characters.
26689 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26690
c1f75dc3
SP
266912013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26692
4eacded2
SP
26693 * include/sys/time.h: Fix indentation and add copyright header.
26694
fec799f8
SP
26695 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26696 (do_test): Likewise.
26697 * string/test-memchr.c (do_one_test): Likewise.
26698 (do_test): Likewise.
26699 * string/test-memcmp.c (do_one_test): Likewise.
26700 (do_test): Likewise.
26701 * string/test-memcpy.c (do_one_test): Likewise.
26702 (do_test): Likewise.
26703 * string/test-memmem.c (do_one_test): Likewise.
26704 (do_test): Likewise.
26705 (do_random_tests): Likewise.
26706 * string/test-memmove.c (do_one_test): Likewise.
26707 (do_test): Likewise.
26708 * string/test-memset.c (do_one_test): Likewise.
26709 (do_test): Likewise.
26710 * string/test-rawmemchr.c (do_one_test): Likewise.
26711 (do_test): Likewise.
26712 * string/test-strcasecmp.c (do_one_test): Likewise.
26713 (do_test): Likewise.
26714 * string/test-strcasestr.c (do_one_test): Likewise.
26715 (do_test): Likewise.
26716 * string/test-strcat.c (do_one_test): Likewise.
26717 (do_test): Likewise.
26718 * string/test-strchr.c (do_one_test): Likewise.
26719 (do_test): Likewise.
26720 * string/test-strcmp.c (do_one_test): Likewise.
26721 (do_test): Likewise.
26722 * string/test-strcpy.c (do_one_test): Likewise.
26723 (do_test): Likewise.
26724 * string/test-string.h: Likewise.
26725 (test_init): Likewise.
26726 * string/test-strlen.c (do_one_test): Likewise.
26727 (do_test): Likewise.
26728 * string/test-strncasecmp.c (do_one_test): Likewise.
26729 (do_test): Likewise.
26730 * string/test-strncat.c (do_one_test): Likewise.
26731 (do_test): Likewise.
26732 * string/test-strncmp.c (do_one_test): Likewise.
26733 (do_test_limit): Likewise.
26734 (do_test): Likewise.
26735 * string/test-strncpy.c (do_one_test): Likewise.
26736 (do_test): Likewise.
26737 * string/test-strnlen.c (do_one_test): Likewise.
26738 (do_test): Likewise.
26739 * string/test-strpbrk.c (do_one_test): Likewise.
26740 (do_test): Likewise.
26741 * string/test-strrchr.c (do_one_test): Likewise.
26742 (do_test): Likewise.
26743 * string/test-strspn.c (do_one_test): Likewise.
26744 (do_test): Likewise.
26745 * string/test-strstr.c (do_one_test): Likewise.
26746 (do_test): Likewise.
26747
97020474
SP
26748 * benchtests/Makefile (string-bench): Add string benchmarks.
26749 * benchtests/bench-bcopy-ifunc.c: New file.
26750 * benchtests/bench-bcopy.c: New file.
26751 * benchtests/bench-bzero-ifunc.c: New file.
26752 * benchtests/bench-bzero.c: New file.
26753 * benchtests/bench-memccpy-ifunc.c: New file.
26754 * benchtests/bench-memccpy.c: New file.
26755 * benchtests/bench-memchr-ifunc.c: New file.
26756 * benchtests/bench-memchr.c: New file.
26757 * benchtests/bench-memcmp-ifunc.c: New file.
26758 * benchtests/bench-memcmp.c: New file.
26759 * benchtests/bench-memmem-ifunc.c: New file.
26760 * benchtests/bench-memmem.c: New file.
26761 * benchtests/bench-memmove-ifunc.c: New file.
26762 * benchtests/bench-memmove.c: New file.
26763 * benchtests/bench-mempcpy-ifunc.c: New file.
26764 * benchtests/bench-mempcpy.c: New file.
26765 * benchtests/bench-memset-ifunc.c: New file.
26766 * benchtests/bench-memset.c: New file.
26767 * benchtests/bench-rawmemchr-ifunc.c: New file.
26768 * benchtests/bench-rawmemchr.c: New file.
26769 * benchtests/bench-stpcpy-ifunc.c: New file.
26770 * benchtests/bench-stpcpy.c: New file.
26771 * benchtests/bench-stpncpy-ifunc.c: New file.
26772 * benchtests/bench-stpncpy.c: New file.
26773 * benchtests/bench-strcasecmp-ifunc.c: New file.
26774 * benchtests/bench-strcasecmp.c: New file.
26775 * benchtests/bench-strcasestr-ifunc.c: New file.
26776 * benchtests/bench-strcasestr.c: New file.
26777 * benchtests/bench-strcat-ifunc.c: New file.
26778 * benchtests/bench-strcat.c: New file.
26779 * benchtests/bench-strchr-ifunc.c: New file.
26780 * benchtests/bench-strchr.c: New file.
26781 * benchtests/bench-strchrnul-ifunc.c: New file.
26782 * benchtests/bench-strchrnul.c: New file.
26783 * benchtests/bench-strcmp-ifunc.c: New file.
26784 * benchtests/bench-strcmp.c: New file.
26785 * benchtests/bench-strcpy-ifunc.c: New file.
26786 * benchtests/bench-strcpy.c: New file.
26787 * benchtests/bench-strcspn-ifunc.c: New file.
26788 * benchtests/bench-strcspn.c: New file.
26789 * benchtests/bench-strlen-ifunc.c: New file.
26790 * benchtests/bench-strlen.c: New file.
26791 * benchtests/bench-strncasecmp-ifunc.c: New file.
26792 * benchtests/bench-strncasecmp.c: New file.
26793 * benchtests/bench-strncat-ifunc.c: New file.
26794 * benchtests/bench-strncat.c: New file.
26795 * benchtests/bench-strncmp-ifunc.c: New file.
26796 * benchtests/bench-strncmp.c: New file.
26797 * benchtests/bench-strncpy-ifunc.c: New file.
26798 * benchtests/bench-strncpy.c: New file.
26799 * benchtests/bench-strnlen-ifunc.c: New file.
26800 * benchtests/bench-strnlen.c: New file.
26801 * benchtests/bench-strpbrk-ifunc.c: New file.
26802 * benchtests/bench-strpbrk.c: New file.
26803 * benchtests/bench-strrchr-ifunc.c: New file.
26804 * benchtests/bench-strrchr.c: New file.
26805 * benchtests/bench-strspn-ifunc.c: New file.
26806 * benchtests/bench-strspn.c: New file.
26807 * benchtests/bench-strstr-ifunc.c: New file.
26808 * benchtests/bench-strstr.c: New file.
26809
c1f75dc3
SP
26810 * benchtests/Makefile: Disable parallel execution of targets.
26811 (string-bench): Add memcpy.
26812 (benchset): New variable to store a list of benchmark sets.
26813 (bench-func): Renamed from bench.
26814 (bench-set): New target.
26815 (bench): Depend on bench-func and bench-set.
26816 * benchtests/README: Add section on benchmark sets.
26817 * benchtests/bench-memcpy-ifunc.c: New file.
26818 * benchtests/bench-memcpy.c: New file.
26819 * benchtests/bench-string.h: New file.
26820
50fd745b
AS
268212013-06-11 Andreas Schwab <schwab@suse.de>
26822
26823 [BZ #15577]
26824 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26825 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26826 values in the triple.
26827 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26828 terminator in the group key.
26829
3ee7e9fe
AJ
268302013-06-11 Andreas Jaeger <aj@suse.de>
26831
26832 * po/zh_TW.po: Update Chinese (traditional) translation from
26833 translation project.
26834
89fb6835
SP
268352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26836
26837 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26838 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26839 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26840 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26841 (clock_getcpuclockid): Likewise.
26842 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26843 Add weak_alias and libc_hidden_def.
26844 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26845 * rt/clock_gettime.c (clock_gettime): Rename to
26846 __clock_gettime. Add weak_alias and libc_hidden_def.
26847 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26848 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26849 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26850 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26851 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26852 Likewise.
26853 * rt/clock_settime.c (clock_settime): Rename to
26854 __clock_settime. Add weak_alias and libc_hidden_def.
26855 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26856
0efa6f8b
JM
268572013-06-10 Joseph Myers <joseph@codesourcery.com>
26858
b8c61b4b
JM
26859 * mach/err_boot.sub: Remove trailing whitespace.
26860 * mach/err_ipc.sub: Likewise.
26861 * mach/err_mach.sub: Likewise.
26862
0efa6f8b
JM
26863 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26864 (ROUNDING_TESTS_double): Likewise.
26865 (ROUNDING_TESTS_long_double): Likewise.
26866 (ROUNDING_TESTS): Likewise.
26867 * math/libm-test.inc: Include <math-tests.h>.
26868 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26869 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26870 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26871 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26872
50b818bf
SP
268732013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26874
26875 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26876 of assigning.
26877
60d2f8f3
JM
268782013-06-08 Joseph Myers <joseph@codesourcery.com>
26879
4902d2c3
JM
26880 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26881 otherwise empty TRANS lines.
26882 * sysdeps/gnu/errlist.c: Regenerated.
26883
60d2f8f3
JM
26884 * catgets/gencat.c (error_print): Use (void) in function
26885 definition.
26886 * crypt/crypt_util.c (__init_des): Likewise.
26887 * crypt/speeds.c (Stop): Likewise.
26888 (main): Likewise.
26889 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26890 * inet/ruserpass.c (token): Likewise.
26891 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26892 * intl/localealias.c (extend_alias_table): Likewise.
26893 * intl/plural-exp.c (init_germanic_plural): Likewise.
26894 * libio/fcloseall.c (__fcloseall): Likewise.
26895 * libio/genops.c (_IO_flush_all): Likewise.
26896 (_IO_flush_all_linebuffered): Likewise.
26897 (_IO_cleanup): Likewise.
26898 (_IO_iter_begin): Likewise.
26899 (_IO_iter_end): Likewise.
26900 (_IO_list_lock): Likewise.
26901 (_IO_list_unlock): Likewise.
26902 (_IO_list_resetlock): Likewise.
26903 * libio/getchar.c (getchar): Likewise.
26904 * libio/getchar_u.c (getchar_unlocked): Likewise.
26905 * libio/getwchar.c (getwchar): Likewise.
26906 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26907 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26908 * login/getpt.c (__getpt): Likewise.
26909 * login/tst-utmp.c (main): Likewise.
26910 * malloc/hooks.c (__malloc_check_init): Likewise.
26911 * malloc/malloc.c (__malloc_stats): Likewise.
26912 * malloc/mtrace.c (tr_break): Likewise.
26913 (mtrace): Likewise.
26914 (muntrace): Likewise.
26915 * misc/fstab.c (endfsent): Likewise.
26916 * misc/getclktck.c (__getclktck): Likewise.
26917 * misc/getdtsz.c (__getdtablesize): Likewise.
26918 * misc/gethostid.c (gethostid): Likewise.
26919 * misc/getpagesize.c (__getpagesize): Likewise.
26920 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26921 (__get_nprocs): Likewise.
26922 (__get_phys_pages): Likewise.
26923 (__get_avphys_pages): Likewise.
26924 * misc/getttyent.c (getttyent): Likewise.
26925 (setttyent): Likewise.
26926 (endttyent): Likewise.
26927 * misc/getusershell.c (getusershell): Likewise.
26928 (endusershell): Likewise.
26929 (setusershell): Likewise.
26930 (initshells): Likewise.
26931 * misc/hsearch.c (__hdestroy): Likewise.
26932 * misc/sync.c (sync): Likewise.
26933 * misc/syslog.c (closelog_internal): Likewise.
26934 (closelog): Likewise.
26935 * misc/ttyslot.c (ttyslot): Likewise.
26936 * misc/vhangup.c (vhangup): Likewise.
26937 * posix/fork.c (__fork): Likewise.
26938 * posix/getegid.c (__getegid): Likewise.
26939 * posix/geteuid.c (__geteuid): Likewise.
26940 * posix/getgid.c (__getgid): Likewise.
26941 * posix/getpid.c (__getpid): Likewise.
26942 * posix/getppid.c (__getppid): Likewise.
26943 * posix/getuid.c (__getuid): Likewise.
26944 * posix/pause.c (pause): Likewise.
26945 * posix/setpgrp.c (setpgrp): Likewise.
26946 * posix/setsid.c (__setsid): Likewise.
26947 * posix/test-vfork.c (noop): Likewise.
26948 * resolv/gethnamaddr.c (_endhtent): Likewise.
26949 (_gethtent): Likewise.
26950 (ht_endhostent): Likewise.
26951 (gethostent): Likewise.
26952 (dns_service): Likewise.
26953 * stdlib/drand48.c (drand48): Likewise.
26954 * stdlib/lrand48.c (lrand48): Likewise.
26955 * stdlib/mrand48.c (mrand48): Likewise.
26956 * stdlib/rand.c (rand): Likewise.
26957 * stdlib/random.c (__random): Likewise.
26958 * stdlib/setenv.c (clearenv): Likewise.
26959 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26960 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26961 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26962 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26963 (__get_nprocs): Likewise.
26964 (__get_phys_pages): Likewise.
26965 (__get_avphys_pages): Likewise.
26966 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26967 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26968 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26969 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26970 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26971 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26972 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26973 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26974 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26975 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26976 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26977 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26978 * sysdeps/posix/clock.c (clock): Likewise.
26979 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26980 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26981 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26982 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26983 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26984 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26985 (__get_nprocs_conf): Likewise.
26986 (__get_phys_pages): Likewise.
26987 (__get_avphys_pages): Likewise.
26988 * time/clock.c (clock): Likewise.
26989 * time/tzset.c (__tzname_max): Likewise.
26990
2e09a79a
JM
269912013-06-07 Joseph Myers <joseph@codesourcery.com>
26992
26993 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26994 (__bswap_32): Do not use "register".
26995 * crypt/crypt.c (_ufc_doit_r): Likewise.
26996 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26997 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26998 * gmon/gmon.c (__monstartup): Likewise.
26999 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27000 * hurd/hurdmalloc.c (more_memory): Likewise.
27001 (malloc): Likewise.
27002 (free): Likewise.
27003 (realloc): Likewise.
27004 (malloc_fork_prepare): Likewise.
27005 (malloc_fork_parent): Likewise.
27006 (malloc_fork_child): Likewise.
27007 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27008 (_svcauth_des): Likewise.
27009 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27010 * inet/inet_net.c (inet_network): Likewise.
27011 * inet/inet_netof.c (inet_netof): Likewise.
27012 * inet/rcmd.c (__validuser2_sa): Likewise.
27013 * io/fts.c (fts_open): Likewise.
27014 (fts_load): Likewise.
27015 (fts_close): Likewise.
27016 (fts_read): Likewise.
27017 (fts_children): Likewise.
27018 (fts_build): Likewise.
27019 (fts_stat): Likewise.
27020 (fts_sort): Likewise.
27021 (fts_alloc): Likewise.
27022 (fts_lfree): Likewise.
27023 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27024 (_IO_file_xsgetn): Likewise.
27025 (_IO_file_xsgetn_mmap): Likewise.
27026 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27027 (_IO_cookie_write): Likewise.
27028 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27029 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27030 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27031 * malloc/obstack.c (_obstack_begin): Likewise.
27032 (_obstack_begin_1): Likewise.
27033 (_obstack_newchunk): Likewise.
27034 (_obstack_allocated_p): Likewise.
27035 (obstack_free): Likewise.
27036 (_obstack_memory_used): Likewise.
27037 * misc/getttyent.c (getttynam): Likewise.
27038 (getttyent): Likewise.
27039 (skip): Likewise.
27040 (value): Likewise.
27041 * misc/getusershell.c (initshells): Likewise.
27042 * misc/syslog.c (__vsyslog_chk): Likewise.
27043 * misc/ttyslot.c (ttyslot): Likewise.
27044 * nis/nis_hash.c (__nis_hash): Likewise.
27045 * posix/fnmatch_loop.c (FCT): Likewise.
27046 * posix/getconf.c (print_all): Likewise.
27047 (main): Likewise.
27048 * posix/getopt.c (exchange): Likewise.
27049 * posix/glob.c (globfree): Likewise.
27050 (prefix_array): Likewise.
27051 (__glob_pattern_type): Likewise.
27052 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27053 (NS_GET32): Likewise.
27054 (NS_PUT16): Likewise.
27055 (NS_PUT32): Likewise.
27056 * resolv/gethnamaddr.c (getanswer): Likewise.
27057 (gethostbyname2): Likewise.
27058 (gethostbyaddr): Likewise.
27059 (_gethtent): Likewise.
27060 (_gethtbyname2): Likewise.
27061 (_gethtbyaddr): Likewise.
27062 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27063 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27064 * resolv/res_init.c (__res_vinit): Likewise.
27065 (net_mask): Likewise.
27066 * resolv/res_mkquery.c (outchar): Likewise.
27067 (PRINT): Likewise.
27068 * stdio-common/printf_fp.c (outchar): Likewise.
27069 (PRINT): Likewise.
27070 * stdio-common/printf_fphex.c (outchar): Likewise.
27071 (PRINT): Likewise.
27072 * stdio-common/printf_size.c (outchar): Likewise.
27073 (PRINT): Likewise.
27074 * stdio-common/test_rdwr.c (main): Likewise.
27075 * stdio-common/tfformat.c (matches): Likewise.
27076 * stdio-common/vfprintf.c (outchar): Likewise.
27077 (printf_unknown): Likewise.
27078 (buffered_vfprintf): Likewise.
27079 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27080 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27081 (ReadFile): Likewise.
27082 * stdlib/qsort.c (SWAP): Likewise.
27083 (_quicksort): Likewise.
27084 * stdlib/setenv.c (__add_to_environ): Likewise.
27085 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27086 * stdlib/strtol_l.c (__strtol_l): Likewise.
27087 * stdlib/tst-strtod.c (main): Likewise.
27088 * stdlib/tst-strtol.c (main): Likewise.
27089 * stdlib/tst-strtoll.c (main): Likewise.
27090 * string/bits/string2.h (__strcmp_cc): Likewise.
27091 (__strcmp_cg): Likewise.
27092 (__strcspn_c1): Likewise.
27093 (__strcspn_c2): Likewise.
27094 (__strcspn_c3): Likewise.
27095 (__strspn_c1): Likewise.
27096 (__strspn_c2): Likewise.
27097 (__strspn_c3): Likewise.
27098 (__strsep_1c): Likewise.
27099 (__strsep_2c): Likewise.
27100 (__strsep_3c): Likewise.
27101 * string/memccpy.c (__memccpy): Likewise.
27102 * string/stpcpy.c (__stpcpy): Likewise.
27103 * string/strcmp.c (strcmp): Likewise.
27104 * string/strrchr.c (strrchr): Likewise.
27105 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27106 Likewise.
27107 * sysdeps/mach/hurd/getcwd.c
27108 (_hurd_canonicalize_directory_name_internal): Likewise.
27109 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27110 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27111 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27112 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27113 Likewise, in both definitions.
27114 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27115 definitions.
27116 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27117 64] (__bswap_64): Likewise.
27118 * time/test_time.c (main): Likewise.
27119 * time/tzfile.c (__tzfile_read): Likewise.
27120 (__tzfile_compute): Likewise.
27121 * time/tzset.c (__tzset_parse_tz): Likewise.
27122 (tzset_internal): Likewise.
27123 (compute_change): Likewise.
27124 * wcsmbs/wcscat.c (__wcscat): Likewise.
27125 * wcsmbs/wcschr.c (wcschr): Likewise.
27126 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27127 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27128 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27129 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27130 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27131 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27132 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27133 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27134 * wcsmbs/wmemset.c (wmemset): Likewise.
27135
9e54314b
JM
271362013-06-06 Joseph Myers <joseph@codesourcery.com>
27137
27138 * scripts/config.guess: Update to version 2013-05-16.
27139 * scripts/config.sub: Update to version 2013-04-24.
27140 * scripts/install-sh: Update to version 2011-11-20.07.
27141 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27142 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27143
350635a5
OB
271442013-06-06 Ondřej Bílka <neleai@seznam.cz>
27145
27146 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27147 * elf/sln.c: Likewise.
27148 * hurd/hurd/ioctl.h: Likewise.
27149 * hurd/hurdmalloc.c: Likewise.
27150 * hurd/xattr.c: Likewise.
27151 * include/shlib-compat.h: Likewise.
27152 * inet/ruserpass.c: Likewise.
27153 * libio/iofgets_u.c: Likewise.
27154 * libio/iofgetws_u.c: Likewise.
27155 * locale/programs/ld-identification.c: Likewise.
27156 * locale/programs/ld-time.c: Likewise.
27157 * mach/msg-destroy.c: Likewise.
27158 * nss/nss_files/files-netgrp.c: Likewise.
27159 * resolv/res_data.c: Likewise.
27160 * soft-fp/op-1.h: Likewise.
27161 * soft-fp/op-2.h: Likewise.
27162 * soft-fp/op-4.h: Likewise.
27163 * soft-fp/op-common.h: Likewise.
27164 * stdio-common/printf_fphex.c: Likewise.
27165 * stdlib/strtod_l.c: Likewise.
27166 * sunrpc/rpc/clnt.h: Likewise.
27167 * sysdeps/generic/framestate.c: Likewise.
27168 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27169 * sysdeps/i386/bsd-setjmp.S: Likewise.
27170 * sysdeps/i386/__longjmp.S: Likewise.
27171 * sysdeps/i386/setjmp.S: Likewise.
27172 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27173 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27174 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27175 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27176 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27177 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27178 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27179 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27180 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27181 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27182 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27183 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27184 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27185 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27186 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27187 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27188 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27189 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27190 * sysdeps/ieee754/support.c: Likewise.
27191 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27192 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27193 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27194 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27195 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27196 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27197 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27198 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27199 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27200 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27201 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27202 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27203 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27204 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27205 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27206 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27207 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27209
44a988af
OB
272102013-06-05 Ondřej Bílka <neleai@seznam.cz>
27211
25506f09 27212 * posix/transbug.c: Remove executable mode.
44a988af 27213
9c84384c
JM
272142013-06-05 Joseph Myers <joseph@codesourcery.com>
27215
27216 * crypt/speeds.c: Remove trailing whitespace.
27217 * dlfcn/default.c: Likewise.
27218 * elf/ifuncdep2.c: Likewise.
27219 * elf/ifuncmain1.c: Likewise.
27220 * elf/ifuncmain1vis.c: Likewise.
27221 * elf/testobj.h: Likewise.
27222 * elf/tst-stackguard1.c: Likewise.
27223 * gmon/sys/gmon.h: Likewise.
27224 * hurd/hurdmsg.c: Likewise.
27225 * hurd/new-fd.c: Likewise.
27226 * hurd/ports-get.c: Likewise.
27227 * iconvdata/ibm1008_420.c: Likewise.
27228 * inet/tst-getni1.c: Likewise.
27229 * inet/tst-getni2.c: Likewise.
27230 * libio/ioungetc.c: Likewise.
27231 * libio/wfiledoalloc.c: Likewise.
27232 * manual/libm-err-tab.pl: Likewise.
27233 * math/w_dremf.c: Likewise.
27234 * misc/ftruncate.c: Likewise.
27235 * posix/bug-glob2.c: Likewise.
27236 * posix/tst-pcre.c: Likewise.
27237 * posix/wait4.c: Likewise.
27238 * resolv/README: Likewise.
27239 * resolv/res_debug.h: Likewise.
27240 * resolv/tst-inet_ntop.c: Likewise.
27241 * setjmp/bug269-setjmp.c: Likewise.
27242 * soft-fp/extended.h: Likewise.
27243 * soft-fp/op-1.h: Likewise.
27244 * soft-fp/op-2.h: Likewise.
27245 * soft-fp/op-4.h: Likewise.
27246 * soft-fp/op-8.h: Likewise.
27247 * soft-fp/testit.c: Likewise.
27248 * stdio-common/bug16.c: Likewise.
27249 * stdlib/random.c: Likewise.
27250 * sunrpc/rpcsvc/rquota.x: Likewise.
27251 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27252 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27253 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27254 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27255 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27256 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27257 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27258 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27259 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27260 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27261 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27262 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27263 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27264 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27265 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27266 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27267 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27268 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27269 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27270 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27271 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27272 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27273 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27274 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27275 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27276 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27277 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27278 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27279 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27280 * sysdeps/ieee754/s_lib_version.c: Likewise.
27281 * sysdeps/mach/hurd/check_fds.c: Likewise.
27282 * sysdeps/mach/hurd/getsockname.c: Likewise.
27283 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27284 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27285 * sysdeps/powerpc/bits/link.h: Likewise.
27286 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27287 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27288 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27289 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27290 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27291 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27292 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27293 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27294 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27295 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27296 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27297 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27298 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27299 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27300 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27301 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27302 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27303 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27304 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27305 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27306 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27307 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27308 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27309 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27310 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27311 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27312 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27313 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27314 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27315 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27316 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27317 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27318 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27319 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27320 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27321 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27322 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27323 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27324 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27325 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27326 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27327 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27328 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27329 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27330 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27331 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27332 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27333 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27334 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27335 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27336 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27337 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27338 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27339 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27340 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27341 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27342 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27343 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27344 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27345 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27346 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27347 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27348 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27349 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27350 * sysdeps/powerpc/sysdep.h: Likewise.
27351 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27352 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27353 * sysdeps/sh/dl-trampoline.S: Likewise.
27354 * sysdeps/sh/memset.S: Likewise.
27355 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27356 * sysdeps/sh/strlen.S: Likewise.
27357 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27358 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27359 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27360 * sysdeps/sparc/sparc32/rem.S: Likewise.
27361 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27362 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27363 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27364 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27365 * sysdeps/sparc/sparc32/urem.S: Likewise.
27366 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27367 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27368 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27369 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27370 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27371 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27372 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27373 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27374 * sysdeps/unix/bsd/times.c: Likewise.
27375 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27376 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27380 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27381 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27382 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27383 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27384 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27385 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27386 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27387 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27388 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27389 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27390 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27391 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27392 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27393 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27394 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27395 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27396 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27397 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27398 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27399 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27400 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27401 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27402 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27403 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27404 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27405 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27406 * sysdeps/x86_64/strcspn.S: Likewise.
27407
869378a5
RA
274082013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27409
27410 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27411 generated file. Regenerate properly from gen-translit.pl.
27412 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27413 locale/C-translit.h.
27414
840e2943
AS
274152013-06-05 Andreas Schwab <schwab@suse.de>
27416
27417 [BZ #15100]
27418 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27419 week as 6 instead of -1.
27420 * time/tst-strptime.c (day_tests): Add test case.
27421
4c60cb0c
SP
274222013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27423
27424 * sysdeps/generic/math_private.h
27425 (libc_feholdexcept_setround_53bit): Replace with
27426 libc_feholdsetround_53bit.
27427 (libc_feupdateenv_53bit): Replace with
27428 libc_feresetround_53bit.
27429 (SET_RESTORE_ROUND_53BIT): Adjust.
27430
d180203e
SP
274312013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27432
96df079a
SP
27433 * string/test-strchrnul.c: Add copyright header.
27434
d180203e
SP
27435 * posix/tst-getaddrinfo4.c: Increase test timeout.
27436
8b0ccb2d
CD
274372013-06-03 Carlos O'Donell <carlos@redhat.com>
27438
27439 [BZ #15536]
27440 * math/libm-test.inc (MAX_EXP): Remove
27441 (MIN_EXP): Define.
27442 (ulp): Use MIN_EXP - MANT_DIG.
27443 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27444
3b3c4d40
CD
274452013-05-31 Carlos O'Donell <carlos@redhat.com>
27446
27447 * po/be.po: Revert last change.
27448 * po/zh_CN.po: Likewise.
27449 * po/header.pot: Likewise.
27450
fab7ce3f
JM
274512013-05-31 Joseph Myers <joseph@codesourcery.com>
27452
27453 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27454 link-libc-deps to empty as target-specific variable.
27455 * Makerules (link-libc-args): New variable.
27456 (libc-for-link): Likewise.
27457 (link-libc-deps): Likewise.
27458 (lib%.so): Depend on $(link-libc-deps). Link with
27459 $(link-libc-args).
27460 (build-module): Link with $(link-libc-args).
27461 (build-module-asneeded): Likewise.
27462 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27463 list of objects.
27464 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27465 target-specific variable.
27466 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27467 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27468 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27469 libc.
27470 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27471 libc and ld.so.
27472 ($(objpfx)libpcprofile.so): Likewise.
27473 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27474 libc_nonshared.a.
27475 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27476 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27477 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27478 $(link-libc-deps).
27479 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27480 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27481 * login/Makefile ($(objpfx)libutil.so): Likewise.
27482 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27483 * math/Makefile ($(objpfx)libm.so): Likewise.
27484 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27485 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27486 variable instead of depending directly on libc.
27487 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27488 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27489 $(link-libc-deps).
27490 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27491 libc.
27492 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27493 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27494 ($(objpfx)libanl.so): Likewise.
27495 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27496 ld.so.
27497 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27498 $(link-libc-deps).
27499 * sysdeps/i386/fpu/Makefile: Remove file.
27500 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27501 ($(objpfx)libm.so): Remove dependency on ld.so.
27502
eca5920c
PF
275032013-05-30 Patsy Franklin <pfrankli@redhat.com>
27504
27505 [BZ # 15553]
27506 * nis/yp_xdr.c (XDRMAXNAME): Define.
27507 (XDRMAXRECORD): Define.
27508 (xdr_domainname): Use XDRMAXNAME.
27509 (xdr_mapname): Likewise.
27510 (xdr_peername): Likewise.
27511 (xdr_keydat): Use XDRMAXRECORD.
27512 (xdr_valdat): Likewise.
27513
275142013-05-30 Jeff Law <law@redhat.com>
96945714
JL
27515
27516 [BZ #14256]
27517 * manual/errno.texi (ESTALE): Update to account for more than
27518 just NFS file systems.
27519 * sysdeps/gnu/errlist.c: Regenerated.
27520
b9375348
SP
275212013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27522
27523 [BZ #15465]
27524 * elf/Makefile (tests): Add tst-null-argv.
27525 (modules-names): Add tst-null-argv-lib.
27526 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27527 (tst-null-argv-ENV): Set environment for tst-null-argv.
27528 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27529 (RTLD_PROGNAME): New macro.
27530 * elf/tst-null-argv.c: New test case.
27531 * elf/tst-null-argv-lib.c: Library for test case.
27532 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27533 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27534 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27535 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27536 * elf/dl-init.c (call_init): Likewise.
27537 (_dl_init): Likewise.
27538 * elf/dl-load.c (print_search_path): Likewise.
27539 (_dl_map_object): Likewise.
27540 * elf/dl-lookup.c (do_lookup_x): Likewise.
27541 (add_dependency): Likewise.
27542 (_dl_lookup_symbol_x): Likewise.
27543 (_dl_debug_bindings): Likewise.
27544 * elf/dl-open.c (_dl_show_scope): Likewise.
27545 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27546 * elf/dl-version.c (match_symbol): Likewise.
27547 (_dl_check_map_versions): Likewise.
27548 * elf/rtld.c (dl_main): Likewise.
27549 (print_unresolved): Use RTLD_PROGNAME.
27550 (print_missing_version): Likewise.
27551 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27552 (elf_machine_rela): Likewise.
27553 * sysdeps/powerpc/powerpc32/dl-machine.c
27554 (__process_machine_rela): Likewise.
27555 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27556 Likewise.
27557 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27558 Likewise.
27559 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27560 Likewise.
27561 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27562 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27563 Likewise.
27564 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27565 Likewise.
27566 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27567
8a9f20c8
CD
275682013-05-28 Carlos O'Donell <carlos@redhat.com>
27569
27570 * po/be.po: Add descriptive title.
27571 * po/zh_CN.po: Likewise.
27572 * po/header.pot: Likewise.
27573
0e60d68e
MF
275742013-05-28 Mike Frysinger <vapier@gentoo.org>
27575
27576 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27577 error message.
27578 (enlarge_archive): Likewise.
27579
56b672e9
BN
275802013-05-28 Ben North <ben@redfrontdoor.org>
27581
27582 * manual/arith.texi (frexp): It is the magnitude of the return
27583 value which lies in [0.5, 1), not the return value itself.
27584
5e056687
AZ
275852013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27586
27587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27588
2b66ef5d
TS
275892013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27590
528c2405
TS
27591 * stdio-common/bug26.c (main): Correct fscanf template.
27592
07b4c13d
TS
27593 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27594 declare _dl_skip_args.
27595
ec9dd97c
TS
27596 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27597 Don't declare.
27598
2b66ef5d
TS
27599 * manual/platform.texi: Add missing @end deftypefun.
27600
4f8dfe27
JM
276012013-05-24 Joseph Myers <joseph@codesourcery.com>
27602
0323d086
JM
27603 [BZ #15529]
27604 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27605 bit of mantissa of 2^16382.
27606 * math/libm-test.inc (hypot_test_data): Add more tests.
27607
dd4259b9
JM
27608 * math/libm-test.inc: Add drem and pow10 to list of tested
27609 functions.
27610 (pow10_test): New function.
27611 (drem_test): Likewise.
27612 (drem_test_tonearest): Likewise.
27613 (drem_test_towardzero): Likewise.
27614 (drem_test_downward): Likewise.
27615 (drem_test_upward): Likewise.
27616 (main): Call the new functions.
27617
4f8dfe27
JM
27618 * math/libm-test.inc (finite_test_data): Remove.
27619 (finite_test): Run tests from isfinite_test_data.
27620 (gamma_test_data): Remove.
27621 (gamma_test): Run tests from lgamma_test_data.
27622 * sysdeps/i386/fpu/libm-test-ulps: Update.
27623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27624
d116b7c4
AZ
276252013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27626
27627 * manual/platform.texi: Add PowerPC PPR function set documentation.
27628 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27629 implementation.
27630
e96e3767
CD
276312013-05-24 Carlos O'Donell <carlos@redhat.com>
27632
27633 * math/libm-test.inc (MAX_EXP): Define.
27634 (ULPDIFF): Define.
27635 (ulp): New function.
27636 (check_float_internal): Use ULPDIFF.
27637 (cpow_test): Disable failing test.
27638 (check_ulp): Test ulp() implemetnation.
27639 (main): Call check_ulp before starting tests.
27640
b679a606
JM
276412013-05-24 Joseph Myers <joseph@codesourcery.com>
27642
e8bdba36
JM
27643 * math/gen-libm-test.pl (generate_testfile): Do not handle
27644 START_DATA and END_DATA.
27645 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27646 END_DATA.
27647 (acos_tonearest_test_data): Likewise.
27648 (acos_towardzero_test_data): Likewise.
27649 (acos_downward_test_data): Likewise.
27650 (acos_upward_test_data): Likewise.
27651 (acosh_test_data): Likewise.
27652 (asin_test_data): Likewise.
27653 (asin_tonearest_test_data): Likewise.
27654 (asin_towardzero_test_data): Likewise.
27655 (asin_downward_test_data): Likewise.
27656 (asin_upward_test_data): Likewise.
27657 (asinh_test_data): Likewise.
27658 (atan_test_data): Likewise.
27659 (atanh_test_data): Likewise.
27660 (atan2_test_data): Likewise.
27661 (cabs_test_data): Likewise.
27662 (cacos_test_data): Likewise.
27663 (cacosh_test_data): Likewise.
27664 (carg_test_data): Likewise.
27665 (casin_test_data): Likewise.
27666 (casinh_test_data): Likewise.
27667 (catan_test_data): Likewise.
27668 (catanh_test_data): Likewise.
27669 (cbrt_test_data): Likewise.
27670 (ccos_test_data): Likewise.
27671 (ccosh_test_data): Likewise.
27672 (ceil_test_data): Likewise.
27673 (cexp_test_data): Likewise.
27674 (cimag_test_data): Likewise.
27675 (clog_test_data): Likewise.
27676 (clog10_test_data): Likewise.
27677 (conj_test_data): Likewise.
27678 (copysign_test_data): Likewise.
27679 (cos_test_data): Likewise.
27680 (cos_tonearest_test_data): Likewise.
27681 (cos_towardzero_test_data): Likewise.
27682 (cos_downward_test_data): Likewise.
27683 (cos_upward_test_data): Likewise.
27684 (cosh_test_data): Likewise.
27685 (cosh_tonearest_test_data): Likewise.
27686 (cosh_towardzero_test_data): Likewise.
27687 (cosh_downward_test_data): Likewise.
27688 (cosh_upward_test_data): Likewise.
27689 (cpow_test_data): Likewise.
27690 (cproj_test_data): Likewise.
27691 (creal_test_data): Likewise.
27692 (csin_test_data): Likewise.
27693 (csinh_test_data): Likewise.
27694 (csqrt_test_data): Likewise.
27695 (ctan_test_data): Likewise.
27696 (ctan_tonearest_test_data): Likewise.
27697 (ctan_towardzero_test_data): Likewise.
27698 (ctan_downward_test_data): Likewise.
27699 (ctan_upward_test_data): Likewise.
27700 (ctanh_test_data): Likewise.
27701 (ctanh_tonearest_test_data): Likewise.
27702 (ctanh_towardzero_test_data): Likewise.
27703 (ctanh_downward_test_data): Likewise.
27704 (ctanh_upward_test_data): Likewise.
27705 (erf_test_data): Likewise.
27706 (erfc_test_data): Likewise.
27707 (exp_test_data): Likewise.
27708 (exp_tonearest_test_data): Likewise.
27709 (exp_towardzero_test_data): Likewise.
27710 (exp_downward_test_data): Likewise.
27711 (exp_upward_test_data): Likewise.
27712 (exp10_test_data): Likewise.
27713 (exp2_test_data): Likewise.
27714 (expm1_test_data): Likewise.
27715 (fabs_test_data): Likewise.
27716 (fdim_test_data): Likewise.
27717 (finite_test_data): Likewise.
27718 (floor_test_data): Likewise.
27719 (fma_test_data): Likewise.
27720 (fma_towardzero_test_data): Likewise.
27721 (fma_downward_test_data): Likewise.
27722 (fma_upward_test_data): Likewise.
27723 (fmax_test_data): Likewise.
27724 (fmin_test_data): Likewise.
27725 (fmod_test_data): Likewise.
27726 (fpclassify_test_data): Likewise.
27727 (frexp_test_data): Likewise.
27728 (gamma_test_data): Likewise.
27729 (hypot_test_data): Likewise.
27730 (ilogb_test_data): Likewise.
27731 (isfinite_test_data): Likewise.
27732 (isgreater_test_data): Likewise.
27733 (isgreaterequal_test_data): Likewise.
27734 (isinf_test_data): Likewise.
27735 (isless_test_data): Likewise.
27736 (islessequal_test_data): Likewise.
27737 (islessgreater_test_data): Likewise.
27738 (isnan_test_data): Likewise.
27739 (isnormal_test_data): Likewise.
27740 (issignaling_test_data): Likewise.
27741 (isunordered_test_data): Likewise.
27742 (j0_test_data): Likewise.
27743 (j1_test_data): Likewise.
27744 (jn_test_data): Likewise.
27745 (ldexp_test_data): Likewise.
27746 (lgamma_test_data): Likewise.
27747 (lrint_test_data): Likewise.
27748 (lrint_tonearest_test_data): Likewise.
27749 (lrint_towardzero_test_data): Likewise.
27750 (lrint_downward_test_data): Likewise.
27751 (lrint_upward_test_data): Likewise.
27752 (llrint_test_data): Likewise.
27753 (llrint_tonearest_test_data): Likewise.
27754 (llrint_towardzero_test_data): Likewise.
27755 (llrint_downward_test_data): Likewise.
27756 (llrint_upward_test_data): Likewise.
27757 (log_test_data): Likewise.
27758 (log10_test_data): Likewise.
27759 (log1p_test_data): Likewise.
27760 (log2_test_data): Likewise.
27761 (logb_test_data): Likewise.
27762 (logb_downward_test_data): Likewise.
27763 (lround_test_data): Likewise.
27764 (llround_test_data): Likewise.
27765 (modf_test_data): Likewise.
27766 (nearbyint_test_data): Likewise.
27767 (nextafter_test_data): Likewise.
27768 (nexttoward_test_data): Likewise.
27769 (pow_test_data): Likewise.
27770 (pow_tonearest_test_data): Likewise.
27771 (pow_towardzero_test_data): Likewise.
27772 (pow_downward_test_data): Likewise.
27773 (pow_upward_test_data): Likewise.
27774 (remainder_test_data): Likewise.
27775 (remainder_tonearest_test_data): Likewise.
27776 (remainder_towardzero_test_data): Likewise.
27777 (remainder_downward_test_data): Likewise.
27778 (remainder_upward_test_data): Likewise.
27779 (remquo_test_data): Likewise.
27780 (rint_test_data): Likewise.
27781 (rint_tonearest_test_data): Likewise.
27782 (rint_towardzero_test_data): Likewise.
27783 (rint_downward_test_data): Likewise.
27784 (rint_upward_test_data): Likewise.
27785 (round_test_data): Likewise.
27786 (scalb_test_data): Likewise.
27787 (scalbn_test_data): Likewise.
27788 (scalbln_test_data): Likewise.
27789 (signbit_test_data): Likewise.
27790 (sin_test_data): Likewise.
27791 (sin_tonearest_test_data): Likewise.
27792 (sin_towardzero_test_data): Likewise.
27793 (sin_downward_test_data): Likewise.
27794 (sin_upward_test_data): Likewise.
27795 (sincos_test_data): Likewise.
27796 (sinh_test_data): Likewise.
27797 (sinh_tonearest_test_data): Likewise.
27798 (sinh_towardzero_test_data): Likewise.
27799 (sinh_downward_test_data): Likewise.
27800 (sinh_upward_test_data): Likewise.
27801 (sqrt_test_data): Likewise.
27802 (tan_test_data): Likewise.
27803 (tan_tonearest_test_data): Likewise.
27804 (tan_towardzero_test_data): Likewise.
27805 (tan_downward_test_data): Likewise.
27806 (tan_upward_test_data): Likewise.
27807 (tanh_test_data): Likewise.
27808 (tgamma_test_data): Likewise.
27809 (trunc_test_data): Likewise.
27810 (y0_test_data): Likewise.
27811 (y1_test_data): Likewise.
27812 (yn_test_data): Likewise.
27813 (significand_test_data): Likewise.
27814
b679a606
JM
27815 * math/gen-libm-test.pl (@functions): Remove variable.
27816 (generate_testfile): Don't handle START and END lines.
27817 * math/libm-test.inc (START): New macro.
27818 (END): Likewise.
27819 (END_COMPLEX): Likewise.
27820 (acos_test): Use END macro without arguments.
27821 (acos_test_tonearest): Likewise.
27822 (acos_test_towardzero): Likewise.
27823 (acos_test_downward): Likewise.
27824 (acos_test_upward): Likewise.
27825 (acosh_test): Likewise.
27826 (asin_test): Likewise.
27827 (asin_test_tonearest): Likewise.
27828 (asin_test_towardzero): Likewise.
27829 (asin_test_downward): Likewise.
27830 (asin_test_upward): Likewise.
27831 (asinh_test): Likewise.
27832 (atan_test): Likewise.
27833 (atanh_test): Likewise.
27834 (atan2_test): Likewise.
27835 (cabs_test): Likewise.
27836 (cacos_test): Use END_COMPLEX macro without arguments.
27837 (cacosh_test): Likewise.
27838 (carg_test): Use END macro without arguments.
27839 (casin_test): Use END_COMPLEX macro without arguments.
27840 (casinh_test): Likewise.
27841 (catan_test): Likewise.
27842 (catanh_test): Likewise.
27843 (cbrt_test): Use END macro without arguments.
27844 (ccos_test): Use END_COMPLEX macro without arguments.
27845 (ccosh_test): Likewise.
27846 (ceil_test): Use END macro without arguments.
27847 (cexp_test): Use END_COMPLEX macro without arguments.
27848 (cimag_test): Use END macro without arguments.
27849 (clog_test): Use END_COMPLEX macro without arguments.
27850 (clog10_test): Likewise.
27851 (conj_test): Likewise.
27852 (copysign_test): Use END macro without arguments.
27853 (cos_test): Likewise.
27854 (cos_test_tonearest): Likewise.
27855 (cos_test_towardzero): Likewise.
27856 (cos_test_downward): Likewise.
27857 (cos_test_upward): Likewise.
27858 (cosh_test): Likewise.
27859 (cosh_test_tonearest): Likewise.
27860 (cosh_test_towardzero): Likewise.
27861 (cosh_test_downward): Likewise.
27862 (cosh_test_upward): Likewise.
27863 (cpow_test): Use END_COMPLEX macro without arguments.
27864 (cproj_test): Likewise.
27865 (creal_test): Use END macro without arguments.
27866 (csin_test): Use END_COMPLEX macro without arguments.
27867 (csinh_test): Likewise.
27868 (csqrt_test): Likewise.
27869 (ctan_test): Likewise.
27870 (ctan_test_tonearest): Likewise.
27871 (ctan_test_towardzero): Likewise.
27872 (ctan_test_downward): Likewise.
27873 (ctan_test_upward): Likewise.
27874 (ctanh_test): Likewise.
27875 (ctanh_test_tonearest): Likewise.
27876 (ctanh_test_towardzero): Likewise.
27877 (ctanh_test_downward): Likewise.
27878 (ctanh_test_upward): Likewise.
27879 (erf_test): Use END macro without arguments.
27880 (erfc_test): Likewise.
27881 (exp_test): Likewise.
27882 (exp_test_tonearest): Likewise.
27883 (exp_test_towardzero): Likewise.
27884 (exp_test_downward): Likewise.
27885 (exp_test_upward): Likewise.
27886 (exp10_test): Likewise.
27887 (exp2_test): Likewise.
27888 (expm1_test): Likewise.
27889 (fabs_test): Likewise.
27890 (fdim_test): Likewise.
27891 (finite_test): Likewise.
27892 (floor_test): Likewise.
27893 (fma_test): Likewise.
27894 (fma_test_towardzero): Likewise.
27895 (fma_test_downward): Likewise.
27896 (fma_test_upward): Likewise.
27897 (fmax_test): Likewise.
27898 (fmin_test): Likewise.
27899 (fmod_test): Likewise.
27900 (fpclassify_test): Likewise.
27901 (frexp_test): Likewise.
27902 (gamma_test): Likewise.
27903 (hypot_test): Likewise.
27904 (ilogb_test): Likewise.
27905 (isfinite_test): Likewise.
27906 (isgreater_test): Likewise.
27907 (isgreaterequal_test): Likewise.
27908 (isinf_test): Likewise.
27909 (isless_test): Likewise.
27910 (islessequal_test): Likewise.
27911 (islessgreater_test): Likewise.
27912 (isnan_test): Likewise.
27913 (isnormal_test): Likewise.
27914 (issignaling_test): Likewise.
27915 (isunordered_test): Likewise.
27916 (j0_test): Likewise.
27917 (j1_test): Likewise.
27918 (jn_test): Likewise.
27919 (ldexp_test): Likewise.
27920 (lgamma_test): Likewise.
27921 (lrint_test): Likewise.
27922 (lrint_test_tonearest): Likewise.
27923 (lrint_test_towardzero): Likewise.
27924 (lrint_test_downward): Likewise.
27925 (lrint_test_upward): Likewise.
27926 (llrint_test): Likewise.
27927 (llrint_test_tonearest): Likewise.
27928 (llrint_test_towardzero): Likewise.
27929 (llrint_test_downward): Likewise.
27930 (llrint_test_upward): Likewise.
27931 (log_test): Likewise.
27932 (log10_test): Likewise.
27933 (log1p_test): Likewise.
27934 (log2_test): Likewise.
27935 (logb_test): Likewise.
27936 (logb_test_downward): Likewise.
27937 (lround_test): Likewise.
27938 (llround_test): Likewise.
27939 (modf_test): Likewise.
27940 (nearbyint_test): Likewise.
27941 (nextafter_test): Likewise.
27942 (nexttoward_test): Likewise.
27943 (pow_test): Likewise.
27944 (pow_test_tonearest): Likewise.
27945 (pow_test_towardzero): Likewise.
27946 (pow_test_downward): Likewise.
27947 (pow_test_upward): Likewise.
27948 (remainder_test): Likewise.
27949 (remainder_test_tonearest): Likewise.
27950 (remainder_test_towardzero): Likewise.
27951 (remainder_test_downward): Likewise.
27952 (remainder_test_upward): Likewise.
27953 (remquo_test): Likewise.
27954 (rint_test): Likewise.
27955 (rint_test_tonearest): Likewise.
27956 (rint_test_towardzero): Likewise.
27957 (rint_test_downward): Likewise.
27958 (rint_test_upward): Likewise.
27959 (round_test): Likewise.
27960 (scalb_test): Likewise.
27961 (scalbn_test): Likewise.
27962 (scalbln_test): Likewise.
27963 (signbit_test): Likewise.
27964 (sin_test): Likewise.
27965 (sin_test_tonearest): Likewise.
27966 (sin_test_towardzero): Likewise.
27967 (sin_test_downward): Likewise.
27968 (sin_test_upward): Likewise.
27969 (sincos_test): Likewise.
27970 (sinh_test): Likewise.
27971 (sinh_test_tonearest): Likewise.
27972 (sinh_test_towardzero): Likewise.
27973 (sinh_test_downward): Likewise.
27974 (sinh_test_upward): Likewise.
27975 (sqrt_test): Likewise.
27976 (tan_test): Likewise.
27977 (tan_test_tonearest): Likewise.
27978 (tan_test_towardzero): Likewise.
27979 (tan_test_downward): Likewise.
27980 (tan_test_upward): Likewise.
27981 (tanh_test): Likewise.
27982 (tgamma_test): Likewise.
27983 (trunc_test): Likewise.
27984 (y0_test): Likewise.
27985 (y1_test): Likewise.
27986 (yn_test): Likewise.
27987 (significand_test): Likewise.
27988
bae143d2
OB
279892013-05-24 Ondřej Bílka <neleai@seznam.cz>
27990
27991 [BZ #15381]
27992 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27993
9323d39b
EM
279942013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27995
d4ea44a0 27996 [BZ #14894]
9323d39b
EM
27997 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27998 __ppc_mdoio and __ppc_mdoom.
27999 * manual/platform.texi: Document new functions __ppc_yield,
28000 __ppc_mdoio and __ppc_mdoom.
28001
13e23af7
CD
280022013-05-22 Carlos O'Donell <carlos@redhat.com>
28003
28004 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28005 (main): Mention "tls" pseudo-hwcap is legacy.
28006 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28007
351fe550
JM
280082013-05-22 Joseph Myers <joseph@codesourcery.com>
28009
28010 * math/gen-libm-test.pl (parse_args): Output only string of
28011 arguments as text for test name, not full call or descriptions of
28012 tests for extra outputs.
28013 (generate_testfile): Do not pass function name to parse_args.
28014 Generate this_func variable from START.
28015 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28016 field to arg_str.
28017 (struct test_ff_f_data): Likewise.
28018 (test_ff_f_data_nexttoward): Likewise.
28019 (struct test_fi_f_data): Likewise.
28020 (struct test_fl_f_data): Likewise.
28021 (struct test_if_f_data): Likewise.
28022 (struct test_fff_f_data): Likewise.
28023 (struct test_c_f_data): Likewise.
28024 (struct test_f_f1_data): Likewise. Remove field extra_name.
28025 (struct test_fF_f1_data): Likewise.
28026 (struct test_ffI_f1_data): Likewise.
28027 (struct test_c_c_data): Rename test_name field to arg_str.
28028 (struct test_cc_c_data): Likewise.
28029 (struct test_f_i_data): Likewise.
28030 (struct test_ff_i_data): Likewise.
28031 (struct test_f_l_data): Likewise.
28032 (struct test_f_L_data): Likewise.
28033 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28034 and extra2_name.
28035 (COMMON_TEST_SETUP): New macro.
28036 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28037 (COMMON_TEST_CLEANUP): Likewise.
28038 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28039 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28040 macros.
28041 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28042 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28043 macros.
28044 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28045 (RUN_TEST_fff_f): Take argument string. Call new setup and
28046 cleanup macros.
28047 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28048 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28049 macros.
28050 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28051 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28052 macros.
28053 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28054 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28055 cleanup macros.
28056 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28057 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28058 cleanup macros.
28059 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28060 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28061 cleanup macros.
28062 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28063 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28064 macros.
28065 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28066 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28067 macros.
28068 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28069 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28070 macros.
28071 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28072 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28073 cleanup macros.
28074 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28075 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28076 cleanup macros.
28077 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28078 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28079 macros.
28080 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28081 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28082 cleanup macros.
28083 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28084 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28085 macros.
28086 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28087 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28088 macros.
28089 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28090 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28091 cleanup macros.
28092 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28093
85118d4d
EBM
280942013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28095
28096 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28097 to _sifields.sigfault.
28098 (si_addr_lsb): Define new macro.
28099 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28100 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28101 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28102
7a44c18f
CD
281032013-05-03 Carlos O'Donell <carlos at redhat.com>
28104
28105 [BZ #15441]
28106 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28107 returns -1.
28108 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28109 null return -1.
28110 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28111 loading the domain.
28112
b50a7181
JM
281132013-05-22 Joseph Myers <joseph@codesourcery.com>
28114
28115 * math/gen-libm-test.pl (parse_args): Do not include expected
28116 result in test name.
28117 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28118 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28119 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28120 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28121 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28123
051063c8
SP
281242013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28125
3ce9e010
SP
28126 * benchtests/Makefile: Sort function entries.
28127
051063c8
SP
28128 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28129 tanh, asinh, acosh, atanh.
28130 * benchtests/acos-inputs: New file.
28131 * benchtests/acosh-inputs: New file.
28132 * benchtests/asin-inputs: New file.
28133 * benchtests/asinh-inputs: New file.
28134 * benchtests/atanh-inputs: New file.
28135 * benchtests/cosh-inputs: New file.
28136 * benchtests/log-inputs: New file.
28137 * benchtests/sinh-inputs: New file.
28138 * benchtests/tanh-inputs: New file.
28139
47c22455
DL
281402013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28141
28142 [BZ #15339]
28143 * posix/tst-getaddrinfo4.c: New test.
28144 * posix/Makefile (tests): Add it.
28145
3d04f5db
SP
281462013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28147
28148 [BZ #15339]
28149 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28150 when no services were used.
28151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28152 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28153
d5dd6189
AS
281542013-05-21 Andreas Schwab <schwab@suse.de>
28155
28156 [BZ #15014]
28157 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28158 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28159 successful.
28160 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28161 redundant variable declarations and reallocation of buffer when
28162 parsing as IPv6 address. Always set NSS status when called from
28163 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28164 buffer too small. Correct computation of needed size.
28165 * nss/Makefile (tests): Add test-digits-dots.
28166 * nss/test-digits-dots.c: New test.
28167
fef94eab
SP
281682013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28169
28170 * benchtests/Makefile: Remove instructions for adding
28171 benchmark tests.
28172 * benchtests/README: New file to explain how to execute and
28173 enhance the benchmark tests.
28174
e39adf43
AS
281752013-05-21 Andreas Schwab <schwab@suse.de>
28176
28177 [BZ #15493]
28178 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28179 * setjmp/tst-sigsetjmp.c: New test.
28180
b2b671b6
OB
281812013-05-20 Ondřej Bílka <neleai@seznam.cz>
28182
28183 * sysdeps/x86_64/memset.S (memset): New implementation.
28184 (__bzero): Likewise.
28185 (__memset_tail): New function.
28186
2d48b41c
OB
281872013-05-20 Ondřej Bílka <neleai@seznam.cz>
28188
28189 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28190 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28191 __memcpy_sse2_unaligned ifunc selection.
28192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28193 Add memcpy-sse2-unaligned.S.
28194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28195 Add: __memcpy_sse2_unaligned.
28196
f16cc3eb
JM
281972013-05-19 Joseph Myers <joseph@codesourcery.com>
28198
3e694268
JM
28199 [BZ #15490]
28200 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28201 math_force_eval before restoring floating-point envrionment.
28202 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28203 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28204 Likewise.
28205 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28206 <math_private.h>.
28207 (__nearbyintl): Use math_force_eval before restoring
28208 floating-point environment.
28209 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28210
db62a907
JM
28211 * math/gen-libm-test.pl (special_functions): Remove.
28212 (parse_args): Don't handle TEST_extra. Handle functions with no
28213 return value.
28214 * math/libm-test.inc (struct test_sincos_data): Replace with
28215 struct test_fFF_11_data.
28216 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28217 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28218 (sincos_test_data): Change element type to struct
28219 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28220 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28221 RUN_TEST_LOOP_sincos.
28222 * math/README.libm-test: Don't mention special handling of
28223 individual functions.
28224 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28225 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28226 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28227 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28228 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28230
f16cc3eb
JM
28231 * math/gen-libm-test.pl (get_variable): Remove function.
28232 (parse_args): Don't show pointer parameters to call in test
28233 names. Use "extra output N" in test names for extra outputs
28234 rather than naming variables.
28235
3779b5b6
JM
282362013-05-18 Joseph Myers <joseph@codesourcery.com>
28237
2ee094ff
JM
28238 [BZ #15488]
28239 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28240 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28241 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28242 double tests.
28243 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28244 disable.
28245 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28246 check_long_double.
28247
3779b5b6
JM
28248 * math/gen-libm-test.pl (@tests): Remove variable.
28249 ($count): Likewise.
28250 (new_test): Remove function.
28251 (show_exceptions): New function.
28252 (special_functions): Use show_exceptions instead of new_test.
28253 (parse_args): Likewise.
28254 (generate_testfile): Pass only function name in generated call to
28255 print_max_error or print_complex_max_error.
28256 (get_ulps): Do not handle complex tests specially.
28257 (output_test): Rename to ...
28258 (get_all_ulps_for_test): ... this. Return a string rather than
28259 printing to a file. Require ulps to be present.
28260 (output_ulps): Generate arrays rather than #defines.
28261 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28262 (struct ulp_data): New type.
28263 (BUILD_COMPLEX_ULP): Remove macro.
28264 (compare_ulp_data): New function.
28265 (find_ulps): Likewise.
28266 (find_test_ulps): Likewise.
28267 (find_function_ulps): Likewise.
28268 (find_complex_function_ulps): Likewise.
28269 (print_max_error): Determine allowed ulps using
28270 find_function_ulps.
28271 (print_complex_max_error): Determine allowed ulps using
28272 find_complex_function_ulps.
28273 (check_float_internal): Determine max ulps using find_test_ulps.
28274 (check_float): Do not take max_ulp parameter. Update call to
28275 check_float_internal.
28276 (check_complex): Likewise.
28277 (check_int): Do not take max_ulp parameter.
28278 (check_long): Likewise.
28279 (check_bool): Likewise.
28280 (check_longlong): Likewise.
28281 (struct test_f_f_data): Remove max_ulp field.
28282 (struct test_ff_f_data): Likewise.
28283 (struct test_ff_f_data_nexttoward): Likewise.
28284 (struct test_fi_f_data): Likewise.
28285 (struct test_fl_f_data): Likewise.
28286 (struct test_if_f_data): Likewise.
28287 (struct test_fff_f_data): Likewise.
28288 (struct test_c_f_data): Likewise.
28289 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28290 (struct test_fF_f1_data): Likewise.
28291 (struct test_ffI_f1_data): Likewise.
28292 (struct test_c_c_data): Remove max_ulp field.
28293 (struct test_cc_c_data): Likewise.
28294 (struct test_f_i_data): Likewise.
28295 (struct test_ff_i_data): Likewise.
28296 (struct test_f_l_data): Likewise.
28297 (struct test_f_L_data): Likewise.
28298 (struct test_sincos_data): Likewise.
28299 (RUN_TEST_f_f): Do not handle ulps.
28300 (RUN_TEST_LOOP_f_f): Likewise.
28301 (RUN_TEST_2_f): Likewise.
28302 (RUN_TEST_LOOP_2_f): Likewise.
28303 (RUN_TEST_fff_f): Likewise.
28304 (RUN_TEST_LOOP_fff_f): Likewise.
28305 (RUN_TEST_c_f): Likewise.
28306 (RUN_TEST_LOOP_c_f): Likewise.
28307 (RUN_TEST_f_f1): Likewise.
28308 (RUN_TEST_LOOP_f_f1): Likewise.
28309 (RUN_TEST_fF_f1): Likewise.
28310 (RUN_TEST_LOOP_fF_f1): Likewise.
28311 (RUN_TEST_fI_f1): Likewise.
28312 (RUN_TEST_LOOP_fI_f1): Likewise.
28313 (RUN_TEST_ffI_f1): Likewise.
28314 (RUN_TEST_LOOP_ffI_f1): Likewise.
28315 (RUN_TEST_c_c): Likewise.
28316 (RUN_TEST_LOOP_c_c): Likewise.
28317 (RUN_TEST_cc_c): Likewise.
28318 (RUN_TEST_LOOP_cc_c): Likewise.
28319 (RUN_TEST_f_i): Likewise.
28320 (RUN_TEST_LOOP_f_i): Likewise.
28321 (RUN_TEST_f_i_tg): Likewise.
28322 (RUN_TEST_LOOP_f_i_tg): Likewise.
28323 (RUN_TEST_ff_i_tg): Likewise.
28324 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28325 (RUN_TEST_f_b): Likewise.
28326 (RUN_TEST_LOOP_f_b): Likewise.
28327 (RUN_TEST_f_b_tg): Likewise.
28328 (RUN_TEST_LOOP_f_b_tg): Likewise.
28329 (RUN_TEST_f_l): Likewise.
28330 (RUN_TEST_LOOP_f_l): Likewise.
28331 (RUN_TEST_f_L): Likewise.
28332 (RUN_TEST_LOOP_f_L): Likewise.
28333 (RUN_TEST_sincos): Likewise.
28334 (RUN_TEST_LOOP_sincos): Likewise.
28335
8269107f
JM
283362013-05-17 Joseph Myers <joseph@codesourcery.com>
28337
bb38759d
JM
28338 [BZ #15480]
28339 [BZ #15485]
28340 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28341 main case of finite arguments, set rounding mode to FE_TONEAREST
28342 and discard exceptions.
28343 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28344 exceptions.
28345 (remainder_tonearest_test_data): New variable.
28346 (remainder_test_tonearest): New function.
28347 (remainder_towardzero_test_data): New variable.
28348 (remainder_test_towardzero): New function.
28349 (remainder_downward_test_data): New variable.
28350 (remainder_test_downward): New function.
28351 (remainder_upward_test_data): New variable.
28352 (remainder_test_upward): New function.
28353 (main): Call the new test functions.
28354
a00bdcf0
JM
28355 * math/libm-test.inc (struct test_f_f1_data): Remove field
28356 extra_init.
28357 (struct test_fF_f1_data): Likewise.
28358 (struct test_ffI_f1_data): Likewise.
28359 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28360 based on value of EXTRA_EXPECTED.
28361 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28362 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28363 EXTRA_VAR based on value of EXTRA_EXPECTED.
28364 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28365 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28366 EXTRA_VAR based on value of EXTRA_EXPECTED.
28367 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28368 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28369 EXTRA_VAR based on value of EXTRA_EXPECTED.
28370 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28371 * math/gen-libm-test.pl (parse_args): Don't output initializers
28372 for extra output values.
28373
de407f79
JM
28374 * math/libm-test.inc (check_int): Expect result to be exactly
28375 equal to expected value and do not handle ulps.
28376 (check_long): Likewise.
28377 (check_longlong): Likewise.
28378
8269107f
JM
28379 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28380 exceptions.
28381 (cimag_test_data): Likewise.
28382 (conj_test_data): Likewise.
28383 (copysign_test_data): Likewise.
28384 (cproj_test_data): Likewise.
28385 (creal_test_data): Likewise.
28386 (fabs_test_data): Likewise.
28387 (fdim_test_data): Likewise.
28388 (finite_test_data): Likewise.
28389 (floor_test_data): Likewise.
28390 (fmax_test_data): Likewise.
28391 (fmin_test_data): Likewise.
28392 (fmod_test_data): Likewise.
28393 (fpclassify_test_data): Likewise.
28394 (frexp_test_data): Likewise.
28395 (ilogb_test_data): Likewise.
28396 (isfinite_test_data): Likewise.
28397 (isgreater_test_data): Likewise.
28398 (isgreaterequal_test_data): Likewise.
28399 (isinf_test_data): Likewise.
28400 (isless_test_data): Likewise.
28401 (islessequal_test_data): Likewise.
28402 (islessgreater_test_data): Likewise.
28403 (isnan_test_data): Likewise.
28404 (isnormal_test_data): Likewise.
28405 (issignaling_test_data): Likewise.
28406 (isunordered_test_data): Likewise.
28407 (ldexp_test_data): Likewise.
28408 (lrint_test_data): Likewise.
28409 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28410 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28411 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28412 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28413 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28414 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28415 test input.
28416 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28417 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28418 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28419 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28420 that test input.
28421 (lrint_downward_test_data): Test for "inexact" exceptions.
28422 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28423 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28424 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28425 test input.
28426 (lrint_upward_test_data): Test for "inexact" exceptions.
28427 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28428 test input.
28429 (llrint_test_data): Test for "inexact" exceptions.
28430 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28431 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28432 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28433 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28434 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28435 (llrint_downward_test_data): Test for "inexact" exceptions.
28436 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28437 (llrint_upward_test_data): Test for "inexact" exceptions.
28438 (logb_test_data): Likewise.
28439 (logb_downward_test_data): Likewise.
28440 (nextafter_test_data): Likewise.
28441 (nexttoward_test_data): Likewise.
28442 (remainder_test_data): Likewise.
28443 (remquo_test_data): Likewise.
28444 (scalbn_test_data): Likewise.
28445 (scalbln_test_data): Likewise.
28446 (signbit_test_data): Likewise.
28447 (sqrt_test_data): Likewise.
28448 (significand_test_data): Likewise.
28449
48a18de1
SP
284502013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28451
28452 [BZ #15424]
28453 * benchtests/bench-modf.c (struct args): Mark arg0 as
28454 volatile.
28455 * scripts/bench.pl: Mark members of struct args as volatile.
28456
13d3b41a
AZ
284572013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28458
68191c1d 28459 [BZ # 15497]
13d3b41a
AZ
28460 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28461 negative infinity on POWER6 or lower.
28462 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28463
2848b105
MR
284642013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28465
28466 [BZ #15442]
28467 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28468 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28469 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28470 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28471 (_FP_SETQNAN): New macro.
28472 (_FP_SETQNAN_SEMIRAW): Likewise.
28473 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28474 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28475 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28476 (FP_EXTEND): Use _FP_FRAC_SNANP.
28477 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28478 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28479 into account.
28480 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28481 New macro.
28482 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28483 Likewise.
28484
323e5cb7
JM
284852013-05-16 Joseph Myers <joseph@codesourcery.com>
28486
c58b274f
JM
28487 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28488 with DIVIDE_BY_ZERO_EXCEPTION.
28489 (gamma_test_data): Likewise.
28490 (lgamma_test_data): Likewise.
28491 (log_test_data): Likewise.
28492 (log10_test_data): Likewise.
28493 (log2_test_data): Likewise.
28494 (tgamma_test_data): Likewise.
28495
0ab34904
JM
28496 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28497 (acos_test_tonearest): Likewise.
28498 (acos_test_towardzero): Likewise.
28499 (acos_test_downward): Likewise.
28500 (acos_test_upward): Likewise.
28501 (acosh_test): Likewise.
28502 (asin_test): Likewise.
28503 (asin_test_tonearest): Likewise.
28504 (asin_test_towardzero): Likewise.
28505 (asin_test_downward): Likewise.
28506 (asin_test_upward): Likewise.
28507 (asinh_test): Likewise.
28508 (atan_test): Likewise.
28509 (atanh_test): Likewise.
28510 (atan2_test): Likewise.
28511 (cabs_test): Likewise.
28512 (cacos_test): Likewise.
28513 (cacosh_test): Likewise.
28514 (casin_test): Likewise.
28515 (casinh_test): Likewise.
28516 (catan_test): Likewise.
28517 (catanh_test): Likewise.
28518 (cbrt_test): Likewise.
28519 (ccos_test): Likewise.
28520 (ccosh_test): Likewise.
28521 (cexp_test): Likewise.
28522 (clog_test): Likewise.
28523 (clog10_test): Likewise.
28524 (cos_test): Likewise.
28525 (cos_test_tonearest): Likewise.
28526 (cos_test_towardzero): Likewise.
28527 (cos_test_downward): Likewise.
28528 (cos_test_upward): Likewise.
28529 (cosh_test): Likewise.
28530 (cosh_test_tonearest): Likewise.
28531 (cosh_test_towardzero): Likewise.
28532 (cosh_test_downward): Likewise.
28533 (cosh_test_upward): Likewise.
28534 (cpow_test): Likewise.
28535 (csin_test): Likewise.
28536 (csinh_test): Likewise.
28537 (csqrt_test): Likewise.
28538 (ctan_test): Likewise.
28539 (ctan_test_tonearest): Likewise.
28540 (ctan_test_towardzero): Likewise.
28541 (ctan_test_downward): Likewise.
28542 (ctan_test_upward): Likewise.
28543 (ctanh_test): Likewise.
28544 (ctanh_test_tonearest): Likewise.
28545 (ctanh_test_towardzero): Likewise.
28546 (ctanh_test_downward): Likewise.
28547 (ctanh_test_upward): Likewise.
28548 (erf_test): Likewise.
28549 (erfc_test): Likewise.
28550 (exp_test): Likewise.
28551 (exp_test_tonearest): Likewise.
28552 (exp_test_towardzero): Likewise.
28553 (exp_test_downward): Likewise.
28554 (exp_test_upward): Likewise.
28555 (exp10_test): Likewise.
28556 (exp2_test): Likewise.
28557 (expm1_test): Likewise.
28558 (fmod_test): Likewise.
28559 (gamma_test): Likewise.
28560 (hypot_test): Likewise.
28561 (j0_test): Likewise.
28562 (j1_test): Likewise.
28563 (jn_test): Likewise.
28564 (lgamma_test): Likewise.
28565 (log_test): Likewise.
28566 (log10_test): Likewise.
28567 (log1p_test): Likewise.
28568 (log2_test): Likewise.
28569 (logb_test_downward): Likewise.
28570 (pow_test): Likewise.
28571 (pow_test_tonearest): Likewise.
28572 (pow_test_towardzero): Likewise.
28573 (pow_test_downward): Likewise.
28574 (pow_test_upward): Likewise.
28575 (remainder_test): Likewise.
28576 (remquo_test): Likewise.
28577 (sin_test): Likewise.
28578 (sin_test_tonearest): Likewise.
28579 (sin_test_towardzero): Likewise.
28580 (sin_test_downward): Likewise.
28581 (sin_test_upward): Likewise.
28582 (sincos_test): Likewise.
28583 (sinh_test): Likewise.
28584 (sinh_test_tonearest): Likewise.
28585 (sinh_test_towardzero): Likewise.
28586 (sinh_test_downward): Likewise.
28587 (sinh_test_upward): Likewise.
28588 (sqrt_test): Likewise.
28589 (tan_test): Likewise.
28590 (tan_test_tonearest): Likewise.
28591 (tan_test_towardzero): Likewise.
28592 (tan_test_downward): Likewise.
28593 (tan_test_upward): Likewise.
28594 (tanh_test): Likewise.
28595 (tgamma_test): Likewise.
28596 (y0_test): Likewise.
28597 (y1_test): Likewise.
28598 (yn_test): Likewise.
28599
323e5cb7
JM
28600 * math/gen-libm-test.pl (adjust_arg): Remove function.
28601 (special_function): Remove argument $in_func. Only handle
28602 generating output for tables of tests, not inside functions.
28603 (parse_args): Likewise.
28604 (generate_testfile): Remove variable $in_func. Update call to
28605 parse_args.
28606 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28607 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28608 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28609 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28610 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28611 (MAX_VALUE_INIT): Rename macro to max_value.
28612 (MIN_VALUE_INIT): Rename macro to min_value.
28613 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28614 (plus_zero): Remove variable.
28615 (minus_zero): Likewise.
28616 (plus_infty): Likewise.
28617 (minus_infty): Likewise.
28618 (qnan_value): Likewise.
28619 (max_value): Likewise.
28620 (min_value): Likewise.
28621 (min_subnorm_value): Likewise.
28622
e054f494
RA
286232013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28624
28625 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28626 uint64_t or uint32_t usage.
28627 * crypt/sha256-block.c: Likewise.
28628 * crypt/sha256-crypt.c: Likewise.
28629 * crypt/sha256.c: Likewise.
28630 * crypt/sha512-block.c: Likewise.
28631 * crypt/sha512-crypt.c: Likewise.
28632 * crypt/sha512.c: Likewise.
28633 * debug/backtrace-tst.c: Likewise.
28634 * debug/pcprofiledump.c: Likewise.
28635 * elf/cache.c: Likewise.
28636 * elf/dl-cache.c: Likewise.
28637 * elf/dl-misc.c: Likewise.
28638 * elf/dl-profile.c: Likewise.
28639 * elf/dl-support.c: Likewise.
28640 * elf/ldconfig.c: Likewise.
28641 * elf/sprof.c: Likewise.
28642 * iconv/dummy-repertoire.c: Likewise.
28643 * iconv/iconv_charmap.c: Likewise.
28644 * iconv/skeleton.c: Likewise.
28645 * iconvdata/8bit-generic.c: Likewise.
28646 * iconvdata/cp737.h: Likewise.
28647 * iconvdata/cp775.h: Likewise.
28648 * iconvdata/ibm1008.h: Likewise.
28649 * iconvdata/ibm1025.h: Likewise.
28650 * iconvdata/ibm1046.h: Likewise.
28651 * iconvdata/ibm1097.h: Likewise.
28652 * iconvdata/ibm1112.h: Likewise.
28653 * iconvdata/ibm1122.h: Likewise.
28654 * iconvdata/ibm1123.h: Likewise.
28655 * iconvdata/ibm1124.h: Likewise.
28656 * iconvdata/ibm1129.h: Likewise.
28657 * iconvdata/ibm1130.h: Likewise.
28658 * iconvdata/ibm1132.h: Likewise.
28659 * iconvdata/ibm1133.h: Likewise.
28660 * iconvdata/ibm1137.h: Likewise.
28661 * iconvdata/ibm1140.h: Likewise.
28662 * iconvdata/ibm1141.h: Likewise.
28663 * iconvdata/ibm1142.h: Likewise.
28664 * iconvdata/ibm1143.h: Likewise.
28665 * iconvdata/ibm1144.h: Likewise.
28666 * iconvdata/ibm1145.h: Likewise.
28667 * iconvdata/ibm1146.h: Likewise.
28668 * iconvdata/ibm1147.h: Likewise.
28669 * iconvdata/ibm1148.h: Likewise.
28670 * iconvdata/ibm1149.h: Likewise.
28671 * iconvdata/ibm1153.h: Likewise.
28672 * iconvdata/ibm1154.h: Likewise.
28673 * iconvdata/ibm1155.h: Likewise.
28674 * iconvdata/ibm1156.h: Likewise.
28675 * iconvdata/ibm1157.h: Likewise.
28676 * iconvdata/ibm1158.h: Likewise.
28677 * iconvdata/ibm1160.h: Likewise.
28678 * iconvdata/ibm1161.h: Likewise.
28679 * iconvdata/ibm1162.h: Likewise.
28680 * iconvdata/ibm1163.h: Likewise.
28681 * iconvdata/ibm1164.h: Likewise.
28682 * iconvdata/ibm1166.h: Likewise.
28683 * iconvdata/ibm1167.h: Likewise.
28684 * iconvdata/ibm12712.h: Likewise.
28685 * iconvdata/ibm1390.h: Likewise.
28686 * iconvdata/ibm1399.h: Likewise.
28687 * iconvdata/ibm16804.h: Likewise.
28688 * iconvdata/ibm4517.h: Likewise.
28689 * iconvdata/ibm4899.h: Likewise.
28690 * iconvdata/ibm4909.h: Likewise.
28691 * iconvdata/ibm4971.h: Likewise.
28692 * iconvdata/ibm5347.h: Likewise.
28693 * iconvdata/ibm803.h: Likewise.
28694 * iconvdata/ibm856.h: Likewise.
28695 * iconvdata/ibm901.h: Likewise.
28696 * iconvdata/ibm902.h: Likewise.
28697 * iconvdata/ibm9030.h: Likewise.
28698 * iconvdata/ibm9066.h: Likewise.
28699 * iconvdata/ibm921.h: Likewise.
28700 * iconvdata/ibm922.h: Likewise.
28701 * iconvdata/ibm9448.h: Likewise.
28702 * iconvdata/isiri-3342.h: Likewise.
28703 * iconvdata/jis0201.h: Likewise.
28704 * include/link.h: Likewise.
28705 * include/netdb.h: Likewise.
28706 * inet/check_native.c: Likewise.
28707 * inet/check_pf.c: Likewise.
28708 * inet/getipv4sourcefilter.c: Likewise.
28709 * inet/getnameinfo.c: Likewise.
28710 * inet/getsourcefilter.c: Likewise.
28711 * inet/htonl.c: Likewise.
28712 * inet/setipv4sourcefilter.c: Likewise.
28713 * inet/setsourcefilter.c: Likewise.
28714 * inet/test-inet6_opt.c: Likewise.
28715 * inet/tst-network.c: Likewise.
28716 * locale/C-collate.c: Likewise.
28717 * locale/C-ctype.c: Likewise.
28718 * locale/C-time.c: Likewise.
28719 * locale/C-translit.h: Likewise.
28720 * locale/loadarchive.c: Likewise.
28721 * locale/programs/3level.h: Likewise.
28722 * locale/programs/charmap.c: Likewise.
28723 * locale/programs/charmap.h: Likewise.
28724 * locale/programs/ld-address.c: Likewise.
28725 * locale/programs/ld-collate.c: Likewise.
28726 * locale/programs/ld-ctype.c: Likewise.
28727 * locale/programs/ld-identification.c: Likewise.
28728 * locale/programs/ld-measurement.c: Likewise.
28729 * locale/programs/ld-messages.c: Likewise.
28730 * locale/programs/ld-monetary.c: Likewise.
28731 * locale/programs/ld-name.c: Likewise.
28732 * locale/programs/ld-numeric.c: Likewise.
28733 * locale/programs/ld-paper.c: Likewise.
28734 * locale/programs/ld-telephone.c: Likewise.
28735 * locale/programs/ld-time.c: Likewise.
28736 * locale/programs/linereader.c: Likewise.
28737 * locale/programs/locale.c: Likewise.
28738 * locale/programs/locarchive.c: Likewise.
28739 * locale/programs/locfile.h: Likewise.
28740 * locale/programs/repertoire.c: Likewise.
28741 * locale/programs/simple-hash.c: Likewise.
28742 * locale/programs/simple-hash.h: Likewise.
28743 * malloc/memusage.c: Likewise.
28744 * malloc/memusagestat.c: Likewise.
28745 * nis/nis_defaults.c: Likewise.
28746 * nis/nis_hash.c: Likewise.
28747 * nis/nis_print.c: Likewise.
28748 * nis/nis_xdr.c: Likewise.
28749 * nscd/connections.c: Likewise.
28750 * nscd/hstcache.c: Likewise.
28751 * nscd/nscd_gethst_r.c: Likewise.
28752 * nscd/nscd_getserv_r.c: Likewise.
28753 * nscd/nscd_helper.c: Likewise.
28754 * nscd/servicescache.c: Likewise.
28755 * nss/makedb.c: Likewise.
28756 * nss/nss_db/db-XXX.c: Likewise.
28757 * nss/nss_db/db-initgroups.c: Likewise.
28758 * nss/nss_db/db-netgrp.c: Likewise.
28759 * nss/nss_files/files-network.c: Likewise.
28760 * nss/nss_files/files-parse.c: Likewise.
28761 * posix/bug-regex5.c: Likewise.
28762 * posix/fnmatch_loop.c: Likewise.
28763 * posix/regcomp.c: Likewise.
28764 * posix/regexec.c: Likewise.
28765 * posix/tst-rfc3484-2.c: Likewise.
28766 * posix/tst-rfc3484-3.c: Likewise.
28767 * posix/tst-rfc3484.c: Likewise.
28768 * resolv/nss_dns/dns-canon.c: Likewise.
28769 * resolv/nss_dns/dns-network.c: Likewise.
28770 * resolv/res_init.c: Likewise.
28771 * resolv/res_mkquery.c: Likewise.
28772 * resolv/tst-aton.c: Likewise.
28773 * stdlib/cxa_atexit.c: Likewise.
28774 * stdlib/cxa_finalize.c: Likewise.
28775 * stdlib/gen-fpioconst.c: Likewise.
28776 * stdlib/strtol_l.c: Likewise.
28777 * string/tst-endian.c: Likewise.
28778 * sunrpc/auth_des.c: Likewise.
28779 * sunrpc/clnt_udp.c: Likewise.
28780 * sunrpc/rtime.c: Likewise.
28781 * sunrpc/svcauth_des.c: Likewise.
28782 * sunrpc/xdr.c: Likewise.
28783 * sunrpc/xdr_intXX_t.c: Likewise.
28784 * sunrpc/xdr_rec.c: Likewise.
28785 * sysdeps/generic/ldconfig.h: Likewise.
28786 * sysdeps/generic/ldsodefs.h: Likewise.
28787 * sysdeps/generic/memusage.h: Likewise.
28788 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28789 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28790 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28791 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28792 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28793 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28794 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28795 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28796 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28797 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28798 * sysdeps/posix/getaddrinfo.c: Likewise.
28799 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28800 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28801 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28802 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28803 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28804 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28805 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28806 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28807 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28808 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28809 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28810 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28811 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28812 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28813 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28814 * sysdeps/x86_64/dl-tls.h: Likewise.
28815 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28816 * time/alt_digit.c: Likewise.
28817 * time/era.c: Likewise.
28818 * wcsmbs/tst-c16c32-1.c: Likewise.
28819
8c75f674
JM
288202013-05-16 Joseph Myers <joseph@codesourcery.com>
28821
28822 * math/libm-test.inc (struct test_sincos_data): New type.
28823 (RUN_TEST_LOOP_sincos): New macro.
28824 (sincos_test_data): New variable.
28825 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28826
e6e49e59
RH
288272013-05-16 Richard Henderson <rth@redhat.com>
28828
28829 * math/atest-exp2.c (LIMB64): New macro.
28830 (CONSTSZ): New macro.
28831 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28832 (hexdig): Move ...
28833 (print_mpn_fp): ... to function scope.
28834 (read_mpn_hex): Remove.
28835 (get_log2): Remove.
28836 (exp2_mpn): Use mp_log2.
28837 (main): Use mp_exp1.
28838
15c7c18d
JM
288392013-05-16 Joseph Myers <joseph@codesourcery.com>
28840
105a07df
JM
28841 * math/libm-test.inc: Remove comment about not testing "inexact"
28842 exceptions.
28843 (INEXACT_EXCEPTION): New macro.
28844 (NO_INEXACT_EXCEPTION): Likewise.
28845 (INVALID_EXCEPTION_OK): Update value.
28846 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28847 (OVERFLOW_EXCEPTION_OK): Likewise.
28848 (UNDERFLOW_EXCEPTION_OK): Likewise.
28849 (IGNORE_ZERO_INF_SIGN): Likewise.
28850 (ERRNO_UNCHANGED): Likewise.
28851 (ERRNO_EDOM): Likewise.
28852 (ERRNO_ERANGE): Likewise.
28853 (test_exceptions): Handle testing "inexact" exceptions.
28854 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28855 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28856 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28857 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28858 INEXACT_EXCEPTION.
28859 (rint_towardzero_test_data): Likewise.
28860 (rint_downward_test_data): Likewise.
28861 (rint_upward_test_data): Likewise.
28862
e9eee333
JM
28863 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28864 with OVERFLOW_EXCEPTION.
28865 (exp10_test_data): Likewise.
28866 (exp2_test_data): Likewise.
28867 (expm1_test_data): Likewise.
28868 (lgamma_test_data): Likewise.
28869 (pow_test_data): Likewise.
28870 (tgamma_test_data): Likewise.
28871 (yn_test_data): Remove duplicate test of overflow.
28872
1c38ff73
JM
28873 * math/libm-test.inc (struct test_cc_c_data): New type.
28874 (RUN_TEST_LOOP_cc_c): New macro.
28875 (cpow_test_data): New variable.
28876 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28877
15c7c18d
JM
28878 * math/libm-test.inc (struct test_f_L_data): New type.
28879 (RUN_TEST_LOOP_f_L): New macro.
28880 (llrint_test_data): New variable.
28881 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28882 (llrint_tonearest_test_data): New variable.
28883 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28884 (llrint_towardzero_test_data): New variable.
28885 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28886 (llrint_downward_test_data): New variable.
28887 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28888 (llrint_upward_test_data): New variable.
28889 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28890 (llround_test_data): New variable.
28891 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28892
f137ff13
PC
288932013-05-13 Peter Collingbourne <pcc@google.com>
28894
28895 * math/atest-exp2.c (get_log2): Remove const attribute.
28896
3608cb24
JM
288972013-05-15 Joseph Myers <joseph@codesourcery.com>
28898
28899 * math/libm-test.inc (struct test_f_l_data): New type.
28900 (RUN_TEST_LOOP_f_l): New macro.
28901 (lrint_test_data): New variable.
28902 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28903 (lrint_tonearest_test_data): New variable.
28904 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28905 (lrint_towardzero_test_data): New variable.
28906 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28907 (lrint_downward_test_data): New variable.
28908 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28909 (lrint_upward_test_data): New variable.
28910 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28911 (lround_test_data): New variable.
28912 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28913
39b1f617
PC
289142013-05-15 Peter Collingbourne <pcc@google.com>
28915
1deff3dc
PC
28916 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28917 (EXTRACT_WORDS64) Use where appropriate.
28918 (INSERT_WORDS64) Likewise.
28919
791f3ba0
PC
28920 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28921 constraints with x constraints.
28922 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28923
39b1f617
PC
28924 * malloc/obstack.c (_obstack_compat): Add initializer.
28925
12fba011
EM
289262013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28927
28928 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28929 si_trapno and add si_addr_lsb to _sifields.sigfault.
28930 (si_trapno): Remove macro.
28931 (si_addr_lsb): Define new macro.
28932 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28933
d369f531
JM
289342013-05-15 Joseph Myers <joseph@codesourcery.com>
28935
b861c6c4
JM
28936 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28937 instead of TEST_f_l.
28938 (llrint_test_tonearest): Likewise.
28939 (llrint_test_towardzero): Likewise.
28940 (llrint_test_downward): Likewise.
28941 (llrint_test_upward): Likewise.
28942 (llround_test): Likewise.
28943
7abeee12
JM
28944 * math/libm-test.inc (struct test_f_i_data): Add comment.
28945 (RUN_TEST_LOOP_f_b): New macro.
28946 (RUN_TEST_LOOP_f_b_tg): Likewise.
28947 (finite_test_data): New variable.
28948 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28949 (isfinite_test_data): New variable.
28950 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28951 (isinf_test_data): New variable.
28952 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28953 (isnan_test_data): New variable.
28954 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28955 (isnormal_test_data): New variable.
28956 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28957 (issignaling_test_data): New variable.
28958 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28959 (signbit_test_data): New variable.
28960 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28961
cbe8c4d3
JM
28962 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28963 with INVALID_EXCEPTION.
28964 (acosh_test_data): Likewise.
28965 (asin_test_data): Likewise.
28966 (atanh_test_data): Likewise.
28967 (fmod_test_data): Likewise.
28968 (log_test_data): Likewise.
28969 (log10_test_data): Likewise.
28970 (log2_test_data): Likewise.
28971 (pow_test_data): Likewise.
28972 (sqrt_test_data): Likewise.
28973 (y0_test_data): Likewise.
28974 (y1_test_data): Likewise.
28975 (yn_test_data): Likewise.
28976
5575c0e5
JM
28977 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28978 function contents.
28979
d369f531
JM
28980 * math/libm-test.inc (struct test_ff_i_data): New type.
28981 (RUN_TEST_LOOP_ff_i_tg): New macro.
28982 (isgreater_test_data): New variable.
28983 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28984 (isgreaterequal_test_data): New variable.
28985 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28986 (isless_test_data): New variable.
28987 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28988 (islessequal_test_data): New variable.
28989 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28990 (islessgreater_test_data): New variable.
28991 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28992 (isunordered_test_data): New variable.
28993 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28994
781fd748
DM
289952013-05-14 David S. Miller <davem@davemloft.net>
28996
28997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28998
87aa21df
JM
289992013-05-14 Joseph Myers <joseph@codesourcery.com>
29000
5e908270
JM
29001 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29002
f71172e5
JM
29003 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29004 extra_test to int.
29005 (struct test_f_i_data): Change type of max_ulp to int.
29006
8cfa635a
JM
29007 * math/libm-test.inc (test_ffI_f1_data): New type.
29008 (RUN_TEST_LOOP_ffI_f1): New macro.
29009 (remquo_test_data): New variable.
29010 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29011
2bcb36b2
JM
29012 * setjmp/tst-setjmp-fp.c: New file.
29013 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29014 (link-libm): New variable.
29015 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29016
acbd839a
JM
29017 * math/libm-test.inc (struct test_f_i_data): New type.
29018 (RUN_TEST_LOOP_f_i): New macro.
29019 (RUN_TEST_LOOP_f_i_tg): Likewise.
29020 (fpclassify_test_data): New variable.
29021 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29022 (ilogb_test_data): New variable.
29023 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29024
e414d745
JM
29025 * math/libm-test.inc (scalbln_test): Correct function name in END
29026 call.
29027
d9c2a0fd
JM
29028 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29029 (RUN_TEST_LOOP_fI_f1): New macro.
29030 (frexp_test_data): New variable.
29031 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29032
9dc9095d
JM
29033 * math/libm-test.inc (struct test_fF_f1_data): New type.
29034 (RUN_TEST_LOOP_fF_f1): New macro.
29035 (modf_test_data): New variable.
29036 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29037
87aa21df
JM
29038 * math/libm-test.inc (struct test_f_f1_data): New type.
29039 (RUN_TEST_LOOP_f_f1): New macro.
29040 (gamma_test_data): New variable.
29041 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29042 (lgamma_test_data): New variable.
29043 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29044
141af660
CD
290452013-05-13 Carlos O'Donell <carlos@redhat.com>
29046
29047 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29048 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29049 (main): Comment "tls" pseudo-hwcap.
29050
6d33265c
JM
290512013-05-13 Joseph Myers <joseph@codesourcery.com>
29052
68fc074c
JM
29053 * math/libm-test.inc (struct test_fl_f_data): New type.
29054 (RUN_TEST_LOOP_fl_f): New variable.
29055 (scalbln_test_data): New variable.
29056 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29057
243216e1
JM
29058 * math/libm-test.inc (struct test_fi_f_data): New type.
29059 (RUN_TEST_LOOP_fi_f): New macro.
29060 (ldexp_test_data): New variable.
29061 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29062 (scalbn_test_data): New variable.
29063 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29064
6a1992e2
JM
29065 * math/libm-test.inc (struct test_c_f_data): New type.
29066 (RUN_TEST_LOOP_c_f): New macro.
29067 (cabs_test_data): New variable.
29068 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29069 (carg_test_data): New variable.
29070 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29071 (cimag_test_data): New variable.
29072 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29073 (creal_test_data): New variable.
29074 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29075
0e400df5
JM
29076 * math/libm-test.inc (struct test_if_f_data): New type.
29077 (RUN_TEST_LOOP_if_f): New macro.
29078 (jn_test_data): New variable.
29079 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29080 (yn_test_data): New variable.
29081 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29082
6d33265c
JM
29083 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29084
f98ece5f
AZ
290852013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29086
29087 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29088 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29089
0f7d347b
SP
290902013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29091
43fe811b
SP
29092 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29093 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29094 (bench-deps): Add bench-timing.h.
29095 * benchtests-bench-skeleton.c: Include bench-timing.h.
29096 (main): Use TIMING_* macros instead of clock_gettime.
29097 * benchtests/bench-timing.h: New file.
29098
0f7d347b
SP
29099 [BZ #14582]
29100 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29101 Renamed from _LIB_VERSION.
29102 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29103
601a3a5f
JM
291042013-05-12 Joseph Myers <joseph@codesourcery.com>
29105
4f184d30
JM
29106 * math/libm-test.inc (struct test_fff_f_data): New type.
29107 (RUN_TEST_LOOP_fff_f): New macro.
29108 (fma_test_data): New variable.
29109 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29110 (fma_towardzero_test_data): New variable.
29111 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29112 (fma_downward_test_data): New variable.
29113 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29114 (fma_upward_test_data): New variable.
29115 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29116
08198877
JM
29117 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29118 (struct test_c_c_data): New type.
29119 (RUN_TEST_LOOP_c_c): New macro.
29120 (cacos_test_data): New variable.
29121 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29122 (cacosh_test_data): New variable.
29123 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29124 (casin_test_data): New variable.
29125 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29126 (casinh_test_data): New variable.
29127 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29128 (catan_test_data): New variable.
29129 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29130 (catanh_test_data): New variable.
29131 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29132 (ccos_test_data): New variable.
29133 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29134 (ccosh_test_data): New variable.
29135 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29136 (cexp_test_data): New variable.
29137 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29138 (clog_test_data): New variable.
29139 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29140 (clog10_test_data): New variable.
29141 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29142 (conj_test_data): New variable.
29143 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29144 (cproj_test_data): New variable.
29145 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29146 (csin_test_data): New variable.
29147 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29148 (csinh_test_data): New variable.
29149 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29150 (csqrt_test_data): New variable.
29151 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29152 (ctan_test_data): New variable.
29153 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29154 (ctan_tonearest_test_data): New variable.
29155 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29156 (ctan_towardzero_test_data): New variable.
29157 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29158 (ctan_downward_test_data): New variable.
29159 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29160 (ctan_upward_test_data): New variable.
29161 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29162 (ctanh_test_data): New variable.
29163 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29164 (ctanh_tonearest_test_data): New variable.
29165 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29166 (ctanh_towardzero_test_data): New variable.
29167 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29168 (ctanh_downward_test_data): New variable.
29169 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29170 (ctanh_upward_test_data): New variable.
29171 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29172 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29173 of BUILD_COMPLEX.
29174
601a3a5f
JM
29175 * math/libm-test.inc (struct test_ff_f_data): New type.
29176 (struct test_ff_f_data_nexttoward): Likewise.
29177 (RUN_TEST_LOOP_2_f): New macro.
29178 (RUN_TEST_LOOP_ff_f): Likewise.
29179 (atan2_test_data): New variable.
29180 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29181 (copysign_test_data): New variable.
29182 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29183 (fdim_test_data): New variable.
29184 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29185 (fmax_test_data): New variable.
29186 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29187 (fmin_test_data): New variable.
29188 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29189 (fmod_test_data): New variable.
29190 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29191 (hypot_test_data): New variable.
29192 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29193 (nextafter_test_data): New variable.
29194 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29195 (nexttoward_test_data): New variable.
29196 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29197 (pow_test_data): New variable.
29198 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29199 (pow_tonearest_test_data): New variable.
29200 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29201 (pow_towardzero_test_data): New variable.
29202 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29203 (pow_downward_test_data): New variable.
29204 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29205 (pow_upward_test_data): New variable.
29206 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29207 (remainder_test_data): New variable.
29208 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29209 (scalb_test_data): New variable.
29210 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29211 * sysdeps/i386/fpu/libm-test-ulps: Update.
29212
74c57478
JM
292132013-05-11 Joseph Myers <joseph@codesourcery.com>
29214
8329e4da
JM
29215 * math/libm-test.inc (fma_test): Use max_value instead of local
29216 variable fltmax.
29217 (nextafter_test): Likewise.
29218
74c57478
JM
29219 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29220 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29221 (acos_downward_test_data): New variable.
29222 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29223 (acos_upward_test_data): New variable.
29224 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29225 (acosh_test_data): New variable.
29226 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29227 (asin_test_data): New variable.
29228 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29229 (asin_tonearest_test_data): New variable.
29230 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29231 (asin_towardzero_test_data): New variable.
29232 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29233 (asin_downward_test_data): New variable.
29234 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29235 (asin_upward_test_data): New variable.
29236 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29237 (asinh_test_data): New variable.
29238 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29239 (atan_test_data): New variable.
29240 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29241 (atanh_test_data): New variable.
29242 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29243 (cbrt_test_data): New variable.
29244 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29245 (ceil_test_data): New variable.
29246 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29247 (cos_test_data): New variable.
29248 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29249 (cos_tonearest_test_data): New variable.
29250 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29251 (cos_towardzero_test_data): New variable.
29252 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29253 (cos_downward_test_data): New variable.
29254 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29255 (cos_upward_test_data): New variable.
29256 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29257 (cosh_test_data): New variable.
29258 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29259 (cosh_tonearest_test_data): New variable.
29260 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29261 (cosh_towardzero_test_data): New variable.
29262 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29263 (cosh_downward_test_data): New variable.
29264 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29265 (cosh_upward_test_data): New variable.
29266 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29267 (erf_test_data): New variable.
29268 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29269 (erfc_test_data): New variable.
29270 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29271 (exp_test_data): New variable.
29272 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29273 (exp_tonearest_test_data): New variable.
29274 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29275 (exp_towardzero_test_data): New variable.
29276 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29277 (exp_downward_test_data): New variable.
29278 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29279 (exp_upward_test_data): New variable.
29280 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29281 (exp10_test_data): New variable.
29282 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29283 (exp2_test_data): New variable.
29284 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29285 (expm1_test_data): New variable.
29286 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29287 (fabs_test_data): New variable.
29288 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29289 (floor_test_data): New variable.
29290 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29291 (j0_test_data): New variable.
29292 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29293 (j1_test_data): New variable.
29294 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29295 (log_test_data): New variable.
29296 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29297 (log10_test_data): New variable.
29298 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29299 (log1p_test_data): New variable.
29300 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29301 (log2_test_data): New variable.
29302 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29303 (logb_test_data): New variable.
29304 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29305 (logb_downward_test_data): New variable.
29306 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29307 (nearbyint_test_data): New variable.
29308 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29309 (rint_test_data): New variable.
29310 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29311 (rint_tonearest_test_data): New variable.
29312 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29313 (rint_towardzero_test_data): New variable.
29314 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29315 (rint_downward_test_data): New variable.
29316 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29317 (rint_upward_test_data): New variable.
29318 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29319 (round_test_data): New variable.
29320 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29321 (sin_test_data): New variable.
29322 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29323 (sin_tonearest_test_data): New variable.
29324 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29325 (sin_towardzero_test_data): New variable.
29326 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29327 (sin_downward_test_data): New variable.
29328 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29329 (sin_upward_test_data): New variable.
29330 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29331 (sinh_test_data): New variable.
29332 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29333 (sinh_tonearest_test_data): New variable.
29334 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29335 (sinh_towardzero_test_data): New variable.
29336 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29337 (sinh_downward_test_data): New variable.
29338 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29339 (sinh_upward_test_data): New variable.
29340 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29341 (sqrt_test_data): New variable.
29342 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29343 (tan_test_data): New variable.
29344 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29345 (tan_tonearest_test_data): New variable.
29346 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29347 (tan_towardzero_test_data): New variable.
29348 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29349 (tan_downward_test_data): New variable.
29350 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29351 (tan_upward_test_data): New variable.
29352 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29353 (tanh_test_data): New variable.
29354 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29355 (tgamma_test_data): New variable.
29356 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29357 (trunc_test_data): New variable.
29358 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29359 (y0_test_data): New variable.
29360 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29361 (y1_test_data): New variable.
29362 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29363 (significand_test_data): New variable.
29364 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29365
7187d844
CG
293662013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29367
29368 [BZ #12387]
29369 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29370
f63fae73
PT
293712013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29372
29373 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29374
8a67a4b3
AJ
293752013-05-10 Andreas Jaeger <aj@suse.de>
29376
29377 [BZ #15448]
29378 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29379 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29380
51df539d
JM
293812013-05-10 Joseph Myers <joseph@codesourcery.com>
29382
29383 * math/gen-libm-test.pl (adjust_arg): New function.
29384 (special_functions): Handle generating output in both functions
29385 and arrays.
29386 (parse_args): Likewise.
29387 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29388 $in_func argument to parse_args.
29389 * math/libm-test.inc (struct test_f_f_data): New type.
29390 (IF_ROUND_INIT_): New macro.
29391 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29392 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29393 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29394 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29395 (ROUND_RESTORE_): Likewise.
29396 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29397 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29398 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29399 (ROUND_RESTORE_FE_UPWARD): Likewise.
29400 (RUN_TEST_LOOP_f_f): New macro.
29401 (acos_test_data): New variable.
29402 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29403 (acos_tonearest_test_data): New variable.
29404 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29405
5c637fe5
SP
294062013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29407
29408 * benchtests/bench-skeleton.c (startup): Fix coding style.
29409
ab2b9461
JM
294102013-05-10 Joseph Myers <joseph@codesourcery.com>
29411
29412 [BZ #6809]
29413 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29414 negative infinity argument.
29415 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29416 negative infinity argument.
29417 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29418 negative infinity argument.
29419 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29420 domain errors.
29421
4c0fe6fe
FW
294222013-05-10 Florian Weimer <fweimer@redhat.com>
29423
29424 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29425 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29426 * iconv/iconv_prog.c (main): Likewise.
29427 * locale/programs/charmap-dir.c (charmap_readdir)
29428 (fopen_uncompressed): Likewise.
29429 * locale/programs/locfile.c (siblings_uncached)
29430 (write_locale_data): Use lstat64 instead of lstat.
29431 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29432 stat.
29433
a3375d29
AJ
294342013-05-10 Andreas Jaeger <aj@suse.de>
29435
29436 [BZ #15395]
29437 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29438 localization.
29439 Include <locale.h>.
29440
36129722
CD
294412013-05-09 Carlos O'Donell <carlos@redhat.com>
29442
29443 * elf/dl-close.c (_dl_close_worker): Add comments.
29444
faa7f811
JM
294452013-05-09 Joseph Myers <joseph@codesourcery.com>
29446
ed41ffef
JM
29447 [BZ #15359]
29448 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29449 high part of pi/2.
29450 (__ieee754_rem_pio2l): Update comments.
29451
d0213cd0
JM
29452 [BZ #15429]
29453 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29454 high part of pi/2.
29455 (__ieee754_rem_pio2l): Update comments.
29456
0d3e777a
JM
29457 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29458 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29459
24f56066
JM
29460 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29461 M_PI_4l.
29462
faa7f811
JM
29463 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29464 (M_PI_34_LOG10El): Likewise.
29465 (M_PI2_LOG10El): Likewise.
29466 (M_PI4_LOG10El): Likewise.
29467 (M_PI_LOG10El): Likewise.
29468
e9a5e0fd
AZ
294692013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29470
29471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29472
d8cd06db
JM
294732013-05-08 Joseph Myers <joseph@codesourcery.com>
29474
a0d9f9d7
JM
29475 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29476 (MINUS_ZERO_INIT): Likewise.
29477 (PLUS_INFTY_INIT): Likewise.
29478 (MINUS_INFTY_INIT): Likewise.
29479 (QNAN_VALUE_INIT): Likewise.
29480 (MAX_VALUE_INIT): Likewise.
29481 (MIN_VALUE_INIT): Likewise.
29482 (MIN_SUBNORM_VALUE_INIT): Likewise.
29483 (plus_zero): Initialize with PLUS_ZERO_INIT.
29484 (minus_zero): Initialize with MINUS_ZERO_INIT.
29485 (plus_infty): Initialize with PLUS_INFTY_INIT.
29486 (minus_infty): Initialize with MINUS_INFTY_INIT.
29487 (qnan_value): Initialize with QNAN_VALUE_INIT.
29488 (max_value): Initialize with MAX_VALUE_INIT.
29489 (min_value): Initialize with MIN_VALUE_INIT.
29490 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29491
ae08db3b
JM
29492 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29493 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29494 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29495 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29496
f44bf14a
JM
29497 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29498 (RUN_TEST_2_f): Likewise.
29499 (RUN_TEST_ff_f): Likewise.
29500 (RUN_TEST_fi_f): Likewise.
29501 (RUN_TEST_fl_f): Likewise.
29502 (RUN_TEST_fff_f): Likewise.
29503 (RUN_TEST_c_f): Likewise.
29504 (RUN_TEST_f_f1): Likewise.
29505 (RUN_TEST_fF_f1): Likewise.
29506 (RUN_TEST_fI_f1): Likewise.
29507 (RUN_TEST_ffI_f1): Likewise.
29508 (RUN_TEST_c_c): Likewise.
29509 (RUN_TEST_cc_c): Likewise.
29510 (RUN_TEST_f_i): Likewise.
29511 (RUN_TEST_f_i_tg): Likewise.
29512 (RUN_TEST_ff_i_tg): Likewise.
29513 (RUN_TEST_f_b): Likewise.
29514 (RUN_TEST_f_b_tg): Likewise.
29515 (RUN_TEST_f_l): Likewise.
29516 (RUN_TEST_f_L): Likewise.
29517 (RUN_TEST_sincos): Likewise.
29518 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29519 whether to show exceptions. Do not include ");\n" in return
29520 value.
29521 (special_functions): Output call to RUN_TEST_sincos instead of
29522 check_float calls. Update calls to new_test.
29523 (parse_args): Output call to single RUN_TEST_* macro instead of
29524 check_* calls and other assignments. Update calls to new_test.
29525
d8cd06db
JM
29526 [BZ #2546]
29527 [BZ #2560]
29528 [BZ #5159]
29529 [BZ #15426]
29530 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29531 input to result for tgamma overflow.
29532 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29533 (gamma_coeff): New variable.
29534 (NCOEFF): New macro.
29535 (gamma_positive): New function.
29536 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29537 underflow here. Use gamma_positive instead of exp (lgamma) for
29538 other arguments.
29539 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29540 (gamma_coeff): New variable.
29541 (NCOEFF): New macro.
29542 (gammaf_positive): New function.
29543 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29544 underflow here. Use gamma_positive instead of exp (lgamma) for
29545 other arguments.
29546 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29547 (gamma_coeff): New variable.
29548 (NCOEFF): New macro.
29549 (gammal_positive): New function.
29550 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29551 underflow here. Use gamma_positive instead of exp (lgamma) for
29552 other arguments.
29553 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29554 (gamma_coeff): New variable.
29555 (NCOEFF): New macro.
29556 (gammal_positive): New function.
29557 (__ieee754_gammal_r): Handle positive infinity, overflow and
29558 underflow here. Handle NaN the same as positive infinity. Remove
29559 check x < 0xffffffff for negative integers. Use gamma_positive
29560 instead of exp (lgamma) for other arguments.
29561 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29562 (gamma_coeff): New variable.
29563 (NCOEFF): New macro.
29564 (gammal_positive): New function.
29565 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29566 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29567 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29568 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29569 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29570 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29571 * sysdeps/generic/math_private.h (__gamma_productf): New
29572 prototype.
29573 (__gamma_product): Likewise.
29574 (__gamma_productl): Likewise.
29575 * math/Makefile (libm-calls): Add gamma_product.
29576 * math/libm-test.inc (tgamma_test): Add more tests.
29577 * sysdeps/i386/fpu/libm-test-ulps: Update.
29578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29579
bb7cf681
OB
295802013-05-08 Ondřej Bílka <neleai@seznam.cz>
29581
29582 * benchtests/bench-skeleton.c (main): Preheat CPU.
29583
ba853947
AJ
295842013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29585
29586 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29587
8347c74c
RM
295882013-05-07 Roland McGrath <roland@hack.frob.com>
29589
29590 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29591 and _dl_skip_args_internal.
29592
e8dd4791
CD
295932013-05-07 Carlos O'Donell <carlos@redhat.com>
29594
29595 * manual/message.texi (Message Translation): Talk about users.
29596 Message to key mapping impacts design.
29597
c7405830
RM
295982013-05-06 Roland McGrath <roland@hack.frob.com>
29599
a9173057
RM
29600 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29601
976e2f03
RM
29602 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29603
9723ffc5
RM
29604 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29605 * sysdeps/wordsize-64/glob64.c: ... here.
29606
962e6658
RM
29607 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29608 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29609 New macros.
29610
ee586a6d
RM
29611 * debug/getlogin_r_chk.c: Moved to ...
29612 * login/getlogin_r_chk.c: ... here.
29613 * debug/Makefile (routines): Move getlogin_r_chk to ...
29614 * login/Makefile (routines): ... here.
29615 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29616 * login/Versions (libc: GLIBC_2.4): ... here.
29617
355f9165
RM
29618 * io/poll.c (__poll): Renamed from poll.
29619 Add libc_hidden_def.
29620 (poll): Define as weak alias.
29621
bd9ffde6
RM
29622 * debug/ptsname_r_chk.c: Moved to ...
29623 * login/ptsname_r_chk.c: ... here.
29624 * debug/Makefile (routines): Move ptsname_r_chk to ...
29625 * login/Makefile (routines): ... here.
29626 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29627 * login/Versions (libc: GLIBC_2.4): ... here.
29628
8fb16a04
RM
29629 * posix/getlogin.c: Moved to ...
29630 * login/getlogin.c: ... here.
29631 * posix/getlogin_r.c: Moved to ...
29632 * login/getlogin_r.c: ... here.
29633 * posix/getlogin_r.c: Moved to ...
29634 * login/getlogin_r.c: ... here.
29635 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29636 * login/Makefile (routines): ... here.
29637 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29638 * login/Versions (libc: GLIBC_2.0): ... here.
29639
b99b892f
RM
29640 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29641 (setrlimit): Define as weak alias.
29642
c7405830
RM
29643 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29644 Call __ names for open, ftruncate, and close.
29645 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29646 (truncate): Define as weak alias.
29647
5bf96de5
JM
296482013-05-06 Joseph Myers <joseph@codesourcery.com>
29649
9ea3513c
JM
29650 * math/gen-libm-test.pl (parse_args): Initialize x before each
29651 test of frexp, modf and remquo.
29652
5bf96de5
JM
29653 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29654 test signgam value.
29655
16e616a7
AZ
296562013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29657
29658 [BZ #15418]
29659 [BZ #15419]
29660 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29661 internal tests.
29662 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29663
d5e82754
RM
296642013-05-06 Roland McGrath <roland@hack.frob.com>
29665
29666 * elf/dl-writev.h: New file.
29667 * elf/dl-misc.c: Include it.
29668 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29669 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29670
a7548d41
JM
296712013-05-04 Joseph Myers <joseph@codesourcery.com>
29672
b7dab1e4
JM
29673 * math/libm-test.inc (noXFails): Remove variable.
29674 (noXPasses): Likewise.
29675 (BUILD_COMPLEX_INT): Remove macro.
29676 (print_screen): Remove xfail argument.
29677 (print_screen_max_error): Likewise.
29678 (update_stats): Likewise.
29679 (print_max_error): Likewise. Update calls to other affected
29680 functions.
29681 (print_complex_max_error): Likewise.
29682 (test_single_exception): Update calls to print_screen.
29683 (test_single_errno): Likewise.
29684 (check_float_internal): Remove xfail argument. Update calls to
29685 other affected functions.
29686 (check_float): Likewise.
29687 (check_complex): Likewise.
29688 (check_int): Likewise.
29689 (check_long): Likewise.
29690 (check_bool): Likewise.
29691 (check_longlong): Likewise.
29692 (main): Don't print noXFails and noXPasses.
29693 * math/gen-libm-test.pl (top level): Don't mention expected
29694 failure handling in comment.
29695 (new_test): Don't handle expected failures.
29696 (parse_args): Don't mention expected failure handling in comment.
29697 (generate_testfile): Don't handle expected failures.
29698 (parse_ulps): Likewise.
29699 (print_ulps_file): Likewise.
29700 (get_failure): Remove function.
29701 (output_test): Don't handle expected failures.
29702 * make/README.libm-test: Don't mention expected failure handling.
29703
a7548d41
JM
29704 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29705 (minus_zero): Likewise.
29706 (plus_infty): Likewise.
29707 (minus_infty): Likewise.
29708 (qnan_value): Likewise.
29709 (max_value): Likewise.
29710 (min_value): Likewise.
29711 (min_subnorm_value): Likewise.
29712 (initialize): Do not initialize those variables dynamically.
29713
60bfd54c
RM
297142013-05-03 Roland McGrath <roland@hack.frob.com>
29715
cc0e6ed8
RM
29716 * io/open.c (__open_2): Moved to ...
29717 * io/open_2.c: ... this new file.
29718 * io/open64.c (__open64_2): Moved to ...
29719 * io/open64_2.c: ... this new file.
29720 * io/openat.c (__openat_2): Moved to ...
29721 * io/openat_2.c: ... this new file.
29722 * io/openat64.c (__openat64_2): Moved to ...
29723 * io/openat64_2.c: ... this new file.
29724 * io/Makefile (routines): Add them.
29725 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29726 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29727 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29728 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29729 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29730 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29731 (__openat64): Add hidden_ver.
29732 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29733 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29734
60bfd54c
RM
29735 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29736 Separately conditionalize setting of GLRO(dl_sysinfo) so
29737 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29738 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29739
83e7640f
AZ
297402013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29741
29742 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29743 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29744 definition.
29745 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29746 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29747 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29748 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29749 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29750
d5dc2af3
JM
297512013-05-03 Joseph Myers <joseph@codesourcery.com>
29752
c31a5b1e
JM
29753 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29754 test signgam value.
29755
d5dc2af3
JM
29756 * math/libm-test.inc (hypot_test): Do not use
29757 IGNORE_ZERO_INF_SIGN.
29758
164fd39d
AJ
297592013-05-03 Andreas Jaeger <aj@suse.de>
29760
29761 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29762 Linux 3.9.
29763 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29764 (PF_MAX): Adjust for VSOCK change.
29765
8237f48c
AZ
297662013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29767
29768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29769
9df02941
CD
297702013-05-02 Carlos O'Donell <carlos@redhat.com>
29771
29772 [BZ #15264]
29773 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29774 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29775 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29776
d422395e
DM
297772013-05-02 David S. Miller <davem@davemloft.net>
29778
29779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29780
a07c5731
OB
297812013-05-01 Ondřej Bílka <neleai@seznam.cz>
29782
29783 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29784
1324e37f
RM
297852013-05-01 Roland McGrath <roland@hack.frob.com>
29786
29787 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29788
0695940b
RS
297892013-05-01 Richard Smith <richard@metafoo.co.uk>
29790
bb5f27ad 29791 [BZ #14952]
0695940b
RS
29792 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29793 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29794 Use __attribute__ ((__gnu_inline__)).
29795 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29796 Don't use __attribute__ ((__gnu_inline__)).
29797
10de07f5
JM
297982013-05-01 Joseph Myers <joseph@codesourcery.com>
29799
29800 [BZ #15423]
29801 * math/s_catan.c (__catan): Handle small real or imaginary part of
29802 input specially to avoid spurious underflow.
29803 * math/s_catanf.c (__catanf): Likewise.
29804 * math/s_catanh.c (__catanh): Likewise.
29805 * math/s_catanhf.c (__catanhf): Likewise.
29806 * math/s_catanhl.c (__catanhl): Likewise.
29807 * math/s_catanl.c (__catanl): Likewise.
29808 * math/libm-test.inc (catan_test): Add more tests.
29809 (catanh_test): Likewise.
29810 * sysdeps/i386/fpu/libm-test-ulps: Update.
29811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29812
cb4d5414
AZ
298132013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29814
29815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29816
caf84319
JM
298172013-04-30 Joseph Myers <joseph@codesourcery.com>
29818
29819 [BZ #15416]
29820 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29821 accurately for denominator in atan2.
29822 * math/s_catanf.c (__catanf): Likewise.
29823 * math/s_catanh.c (__catanh): Likewise.
29824 * math/s_catanhf.c (__catanhf): Likewise.
29825 * math/s_catanhl.c (__catanhl): Likewise.
29826 * math/s_catanl.c (__catanl): Likewise.
29827 * math/libm-test.inc (catan_test): Add more tests.
29828 (catanh_test): Likewise.
29829 * sysdeps/i386/fpu/libm-test-ulps: Update.
29830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29831
d569c6ee
SP
298322013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29833
6dbe713d
SP
29834 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29835
f0ee064b
SP
29836 * benchtests/Makefile (bench): Remove slow benchmarks.
29837 * benchtests/atan-inputs: Add slow benchmark inputs.
29838 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29839 (BENCH_FUNC): Accept variant offset.
29840 (VARIANT): Define.
29841 * benchtests/bench-skeleton.c (main): Run benchmark for each
29842 variant.
29843 * benchtests/cos-inputs: Add slow benchmark inputs.
29844 * benchtests/exp-inputs: Likewise.
29845 * benchtests/pow-inputs: Likewise.
29846 * benchtests/sin-inputs: Likewise.
29847 * benchtests/slowatan-inputs: Remove.
29848 * benchtests/slowatan.c: Remove.
29849 * benchtests/slowcos-inputs: Remove.
29850 * benchtests/slowcos.c: Remove.
29851 * benchtests/slowexp-inputs: Remove.
29852 * benchtests/slowexp.c: Remove.
29853 * benchtests/slowpow-inputs: Remove.
29854 * benchtests/slowpow.c: Remove.
29855 * benchtests/slowsin-inputs: Remove.
29856 * benchtests/slowsin.c: Remove.
29857 * benchtests/slowtan-inputs: Remove.
29858 * benchtests/slowtan.c: Remove.
29859 * benchtests/tan-inputs: Add slow benchmark inputs.
29860 * scripts/bench.pl: Parse comments and directives.
29861
d569c6ee
SP
29862 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29863 in CPPFLAGS.
29864 ($(objpfx)bench-%.c): Remove *-ITER.
29865 * benchtests/bench-modf.c: Remove definition of ITER.
29866 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29867 (main): Loop for DURATION seconds instead of fixed number of
29868 iterations.
29869 * scripts/bench.pl: Don't expect iterations in parameters.
29870
a6a242fe
RM
298712013-04-29 Roland McGrath <roland@hack.frob.com>
29872
29873 * io/fchdir.c (__fchdir): Renamed from fchdir.
29874 (fchdir): Define as weak alias.
29875
f2da7793
JM
298762013-04-29 Joseph Myers <joseph@codesourcery.com>
29877
29878 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29879 (ERRNO_EDOM): Likewise.
29880 (ERRNO_ERANGE): Likewise.
29881 (noErrnoTests): New variable.
29882 (init_max_error): Set errno to 0.
29883 (test_single_errno): New function.
29884 (test_errno): Likewise.
29885 (check_float_internal): Call test_errno. Set errno to 0.
29886 (check_complex): Refer to errno tests in comment.
29887 (check_int): Call test_errno. Set errno to 0.
29888 (check_long): Likewise.
29889 (check_bool): Likewise.
29890 (check_longlong): Likewise.
29891 (cos_test): Use ERRNO_* flags for errno tests instead of
29892 check_int.
29893 (expm1_test): Likewise.
29894 (fmod_test): Likewise.
29895 (ilogb_test): Likewise.
29896 (lgamma_test): Likewise.
29897 (pow_test): Likewise.
29898 (remainder_test): Likewise.
29899 (sin_test): Likewise.
29900 (tan_test): Likewise.
29901 (yn_test): Likewise.
29902 (initialize): Set errno to 0.
29903 (main): Print number of errno tests.
29904 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29905
b1a36ceb
AJ
299062013-04-29 Andreas Jaeger <aj@suse.de>
29907
c3ed8088
AJ
29908 [BZ #15084]
29909 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29910 and RES_USEVC.
29911
f1a24198
AJ
29912 [BZ #15085]
29913 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29914 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29915 unimplemented.
29916
9ce3b2cb
AJ
29917 [BZ #15380]
29918 * stdlib/random.c (__initstate): Return NULL if
29919 __initstate fails.
29920
f1a24198 29921 [BZ #15086]
b1a36ceb
AJ
29922 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29923 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29924 RES_SNGLKUPREOP.
29925
7e7b6f36
AZ
299262013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29927
29928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29929
4d14f449
JM
299302013-04-29 Joseph Myers <joseph@codesourcery.com>
29931
29932 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29933 of individual tests.
29934 (casin_test): Likewise.
29935 (casinh_test): Likewise.
29936
5b4217d7
JM
299372013-04-27 Joseph Myers <joseph@codesourcery.com>
29938
29939 [BZ #15409]
29940 * math/s_catan.c (__catan): Handle arguments with large real or
29941 imaginary part separately without squaring.
29942 * math/s_catanf.c (__catanf): Likewise.
29943 * math/s_catanh.c (__catanh): Likewise.
29944 * math/s_catanhf.c (__catanhf): Likewise.
29945 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29946 and redefine.
29947 (__catanhl): Handle arguments with large real or imaginary part
29948 separately without squaring.
29949 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29950 and redefine.
29951 (__catanl): Handle arguments with large real or imaginary part
29952 separately without squaring.
29953 * math/libm-test.inc (catan_test): Add more tests.
29954 (catanh_test): Likewise.
29955 * sysdeps/i386/fpu/libm-test-ulps: Update.
29956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29957
4220c3ef
AJ
299582013-04-27 Andreas Jaeger <aj@suse.de>
29959
29960 [BZ #15007]
29961 * stdlib/stdlib.h: Update guards for qecvt.
29962 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29963 <stdlib.h>.
29964
4721b2d1
AM
299652013-04-27 Allan McRae <allan@archlinux.org>
29966
29967 * sysdeps/i386/fpu/libm-test-ulps: Update.
29968
f0302940
JM
299692013-04-26 Joseph Myers <joseph@codesourcery.com>
29970
9457fd95
JM
29971 [BZ #15406]
29972 * math/s_catan.c: Include <float.h>.
29973 (__catan): Ensure underflow exception occurs for underflowed
29974 result.
29975 * math/s_catanf.c: Include <float.h>.
29976 (__catanf): Ensure underflow exception occurs for underflowed
29977 result.
29978 * math/s_catanh.c: Include <float.h>.
29979 (__catanh): Ensure underflow exception occurs for underflowed
29980 result.
29981 * math/s_catanhf.c: Include <float.h>.
29982 (__catanhf): Ensure underflow exception occurs for underflowed
29983 result.
29984 * math/s_catanhl.c: Include <float.h>.
29985 (__catanhl): Ensure underflow exception occurs for underflowed
29986 result.
29987 * math/s_catanl.c: Include <float.h>.
29988 (__catanl): Ensure underflow exception occurs for underflowed
29989 result.
29990 * math/libm-test.inc (catan_test): Add more tests.
29991 (catanh_test): Likewise.
29992
f0302940
JM
29993 [BZ #15405]
29994 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29995 underflowed result.
29996 * math/s_ccoshf.c (__ccoshf): Likewise.
29997 * math/s_ccoshl.c (__ccoshl): Likewise.
29998 * math/s_csin.c (__csin): Likewise.
29999 * math/s_csinf.c (__csinf): Likewise.
30000 * math/s_csinh.c (__csinh): Likewise.
30001 * math/s_csinhf.c (__csinhf): Likewise.
30002 * math/s_csinhl.c (__csinhl): Likewise.
30003 * math/s_csinl.c (__csinl): Likewise.
30004 * math/libm-test.inc (ccos_test): Add more tests.
30005 (ccosh_test): Likewise.
30006 (csin_test): Likewise.
30007 (csinh_test): Likewise.
30008
aa630f59
AZ
300092013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30010
30011 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30012 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30013 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30014 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30015 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30016 powerpc/power5+/fpu folders.
30017 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30018
30019
1b835983
MT
300202013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30021
30022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30023
73709b26
JM
300242013-04-25 Joseph Myers <joseph@codesourcery.com>
30025
30026 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30027 additions to variable.
30028 [$(config-machine) = x86_64] (modules-names): Likewise.
30029 ($(objpfx)tst-audit3): Remove dependency.
30030 ($(objpfx)tst-audit3.out): Likewise.
30031 ($(objpfx)tst-audit4): Likewise.
30032 ($(objpfx)tst-audit4.out): Likewise.
30033 ($(objpfx)tst-audit5): Likewise.
30034 ($(objpfx)tst-audit5.out): Likewise.
30035 ($(objpfx)tst-audit6): Likewise.
30036 ($(objpfx)tst-audit6.out): Likewise.
30037 ($(objpfx)tst-audit7): Likewise.
30038 ($(objpfx)tst-audit7.out): Likewise.
30039 (tst-audit3-ENV): Remove variable.
30040 (tst-audit4-ENV): Likewise.
30041 (tst-audit5-ENV): Likewise.
30042 (tst-audit6-ENV): Likewise.
30043 (tst-audit7-ENV): Likewise.
30044 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30045 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30046 addition to variable.
30047 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30048 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30049 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30050 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30051 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30052 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30053 tst-audit3, tst-audit4 and tst-audit5.
30054 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30055 tst-audit6 and tst-audit7.
30056 [$(subdir) = elf] (modules-names): Add audit modules for those
30057 tests.
30058 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30059 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30060 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30061 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30062 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30063 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30064 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30065 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30066 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30067 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30068 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30069 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30070 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30071 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30072 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30073 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30074 Likewise.
30075 [$(subdir) = elf && $(config-cflags-avx) = yes]
30076 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30077 [$(subdir) = elf && $(config-cflags-avx) = yes]
30078 (CFLAGS-tst-auditmod4a.c): Likewise.
30079 [$(subdir) = elf && $(config-cflags-avx) = yes]
30080 (CFLAGS-tst-auditmod4b.c): Likewise.
30081 [$(subdir) = elf && $(config-cflags-avx) = yes]
30082 (CFLAGS-tst-auditmod6b.c): Likewise.
30083 [$(subdir) = elf && $(config-cflags-avx) = yes]
30084 (CFLAGS-tst-auditmod6c.c): Likewise.
30085 [$(subdir) = elf && $(config-cflags-avx) = yes]
30086 (CFLAGS-tst-auditmod7b.c): Likewise.
30087 * elf/tst-audit3.c: Move to ...
30088 * sysdeps/x86_64/tst-audit3.c: ... here.
30089 * elf/tst-audit4.c: Move to ...
30090 * sysdeps/x86_64/tst-audit4.c: ... here.
30091 * elf/tst-audit5.c: Move to ...
30092 * sysdeps/x86_64/tst-audit5.c: ... here.
30093 * elf/tst-audit6.c: Move to ...
30094 * sysdeps/x86_64/tst-audit6.c: ... here.
30095 * elf/tst-audit7.c: Move to ...
30096 * sysdeps/x86_64/tst-audit7.c: ... here.
30097 * elf/tst-auditmod3a.c: Move to ...
30098 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30099 * elf/tst-auditmod3b.c: Move to ...
30100 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30101 * elf/tst-auditmod4a.c: Move to ...
30102 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30103 * elf/tst-auditmod4b.c: Move to ...
30104 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30105 * elf/tst-auditmod5a.c: Move to ...
30106 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30107 * elf/tst-auditmod5b.c: Move to ...
30108 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30109 * elf/tst-auditmod6a.c: Move to ...
30110 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30111 * elf/tst-auditmod6b.c: Move to ...
30112 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30113 * elf/tst-auditmod6c.c: Move to ...
30114 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30115 * elf/tst-auditmod7a.c: Move to ...
30116 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30117 * elf/tst-auditmod7b.c: Move to ...
30118 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30119
1ef74943
PP
301202013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30121
30122 [BZ #15366]
30123 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30124 define unconditionally.
30125 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30126 define unconditionally.
30127 (INT8_C, INT16_C, etc.): Likewise.
30128
93fd48c5
MR
301292013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30130
ae9552cf
MR
30131 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30132 __ehdr_start with hidden visibility.
30133
93fd48c5
MR
30134 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30135
418601aa
CD
301362013-04-24 Carlos O'Donell <carlos@redhat.com>
30137
30138 * math/libm-test.inc (cos_test): Use accurate hex constants.
30139 (sincost_test): Likewise.
30140
2f38fbfe
JM
301412013-04-24 Joseph Myers <joseph@codesourcery.com>
30142
5e221800
JM
30143 * math/libm-test.inc (catan_test): Add more tests.
30144 (catanh_test): Likewise.
30145
77f143fd
JM
30146 * math/s_catanf.c (__catanf): Use suffixed floating-point
30147 constants.
30148 * math/s_catanhf.c (__catanhf): Likewise.
30149 * math/s_catanhl.c (__catanhl): Likewise.
30150 * math/s_catanl.c (__catanl): Likewise.
30151
2f38fbfe
JM
30152 [BZ #15394]
30153 * math/s_catan.c (__catan): Calculate imaginary part of result
30154 with log1p not log unless computing log of number close to 0.
30155 * math/s_catanf.c (__catanf): Likewise.
30156 * math/s_catanl.c (__catanl): Likewise.
30157 * math/s_catanh.c (__catanh): Calculate real part of result with
30158 log1p not log unless computing log of number close to 0.
30159 * math/s_catanhf.c (__catanhf): Likewise.
30160 * math/s_catanhl.c (__catanhl): Likewise.
30161 * math/libm-test.inc (catan_test): Add more tests.
30162 (catanh_test): Likewise.
30163 * sysdeps/i386/fpu/libm-test-ulps: Update.
30164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30165
45d69176
SP
301662013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30167
30168 * benchtests/Makefile: Mention files in which fast and slow
30169 paths of math functions are implemented.
30170
87f51853
RM
301712013-04-23 Roland McGrath <roland@hack.frob.com>
30172
30173 * sysdeps/posix/timespec_get.c: New file.
30174
3c026539
AZ
301752013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30176
30177 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30178 POWER.
30179 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30180 for POWER.
30181 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30182 powerpc/power5/fpu folders.
30183 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30184 * benchtests/Makefile: Add modf testcase.
30185 * benchtests/bench-modf.c: New file: Benchmark test for mo
30186
ff491d14
SP
301872013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30188
30189 [BZ #14888]
30190 * time/Makefile (tests): Add tst-strptime-whitespace.
30191 * time/strptime_l.c (get_number): Use ISSPACE.
30192 (__strptime_internal): Likewise.
30193 * time/tst-strptime-whitespace.c: New test case.
30194
7ed3f4e8
AS
301952013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30196
30197 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30198 member.
30199 (_nss_files_init): Set it here.
30200
5c95f7b6
HC
302012013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30202
30203 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30204 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30205 unsigned.
30206
d34c9158
JBG
302072013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30208
30209 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30210
2169712d
SP
302112013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30212
30213 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30214 size just once.
30215
29c5de99
DM
302162013-04-21 David S. Miller <davem@davemloft.net>
30217
30218 * po/ru.po: Update Russion translation from translation project.
30219
ccdad15d
AC
302202013-04-17 Adam Conrad <adconrad@0c3.net>
30221
30222 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30223 and setfsgid.
30224
0f122b8d
CD
302252013-04-17 Carlos O'Donell <carlos@redhat.com>
30226
5c5b07da 30227 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 30228 * configure: Regenerate.
5c5b07da 30229 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
30230 Add example to error message.
30231 * sysdeps/i386/configure: Regenerate.
30232
037714dd
SP
302332013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30234
30235 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30236 slowtan.
30237 * benchtests/cos-inputs: New file.
30238 * benchtests/slowcos-inputs: New file.
30239 * benchtests/slowcos.c: New file.
30240 * benchtests/slowtan-inputs: New file.
30241 * benchtests/slowtan.c: New file.
30242 * benchtests/tan-inputs: New file.
30243
e913141d
RM
302442013-04-16 Roland McGrath <roland@hack.frob.com>
30245
30246 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30247 considered kosher.
30248
a2964074
SP
302492013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30250
4856bcd2
SP
30251 * benchtests/Makefile: Include cppflags-iterator.mk to add
30252 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30253
a2964074
SP
30254 * Makefile.in (bench-clean): New target.
30255 * benchtests/Makefile (bench-clean): Likewise.
30256
9fbf9aca
DH
302572013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30258
30259 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30260
207d1e2a
TS
302612013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30262
30263 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30264
306dfba9
AS
302652013-04-15 Andreas Schwab <schwab@suse.de>
30266
30267 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30268 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30269 * nscd/pwdcache.c (cache_addpw): Likewise.
30270 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30271 more than recsize.
30272
206a6699
SP
302732013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30274
30275 * benchtests/Makefile (bench): Write all output to
30276 bench-out.tmp together.
30277
0582f6b3
AS
302782013-04-15 Andreas Schwab <schwab@suse.de>
30279
30280 * nscd/nscd.c (main): Don't fork again after closing files.
30281
acb4325f
SP
302822013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30283
5cb26d0a
SP
30284 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30285
acb4325f
SP
30286 * benchtests/Rules (bench-deps): Collect dependencies into a
30287 single variable. Add Makefile to dependencies.
30288 ($(objpfx)bench-%.c): Depend on bench-deps.
30289
47792506
RM
302902013-04-12 Roland McGrath <roland@hack.frob.com>
30291 Xavier Roche <roche+kml2@exalead.com>
30292
30293 [BZ #15361]
30294 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30295 just that it's a file descriptor.
30296 * manual/llio.texi (Synchronizing AIO Operations): Update description
30297 for EBADF error from aio_fsync.
30298
8fc1bee5
SP
302992013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30300
30301 * Rules (bench): Move target definition...
30302 * benchtests/Makefile: ... here.
30303
aba5e333
CD
303042013-04-11 Carlos O'Donell <carlos@redhat.com>
30305
30306 * math/libm-test.inc (cos_test): Fix PI/2 test.
30307 (sincos_test): Likewise.
30308 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30309 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30310
273cdee8
AS
303112013-04-11 Andreas Schwab <schwab@suse.de>
30312
6ecec3b6
AS
30313 [BZ #13988]
30314 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30315 accept exponent character only when digits were seen.
30316 * stdio-common/Makefile (tests): Add bug26.
30317 * stdio-common/bug26.c: New file.
30318
273cdee8
AS
30319 [BZ #14293]
30320 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30321 non-freeable.
30322
8da491f5
SP
303232013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30324
01dc6df9
SP
30325 * Makeconfig (rtld-prefix): Define built linker prefix.
30326 * Rules (run-bench): Use it.
30327 * math/Makefile (run-regen-ulps): Likewise.
30328
8da491f5
SP
30329 * Rules (bench): Remove eval.
30330
abe7f530
SP
303312013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30332 Roland McGrath <roland@hack.frob.com>
30333 Ondrej Bilka <neleai@seznam.cz>
30334
30335 [BZ #15346]
30336 * time/getdate.c: Include ctype.h and alloca.h.
30337 (__getdate_r): Trim leading and trailing spaces of input.
30338 * time/tst-getdate.c (tests): Add tests with leading and
30339 trailing spaces.
30340
61c23e62
RM
303412013-04-08 Roland McGrath <roland@hack.frob.com>
30342
30343 [BZ #14280]
30344 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30345 when computing value.
30346
7208a313
CD
303472013-04-06 Carlos O'Donell <carlos@redhat.com>
30348
085b2d41
CD
30349 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30350 Use testrun.sh to run libm tests.
30351
7208a313
CD
30352 [BZ #15309]
30353 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30354
872c0acd
MM
303552013-04-06 Marko Myllynen <myllynen@redhat.com>
30356
30357 [BZ #15264]
30358 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30359
26510bdd
CD
303602013-04-06 Carlos O'Donell <carlos@redhat.com>
30361
30362 * Makefile.in (regen-ulps): New target.
30363 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30364 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30365 [ifneq (no,$(PERL)] (regen-ulps): New target.
30366 [ifeq (no,$(PERL)] (regen-ulps): New target.
30367 * math/libm-test.inc (ulps_file_name): Define.
30368 (output_dir): New variable.
30369 (options): Add "output-dir" option.
30370 (parse_opt): Handle 'o' case.
30371 (main): If output_dir is non-NULL use it as a prefix
30372 otherwise use "".
30373 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30374
a01f19c8
CD
303752013-04-06 Carlos O'Donell <carlos@redhat.com>
30376
30377 [BZ #10060, #10062]
30378 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30379 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30380 fail configure if __sync_val_compare_and_swap is not inlined.
30381 * sysdeps/i386/configure: Regenerate.
30382 * configure.in: Build for i686 when configured for i386.
30383 * configure: Regenerate.
30384 * README: Remove i386 reference.
30385
b7a329a5
CD
303862013-04-06 Carlos O'Donell <carlos@redhat.com>
30387
30388 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30389 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30390
bf0f50df
TS
303912013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30392
ee091edf
TS
30393 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30394 (lmsnanval): New variables.
30395 (F): Add conversion tests.
30396 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30397 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30398
a8b792d6
TS
30399 * stdio-common/tstdiomisc.c (F): Properly collect individual
30400 tests' results.
30401
a1cbf437
TS
30402 [BZ #14686, #15336]
30403 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30404 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30405 Instead, use input NaN values or generate a qNaN by arithmetic
30406 operation. Also fix bugs to comply with the standard.
30407 * math/libm-test.inc (remainder_test): Add more tests.
30408
8b43a0c9
TS
30409 [BZ #15335, #15342]
30410 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30411 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30412 input NaN values or generate a qNaN by arithmetic operation.
30413
d91da4ce
TS
30414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30415 unreachable code.
30416
bf0f50df
TS
30417 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30418 definitions.
30419
05e166c8
JM
304202013-04-03 Joseph Myers <joseph@codesourcery.com>
30421
30422 [BZ #14478]
30423 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30424 underflowed result.
30425 * math/s_cexpf.c (__cexpf): Likewise.
30426 * math/s_cexpl.c (__cexpl): Likewise.
30427 * math/libm-test.inc (cexp_test): Add more tests.
30428
1cef1b19
AS
304292013-04-03 Andreas Schwab <schwab@suse.de>
30430
30431 [BZ #15330]
30432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30433 order arrays from heap if bigger than alloca cutoff.
30434
74d87055
TS
304352013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30436
30437 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30438 (SNAN_TESTS_double): Refer to GCC PR56831.
30439 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30440 GCC PR56828.
30441
d755bba4
SP
304422013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30443
90d5d5bb
SP
30444 * Rules (bench): Move bench.out after the run is complete.
30445
73e0cd5d
SP
30446 * Rules (bench): Echo currently running benchmark.
30447
64aabd4b
SP
30448 * benchtests/Makefile (bench): Add atan and slowatan.
30449 * benchtests/atan-inputs: New file.
30450 * benchtests/slowatan-inputs: New file.
30451 * benchtests/slowatan.c: New file.
30452
c871eccd
SP
30453 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30454 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30455 its value.
30456
d755bba4
SP
30457 [BZ #15305]
30458 * sysdeps/unix/sysv/linux/kernel-features.h
30459 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30460 __ASSUME_XFS_RESTRICTED_CHOWN.
30461 * sysdeps/unix/sysv/linux/pathconf.c
30462 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30463 Save and restore errno.
30464
52ce4860
JM
304652013-04-02 Joseph Myers <joseph@codesourcery.com>
30466
30467 [BZ #15327]
30468 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30469 arguments using __kernel_casinh.
30470 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30471 arguments using __kernel_casinhf.
30472 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30473 arguments using __kernel_casinhl.
30474 * math/libm-test.inc (cacosh_test): Add more tests.
30475 * sysdeps/i386/fpu/libm-test-ulps: Update.
30476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30477
81f311c2
SP
304782013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30479
e7906a47
SP
30480 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30482
92e3664b
SP
30483 * bench/Makefile (bench): Add sin and slowsin.
30484 * benchtests/sin-inputs: New file.
30485 * benchtests/slowsin-inputs: New file.
30486 * benchtests/slowsin.c: New file.
30487
81f311c2
SP
30488 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30489 (bench): Add slowexp and slowpow.
30490 (exp-ITER): Increase iterations.
30491 (pow-ITER): Likewise.
30492 * benchtests/exp-inputs: Change input.
30493 * benchtests/pow-inputs: Likewise.
30494 * benchtests/slowexp-inputs: New file.
30495 * benchtests/slowexp.c: New file.
30496 * benchtests/slowpow-inputs: New file.
30497 * benchtests/slowpow.c: New file.
30498
ab0f1aa9
AZ
304992013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30500
30501 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30502 instructions.
30503 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30504 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30505 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30506 * benchtests/Makefile: Add rint benchtest.
30507 * benchtests/rint-inputs: Input for rint benchtest.
30508
57267616
TS
305092013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30510
30511 * Versions.def (libm): Add GLIBC_2.18.
30512 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30513 hidden libm prototypes.
30514 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30515 * math/Makefile (libm-calls): Add s_issignaling.
30516 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30517 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30518 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30519 declaration.
30520 * math/math.h [__USE_GNU] (issignaling): New macro.
30521 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30522 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30523 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30524 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30525 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30526 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30527 * manual/arith.texi (issignaling): New section.
30528 * manual/libm-err-tab.pl (@all_functions): Update comment.
30529 * math/gen-libm-test.pl (parse_args): Apply special handling for
30530 issignaling.
30531 * math/libm-test.inc (print_float, issignaling_test): New
30532 functions.
30533 (check_float_internal): Add issignaling checks.
30534 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30535 default definition.
30536 * sysdeps/powerpc/math-tests.h: New file.
30537 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30538 tests.
30539 * math/test-snan.c (TEST_FUNC): Likewise.
30540
6142896d
DM
305412013-03-30 David S. Miller <davem@davemloft.net>
30542
30543 * po/de.po: Update from translation team.
30544
ccc8cadf
JM
305452013-03-30 Joseph Myers <joseph@codesourcery.com>
30546
30547 [BZ #10357]
30548 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30549 imaginary part less than 1.0 and real part less than 0.5
30550 specially.
30551 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30552 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30553 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30554 (cacos_test): Add more tests.
30555 (casin_test): Likewise.
30556 (casinh_test): Likewise.
30557 * sysdeps/i386/fpu/libm-test-ulps: Update.
30558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30559
0f6a8d4b
SP
305602013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30561
0d1029de
SP
30562 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30563 ONE with its value.
30564
c2d94018
SP
30565 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30566 (__pow_mp): Replace ONE and MONE with their values.
30567 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30568 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30569 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30570 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30571 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30572 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30573
27ec37f1
SP
30574 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30575
a64d7e0e
SP
30576 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30577 (__pow_mp): Replace ZERO and MZERO with their values.
30578 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30579 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30580 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30582 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30583 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30584 (__sqr): Likewise.
30585
d26dd3eb
SP
30586 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30587
0f6a8d4b
SP
30588 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30589
e57b0c61
RM
305902013-03-28 Roland McGrath <roland@hack.frob.com>
30591
30592 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30593 Declare with __attribute__ ((weak)).
30594 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30595 Call __call_tls_dtors only if it's not NULL.
30596
356b3480
RM
305972013-03-28 Roland McGrath <roland@hack.frob.com>
30598
288f7d79
RM
30599 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30600 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30601 magic __ehdr_start linker symbol if it's defined.
30602 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30603 them up here if it was already done.
30604
dc0a0263
RM
30605 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30606 (_dl_aux_init): Use const in cast when setting it.
30607 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30608 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30609 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30610
3d3436ae
RM
30611 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30612 Declare them here.
30613 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30614 * csu/libc-tls.c: Nor here.
30615 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30616
356b3480
RM
30617 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30618 (__libc_message): Never call vsyslog.
30619
b0f1246a
AM
306202013-03-28 Alan Modra <amodra@gmail.com>
30621
30622 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30623 Define as empty.
30624 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30625 Likewise.
30626
fbbe2b9a
AZ
306272013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30628
30629 [BZ #15214]
30630 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30631 underflow.
30632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30633
1728ab37
SP
306342013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30635
7a86be6e
SP
30636 [BZ #15304]
30637 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30638 Don't add gid passed as argument.
30639
1728ab37
SP
30640 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30641
3a7182a1
JM
306422013-03-27 Joseph Myers <joseph@codesourcery.com>
30643
30644 [BZ #15307]
30645 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30646 imaginary part between 1.0 and 1.5 and real part less than 0.5
30647 specially.
30648 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30649 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30650 * math/libm-test.inc (cacos_test): Add more tests.
30651 (casin_test): Likewise.
30652 (casinh_test): Likewise.
30653 * sysdeps/i386/fpu/libm-test-ulps: Update.
30654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30655
6f2e90e7
SP
306562013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30657
5739f705
SP
30658 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30659 constants.
30660 (norm): Likewise.
30661 (denorm): Likewise.
30662 (__dbl_mp): Likewise.
30663 (add_magnitudes): Likewise.
30664 (sub_magnitudes): Likewise.
30665 (__add): Likewise.
30666 (__sub): Likewise.
30667 (__mul): Likewise.
30668 (__sqr): Likewise.
30669 (__inv): Likewise.
30670 (__dvd): Likewise.
30671
e375e83d
SP
30672 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30673 commented code.
30674 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30675 (__dubcos): Likewise.
30676 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30677 (__ieee754_acos): Likewise.
30678 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30679 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30680 (__exp1): Likewise.
30681 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30682 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30683 (log1): Likewise.
30684 (my_log2): Likewise.
30685 (checkint): Likewise.
30686 * sysdeps/ieee754/dbl-64/e_remainder.c
30687 (__ieee754_remainder): Likewise.
30688 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30689 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30690 (bsloww): Likewise.
30691 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30692
6f2e90e7
SP
30693 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30694 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30695 MANTISSA_STORE_T to store computations on mantissa. Use
30696 macros for rounding and division.
30697 (denorm): Likewise.
30698 (__dbl_mp): Likewise.
30699 (add_magnitudes): Likewise.
30700 (sub_magnitudes): Likewise.
30701 (__mul): Likewise.
30702 (__sqr): Likewise.
30703 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30704 powers of two in terms of TWOPOW macro.
30705 (mp_no): Make type of mantissa as MANTISSA_T.
30706 [!RADIXI]: Define RADIXI.
30707 [!TWO52]: Define TWO52.
30708 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30709
fce14d4e
AZ
307102013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30711
30712 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30713 llroundl symbol when building for PPC32.
30714
9ad027fb
MW
307152013-03-24 Mark H Weaver <mhw@netris.org>
30716
30717 * manual/arith.texi (Normalization Functions): Fix prototypes for
30718 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30719
e42a38dd
AZ
307202013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30721
30722 [BZ #13889]
30723 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30724 high value to check if expl overflow.
30725 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30726 to check for underflow and overflow.
30727 * math/libm-test.inc: Add exp test.
30728
2e0fb521
DL
307292013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30730
30731 [BZ #11120]
30732 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30733 with NOT_IN_libc.
30734
b5784d95
AZ
307352013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30736
30737 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30738 symbol.
30739
5aa4a1a1
TS
307402013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30741
bdef0be7
TS
30742 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30743 wrap blocks consisting of several statements.
30744
5aa4a1a1
TS
30745 * sysdeps/generic/math-tests.h: New file.
30746 * sysdeps/i386/fpu/math-tests.h: Likewise.
30747 * math/test-snan.c: Include it.
30748 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30749
98c48fe5
JM
307502013-03-21 Joseph Myers <joseph@codesourcery.com>
30751
30752 [BZ #15285]
30753 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30754 (__ieee754_j0l): Do not improve calculations using cos of twice
30755 input for inputs above LDBL_MAX / 2.0L.
30756 (__ieee754_y0l): Likewise.
30757 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30758 (__ieee754_j1l): Do not improve calculations using cos of twice
30759 input for inputs above LDBL_MAX / 2.0L.
30760 (__ieee754_y1l): Likewise.
30761 * math/libm-test.inc (j0_test): Add another test.
30762 (j1_test): Likewise.
30763 (y0_test): Likewise.
30764 (y1_test): Likewise.
30765 * sysdeps/i386/fpu/libm-test-ulps: Update.
30766
3775a8bc
SP
307672013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30768
30769 * Rules ($(objpfx)bench-%.c): Include code from a C source
30770 file.
30771
0a1b2ae6
JM
307722013-03-21 Joseph Myers <joseph@codesourcery.com>
30773
30774 [BZ #15287]
30775 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30776 imaginary part 1.0 and real part less than 0.5 specially.
30777 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30778 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30779 * math/libm-test.inc (cacos_test): Add more tests.
30780 (casin_test): Likewise.
30781 (casinh_test): Likewise.
30782 * sysdeps/i386/fpu/libm-test-ulps: Update.
30783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30784
b33d4ce4
SP
307852013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30786
30787 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30788 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30789
bef0b507
JM
307902013-03-20 Joseph Myers <joseph@codesourcery.com>
30791
30792 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30793 * config.make.in (config-cflags-sse4): Remove variable.
30794 (config-cflags-avx): Likewise.
30795 (config-cflags-sse2avx): Likewise.
30796 (config-cflags-novzeroupper): Likewise.
30797 (config-asflags-i686): Likewise.
30798 (have-mfma4): Likewise.
30799 (have-as-vis3): Likewise.
30800 (MIG): Likewise.
30801 * configure.in (MIG): Do not AC_SUBST.
30802 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30803 (libc_cv_cc_sse4): Do not AC_SUBST.
30804 (libc_cv_cc_avx): Likewise.
30805 (libc_cv_cc_sse2avx): Likewise.
30806 (libc_cv_cc_novzeroupper): Likewise.
30807 (libc_cv_cc_fma4): Likewise.
30808 (libc_cv_as_i686): Likewise.
30809 (libc_cv_sparc_as_vis3): Likewise.
30810 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30811 LIBC_CONFIG_VAR.
30812 (config-asflags-i686): Likewise.
30813 (config-cflags-avx): Likewise.
30814 (config-cflags-sse2avx): Likewise.
30815 (have-mfma4): Likewise.
30816 (config-cflags-novzeroupper): Likewise.
30817 * sysdeps/mach/configure.in (MIG): Likewise.
30818 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30819 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30820 LIBC_CONFIG_VAR.
30821 (config-cflags-avx): Likewise.
30822 (config-cflags-sse2avx): Likewise.
30823 (have-mfma4): Likewise.
30824 (config-cflags-novzeroupper): Likewise.
30825 * configure: Regenerated.
30826 * sysdeps/i386/configure: Likewise.
30827 * sysdeps/mach/configure: Likewise.
30828 * sysdeps/sparc/configure: Likewise.
30829 * sysdeps/x86_64/configure: Likewise.
30830
912cc4b3
RM
308312013-03-20 Roland McGrath <roland@hack.frob.com>
30832
30833 [BZ #14812]
30834 * locale/programs/localedef.c (options): Put N_ translation marker
30835 on argument names, not just descriptions.
30836
04eed2b0
MS
308372013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30838
30839 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30840
a065ceff
OB
308412013-03-20 Ondřej Bílka <neleai@seznam.cz>
30842
9bb2a810 30843 [BZ #14176]
a065ceff
OB
30844 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30845
a600e5ce
RM
308462013-03-19 Roland McGrath <roland@hack.frob.com>
30847
30848 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30849 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30850 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30851 [!BEFORE_ABORT] (before_abort): New function.
30852 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30853 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30854 (writev_for_fatal): New function.
30855 (WRITEV_FOR_FATAL): New macro; call that.
30856 (backtrace_and_maps): New function.
30857 (BEFORE_ABORT): New macro; call that.
30858 (struct str_list): Type removed.
30859 (__libc_message, __libc_fatal): Functions removed.
30860 Include <sysdeps/posix/libc_fatal.c> instead.
30861
6b18bea6
JM
308622013-03-19 Joseph Myers <joseph@codesourcery.com>
30863
30864 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30865 constants.
30866 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30867 double constants.
30868
aaa8cb4b
AS
308692013-03-19 Andreas Schwab <schwab@suse.de>
30870
44673770
AS
30871 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30872 * sysdeps/gnu/configure: Regenerate.
30873
aaa8cb4b
AS
30874 * configure.in: Substitute libc_cv_rtlddir.
30875 * configure: Regenerate.
30876 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30877 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30878 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30879 * elf/Makefile (install-others, CFLAGS-interp.c)
30880 (ldso_install, common-ldd-rewrite): Likewise.
30881 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30882 $(inst_slibdir)/$(rtld-installed-name).
30883 * scripts/rellns-sh: Add -p option.
30884 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30885 for source.
30886
d3cfc668
SP
308872013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30888
30889 * manual/nptl.texi: Renamed to ...
30890 * manual/threads.texi: ... this.
30891 * manual/Makefile (chapters): Update.
30892
0e2b9cdd
RM
308932013-03-18 Roland McGrath <roland@hack.frob.com>
30894
30895 [BZ #14812]
30896 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30897 on argument names, not just descriptions.
0e2b9cdd
RM
30898 * malloc/memusagestat.c (options): Likewise.
30899 * nss/getent.c (options): Likewise.
63270c24
RM
30900
309012013-03-18 Benno Schulenberg <bensberg@justemail.net>
30902
30903 [BZ #14812]
30904 * iconv/iconv_prog.c (options): Put N_ translation marker
30905 on argument names, not just descriptions.
30906 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30907
b2e1393c
OB
309082013-03-18 Ondrej Bilka <neleai@seznam.cz>
30909
30910 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30911 implementation which is faster on all x86_64 architectures.
30912 Tested on AMD, Intel Nehalem, SNB, IVB.
30913 * sysdeps/x86_64/strnlen.S: Likewise.
30914
30915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30916 Remove all multiarch strlen and strnlen versions.
30917 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30918 Remove strlen and strnlen related parts.
30919
30920 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30921 Inline strlen part.
30922 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30923
30924 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30925 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30926 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30927 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30928 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30929 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30930
ec4ff04d
CD
309312013-03-17 Carlos O'Donell <carlos@redhat.com>
30932
30933 * manual/memory.texi (Malloc Tunable Parameters):
30934 Sort parameters alphabetically. Add comments for missing entries.
30935
cd18e90a
DM
309362013-03-17 David S. Miller <davem@davemloft.net>
30937
30938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30939
2a185d32
JM
309402013-03-16 Joseph Myers <joseph@codesourcery.com>
30941
d2f9799e
JM
30942 [BZ #15283]
30943 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30944 for arguments at most half maximum finite value.
30945 * math/libm-test.inc (j0_test): Add more tests.
30946 (j1_test): Likewise.
30947 (y0_test): Likewise.
30948 (y1_test): Likewise.
30949 * sysdeps/i386/fpu/libm-test-ulps: Update.
30950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30951
2a185d32
JM
30952 [BZ #14155]
30953 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30954 1 / x and functions P and Q for arguments above 0x1p256L.
30955 (__ieee754_y0l): Likewise.
30956 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30957 (__ieee754_y1l): Likewise.
30958 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30959 (j1_test): Likewise.
30960 (y0_test): Likewise.
30961 (y1_test): Likewise.
30962
6cbec759
TS
309632013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30964
30965 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30966 variable.
30967
bc16e260
RM
309682013-03-15 Roland McGrath <roland@hack.frob.com>
30969
aefc9b8c
RM
30970 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30971 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30972 zero since it's initialized to EXEC_PAGESIZE.
30973
bc16e260
RM
30974 * sysdeps/unix/sysv/linux/ldsodefs.h
30975 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30976 * sysdeps/generic/ldsodefs.h: ... here.
30977
a57da955
TS
309782013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30979
af00a34d
TS
30980 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30981
495ded2c
TS
30982 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30983 math/test-snan.c.
30984 * math/test-snan.c: Renamed from
30985 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30986 * math/Makefile (tests): Add test-snan.
30987 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30988 test-powerpc-snan.
30989
777b0332
TS
30990 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30991 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30992 functions.
30993 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30994 __builtin_nan family of functions.
30995 * math/libm-test.inc (initialize): Initialize qnan_value with
30996 __builtin_nan family of functions.
30997 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30998 Remove variables.
30999 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31000 Remove functions.
31001 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31002 storage class. Initialize qNaN_var and sNaN_var with
31003 __builtin_nan and __builtin_nans families of functions,
31004 respectively.
31005
64d063b8
TS
31006 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31007 (sqrt_test): Remove duplicate test with qNaN input.
31008 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31009 (round_test, signbit_test, significand_test): Note missing +/-Inf
31010 as well as qNaN tests.
31011
67e971f1
TS
31012 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31013 qNaN_var. Fix a few strings, too.
31014 * math/libm-test.inc (nan_value): Rename to qnan_value.
31015 * math/gen-libm-test.pl (%beautify): Adjust to that.
31016 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31017 * math/test-misc.c (main): Likewise.
31018 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31019 to __qnan_bytes, and __qnan_union, respectively.
31020 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31021 Likewise.
31022 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31023 and lqnanval, respectively.
31024 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31025 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31026 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31027 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31028
64487e12
TS
31029 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31030 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31031 doubles.
31032
e015e27b
TS
31033 * math/test-misc.c (main): Fix copy'n'pastos.
31034 * misc/tst-efgcvt.c (special): Likewise.
31035
a57da955
TS
31036 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31037 Remove declarations.
31038
1e380345
SP
310392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31040
31041 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31042 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31043 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31044 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31045
ef26eece
AZ
310462013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31047
31048 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31049 macro to return vdso values correctly in IFUNC implementations.
31050 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31051 Optimization by using IFUNC.
31052
8cfdb7e0
SP
310532013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31054 Richard Henderson <rth@redhat.com>
31055 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31056
31057 * Makefile.in (bench): New target.
31058 * NEWS: Mention the benchmark framework.
31059 * Rules (bench): Likewise.
31060 (binaries-bench): Generate binaries for functions to
31061 benchmark.
31062 * benchtests/Makefile: New makefile for benchmark tests.
31063 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31064 programs.
31065 * benchtests/exp-inputs: New input file for EXP function.
31066 * benchtests/pow-inputs: New input file for POW function.
31067 * scripts/bench.pl: New script to generate source files for
31068 benchmark programs.
31069
bcda9880
SP
310702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31071
d22ca8cd
SP
31072 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31073 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31074 computations on mantissa. Use macros for rounding and
31075 division.
31076 (denorm): Likewise.
31077 (__dbl_mp): Likewise.
31078 (add_magnitudes): Likewise.
31079 (sub_magnitudes): Likewise.
31080 (__mul): Likewise.
31081 (__sqr): Likewise.
31082 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31083 powers of two in terms of TWOPOW macro.
31084 (mp_no): Make type of mantissa as MANTISSA_T.
31085 [!RADIXI]: Define RADIXI.
31086 [!TWO52]: Define TWO52.
31087 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31088
bcda9880
SP
31089 * manual/nptl.texi (cindex): Modify threads to pthreads.
31090
06d5adfb
JM
310912013-03-15 Joseph Myers <joseph@codesourcery.com>
31092
31093 * sysdeps/x86_64/preconfigure: Regenerated.
31094
41c7328e
JM
310952013-03-14 Joseph Myers <joseph@codesourcery.com>
31096
31097 [BZ #14155]
31098 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31099 0x1p28 and above.
31100 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31101 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31102 0x1p28 and above.
31103 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31104 * math/libm-test.inc (j0_test): Do not allow one spurious
31105 underflow exception.
31106 (y1_test): Likewise.
31107
e25cfa60
SP
311082013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31109
0409959c
SP
31110 * manual/Makefile (chapters): Add nptl.
31111 * manual/debug.texi (Debugging Support): Add link to Threads
31112 chapter.
31113 * manual/nptl.texi: New file.
31114
e25cfa60
SP
31115 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31116
58a1335e
PB
311172013-03-14 Petr Baudis <pasky@ucw.cz>
31118
31119 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31120 for non-NULL pointer before the memory validity test. Pointed
31121 out by Holger Brunck <holger.brunck@keymile.com>.
31122
9dc7c64f
AS
311232013-03-13 Andreas Schwab <schwab@suse.de>
31124
31125 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31126 instead of .os.
31127
54206aa6
JM
311282013-03-13 Joseph Myers <joseph@codesourcery.com>
31129
31130 * timezone/zic.c: Update from tzcode 2013b.
31131
e98cdb38
CD
311322013-03-12 Carlos O'Donell <carlos@redhat.com>
31133
31134 * manual/install.texi (Configuring and compiling):
31135 Mention i686 and i586.
31136 * INSTALL: Regenerate.
31137
9967e003
RM
311382013-03-12 Roland McGrath <roland@hack.frob.com>
31139
31140 * sysdeps/init_array/elf-init.c: New file.
31141 * csu/elf-init.c
31142 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31143 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31144
31145 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31146 __gmon_start__ as global, but as static with a .preinit_array pointer.
31147 * sysdeps/init_array/gmon-start.c: New file. Use that.
31148 * sysdeps/init_array/crti.S: New file, empty except for comments.
31149 * sysdeps/init_array/crtn.S: Likewise.
31150
e6b5a293 311512013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
31152
31153 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31154 definining bcopy.
80f844c9
OB
31155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31156 Remove Prefer_SSE_for_memop.
31157 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31158 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31159 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
31160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31161 memset-x86-64.
80f844c9 31162 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 31163 Remove bzero, memset ifunc support.
80f844c9
OB
31164 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31165 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31166 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31167 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31168
fb6b0fcb
AS
311692013-03-11 Andreas Schwab <schwab@suse.de>
31170
31171 [BZ #15234]
31172 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31173 by SHLIB_COMPAT.
31174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31175 (GLIBC_2.16): Remove pthread_atfork.
31176
3e6bd4b1
PP
311772013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31178
31179 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31180 (ptestcases.h): Likewise.
31181
222d7f00
RM
311822013-03-08 Roland McGrath <roland@hack.frob.com>
31183
31184 * Makeconfig ($(common-objpfx)config.status): Depend on
31185 sysdeps/*/preconfigure{,.in} too.
31186
1ba4f030
JM
311872013-03-08 Joseph Myers <joseph@codesourcery.com>
31188
a222d91a
JM
31189 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31190 (__free_hook): Use void * instead of __malloc_ptr_t.
31191 (__malloc_hook): Likewise.
31192 (__realloc_hook): Likewise.
31193 (__memalign_hook): Likewise.
31194 (__after_morecore_hook): Likewise.
31195 * malloc/arena.c (save_malloc_hook): Likewise.
31196 (save_free_hook): Likewise.
31197 * malloc/hooks.c (malloc_hook_ini): Likewise.
31198 (realloc_hook_ini): Likewise.
31199 (memalign_hook_ini): Likewise.
31200 * malloc/malloc.c (malloc_hook_ini): Likewise.
31201 (realloc_hook_ini): Likewise.
31202 (memalign_hook_ini): Likewise.
31203 (__free_hook): Likewise.
31204 (__malloc_hook): Likewise.
31205 (__realloc_hook): Likewise.
31206 (__memalign_hook): Likewise.
31207 (__libc_malloc): Likewise.
31208 (__libc_free): Likewise.
31209 (__libc_realloc): Likewise.
31210 (__libc_memalign): Likewise.
31211 (__libc_valloc): Likewise.
31212 (__libc_pvalloc): Likewise.
31213 (__libc_calloc): Likewise.
31214 (__posix_memalign): Likewise.
31215 * malloc/morecore.c (__sbrk): Likewise.
31216 (__default_morecore): Likewise.
31217
5cc45e10
JM
31218 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31219
dd54b864
JM
31220 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31221 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31222 __malloc_ptrdiff_t.
31223
1ba4f030
JM
31224 * malloc/malloc.h (__malloc_size_t): Remove macro.
31225 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31226 __malloc_size_t.
31227 (old_memalign_hook): Likewise.
31228 (old_realloc_hook): Likewise.
31229 (struct hdr): Likewise.
31230 (flood): Likewise.
31231 (mallochook): Likewise.
31232 (memalignhook): Likewise.
31233 (reallochook): Likewise.
31234 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31235 (tr_old_realloc_hook): Likewise.
31236 (tr_old_memalign_hook): Likewise.
31237 (tr_mallochook): Likewise.
31238 (tr_reallochook): Likewise.
31239 (tr_memalignhook): Likewise.
31240
edf66e57
AZ
312412013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31242
31243 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31244 default_ldbl_pack and using as default implementation.
31245 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31246 implementation.
31247 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31248 redundant definition.
31249 (ldbl_insert_mantissa): Likewise.
31250 (ldbl_canonicalize): Likewise.
31251 (ldbl_nearbyint): Likewise.
31252 (ldbl_pack): Rename to ldbl_pack_ppc.
31253 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31254 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31255 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31256
6d9145d8
SP
312572013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31258
31259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31260 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31261 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31262 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31264 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31265 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31266 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31267
4dd4e157
AJ
312682013-03-07 Andreas Jaeger <aj@suse.de>
31269
31270 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31271 bits/mman-linux.h.
31272
adbb8027
SP
312732013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31274
ce544b5b
SP
31275 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31276 Include mpa.h and declare __MPEXP.
31277 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31278 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31279 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31280 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31281 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31282 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31283 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31284
4cc149fd
SP
31285 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31286 (__slowpow): Use long double EXPL and LOGL functions to
31287 compute POW.
31288 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31289 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31290 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31291 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31292 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31293 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31294
e6ebd4a7
SP
31295 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31296 intermediate variable to calculate exponent.
31297 (__sqr): Likewise.
31298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31299 Likewise.
31300 (__sqr): Likewise.
31301
82a9811d
SP
31302 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31303 [!NO__SQR]: Define __sqr.
31304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31305 and NO__SQR. Remove all code except __mul and __sqr. Include
31306 sysdeps/ieee754/dbl-64/mpa.c.
31307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31308
adbb8027
SP
31309 [BZ #12723]
31310 * posix/Makefile (tests): Add tst-pathconf.
31311 * posix/tst-pathconf.c: New test case.
31312 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31313 _PC_PIPE_BUF.
31314 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31315
39120df9
PF
313162013-03-06 Patsy Franklin <pfrankli@redhat.com>
31317
31318 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31319
67525cb8
AJ
313202013-03-06 Andreas Jaeger <aj@suse.de>
31321
664a9ce4
AJ
31322 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31323 definition via __MAP_ANONYMOUS.
31324
8e39047d
AJ
31325 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31326 it's not part of Linux headers.
31327
67525cb8
AJ
31328 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31329 (MAP_HUGE_MASK): Define.
31330
31331 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31332 Define.
31333 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31334 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31335 Define.
31336 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31337 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31338 Define.
31339 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31340 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31341 Define.
31342 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31343
31344 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31345 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31346 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31347 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31348 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31349 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31350
31351 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31352 Handle f2fs.
31353
31354 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31355 Handle f2fs and efivarfs.
31356
31357 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31358 f2fs.
31359
31360 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31361 (EFIVARFS_MAGIC): Add.
31362 (F2FS_LINK_MAX): Add.
31363
e1b42695
PP
313642013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31365
31366 * stdio-common/vfprintf.c: Replace __builtin_expect with
31367 __glibc_unlikely.
31368
2d67d91a
JM
313692013-03-06 Joseph Myers <joseph@codesourcery.com>
31370
31371 [BZ #13550]
31372 * sysdeps/generic/bp-sym.h: Remove file.
31373 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31374 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31375 <bp-sym.h> and <bp-asm.h>.
31376 (__longjmp): Don't use BP_SYM.
31377 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31378 and <bp-asm.h>.
31379 (memcpy): Don't use BP_SYM.
31380 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31381 <bp-sym.h> and <bp-asm.h>.
31382 (memcpy): Don't use BP_SYM.
31383 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31384 <bp-asm.h>.
31385 (memcpy): Don't use BP_SYM.
31386 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31387 <bp-asm.h>.
31388 (memset): Don't use BP_SYM.
31389 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31390 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31391 (__bzero): Don't use BP_SYM.
31392 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31393 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31394 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31395 <bp-sym.h> and <bp-asm.h>.
31396 (memcmp): Don't use BP_SYM. Remove comment about bounded
31397 pointers.
31398 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31399 <bp-sym.h> and <bp-asm.h>.
31400 (memcpy): Don't use BP_SYM.
31401 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31402 <bp-sym.h> and <bp-asm.h>.
31403 (memset): Don't use BP_SYM.
31404 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31405 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31406 (__bzero): Don't use BP_SYM.
31407 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31408 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31409 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31410 <bp-sym.h> and <bp-asm.h>.
31411 (strncmp): Don't use BP_SYM. Remove comment about bounded
31412 pointers.
31413 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31414 <bp-sym.h> and <bp-asm.h>.
31415 (memcpy): Don't use BP_SYM.
31416 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31417 <bp-sym.h> and <bp-asm.h>.
31418 (memset): Don't use BP_SYM.
31419 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31420 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31421 (__bzero): Don't use BP_SYM.
31422 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31423 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31424 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31425 <bp-sym.h> and <bp-asm.h>.
31426 (__memchr): Don't use BP_SYM.
31427 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31428 <bp-sym.h> and <bp-asm.h>.
31429 (memcmp): Don't use BP_SYM. Remove comment about bounded
31430 pointers.
31431 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31432 <bp-sym.h> and <bp-asm.h>.
31433 (memcpy): Don't use BP_SYM.
31434 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31435 <bp-sym.h> and <bp-asm.h>.
31436 (__mempcpy): Don't use BP_SYM.
31437 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31438 <bp-sym.h> and <bp-asm.h>.
31439 (__memrchr): Don't use BP_SYM.
31440 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31441 <bp-sym.h> and <bp-asm.h>.
31442 (memset): Don't use BP_SYM.
31443 (__bzero): Likewise.
31444 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31445 <bp-sym.h> and <bp-asm.h>.
31446 (__rawmemchr): Don't use BP_SYM.
31447 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31448 <bp-sym.h> and <bp-asm.h>.
31449 (__STRCMP): Don't use BP_SYM.
31450 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31451 <bp-sym.h> and <bp-asm.h>.
31452 (strchr): Don't use BP_SYM.
31453 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31454 <bp-sym.h> and <bp-asm.h>.
31455 (__strchrnul): Don't use BP_SYM.
31456 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31457 <bp-sym.h> and <bp-asm.h>.
31458 (strlen): Don't use BP_SYM.
31459 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31460 <bp-sym.h> and <bp-asm.h>.
31461 (strncmp): Don't use BP_SYM. Remove comment about bounded
31462 pointers.
31463 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31464 <bp-sym.h> and <bp-asm.h>.
31465 (__strnlen): Don't use BP_SYM.
31466 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31467 <bp-sym.h> and <bp-asm.h>.
31468 (__GI__setjmp): Don't use BP_SYM.
31469 (_setjmp): Likewise.
31470 (__sigsetjmp): Likewise.
31471 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31472 (L(start_addresses)): Don't use BP_SYM.
31473 (_start): Likewise.
31474 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31475 <bp-asm.h>.
31476 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31477 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31478 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31479 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31480 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31481 <bp-asm.h>.
31482 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31483 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31484 about bounded pointers.
31485 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31486 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31487 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31488 <bp-asm.h>.
31489 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31490 about bounded pointers. Remove GKM FIXME comments.
31491 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31492 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31493 <bp-asm.h>.
31494 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31495 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31496 Remove GKM FIXME comments.
31497 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31498 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31499 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31500 <bp-asm.h>.
31501 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31502 about bounded pointers. Remove GKM FIXME comment.
31503 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31504 and <bp-asm.h>.
31505 (strncmp): Don't use BP_SYM. Remove comment about bounded
31506 pointers.
31507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31508 <bp-sym.h> and <bp-asm.h>.
31509 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31511 <bp-sym.h> and <bp-asm.h>.
31512 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31513 comment.
31514
cdcf361f
PP
315152013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31516
31517 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31518 call free(NULL).
31519
3c4a2b15
DM
315202013-03-05 David S. Miller <davem@davemloft.net>
31521
31522 * po/es.po: Update from translation team.
31523
cdcf361f 315242013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
31525
31526 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31527 <bits/mman-linux.h>.
31528 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31529 is fine.
31530 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31531 <bits/mman-linux.h> to end of file.
31532 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31533 is fine.
31534 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31535 <bits/mman-linux.h> to end of file.
31536 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31537 is fine.
31538 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31539 <bits/mman-linux.h> to end of file.
31540
31541 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31542 (MCL_CURRENT, MCL_FUTURE): Define here.
31543
5f67c04f
AK
315442013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31545
8a4473cc 31546 [BZ #15232]
5f67c04f
AK
31547 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31548 attribute_hidden.
31549 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31550
c3e94a95
AK
315512013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31552
31553 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31554 fourth parameter needed for rt_sigprocmask syscall.
31555 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31556 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31557 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31558 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31559 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31560 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31561
cfb6382a
JM
315622013-03-04 Joseph Myers <joseph@codesourcery.com>
31563
31564 [BZ #13550]
31565 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31566 comment about bounded pointers.
31567 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31568 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31569
539d8e01
AJ
315702013-03-04 Andreas Jaeger <aj@suse.de>
31571
31572 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31573 common definitions.
31574
31575 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31576 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31577 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31578 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31579 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
31580 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31581
2e167a70 315822013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
31583
31584 [BZ #15055]
31585 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31586 __ieee754_sqrl instead of __sqrl.
31587
68508633
JM
315882013-03-01 Joseph Myers <joseph@codesourcery.com>
31589
31590 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31591 * sysdeps/powerpc/fpu_control.h: ... here.
31592 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31593 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31594 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31595 * sysdeps/powerpc/bits/mathinline.h: ... here.
31596
7775448e
RM
315972013-03-01 Roland McGrath <roland@hack.frob.com>
31598
31599 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31600 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31601 to just [NEED_DL_SYSINFO_DSO].
31602 * elf/dl-support.c: Likewise.
31603 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31604 * elf/rtld.c (dl_main): Likewise.
31605 * elf/setup-vdso.h (setup_vdso): Likewise.
31606 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31607 * sysdeps/unix/sysv/linux/dl-sysdep.c
31608 (_dl_discover_osversion): Likewise.
31609
4e9b5995
CD
316102013-03-01 Carlos O'Donell <carlos@redhat.com>
31611
31612 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31613 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31614
e23872c8
SP
316152013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31616
e5c74c63
SP
31617 * NEWS: Mention libm performance improvements and non-x86 PI
31618 futex support.
31619
e23872c8
SP
31620 * csu/libc-start.c (__pthread_initialize_minimal): Change
31621 function arguments.
31622 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31623
b5510883
JM
316242013-02-28 Joseph Myers <joseph@codesourcery.com>
31625
31626 [BZ #13550]
31627 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31628 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31629 <bp-sym.h> and <bp-asm.h>.
31630 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31631 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31632 and <bp-asm.h>.
31633 (memcpy): Don't use BP_SYM.
31634 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31635 <bp-asm.h>.
31636 (__mpn_add_n): Don't use BP_SYM.
31637 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31638 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31639 and <bp-asm.h>.
31640 (__mpn_addmul_1): Don't use BP_SYM.
31641 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31642 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31643 <bp-sym.h>.
31644 (_setjmp): Don't use BP_SYM.
31645 (__novmx_setjmp): Likewise.
31646 (__GI__setjmp): Likewise.
31647 (__vmx_setjmp): Likewise.
31648 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31649 <bp-sym.h>.
31650 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31651 (__bzero): Don't use BP_SYM.
31652 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31653 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31654 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31655 <bp-sym.h> and <bp-asm.h>.
31656 (memcpy): Don't use BP_SYM.
31657 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31658 <bp-sym.h> and <bp-asm.h>.
31659 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31660 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31661 <bp-sym.h> and <bp-asm.h>.
31662 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31663 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31664 <bp-asm.h>.
31665 (__mpn_lshift): Don't use BP_SYM.
31666 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31667 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31668 <bp-asm.h>.
31669 (memset): Don't use BP_SYM.
31670 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31671 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31672 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31673 <bp-asm.h>.
31674 (__mpn_mul_1): Don't use BP_SYM.
31675 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31676 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31677 <bp-sym.h> and <bp-asm.h>.
31678 (memcmp): Don't use BP_SYM.
31679 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31680 <bp-sym.h> and <bp-asm.h>.
31681 (memcpy): Don't use BP_SYM.
31682 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31683 <bp-sym.h> and <bp-asm.h>.
31684 (memset): Don't use BP_SYM.
31685 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31686 <bp-sym.h> and <bp-asm.h>.
31687 (strncmp): Don't use BP_SYM.
31688 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31689 <bp-sym.h> and <bp-asm.h>.
31690 (memcpy): Don't use BP_SYM.
31691 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31692 <bp-sym.h> and <bp-asm.h>.
31693 (memset): Don't use BP_SYM.
31694 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31695 <bp-sym.h> and <bp-asm.h>.
31696 (__memchr): Don't use BP_SYM.
31697 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31698 <bp-sym.h> and <bp-asm.h>.
31699 (memcmp): Don't use BP_SYM.
31700 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31701 <bp-sym.h> and <bp-asm.h>.
31702 (memcpy): Don't use BP_SYM.
31703 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31704 <bp-sym.h> and <bp-asm.h>.
31705 (__mempcpy): Don't use BP_SYM.
31706 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31707 <bp-sym.h> and <bp-asm.h>.
31708 (__memrchr): Don't use BP_SYM.
31709 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31710 <bp-sym.h> and <bp-asm.h>.
31711 (memset): Don't use BP_SYM.
31712 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31713 <bp-sym.h> and <bp-asm.h>.
31714 (__rawmemchr): Don't use BP_SYM.
31715 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31716 <bp-sym.h> and <bp-asm.h>.
31717 (__STRCMP): Don't use BP_SYM.
31718 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31719 <bp-sym.h> and <bp-asm.h>.
31720 (strchr): Don't use BP_SYM.
31721 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31722 <bp-sym.h> and <bp-asm.h>.
31723 (__strchrnul): Don't use BP_SYM.
31724 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31725 <bp-sym.h> and <bp-asm.h>.
31726 (strlen): Don't use BP_SYM.
31727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31728 <bp-sym.h> and <bp-asm.h>.
31729 (strncmp): Don't use BP_SYM.
31730 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31731 <bp-sym.h> and <bp-asm.h>.
31732 (__strnlen): Don't use BP_SYM.
31733 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31734 <bp-asm.h>.
31735 (__mpn_rshift): Don't use BP_SYM.
31736 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31737 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31738 <bp-sym.h> and <bp-asm.h>.
31739 (__sigsetjmp): Don't use BP_SYM.
31740 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31741 (L(start_addresses)): Don't use BP_SYM.
31742 (_start): Likewise.
31743 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31744 <bp-asm.h>.
31745 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31746 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31747 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31748 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31749 <bp-asm.h>.
31750 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31751 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31752 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31753 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31754 <bp-asm.h>.
31755 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31756 comments.
31757 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31758 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31759 <bp-asm.h>.
31760 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31761 FIXME comments.
31762 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31763 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31764 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31765 <bp-asm.h>.
31766 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31767 comment.
31768 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31769 and <bp-asm.h>.
31770 (strncmp): Don't use BP_SYM,
31771 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31772 <bp-asm.h>.
31773 (__mpn_sub_n): Don't use BP_SYM.
31774 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31775 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31776 and <bp-asm.h>.
31777 (__mpn_submul_1): Don't use BP_SYM.
31778 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31780 <bp-sym.h> and <bp-asm.h>.
31781 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31783 <bp-sym.h> and <bp-asm.h>.
31784 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31785 comment.
31786
8d19fe64
SP
317872013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31788
31789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31790 Use ZK to minimize writes to Z.
31791 (sub_magnitudes): Simplify code a bit.
31792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31793 Use ZK to minimize writes to Z.
31794 (sub_magnitudes): Simplify code a bit.
31795
85bd816a
RM
317962013-02-27 Roland McGrath <roland@hack.frob.com>
31797
31798 * csu/gmon-start.c: Add special exception to license text.
31799
b5977bf2
RH
318002013-02-27 Richard Henderson <rth@redhat.com>
31801
31802 * scripts/config.guess: Update from config.git.
31803 * scripts/config.sub: Likewise.
31804
11d6e2f2
SP
318052013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31806
09c14ed2
SP
31807 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31808
a688864e
SP
31809 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31810
6295157a
SP
31811 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31812
b8de2202
SP
31813 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31814
11d6e2f2
SP
31815 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31816
7e80ddb8
RM
318172013-02-26 Roland McGrath <roland@hack.frob.com>
31818
31819 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31820 [$(build-shared = yes].
7e80ddb8 31821
7da6d9ed
SP
318222013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31823
45f05884
SP
31824 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31825 (__mul): Reduce iterations for calculating mantissa.
31826
2236d359
SP
31827 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31828 MPTWO.
31829 (__mpranred): Likewise.
31830
7da6d9ed
SP
31831 [BZ #15160]
31832 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31833 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31834
b7688c42
PE
318352013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31836
31837 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31838 Define __attribute__.
31839
53a5c423
SP
318402013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31841
31842 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31843 unused.
31844 * posix/regex_internal.h (__attribute): Remove.
31845 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31846 (re_string_context_at): Likewise.
31847 (bitset_not): Use __attribute__ and mark function as possibly
31848 unused.
31849 (bitset_merge): Likewise.
31850 (bitset_mask): Likewise.
31851 (re_string_char_size_at): Likewise.
31852 (re_string_wchar_at): Likewise.
31853 (re_string_elem_size_at): Likewise.
31854
60f5a8b5
SP
318552013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31856
2a983a2e
SP
31857 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31858 code.
31859 (cc32): Likewise.
31860
e69804d1
SP
31861 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31862 (__acr): Likewise.
31863 (__cpy): Likewise.
31864 (norm): Likewise.
31865 (denorm): Likewise.
31866 (__dbl_mp): Likewise.
31867 (add_magnitudes): Likewise.
31868 (sub_magnitudes): Likewise.
31869 (__mul): Likewise.
31870 (__inv): Likewise.
31871
2f22a1e8
SP
31872 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31873 style.
31874
8930ddc7
SP
31875 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31876 style.
31877
dc60cb11
SP
31878 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31879 code.
31880
60f5a8b5
SP
31881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31882 up changes with default code.
31883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31884 Likewise.
31885
b4d1fd33
AM
318862013-02-24 Allan McRae <allan@archlinux.org>
31887
faf6f8bc
AM
31888 * manual/socket.texi (The Internet Namespace): Order menu items
31889 to match that in the file.
31890
b4d1fd33
AM
31891 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31892 node listing of the info page menu.
31893
2366713d
JM
318942013-02-21 Joseph Myers <joseph@codesourcery.com>
31895
31896 [BZ #13550]
31897 * sysdeps/i386/bp-asm.h: Remove file.
31898 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31899 (PARMS): Do not use macros from bp-asm.h.
31900 (S1): Likewise.
31901 (S2): Likewise.
31902 (SIZE): Likewise.
31903 (__mpn_add_n): Do not use BP_SYM
31904 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31905 "bp-asm.h".
31906 (PARMS): Do not use macros from bp-asm.h.
31907 (S1): Likewise.
31908 (SIZE): Likewise.
31909 (__mpn_addmul_1): Do not use BP_SYM
31910 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31911 "bp-asm.h".
31912 (PARMS): Do not use macros from bp-asm.h.
31913 (SIGMSK): Likewise.
31914 (_setjmp): Likewise. Do not use BP_SYM.
31915 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31916 "bp-asm.h".
31917 (PARMS): Do not use macros from bp-asm.h.
31918 (SIGMSK): Likewise.
31919 (setjmp): Likewise. Do not use BP_SYM.
31920 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31921 "bp-asm.h".
31922 (PARMS): Do not use macros from bp-asm.h.
31923 (__frexp): Do not use BP_SYM.
31924 (frexp): Likewise.
31925 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31926 "bp-asm.h".
31927 (PARMS): Do not use macros from bp-asm.h.
31928 (__frexpf): Do not use BP_SYM.
31929 (frexpf): Likewise.
31930 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31931 "bp-asm.h".
31932 (PARMS): Do not use macros from bp-asm.h.
31933 (__frexpl): Do not use BP_SYM.
31934 (frexpl): Likewise.
31935 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31936 "bp-asm.h".
31937 (PARMS): Do not use macros from bp-asm.h.
31938 (__remquo): Do not use BP_SYM.
31939 (remquo): Likewise.
31940 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31941 "bp-asm.h".
31942 (PARMS): Do not use macros from bp-asm.h.
31943 (__remquof): Do not use BP_SYM.
31944 (remquof): Likewise.
31945 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31946 "bp-asm.h".
31947 (PARMS): Do not use macros from bp-asm.h.
31948 (__remquol): Do not use BP_SYM.
31949 (remquol): Likewise.
31950 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31951 "bp-asm.h".
31952 (PARMS): Do not use macros from bp-asm.h.
31953 (DEST): Likewise.
31954 (SRC): Likewise.
31955 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31956 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31957 "bp-asm.h".
31958 (PARMS): Do not use macros from bp-asm.h.
31959 (strlen): Do not use BP_SYM.
31960 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31961 "bp-asm.h".
31962 (PARMS): Do not use macros from bp-asm.h.
31963 (S1): Likewise.
31964 (S2): Likewise.
31965 (SIZE): Likewise.
31966 (__mpn_add_n): Do not use BP_SYM.
31967 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31968 "bp-asm.h".
31969 (PARMS): Do not use macros from bp-asm.h.
31970 (S1): Likewise.
31971 (SIZE): Likewise.
31972 (__mpn_addmul_1): Do not use BP_SYM.
31973 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31974 weak_alias.
31975 (bzero): Likewise.
31976 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31977 "bp-asm.h".
31978 (PARMS): Do not use macros from bp-asm.h.
31979 (S): Likewise.
31980 (SIZE): Likewise.
31981 (__mpn_lshift): Do not use BP_SYM.
31982 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31983 "bp-asm.h".
31984 (PARMS): Do not use macros from bp-asm.h.
31985 (DEST): Likewise.
31986 (SRC): Likewise.
31987 (LEN): Likewise.
31988 (memcpy): Likewise. Do not use BP_SYM.
31989 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31990 libc_hidden_def and weak_alias.
31991 (mempcpy): Do not use BP_SYM in weak_alias.
31992 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31993 "bp-asm.h".
31994 (PARMS): Do not use macros from bp-asm.h.
31995 (DEST): Likewise.
31996 (LEN): Likewise.
31997 [!BZERO_P] (CHR): Likewise.
31998 (memset): Likewise. Do not use BP_SYM.
31999 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32000 "bp-asm.h".
32001 (PARMS): Do not use macros from bp-asm.h.
32002 (S1): Likewise.
32003 (SIZE): Likewise.
32004 (__mpn_mul_1): Do not use BP_SYM.
32005 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32006 "bp-asm.h".
32007 (PARMS): Do not use macros from bp-asm.h.
32008 (S): Likewise.
32009 (SIZE): Likewise.
32010 (__mpn_rshift): Do not use BP_SYM.
32011 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32012 "bp-asm.h".
32013 (PARMS): Do not use macros from bp-asm.h.
32014 (STR): Likewise.
32015 (CHR): Likewise.
32016 (strchr): Likewise. Do not use BP_SYM.
32017 (index): Do not use BP_SYM in weak_alias.
32018 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32019 "bp-asm.h".
32020 (PARMS): Do not use macros from bp-asm.h.
32021 (DEST): Likewise.
32022 (SRC): Likewise.
32023 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32024 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32025 "bp-asm.h".
32026 (PARMS): Do not use macros from bp-asm.h.
32027 (strlen): Do not use BP_SYM.
32028 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32029 "bp-asm.h".
32030 (PARMS): Do not use macros from bp-asm.h.
32031 (S1): Likewise.
32032 (S2): Likewise.
32033 (SIZE): Likewise.
32034 (__mpn_sub_n): Do not use BP_SYM.
32035 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32036 "bp-asm.h".
32037 (PARMS): Do not use macros from bp-asm.h.
32038 (S1): Likewise.
32039 (SIZE): Likewise.
32040 (__mpn_submul_1): Do not use BP_SYM.
32041 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32042 "bp-asm.h".
32043 (PARMS): Do not use macros from bp-asm.h.
32044 (S1): Likewise.
32045 (S2): Likewise.
32046 (SIZE): Likewise.
32047 (__mpn_add_n): Do not use BP_SYM.
32048 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32049 weak_alias.
32050 (bzero): Likewise.
32051 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32052 "bp-asm.h".
32053 (PARMS): Do not use macros from bp-asm.h.
32054 (BLK2): Likewise.
32055 (LEN): Likewise.
32056 (memcmp): Do not use BP_SYM.
32057 (bcmp): Do not use BP_SYM in weak_alias.
32058 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32059 "bp-asm.h".
32060 (PARMS): Do not use macros from bp-asm.h.
32061 (DEST): Likewise.
32062 (SRC): Likewise.
32063 (LEN): Likewise.
32064 (memcpy): Likewise. Do not use BP_SYM.
32065 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32066 "bp-asm.h".
32067 (PARMS): Do not use macros from bp-asm.h.
32068 (DEST): Likewise.
32069 (SRC): Likewise.
32070 (LEN): Likewise.
32071 (memmove): Likewise. Do not use BP_SYM.
32072 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32073 "bp-asm.h".
32074 (PARMS): Do not use macros from bp-asm.h.
32075 (DEST): Likewise.
32076 (SRC): Likewise.
32077 (LEN): Likewise.
32078 (__mempcpy): Likewise. Do not use BP_SYM.
32079 (mempcpy): Do not use BP_SYM in weak_alias.
32080 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32081 "bp-asm.h".
32082 (PARMS): Do not use macros from bp-asm.h.
32083 (DEST): Likewise.
32084 (LEN): Likewise.
32085 [!BZERO_P] (CHR): Likewise.
32086 (memset): Likewise. Do not use BP_SYM.
32087 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32088 "bp-asm.h".
32089 (PARMS): Do not use macros from bp-asm.h.
32090 (STR2): Likewise.
32091 (strcmp): Do not use BP_SYM.
32092 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32093 "bp-asm.h".
32094 (PARMS): Do not use macros from bp-asm.h.
32095 (STR): Likewise.
32096 (DELIM): Likewise.
32097 [USE_AS_STRTOK_R] (SAVE): Likewise.
32098 (FUNCTION): Likewise. Do not use BP_SYM.
32099 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32100 aliases.
32101 (strtok_r): Likewise.
32102 (__GI___strtok_r): Likewise.
32103 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32104 (PARMS): Do not use macros from bp-asm.h.
32105 (S): Likewise.
32106 (SIZE): Likewise.
32107 (__mpn_lshift): Do not use BP_SYM.
32108 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32109 (PARMS): Do not use macros from bp-asm.h.
32110 (STR): Likewise.
32111 (CHR): Likewise.
32112 (__memchr): Do not use BP_SYM.
32113 (memchr): Do not use BP_SYM in weak_alias.
32114 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32115 (PARMS): Do not use macros from bp-asm.h.
32116 (BLK2): Likewise.
32117 (LEN): Likewise.
32118 (memcmp): Do not use BP_SYM.
32119 (bcmp): Do not use BP_SYM in weak_alias.
32120 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32121 (PARMS): Do not use macros from bp-asm.h.
32122 (S1): Likewise.
32123 (SIZE): Likewise.
32124 (__mpn_mul_1): Do not use BP_SYM.
32125 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32126 "bp-asm.h".
32127 (PARMS): Do not use macros from bp-asm.h.
32128 (STR): Likewise.
32129 (CHR): Likewise.
32130 (__rawmemchr): Do not use BP_SYM.
32131 (rawmemchr): Do not use BP_SYM in weak_alias.
32132 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32133 (PARMS): Do not use macros from bp-asm.h.
32134 (S): Likewise.
32135 (SIZE): Likewise.
32136 (__mpn_rshift): Do not use BP_SYM.
32137 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32138 (PARMS): Do not use macros from bp-asm.h.
32139 (SIGMSK): Likewise.
32140 (__sigsetjmp): Likewise. Do not use BP_SYM.
32141 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32142 (_start): Do not use BP_SYM.
32143 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32144 (PARMS): Do not use macros from bp-asm.h.
32145 (DEST): Likewise.
32146 (SRC): Likewise.
32147 (__stpcpy): Likewise. Do not use BP_SYM.
32148 (stpcpy): Do not use BP_SYM in weak_alias.
32149 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32150 "bp-asm.h".
32151 (PARMS): Do not use macros from bp-asm.h.
32152 (DEST): Likewise.
32153 (SRC): Likewise.
32154 (LEN): Likewise.
32155 (__stpncpy): Likewise. Do not use BP_SYM.
32156 (stpncpy): Do not use BP_SYM in weak_alias.
32157 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32158 (PARMS): Do not use macros from bp-asm.h.
32159 (STR): Likewise.
32160 (CHR): Likewise.
32161 (strchr): Likewise. Do not use BP_SYM.
32162 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32163 "bp-asm.h".
32164 (PARMS): Do not use macros from bp-asm.h.
32165 (STR): Likewise.
32166 (CHR): Likewise.
32167 (__strchrnul): Likewise. Do not use BP_SYM.
32168 (strchrnul): Do not use BP_SYM in weak_alias.
32169 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32170 "bp-asm.h".
32171 (PARMS): Do not use macros from bp-asm.h.
32172 (STOP): Likewise.
32173 (strcspn): Do not use BP_SYM.
32174 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32175 "bp-asm.h".
32176 (PARMS): Do not use macros from bp-asm.h.
32177 (STR): Likewise.
32178 (STOP): Likewise.
32179 (strpbrk): Likewise. Do not use BP_SYM.
32180 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32181 "bp-asm.h".
32182 (PARMS): Do not use macros from bp-asm.h.
32183 (STR): Likewise.
32184 (CHR): Likewise.
32185 (strrchr): Likewise. Do not use BP_SYM.
32186 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32187 (PARMS): Do not use macros from bp-asm.h.
32188 (SKIP): Likewise.
32189 (strspn): Do not use BP_SYM.
32190 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32191 (PARMS): Do not use macros from bp-asm.h.
32192 (STR): Likewise.
32193 (DELIM): Likewise.
32194 (SAVE): Likewise.
32195 (FUNCTION): Likewise. Do not use BP_SYM.
32196 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32197 aliases.
32198 (strtok_r): Likewise.
32199 (__GI___strtok_r): Likewise.
32200 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32201 (PARMS): Do not use macros from bp-asm.h.
32202 (S1): Likewise.
32203 (S2): Likewise.
32204 (SIZE): Likewise.
32205 (__mpn_sub_n): Do not use BP_SYM.
32206 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32207 "bp-asm.h".
32208 (PARMS): Do not use macros from bp-asm.h.
32209 (S1): Likewise.
32210 (SIZE): Likewise.
32211 (__mpn_submul_1): Do not use BP_SYM.
32212 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32213 <bp-sym.h>.
32214 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32215 and <bp-asm.h>.
32216 (PARMS): Do not use macros from bp-asm.h.
32217 (FLAGS): Likewise.
32218 (PTID): Likewise.
32219 (TLS): Likewise.
32220 (CTID): Likewise.
32221 (__clone): Do not use BP_SYM.
32222 (clone): Do not use BP_SYM in weak_alias.
32223 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32224 and <bp-asm.h>.
32225 (PARMS): Do not use macros from bp-asm.h.
32226 (LEN): Likewise.
32227 (__mmap64): Do not use BP_SYM.
32228 (mmap64): Do not use BP_SYM in weak_alias.
32229 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32230 <bp-sym.h> and <bp-asm.h>.
32231 (PARMS): Do not use macros from bp-asm.h.
32232 (__posix_fadvise64_l64): Do not use BP_SYM.
32233 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32234 (PARMS): Do not use macros from bp-asm.h.
32235 (NSOPS): Likewise.
32236 (semtimedop): Do not use BP_SYM.
32237 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32238 and <bp-asm.h>.
32239
582a3cff
AM
322402013-02-21 Allan McRae <allan@archlinux.org>
32241
32242 * manual/message.texi (Charset conversion in gettext):
32243 Move @end statement to beginning of line.
32244
bab8a695
SP
322452013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32246
80945231
SP
32247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32248 static.
32249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32250 Likewise.
32251
bab8a695
SP
32252 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32253 (denorm): Likewise.
32254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32255 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32256
e21d7aa7
AK
322572013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32258
32259 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32260 tail-call to the resolved function if pltexit isn't needed.
32261
4c7a4263
SP
322622013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32263
32264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32265 or Y being zero as being unlikely.
32266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32267 Likewise.
32268
41f49342
CD
322692013-02-20 Carlos O'Donell <carlos@redhat.com>
32270
32271 * manual/nss.texi (System Databases and Name Service Switch):
32272 Remove frobnicate @pxref.
32273
50022a93
TS
322742013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32275
32276 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32277 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32278
08cbd996
PM
322792013-02-20 Petr Machata <pmachata@redhat.com>
32280
32281 * elf/elf.h (R_ARM_TARGET1): New macro.
32282 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32283 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32284 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32285 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32286 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32287 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32288 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32289 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32290 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32291 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32292 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32293 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32294 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32295 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32296 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32297 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32298 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32299 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32300 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32301 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32302 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32303 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32304 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32305 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32306 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32307 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32308 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32309 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32310 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32311 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32312 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32313 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32314 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32315 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32316 (R_ARM_THM_GOT_BREL12): Likewise.
32317 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32318 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32319 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32320 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32321 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32322 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32323 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32324 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32325 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32326
c7b275d6
TS
323272013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32328
32329 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32330 __attribute_used__ to __attribute__ ((unused)).
32331
20cd7fb3
SP
323322013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32333
32334 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32335 powerpc mpa.c.
32336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32337 comment formatting.
32338 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32339
92945b52
JM
323402013-02-19 Joseph Myers <joseph@codesourcery.com>
32341
32342 [BZ #13550]
32343 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32344 Remove macro.
32345 (ENTER): Remove both macro definitions.
32346 (LEAVE): Likewise.
32347 (CHECK_BOUNDS_LOW): Likewise.
32348 (CHECK_BOUNDS_HIGH): Likewise.
32349 (CHECK_BOUNDS_BOTH): Likewise.
32350 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32351 (RETURN_BOUNDED_POINTER): Likewise.
32352 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32353 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32354 (POP_ERRNO_LOCATION_RETURN): Likewise.
32355 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32356 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32357 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32358 macros.
32359 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32360 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32361 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32362 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32363 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32364 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32365 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32366 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32367 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32368 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32369 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32370 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32371 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32372 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32373 removed macros.
32374 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32375 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32376 macros.
32377 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32378 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32379 * sysdeps/i386/i586/memset.S (memset): Likewise.
32380 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32381 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32382 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32383 macros.
32384 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32385 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32386 Change uses of L(2) to L(out).
32387 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32388 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32389 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32390 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32391 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32392 removed macros.
32393 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32394 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32395 macros.
32396 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32397 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32398 (RETURN): Do not use macro LEAVE.
32399 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32400 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32401 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32402 * sysdeps/i386/i686/memset.S (memset): Likewise.
32403 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32404 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32405 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32406 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32407 Likewise.
32408 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32409 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32410 L(1_2) and L(1_3) into L(1).
32411 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32412 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32413 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32414 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32415 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32416 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32417 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32418 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32419 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32420 macros.
32421 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32422 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32423 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32424 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32425 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32426 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32427 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32428 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32429 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32430 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32431 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32432 * sysdeps/i386/strspn.S (strspn): Likewise.
32433 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32434 conditional code.
32435 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32436 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32437 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32438 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32439 L(1_3) into L(1_1).
32440 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32441 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32442 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32443 macros.
32444 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32445
2389741a
JJ
324462013-02-19 Jakub Jelinek <jakub@redhat.com>
32447
32448 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32449 macro.
32450
2016b3cd
SP
324512013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32452
e4f22324
SP
32453 * math/atest-exp.c (exp_mpn): Remove ROUND.
32454 * math/atest-exp2.c (exp_mpn): Likewise.
32455 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32456
2016b3cd
SP
32457 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32458 * stdlib/tst-tls-atexit-lib.c: Likewise.
32459 * stdlib/tst-tls-atexit.c: Likewise.
32460
4be9b544
MF
324612013-02-18 Mike Frysinger <vapier@gentoo.org>
32462
32463 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32464 and __attribute_alloc_size__.
32465
2f62b9ee
MF
324662013-02-18 Mike Frysinger <vapier@gentoo.org>
32467
32468 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32469 __attribute_alloc_size__.
32470 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32471 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32472
6ff444c4
MF
324732013-02-18 Mike Frysinger <vapier@gentoo.org>
32474
32475 * include/programs/xmalloc.h: New file.
32476 * catgets/gencat.c: Include it.
32477 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32478 * elf/pldd.c: Likewise.
32479 * iconv/iconv_charmap.c: Likewise.
32480 * iconv/iconvconfig.c: Likewise.
32481 * iconv/strtab.c: Likewise.
32482 * locale/programs/locale.c: Likewise.
32483 * locale/programs/localedef.h: Likewise.
32484 * locale/programs/simple-hash.c: Likewise.
32485 * nscd/nscd.h: Likewise.
32486 * nss/makedb.c: Likewise.
32487 * sysdeps/generic/ldconfig.h: Likewise.
32488
be179c8a
SP
324892013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32490
ba384f6e
SP
32491 * Versions.def: Add GLIBC_2.18.
32492 * include/link.h (struct link_map): New member l_tls_dtor_count.
32493 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32494 (__call_tls_dtors): Likewise.
32495 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32496 __cxa_thread_atexit_impl.
32497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32498 Likewise.
32499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32500 Likewise.
32501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32502 Likewise.
32503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32504 Likewise.
32505 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32507 Likewise.
32508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32509 Likewise.
32510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32512 Likewise.
32513 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32514 (tests): Add test case tst-tls-atexit.
32515 (modules-names): Add shared library for tst-tls-atexit.
85891aca 32516 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
32517 (GLIBC_PRIVATE): Add __call_tls_dtors.
32518 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32519 for libstdc++.
32520 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32521 * stdlib/tst-tls-atexit.c: New test case.
32522 * stdlib/tst-tls-atexit-lib.c: New test case.
32523
ffaa74cf 32524 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 32525
be179c8a
SP
32526 * elf/Versions (ld): Add _dl_find_dso_for_object.
32527 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32528 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32529 (dl_open_worker): Use _dl_find_dso_for_object.
32530 * elf/dl-sym.c (do_sym): Likewise.
32531 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32532
f78b5caa
AK
325332013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32534
32535 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32536 Syntactic changes only.
32537 (_dl_runtime_profile): Do a tail-call to the resolved function.
32538
29691210
JM
325392013-02-17 Joseph Myers <joseph@codesourcery.com>
32540
32541 [BZ #13550]
32542 * sysdeps/x86_64/bp-asm.h: Remove file.
32543 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32544 <bp-sym.h> and <bp-asm.h>.
32545 (__clone): Do not use BP_SYM.
32546 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32547 <bp-sym.h> and <bp-asm.h>.
32548 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32549 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32550 "bp-asm.h".
32551 (_setjmp): Do not use BP_SYM.
32552 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32553 "bp-asm.h".
32554 (setjmp): Do not use BP_SYM.
32555 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32556 libc_hidden_def.
32557 (mempcpy): Do not use BP_SYM in weak_alias.
32558 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32559 "bp-asm.h".
32560 (strchr): Do not use BP_SYM.
32561 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32562 "bp-asm.h".
32563 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32564 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32565 (_start): Do not use BP_SYM.
32566 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32567 "bp-asm.h".
32568 (strcat): Do not use BP_SYM.
32569 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32570 "bp-asm.h".
32571 (STRCMP): Do not use BP_SYM.
32572 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32573 "bp-asm.h".
32574 (STRCPY): Do not use BP_SYM.
32575 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32576 "bp-asm.h".
32577 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32578 "bp-asm.h".
32579 (FUNCTION): Do not use BP_SYM.
32580 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32581 weak_alias.
32582 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32583
f238fd19
AJ
325842013-02-17 Andreas Jaeger <aj@suse.de>
32585
32586 * time/Versions: Sort entries.
32587 * string/Versions: Likewise.
32588 * resolv/Versions: Likewise.
32589 * posix/Versions: Likewise.
32590 * iconv/Versions: Likewise.
32591 * elf/Versions: Likewise.
32592 * wcsmbs/Versions: Likewise.
32593
bd07f23c 325942013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 32595
22af19f9
SP
32596 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32597 loop termination condition.
32598
4709fe76
SP
32599 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32600 variable to calculate EZ.
32601 (__sqr): Likewise.
2d0e0f29
SP
32602
32603 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32604 the lower precision input.
32605
daaa7713
JM
326062013-02-15 Joseph Myers <joseph@codesourcery.com>
32607
32608 [BZ #13550]
32609 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32610 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32611 (run-via-rtld-prefix): Do not handle %-bp tests.
32612 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32613 (all-object-suffixes): Remove .ob.
32614 (bppfx): Remove variable.
32615 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32616 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32617 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32618 [$(build-bounded) = yes] (libtype.ob): Likewise.
32619 * Makerules (elide-routines.ob): Remove variable.
32620 (do-tests-clean): Do not handle *-bp.out.
32621 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32622 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32623 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32624 (tests): Do not include $(tests-bp.out).
32625 (xtests): Do not include $(xtests-bp.out).
32626 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32627 [$(build-bounded) = yes] ($(addprefix
32628 $(objpfx),$(binaries-bounded))): Remove rule.
32629 ($(objpfx)%-bp.out): Remove rule.
32630 * config.make.in (build-bounded): Remove variable.
32631 * crypt/Makefile [$(build-bounded) = yes]
32632 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32633 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32634 append to variable.
32635 [$(build-bounded) = yes] (install-lib): Likewise.
32636 [$(build-bounded) = yes] (generated): Likewise.
32637 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32638 Remove rule.
32639 * intl/Makefile [$(build-bounded) = yes]
32640 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32641 * math/Makefile [$(build-bounded) = yes]
32642 ($(tests:%=$(objpfx)%-bp): Likewise.
32643 * misc/Makefile [$(build-bounded) = yes]
32644 ($(objpfx)tst-tsearch-bp): Likewise.
32645 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32646 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32647 Remove dependency.
32648 * string/Makefile (o-objects.ob): Remove variable.
32649 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32650 (CFLAGS-.ob): Remove variable.
32651 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32652 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32653 both definitions of variable.
32654 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32655 (ASFLAGS-.ob): Remove variable.
32656
e97ed6dd
JM
326572013-02-14 Joseph Myers <joseph@codesourcery.com>
32658
2bdd4ca6
JM
32659 [BZ #13550]
32660 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32661 Remove __BOUNDED_POINTERS__ from condition.
32662 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32663 * string/bits/string2.h [!__NO_STRING_INLINES &&
32664 !__BOUNDED_POINTERS__]: Likewise.
32665 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32666 Likewise.
32667 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32668 Remove conditional code.
32669 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32670 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32671 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32672 condition.
32673
e97ed6dd
JM
32674 [BZ #13550]
32675 * csu/libc-start.c: Do not include <bp-sym.h>.
32676 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32677 * elf/dl-open.c: Do not include <bp-sym.h>.
32678 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32679 * math/fegetenv.c: Do not include <bp-sym.h>.
32680 (fegetenv): Do not use BP_SYM in versioned symbols.
32681 * nptl/sysdeps/pthread/bits/libc-lockP.h
32682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32683 <bp-sym.h>.
32684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32685 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32687 (__pthread_mutex_destroy): Likewise.
32688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32689 (__pthread_mutex_lock): Likewise.
32690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32691 (__pthread_mutex_trylock): Likewise.
32692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32693 (__pthread_mutex_unlock): Likewise.
32694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32695 (__pthread_mutexattr_init): Likewise.
32696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32697 (__pthread_mutexattr_destroy): Likewise.
32698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32699 (__pthread_mutexattr_settype): Likewise.
32700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32701 (__pthread_rwlock_init): Likewise.
32702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32703 (__pthread_rwlock_destroy): Likewise.
32704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32705 (__pthread_rwlock_rdlock): Likewise.
32706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32707 (__pthread_rwlock_tryrdlock): Likewise.
32708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32709 (__pthread_rwlock_wrlock): Likewise.
32710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32711 (__pthread_rwlock_trywrlock): Likewise.
32712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32713 (__pthread_rwlock_unlock): Likewise.
32714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32715 (__pthread_key_create): Likewise.
32716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32717 (__pthread_setspecific): Likewise.
32718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32719 (__pthread_getspecific): Likewise.
32720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32721 Likewise.
32722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32723 (_pthread_cleanup_push_defer): Likewise.
32724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32725 (_pthread_cleanup_pop_restore): Likewise.
32726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32727 (pthread_setcancelstate): Likewise.
32728 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32729 <bp-sym.h>.
32730 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32731 (memchr): Do not use BP_SYM in weak_alias.
32732 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32733 (fegetenv): Do not use BP_SYM in versioned symbols.
32734 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32735 (fesetenv): Do not use BP_SYM in versioned symbols.
32736 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32737 (feupdateenv): Do not use BP_SYM in versioned symbols.
32738 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32739 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32740 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32741 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32742 (open64): Do not use BP_SYM in weak_alias.
32743 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32744 (fegetenv): Do not use BP_SYM in versioned symbols.
32745 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32746 (fesetenv): Do not use BP_SYM in versioned symbols.
32747 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32748 (feupdateenv): Do not use BP_SYM in versioned symbols.
32749 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32750 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32751 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32752 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32753 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32754 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32755 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32756 <bp-sym.h>.
32757 (__libc_start_main): Do not use BP_SYM.
32758
d6752ccd
SP
327592013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32760
cb57ce60
SP
32761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32762 redundant return line.
32763 (norm): Likewise.
32764 (denorm): Likewise.
32765 (dbl_mp): Likewise.
32766 (sub_magnitudes): Likewise.
32767 (__add): Likewise.
32768 (__sub): Likewise.
32769 (__mul): Likewise.
32770 (__inv): Likewise.
32771 (__dvd): Likewise.
32772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32773 (norm): Likewise.
32774 (denorm): Likewise.
32775 (dbl_mp): Likewise.
32776 (sub_magnitudes): Likewise.
32777 (__add): Likewise.
32778 (__sub): Likewise.
32779 (__mul): Likewise.
32780 (__inv): Likewise.
32781 (__dvd): Likewise.
32782
f414520d
SP
32783 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32784 instead of __mul.
32785 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32786 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32787 (cc32): Likewise.
32788
d6752ccd
SP
32789 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32790 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32791 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32792 of __mul for squares.
32793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32794 function
32795 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32796 Likewise.
32797 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32798 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32799
70d9946a
JM
328002013-02-13 Joseph Myers <joseph@codesourcery.com>
32801
32802 [BZ #13550]
32803 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32804 code.
32805 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32806 prototype or function definition. Rename ubp_* variables and
32807 parameters. Remove argv definitions conditional on
32808 [__BOUNDED_POINTERS__].
32809 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32810 * elf/dl-runtime.c (_dl_fixup): Likewise.
32811 * include/set-hooks.h (RUN_HOOK): Likewise.
32812 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32813 definition.
32814 * string/strcpy.c (strcpy): Do not use __unbounded.
32815 * sysdeps/generic/frame.h (struct layout): Likewise.
32816 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32817 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32818 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32819 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32820 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32821 (__backtrace): Likewise.
32822 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32823 use __ptrvalue.
32824 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32825 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32826 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32827 Likewise.
32828 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32829 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32830 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32831 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32832 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32833 Do not use __unbounded.
32834 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32835 Rename __unboundedrlimits parameter to rlimits in prototype.
32836 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32837 Do not use __unbounded.
32838 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32839 not use __ptrvalue.
32840 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32841 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32842 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32843 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32844 __ptrvalue or __unbounded.
32845 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32846 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32847 use __unbounded.
32848 (__new_msgctl): Do not use __ptrvalue.
32849 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32850 __unbounded.
32851 (__libc_msgrcv): Do not use __ptrvalue.
32852 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32853 startup_info): Do not use __unbounded.
32854 (__libc_start_main): Likewise. Rename ubp_* variables and
32855 parameters. Remove argv definitions conditional on
32856 [__BOUNDED_POINTERS__].
32857 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32858 __ptrvalue.
32859 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32860 use __unbounded.
32861 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32862 or __ptrvalue.
32863 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32864 use __unbounded.
32865 (__new_shmctl): Do not use __ptrvalue.
32866 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32867 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32868 Likewise.
32869 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32870 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32871 (__libc_sigaction): Likewise.
32872 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32873 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32874 Likewise.
32875 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32876
cc7834d6
OB
328772013-02-13 Ondřej Bílka <neleai@seznam.cz>
32878
ffb1ec7b 32879 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32880
32881 * string/mempcpy.c: Implement by calling memcpy.
32882
bdf02814
SP
328832013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32884
c2af38aa
SP
32885 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32886
4e92d59e
SP
32887 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32888 evaluation.
32889
909279a5
SP
32890 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32891 values in the mantissa.
32892
bdf02814
SP
32893 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32894 minimize writes to Z.
32895 (sub_magnitudes): Simplify code a bit.
32896
cd525923
RM
328972013-02-12 Roland McGrath <roland@hack.frob.com>
32898
32899 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32900 from the message. The linker prefixes all warnings with that already.
32901
7e2f0d2d
AS
329022013-02-12 Andreas Schwab <schwab@suse.de>
32903
a445af0b
AS
32904 [BZ #15078]
32905 * posix/regexec.c (extend_buffers): Add parameter min_len.
32906 (check_matching): Pass minimum needed length.
32907 (clean_state_log_if_needed): Likewise.
32908 (get_subexp): Likewise.
32909 * posix/Makefile (tests): Add bug-regex34.
32910 (bug-regex34-ENV): Define.
32911 * posix/bug-regex34.c: New file.
32912
7e2f0d2d
AS
32913 [BZ #11561]
32914 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32915 elements compare against the byte sequence of it, not its name.
32916 * posix/Makefile (tests): Add bug-regex35.
32917 (bug-regex35-ENV): Define.
32918 * posix/bug-regex35.c: New file.
32919
a175b684
TV
329202013-02-11 Tom de Vries <tom@codesourcery.com>
32921
32922 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32923 comment.
32924 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32925 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32926 (CHECK_EOL): Add undef.
32927
310998fe 329282013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32929
32930 * bits/stdlib-bsearch.h: New file.
32931 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32932 * stdlib/stdlib.h: Likewise.
41eda41d 32933
8ded91fb
RM
329342013-02-11 Roland McGrath <roland@hack.frob.com>
32935
32936 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32937 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32938 declaration.
32939 * manual/search.texi (Array Search Function): Add missing const in
32940 lfind prototype.
32941 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32942 declaration to use rlim_t.
32943 (Basic Scheduling Functions): Remove erroneous const from
32944 sched_getparam prototype. Remove erroneous * from
32945 sched_get_priority_max and sched_get_priority_min prototypes.
32946 (Resource Usage): Fix summary @comment on vtimes to refer to
32947 sys/vtimes.h rather than vtimes.h.
32948 Add missing *s in vtimes prototype.
32949 (Limits on Resources): Fix ulimit prototype to return long int.
32950 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32951 prototypes to use long int rather than double.
32952 (BSD Random): Fix initstate and setstate to use char *, not void *.
32953 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32954 prototype to make second argument 'struct aiocb64 *const[]'.
32955 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32956 (Status of AIO Operations): Remove erroneous const in aio_return and
32957 aio_return64 prototypes.
32958 (Synchronizing I/O): Fix sync prototype to return void.
32959 * manual/startup.texi (Suboptions): Remove an erroneous const in
32960 getsubopt prototype.
32961 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32962 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32963 use size_t rather than int.
32964 (Scanning All Users): Likewise for getpwent_r.
32965 (Setting Groups): Add missing const to setgroups prototype.
32966 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32967 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32968 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32969 'const void *' rather than 'const char *'.
32970 (Host Address Functions): Likewise for inet_ntop.
32971 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32972 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32973 ssize_t for return value.
32974 (Sending Data): Likewise for send, sendto, sendmsg.
32975 (Socket Option Functions): Add a missing const in setsockopt prototype.
32976 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32977 use wchar_t for the argument.
32978 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32979 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32980 take no arguments.
32981 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32982 double/float/long double for second argument.
32983 Fix return types of significand, significandf, significandl.
32984 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32985 argument in fchmod prototype.
32986 (File Owner): Use uid_t and gid_t in fchown prototype.
32987 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32988 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32989 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32990 use 'const struct dirent **' as argument types to CMP function pointer
32991 argument.
32992 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32993 (File Times): Fix summary magic @comment for struct utimbuf and utime
32994 to refer to utime.h, not time.h.
32995 * manual/string.texi (Argz Functions): Add missing const in
32996 argz_extract and argz_next prototypes.
32997 (Finding Tokens in a String): Likewise for basename.
32998 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32999 (Copying and Concatenation): Fix typo in wmemmove prototype.
33000 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33001 (Signal Stack): Remove erroneous const in sigstack prototype.
33002 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33003 prototype.
33004 (Simple Calendar Time): Likewise for stime.
33005 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33006 prototype.
33007 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33008 say sys/sysctl.h instead.
33009 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33010 and vsyslog prototypes.
33011
fe77fe6d
TV
330122013-02-11 Tom de Vries <tom@codesourcery.com>
33013
33014 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33015 Remove.
33016
3a09b620
RM
330172013-02-11 Roland McGrath <roland@hack.frob.com>
33018
33019 * misc/sys/mman.h: Fix typo in mremap comment.
33020
550a0b89
RM
330212013-02-08 Roland McGrath <roland@hack.frob.com>
33022
33023 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33024 the '\0' terminator.
33025
a2da1673
JM
330262013-02-08 Joseph Myers <joseph@codesourcery.com>
33027
33028 [BZ #13550]
33029 * debug/segfault.c: Don't include <bp-checks.h>.
33030 * sysdeps/generic/bp-checks.h: Remove file.
33031 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33032 (__GETDENTS): Don't use CHECK_N.
33033 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33034 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33035 (__getgroups): Don't use CHECK_N.
33036 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33037 (setgroups): Don't use CHECK_N.
33038 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33039 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33040 (__libc_msgrcv): Don't use CHECK_N.
33041 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33042 (__libc_msgsnd): Don't use CHECK_N.
33043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33044 <bp-checks.h>.
33045 (__libc_pread): Don't use CHECK_N.
33046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33047 include <bp-checks.h>.
33048 (__libc_pread64): Don't use CHECK_N.
33049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33050 include <bp-checks.h>.
33051 (__libc_pwrite): Don't use CHECK_N.
33052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33053 include <bp-checks.h>.
33054 (__libc_pwrite64): Don't use CHECK_N.
33055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33056 <bp-checks.h>.
33057 (__libc_pread): Don't use CHECK_N.
33058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33059 include <bp-checks.h>.
33060 (__libc_pread64): Don't use CHECK_N.
33061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33062 include <bp-checks.h>.
33063 (__libc_pwrite): Don't use CHECK_N.
33064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33065 include <bp-checks.h>.
33066 (__libc_pwrite64): Don't use CHECK_N.
33067 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33068 (do_pread): Don't use CHECK_N.
33069 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33070 (do_pread64): Don't use CHECK_N.
33071 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33072 (do_pwrite): Don't use CHECK_N.
33073 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33074 (do_pwrite64): Don't use CHECK_N.
33075 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33076 (__libc_readv): Don't use CHECK_N.
33077 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33078 (semop): Don't use CHECK_N.
33079 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33080 <bp-checks.h>.
33081 (semtimedop): Don't use CHECK_N.
33082 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33083 (__libc_pread): Don't use CHECK_N.
33084 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33085 <bp-checks.h>.
33086 (__libc_pread64): Don't use CHECK_N.
33087 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33088 <bp-checks.h>.
33089 (__libc_pwrite): Don't use CHECK_N.
33090 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33091 <bp-checks.h>.
33092 (__libc_pwrite64): Don't use CHECK_N.
33093 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33094 <bp-checks.h>.
33095 (__libc_msgrcv): Don't use CHECK_N.
33096 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33097 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33098 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33099 (__libc_writev): Don't use CHECK_N.
33100
b84660a8
RM
331012013-02-08 Roland McGrath <roland@hack.frob.com>
33102
7f3e75f8
RM
33103 * string/strcpy.c: Removed unused variable.
33104
b84660a8
RM
33105 * Makeconfig (+sysdep-includes): Define with := rather than =.
33106 Use an existing include/ subdir of each sysdeps dir before it.
33107
471514d3
CD
331082013-02-08 Carlos O'Donell <carlos@redhat.com>
33109
33110 * nscd/connection.c (register_traced_file): Comment function.
33111 [HAVE_INOTIFY] (union __inev): Define.
33112 [HAVE_INOTIFY] (inotify_check_files): New function.
33113 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33114 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33115 clear_db_cache.
33116 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33117
b2d3c3be
CD
331182013-02-08 Carlos O'Donell <carlos@redhat.com>
33119
33120 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33121 loaded if not already and that a failure is permanent.
33122
b39949d2
CD
331232013-02-08 Carlos O'Donell <carlos@redhat.com>
33124
ddacd1db 33125 [BZ #15006]
b39949d2
CD
33126 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33127 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33128
b2c9eff4
JM
331292013-02-08 Joseph Myers <joseph@codesourcery.com>
33130
f3aae3f3
JM
33131 [BZ #13550]
33132 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33133 (CHECK_1_NULL_OK): Likewise.
33134 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33135 (__fxstat): Do not use CHECK_1.
33136 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33137 <bp-checks.h>.
33138 (___fxstat64): Do not use CHECK_1.
33139 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33140 <bp-checks.h>.
33141 (__fxstatat): Do not use CHECK_1.
33142 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33143 <bp-checks.h>.
33144 (__fxstatat64): Do not use CHECK_1.
33145 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33146 <bp-checks.h>.
33147 (__fxstat): Do not use CHECK_1.
33148 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33149 <bp-checks.h>.
33150 (__fxstatat): Do not use CHECK_1.
33151 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33152 <bp-checks.h>.
33153 (__getresgid): Do not use CHECK_1.
33154 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33155 <bp-checks.h>.
33156 (__getresuid): Do not use CHECK_1.
33157 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33158 <bp-checks.h>.
33159 (__lxstat): Do not use CHECK_1.
33160 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33161 <bp-checks.h>.
33162 (__old_msgctl): Do not use CHECK_1.
33163 (__new_msgctl): Likewise.
33164 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33165 <bp-checks.h>.
33166 (__new_setrlimit): Do not use CHECK_1.
33167 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33168 <bp-checks.h>.
33169 (__old_shmctl): Do not use CHECK_1.
33170 (__new_shmctl): Likewise.
33171 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33172 <bp-checks.h>.
33173 (__xstat): Do not use CHECK_1.
33174 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33175 (__lxstat): Do not use CHECK_1.
33176 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33177 <bp-checks.h>.
33178 (___lxstat64): Do not use CHECK_1.
33179 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33180 (__old_msgctl): Do not use CHECK_1.
33181 (__new_msgctl): Likewise.
33182 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33183 <bp-checks.h>.
33184 (__gettimeofday): Do not use CHECK_1.
33185 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33186 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33187 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33188 <bp-checks.h>.
33189 (__gettimeofday): Do not use CHECK_1.
33190 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33191 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33192 (__new_shmctl): Do not use CHECK_1.
33193 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33194 <bp-checks.h>.
33195 (do_sigtimedwait): Do not use CHECK_1.
33196 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33197 <bp-checks.h>.
33198 (do_sigwaitinfo): Do not use CHECK_1.
33199 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33200 <bp-checks.h>.
33201 (msgctl): Do not use CHECK_1.
33202 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33203 <bp-checks.h>.
33204 (shmctl): Do not use CHECK_1.
33205 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33206 (ustat): Do not use CHECK_1.
33207 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33208 <bp-checks.h>.
33209 (__fxstat): Do not use CHECK_1.
33210 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33211 <bp-checks.h>.
33212 (__fxstatat): Do not use CHECK_1.
33213 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33214 <bp-checks.h>.
33215 (__lxstat): Do not use CHECK_1.
33216 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33217 <bp-checks.h>.
33218 (__xstat): Do not use CHECK_1.
33219 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33220 (__xstat): Do not use CHECK_1.
33221 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33222 (___xstat64): Do not use CHECK_1.
33223
b2c9eff4
JM
33224 [BZ #13550]
33225 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33226 definitions.
33227 (CHECK_BOUNDS_HIGH): Likewise.
33228 * string/strcpy.c: Do not include <bp-checks.h>.
33229 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33230
f1d70dad
RM
332312013-02-07 Roland McGrath <roland@hack.frob.com>
33232
33233 * nscd/nscd-client.h (__nscd_drop_map_ref):
33234 Add __attribute__ ((unused)).
33235 * nis/nss-nisplus.h (niserr2nss): Likewise.
33236
33237 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33238 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33239
33240 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33241 Remove inline keyword.
33242 * include/rounding-mode.h (round_away): Likewise.
33243 * libio/wfileops.c (adjust_wide_data): Likewise.
33244 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33245 (__m128i_strloadu_tolower): Likewise.
33246 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33247 (__m128i_strloadu_tolower): Likewise.
33248 * time/mktime.c (ydhms_diff): Likewise.
33249 * locale/elem-hash.h (elem_hash): Likewise.
33250 * locale/setlocale.c (setdata): Likewise.
33251 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33252 (re_string_wchar_at): Likewise.
33253 (bitset_not, bitset_merge, bitset_mask): Likewise.
33254 [!(__GNUC__ > 3)] (inline): Remove macro.
33255 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33256 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33257 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33258 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33259 * string/memcmp.c (memcmp_bytes): Likewise.
33260 * locale/programs/locarchive.c (compute_hashval): Likewise.
33261 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33262 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33263 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33264 * nss/getent.c (print_rpc, print_protocols): Likewise.
33265 (print_passwd, print_group, print_aliases): Likewise.
33266 * nis/nss-nisplus.h (niserr2nss): Likewise.
33267 * nscd/connections.c (restart_p): Likewise.
33268 Change return type to bool.
33269
eab55bfb
RM
332702013-02-05 Roland McGrath <roland@hack.frob.com>
33271
7bd642f5
RM
33272 * Makeconfig (all-Depend-files): Add existing
33273 $(sorted-subdirs:=/Depend) files.
33274 (all-subdirs): Remove nss.
33275 * sysdeps/unix/inet/Subdirs: Add it here instead.
33276 * hesiod/Depend: New file.
33277
573c29b2
RM
33278 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33279 instead of calling alloca.
33280
b2e25af0
RM
33281 * io/lseek.c (__lseek): Rename to __libc_lseek.
33282 Define __lseek as an alias.
33283
eab55bfb
RM
33284 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33285
9a0d1941
CD
332862013-02-04 Carlos O'Donell <carlos@redhat.com>
33287
33288 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33289 else clause and remove check for non-standard endianness.
33290
b83bbec4
DM
332912013-02-04 David S. Miller <davem@davemloft.net>
33292
33293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33294
6277fdab
JM
332952013-02-04 Joseph Myers <joseph@codesourcery.com>
33296
33297 [BZ #13550]
33298 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33299 (__ubp_memchr): Remove prototype.
33300 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33301 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33302 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33303 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33304 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33305 Remove alias.
33306 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33307 (__ubp_memchr): Likewise.
33308 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33309 (__ubp_memchr): Likewise.
33310 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33311 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33312 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33313 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33314 CHECK_STRING.
33315 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33316 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33317 (__getcwd): Do not use CHECK_STRING.
33318 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33319 <bp-checks.h>.
33320 (__real_chown): Do not use CHECK_STRING.
33321 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33322 <bp-checks.h>.
33323 (fchownat): Do not use CHECK_STRING.
33324 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33325 CHECK_STRING.
33326 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33327 <bp-checks.h>.
33328 (__lchown): Do not use CHECK_STRING.
33329 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33330 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33331 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33332 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33334 include <bp-checks.h>.
33335 (truncate64): Do not use CHECK_STRING.
33336 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33337 <bp-checks.h>.
33338 (__real_chown): Do not use CHECK_STRING.
33339 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33340 <bp-checks.h>.
33341 (__lchown): Do not use CHECK_STRING.
33342 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33343 <bp-checks.h>.
33344 (__chown): Do not use CHECK_STRING.
33345 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33346 <bp-checks.h>.
33347 (truncate64): Do not use CHECK_STRING.
33348 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33349 Likewise.
33350 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33351 (__xmknod): Do not use CHECK_STRING.
33352 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33353 <bp-checks.h>.
33354 (__xmknodat): Do not use CHECK_STRING.
33355 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33356 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33357
903ae060
AS
333582013-02-04 Andreas Schwab <schwab@suse.de>
33359
33360 [BZ #14142]
33361 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33362 * include/netdb.h: Likewise for h_errno.
33363 * elf/tst-stackguard1.c: Include <tls.h>.
33364
542f9466
JK
333652013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33366
33367 * elf/link.h (struct link_map): Extend the l_addr comment.
33368 * include/link.h (struct link_map): Likewise.
33369
e782a927
JM
333702013-02-01 Joseph Myers <joseph@codesourcery.com>
33371
33372 [BZ #13550]
33373 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33374 (BOUNDED_1): Remove macro.
33375 * debug/backtrace.c: Don't include <bp-checks.h>.
33376 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33377 (__backtrace): Likewise.
33378 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33379 <bp-checks.h>.
33380 (__backtrace): Don't use BOUNDED_1.
33381 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33382 <bp-checks.h>.
33383 (__backtrace): Don't use BOUNDED_1.
33384 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33385 (__backtrace): Don't use BOUNDED_1.
33386 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33387 (shmat): Don't use BOUNDED_N.
33388
8cf28c5e
JM
333892013-01-31 Joseph Myers <joseph@codesourcery.com>
33390
3a7ac8a0
JM
33391 [BZ #13550]
33392 * sysdeps/generic/bp-start.h: Remove file.
33393 * csu/libc-start.c: Don't include <bp-start.h>.
33394 (LIBC_START_MAIN): Set up __environ directly instead of using
33395 INIT_ARGV_and_ENVIRON.
33396 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33397 <bp-start.h>.
33398
f3499f95
JM
33399 [BZ #13550]
33400 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33401 definitions.
33402 (CHECK_FCNTL): Likewise.
33403 (CHECK_N_PAGES): Likewise.
33404
32a45bea
JM
33405 [BZ #13550]
33406 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33407 definitions.
33408 (CHECK_SIGSET_NULL_OK): Likewise.
33409 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33410 <bp-checks.h>.
33411 (sigpending): Don't use CHECK_SIGSET.
33412 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33413 <bp-checks.h>.
33414 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33415 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33416 <bp-checks.h>.
33417 (do_sigsuspend): Don't use CHECK_SIGSET.
33418 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33419 use CHECK_SIGSET.
33420 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33421 (do_sigwait): Don't use CHECK_SIGSET.
33422 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33423 use CHECK_SIGSET.
33424 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33425 include <bp-checks.h>.
33426 (sigpending): Don't use CHECK_SIGSET.
33427 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33428 include <bp-checks.h>.
33429 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33430 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33431 <bp-checks.h>.
33432 (sigpending): Don't use CHECK_SIGSET.
33433 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33434 <bp-checks.h>.
33435 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33436
2e8a5c8c
JM
33437 [BZ #13550]
33438 * sysdeps/generic/bp-semctl.h: Remove file.
33439 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33440 <bp-checks.h> and <bp-semctl.h>.
33441 (__old_semctl): Don't use CHECK_SEMCTL.
33442 (__new_semctl): Likewise.
33443 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33444 and <bp-semctl.h>.
33445 (__old_semctl): Don't use CHECK_SEMCTL.
33446 (__new_semctl): Likewise.
33447 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33448 <bp-checks.h> and <bp-semctl.h>.
33449 (__old_semctl): Don't use CHECK_SEMCTL.
33450 (__new_semctl): Likewise.
33451 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33452 <bp-checks.h> and <bp-semctl.h>.
33453 (semctl): Don't use CHECK_SEMCTL.
33454
c2d54929
JM
33455 [BZ #13550]
33456 * Makerules (elide-bp-thunks): Remove variable.
33457 (elide-routines.oS): Don't use $(elide-bp-thunks).
33458 (elide-routines.os): Likewise.
33459 (elide-routines.o): Likewise.
33460 (elide-routines.op): Likewise.
33461 (elide-routines.og): Likewise.
33462 (objects): Don't use $(bp-thunks).
33463 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33464 include.
33465 (common-generated): Do not add s-proto-bp.d.
33466 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33467 (int): Likewise.
33468 (typ): Likewise.
33469 Do not generate makefile rules for bounded-pointer thunks.
33470 * sysdeps/generic/bp-thunks.h: Remove file.
33471 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33472 * sysdeps/unix/s-proto-bp.S: Likewise.
33473
8cf28c5e
JM
33474 [BZ #15062]
33475 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33476 parts of result separately when argument is not close to line from
33477 -i to i and one part of argument is small.
33478 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33479 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33480 * math/libm-test.inc (cacos_test): Add more tests.
33481 (casin_test): Likewise.
33482 (casinh_test): Likewise.
33483 * sysdeps/i386/fpu/libm-test-ulps: Update.
33484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33485
c4e33b8d
DM
334862013-01-31 David S. Miller <davem@davemloft.net>
33487
33488 * po/de.po: Update from translation team.
33489
3b60b421
MK
334902013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33491
33492 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33493
bb931195
TS
334942013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33495
b5a5da23
TS
33496 * configure.in (_AC_PROG_CC_C89): New definition.
33497 * configure: Regenerate.
33498
bb931195
TS
33499 * configure.in (AC_PROG_CPP): New definition.
33500 * configure: Regenerate.
33501
8c53a12c
JM
335022013-01-23 Joseph Myers <joseph@codesourcery.com>
33503
33504 * debug/tst-backtrace.h: New file.
33505 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33506 (ret): Remove variable.
33507 (x): Likewise.
33508 (FAIL): Remove macro.
33509 (NO_INLINE): Likewise.
33510 (fn1): Use match function instead of strstr.
33511 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33512 (ret): Remove variable.
33513 (x): Likewise.
33514 (FAIL): Remove macro.
33515 (NO_INLINE): Likewise.
33516 (fn): Use match function instead of strstr.
33517 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33518 (ret): Remove variable.
33519 (x): Likewise.
33520 (FAIL): Remove macro.
33521 (NO_INLINE): Likewise.
33522 (handle_signal): Use match function instead of strstr.
33523 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33524 (ret): Remove variable.
33525 (x): Likewise.
33526 (FAIL): Remove macro.
33527 (NO_INLINE): Likewise.
33528 (handle_signal): Use match function instead of strstr.
33529
4858fa2a
RM
335302013-01-23 Roland McGrath <roland@hack.frob.com>
33531
33532 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33533
bae8e7f5
DM
335342013-01-23 David S. Miller <davem@davemloft.net>
33535
33536 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33537 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33538 argument of CAS if possible.
33539 * sysdeps/sparc/sparc64/bits/atomic.h
33540 (__arch_compare_and_exchange_val_32_acq): Likewise.
33541 (__arch_compare_and_exchange_val_64_acq): Likewise.
33542
9cbbc4ae
PT
335432013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33544
33545 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33546 * sysdeps/posix/ulimit.c: ... this.
92a601b8 33547 Include <limits.h>.
67b3f58c 33548 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 33549
5655a0b5
AC
335502013-01-23 Adam Conrad <adconrad@0c3.net>
33551
33552 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33553 (LDFLAGS-tst-array5): Likewise.
33554
052aff95
JM
335552013-01-23 Joseph Myers <joseph@codesourcery.com>
33556
33557 [BZ #15036]
33558 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33559 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33560 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33561 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33562
7c1e01aa
DM
335632013-01-21 David S. Miller <davem@davemloft.net>
33564
33565 * sysdeps/sparc/backtrace.c: New file.
33566 * sysdeps/sparc/sparc32/backtrace.h: New file.
33567 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33568 * sysdeps/sparc/sparc64/backtrace.h: New file.
33569 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33570 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33571 -funwind-tables.
33572
ab087e0a
AS
335732013-01-21 Andreas Schwab <schwab@suse.de>
33574
33575 [BZ #15020]
33576 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33577 closed its stdout.
33578
ed689c2f
AS
335792013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33580
33581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33582 "mpa2.h".
33583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33584
31d470ac
JM
335852013-01-18 Joseph Myers <joseph@codesourcery.com>
33586 Mark Mitchell <mark@codesourcery.com>
33587 Tom de Vries <tom@codesourcery.com>
33588 Paul Pluzhnikov <ppluzhnikov@google.com>
33589
33590 * debug/tst-backtrace2.c: New file.
33591 * debug/tst-backtrace3.c: Likewise.
33592 * debug/tst-backtrace4.c: Likewise.
33593 * debug/tst-backtrace5.c: Likewise.
33594 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33595 (CFLAGS-tst-backtrace3.c): Likewise.
33596 (CFLAGS-tst-backtrace4.c): Likewise.
33597 (CFLAGS-tst-backtrace5.c): Likewise.
33598 (LDFLAGS-tst-backtrace2): Likewise.
33599 (LDFLAGS-tst-backtrace3): Likewise.
33600 (LDFLAGS-tst-backtrace4): Likewise.
33601 (LDFLAGS-tst-backtrace5): Likewise.
33602 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33603 tst-backtrace4 and tst-backtrace5.
33604
90567f30 336052013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
33606 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33607
33608 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33609 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33610 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33611 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33613 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33614 "+r" and remove output regs list as redundant. Add explicit inline
33615 asm to specify register of return val to work around compiler codegen
33616 bug. Remove (int) cast on return value. Add return type parameter to
33617 use in macro so that this macro does not truncate return value for
33618 64-bit values.
33619 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33620 pass to INTERNAL_VSYSCALL_NCS.
33621 (INLINE_VSYSCALL): Add 'long int' as return type to
33622 INTERNAL_VSYSCALL_NCS macro invocation.
33623 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33624 INTERNAL_VSYSCALL_NCS macro invocation.
33625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33626
d3b9ea61
SP
336272013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33628
0b57daeb
SP
33629 [BZ #14496]
33630 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33631 Fix application of SIMD FP exception mask.
33632
caa99d06
SP
33633 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33634 mp_no from a power of two.
33635 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33636 __mpexp_twomm1. Use __pow_mp.
33637
d3b9ea61
SP
33638 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33639 multiplication.
33640
1dbaee3c
DM
336412013-01-17 David S. Miller <davem@davemloft.net>
33642
33643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33644
728d7b43
JM
336452013-01-17 Joseph Myers <joseph@codesourcery.com>
33646
33647 [BZ #15023]
33648 * include/complex.h: Condition contents on [!_COMPLEX_H].
33649 (__kernel_casinhf): New prototype.
33650 (__kernel_casinh): Likewise.
33651 (__kernel_casinhl): Likewise.
33652 * math/Makefile (libm_calls): Add k_casinh.
33653 * math/k_casinh.c: New file.
33654 * math/k_casinhf.c: Likewise.
33655 * math/k_casinhl.c: Likewise.
33656 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33657 finite nonzero arguments.
33658 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33659 finite nonzero arguments.
33660 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33661 finite nonzero arguments.
33662 * math/s_casinh.c: Do not include <float.h>.
33663 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33664 * math/s_casinhf.c: Do not include <float.h>.
33665 (__casinhf): Move code for finite nonzero arguments to
33666 k_casinhf.c.
33667 * math/s_casinhl.c: Do not include <float.h>.
33668 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33669 redefine.
33670 (__casinhl): Move code for finite nonzero arguments to
33671 k_casinhl.c.
33672 * math/libm-test.inc (cacos_test): Add more tests.
33673 * sysdeps/i386/fpu/libm-test-ulps: Update.
33674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33675
2a26ef3a
PT
336762013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33677
33678 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33679 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33680 [!HAVE_MREMAP]: Remove [defined linux] case.
33681 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33682
a897655d
SP
336832013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33684
33685 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33686
881ebe89 336872013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
33688
33689 * elf/elf.h (R_386_SIZE32): New relocation.
33690 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33691 R_386_SIZE32.
33692 (elf_machine_rela): Likewise.
33693 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33694 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33695
59981e9b
JM
336962013-01-17 Joseph Myers <joseph@codesourcery.com>
33697
33698 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33699 (FP_FAST_FMA): Do not define.
33700 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33701 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33702 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33703 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33704 !_SOFT_FLOAT]: Likewise.
33705 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33706 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33707 value.
33708 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33709 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33710 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33711 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33712 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33713 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33714 file.
33715
cfa8054f
AS
337162013-01-16 Andreas Schwab <schwab@suse.de>
33717
33718 [BZ #14327]
33719 * include/stdlib.h (__mktemp): Add declaration.
33720 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33721 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33722
dd930cc5
SP
337232013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33724
881ebe89
SP
33725 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33726 definitions.
33727 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33728 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33729 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33730 definitions here.
33731 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33732 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33733 definitions.
33734 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33735 and ONE.
33736 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33737 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33738 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33739 definitions.
33740 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33741 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33742 definitions.
33743 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 33744
dd930cc5
SP
33745 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33746
c19a9f89
DM
337472013-01-15 David S. Miller <davem@davemloft.net>
33748
1aa61767
DM
33749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33750 trunc{,f} to libm-sysdep_routes.
33751 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33753 file.
33754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33756 file.
33757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33758 file.
33759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33761 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33762 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33763 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33764 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33765 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33766 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33767
c42d5e98
DM
33768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33769 nearbyint{,f} to libm-sysdep_routes.
33770 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33772 New file.
33773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33774 file.
33775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33776 New file.
33777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33778 file.
33779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33781 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33782 file.
33783 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33784 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33785 file.
33786 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33787 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33788 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33789
c19a9f89
DM
33790 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33791 libc_feholdexcept and libc_fesetenv.
33792
357679d2
MF
337932013-01-15 Mike Frysinger <vapier@gentoo.org>
33794
33795 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33796
65a82e3d
DM
337972013-01-14 David S. Miller <davem@davemloft.net>
33798
8b954ab9
DM
33799 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33800 (SPARC_ASM_VIS2_IFUNC): Likewise.
33801 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33803 use of 'siam' instruction.
33804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33805 Likewise.
33806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33807 Likewise.
33808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33809 Likewise.
33810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33812 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33813 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33815 file.
33816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33817 file.
33818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33819 file.
33820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33821 file.
33822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33827 new VIS2 routines.
33828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33831 Likewise.
33832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33837 routines to libm-sysdep_routines.
33838 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33839
65a82e3d
DM
33840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33841 fdim/fdimf to libm-sysdep_routines.
33842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33843 file.
33844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33846 file.
33847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33850 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33851 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33852 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33853 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33854
e34ab705
SP
338552013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33856
2a91b573
SP
33857 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33858 to optimize copies.
33859
1066a534
SP
33860 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33863
e34ab705
SP
33864 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33865 local variable MPTWO.
33866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33867 Likewise.
33868
aba5e596
MF
338692013-01-13 Mike Frysinger <vapier@gentoo.org>
33870
33871 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33872 GLOB_NOESCAPE.
33873
e557e9e5
MF
338742013-01-13 Mike Frysinger <vapier@gentoo.org>
33875
33876 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33877
0428cec9
MF
338782013-01-13 Mike Frysinger <vapier@gentoo.org>
33879
33880 * manual/pattern.texi (glob_t): Document gl_flags.
33881 (glob64_t): Likewise.
33882
8794a964
DM
338832013-01-11 David S. Miller <davem@davemloft.net>
33884
66438c3f
RM
33885 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33886 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33887 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33888 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33889 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33890 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33891 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33892 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33893 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33894 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33895 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33896 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33897 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33898
4ae4244d
DM
33899 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33900 sparc V9 rather than using V8 code.
33901 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33902 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33903
8794a964
DM
33904 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33905 Move to...
33906 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33907 Here.
33908
6270516e
RM
339092013-01-11 Roland McGrath <roland@hack.frob.com>
33910
33911 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33912 not in the main loop.
33913 * configure: Regenerated.
33914
6a57d931
JM
339152013-01-11 Joseph Myers <joseph@codesourcery.com>
33916
33917 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33918 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33919 to just #else.
33920 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33921 [!__GLIBC_HAVE_LONG_LONG] case.
33922 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33923 condition to just #else.
33924 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33925 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33926 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33927 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33928 unconditional.
33929 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33930 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33931 #elif condition to just #else.
33932 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33933 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33934 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33935 #elif condition to just #else.
33936
0e8529e9
SE
339372013-01-11 Steve Ellcey <sellcey@mips.com>
33938
33939 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33940 (EF_MIPS_ARCH_64): Fix value.
33941 (EF_MIPS_ARCH_32R2): New.
33942 (EF_MIPS_ARCH_64R2): New.
33943
740b3dbe
L
339442013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33945
33946 * Makeconfig (+link-pie-before-libc): New.
33947 (+link-pie-after-libc): Likewise.
33948 (+link-pie-tests): Likewise.
33949 (+link-pie): Rewritten.
33950 (link-before-libc): Remove $(config-LDFLAGS).
33951 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33952 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33953 (config-LDFLAGS): Renamed to ...
33954 (rtld-LDFLAGS): This.
33955 (rtld-tests-LDFLAGS): New macro.
33956 (link-libc-rpath-link): Likewise.
33957 (link-libc-tests-rpath-link): Likewise.
33958 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33959 (link-libc): Prepand $(link-libc-rpath-link).
33960 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33961 (test-program-prefix): New macro.
33962 (test-via-rtld-prefix): Likewise.
33963 (test-program-cmd): Likewise.
33964 (host-test-program-cmd): Likewise.
33965 * Makefile ($(common-objpfx)testrun.sh): Replace
33966 $(run-program-prefix) with $(test-program-prefix).
33967 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33968 $(rtld-LDFLAGS).
33969 ($(common-objpfx)shlib.lds): Likewise.
33970 (build-module-helper): Likewise.
33971 ($(common-objpfx)format.lds): Likewise.
33972 * Rules (binaries-pie-tests): New.
33973 (binaries-pie-notests): Likewise.
33974 (binaries-pie): Rewritten.
33975 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33976 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33977 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33978 (make-test-out): Replace $(host-built-program-cmd) with
33979 $(host-test-program-cmd).
33980 * config.make.in (build-hardcoded-path-in-tests): New variable.
33981 * configure.in (--enable-hardcoded-path-in-tests): New configure
33982 option.
33983 (hardcoded_path_in_tests): New AC_SUBST.
33984 * configure: Regenerated.
33985 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33986 $(built-program-cmd) with $(test-program-cmd).
33987 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33988 (test_program_cmd): This.
33989 * elf/Makefile ($(objpfx)order.out): Run test with
33990 $(test-program-prefix).
33991 ($(objpfx)order2.out): Likewise.
33992 ($(objpfx)tst-initorder.out): Likewise.
33993 ($(objpfx)tst-initorder2.out): Likewise.
33994 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33995 $(test-program-cmd).
33996 ($(objpfx)tst-array1-static.out): Likewise.
33997 ($(objpfx)tst-array2.out): Likewise.
33998 ($(objpfx)tst-array3.out): Likewise.
33999 ($(objpfx)tst-array4.out): Likewise.
34000 ($(objpfx)tst-array5.out): Likewise.
34001 ($(objpfx)tst-array5-static.out): Likewise.
34002 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34003 $(test-program-cmd).
34004 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34005 $(run-program-prefix) with $(test-program-prefix).
34006 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34007 (test_program_prefix): This.
34008 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34009 $(run-program-prefix) with $(test-program-prefix).
34010 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34011 (test_program_prefix): This.
34012 * iconvdata/tst-tables.sh: Likewise.
34013 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34014 $(run-program-prefix) with $(test-program-prefix).
34015 ($(objpfx)tst-translit.out): Likewise.
34016 ($(objpfx)tst-gettext2.out): Likewise.
34017 ($(objpfx)tst-gettext4.out): Likewise.
34018 ($(objpfx)tst-gettext6.out): Likewise.
34019 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34020 (test_program_prefix): This.
34021 * intl/tst-gettext2.sh: Likewise.
34022 * intl/tst-gettext4.sh Likewise.
34023 * intl/tst-gettext6.sh: Likewise.
34024 * intl/tst-translit.sh: Likewise.
34025 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34026 with $(test-program-cmd).
34027 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34028 $(run-program-prefix) with $(test-program-prefix).
34029 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34030 (test_program_prefix): This.
34031 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34032 $(run-program-prefix) with $(test-program-prefix).
34033 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34034 (test_program_prefix): This.
34035 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34036 * posix/Makefile ($(objpfx)globtest.out): Replace
34037 $(run-via-rtld-prefix) and $(test-wrapper) with
34038 $(test-program-prefix) and $(test-via-rtld-prefix).
34039 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34040 $(test-program-prefix).
34041 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34042 $(host-test-program-cmd).
34043 (tst-spawn-ARGS): Likewise.
34044 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34045 $(test-program-prefix).
34046 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34047 (test_via_rtld_prefix): This.
34048 (test_wrapper): Renamed to ...
34049 (test_program_prefix): This.
34050 (run_program_prefix): Replaced by test_program_prefix.
34051 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34052 (test_program_prefix): This.
34053 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34054 with $(host-test-program-cmd).
34055 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34056 $(run-program-prefix) with $(test-program-prefix).
34057 ($(objpfx)tst-printf.out): Likewise.
34058 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34059 $(test-program-cmd).
34060 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34061 (test_program_prefix): This.
34062 * stdio-common/tst-unbputc.sh: Likewise.
34063 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34064 $(run-program-prefix) with $(test-program-prefix).
34065 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34066 (test_program_prefix): This.
34067 * string/Makefile ($(objpfx)tst-svc.out): Replace
34068 $(built-program-cmd) with $(test-program-cmd).
34069
c6fe55cf
AJ
340702013-01-11 Andreas Jaeger <aj@suse.de>
34071
34072 [BZ #15003]
34073 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34074 value. Sync with Linux 3.7.
34075
9e6919c8
DM
340762013-01-10 David S. Miller <davem@davemloft.net>
34077
34078 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34079 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34080 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34081
1c9f1a02
RM
340822013-01-10 Roland McGrath <roland@hack.frob.com>
34083
34084 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34085 never set.
34086 * configure: Regenerated.
34087
b9de2dde
DM
340882013-01-10 David S. Miller <davem@davemloft.net>
34089
34090 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34091 sparc V9 rather than using V8 code.
34092 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34093 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34094
e7f68ef4
RM
340952013-01-10 Roland McGrath <roland@hack.frob.com>
34096
34097 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34098 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34099 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34100 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34101 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34102 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34103 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34104 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34105 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34106 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34107 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34108 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34109 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34110 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34111 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34112 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34113 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34114 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34115 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34116 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34117 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34118 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34119 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34120 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34121 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34122 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34123 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34124
5a47cc9c
DM
341252013-01-10 David S. Miller <davem@davemloft.net>
34126
34127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34128
4cf8f209
L
341292013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34130
34131 * posix/Makefile (tests-static): New variable.
34132 (tests): Add $(tests-static).
34133 (tst-exec-static-ARGS): New variable.
34134 (tst-spawn-static-ARGS): Likewise.
34135 * posix/tst-exec-static.c: New file.
34136 * posix/tst-spawn-static.c: Likewise.
34137 * posix/tst-exec.c: Support run directly.
34138 * posix/tst-spawn.c: Likewise.
34139
fed0faa1
JM
341402013-01-10 Joseph Myers <joseph@codesourcery.com>
34141
828beb13
JM
34142 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34143 long.
34144 * math/bits/mathcalls.h (llrint): Likewise.
34145 (llround): Likewise.
34146 * stdlib/stdlib.h (struct drand48_data): Likewise.
34147 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34148 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34149 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34150 Likewise.
34151 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34152 Likewise.
34153 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34154 (elf_greg_t): Likewise.
34155 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34156 (__jmp_buf): Likewise.
34157 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34158 definitions.
34159 (llrint): Likewise, for all definitions.
34160 (llrintl): Likewise.
34161
fed0faa1
JM
34162 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34163 Remove [__GNUC__] condition.
34164 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34165 condition to just [__USE_ISOC99].
34166 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34167
1a20cb20
L
341682013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34169
34170 [BZ #14200]
34171 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34172 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34173 defined.
34174 (_POSIX_V6_ILP32_OFF32): Likewise.
34175 (_XBS5_ILP32_OFF32): Likewise.
34176 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34177 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34178
751b85f7
SP
341792013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34180
7490eb81
SP
34181 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34182
751b85f7
SP
34183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34184 doubles __mpexp_twomm1. Adjust usage.
34185 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34186 Remove.
34187
988197f0
AS
341882013-01-10 Andreas Schwab <schwab@suse.de>
34189
34190 [BZ #14964]
34191 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34192 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34193
e83d7298
DM
341942013-01-09 David S. Miller <davem@davemloft.net>
34195
034ed64b 34196 [BZ #15003]
57f41c40
AS
34197 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34198 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34199 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34200 (TCP_FASTOPEN): Define.
e83d7298
DM
34201 (tcp_repair_opt): New structure.
34202 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34203 enum values.
57f41c40
AS
34204 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34205 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34206 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
34207 (tcp_cookie_transactions): New structure.
34208
d5e0b9bd
AB
342092013-01-09 Anton Blanchard <anton@samba.org>
34210
34211 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34212 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34213 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34214 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34215
0c07e3ea
JM
342162013-01-09 Joseph Myers <joseph@codesourcery.com>
34217
34218 * include/features.h (__USE_ANSI): Remove.
34219
232f7002
RM
342202013-01-09 Roland McGrath <roland@hack.frob.com>
34221
ad98e30c
RM
34222 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34223
232f7002
RM
34224 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34225
950c99ca
SP
342262013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34227
b5792741
SP
34228 * sysdeps/s390/fpu/libm-test-ulps: Update.
34229
47cf2278
SP
34230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34231
950c99ca
SP
34232 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34233 (__acr): Likewise.
34234 (__cpy): Likewise.
34235 (norm): Likewise.
34236 (denorm): Likewise.
34237 (__mp_dbl): Likewise.
34238 (__dbl_mp): Likewise.
34239 (add_magnitudes): Likewise.
34240 (sub_magnitudes): Likewise.
34241 (__add): Likewise.
34242 (__sub): Likewise.
34243 (__mul): Likewise.
34244 (__inv): Likewise.
34245 (__dvd): Likewise.
34246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34247 (__acr): Likewise.
34248 (__cpy): Likewise.
34249 (norm): Likewise.
34250 (denorm): Likewise.
34251 (__mp_dbl): Likewise.
34252 (__dbl_mp): Likewise.
34253 (add_magnitudes): Likewise.
34254 (sub_magnitudes): Likewise.
34255 (__add): Likewise.
34256 (__sub): Likewise.
34257 (__mul): Likewise.
34258 (__inv): Likewise.
34259 (__dvd): Likewise.
34260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34261 (__acr): Likewise.
34262 (__cpy): Likewise.
34263 (norm): Likewise.
34264 (denorm): Likewise.
34265 (__mp_dbl): Likewise.
34266 (__dbl_mp): Likewise.
34267 (add_magnitudes): Likewise.
34268 (sub_magnitudes): Likewise.
34269 (__add): Likewise.
34270 (__sub): Likewise.
34271 (__mul): Likewise.
34272 (__inv): Likewise.
34273 (__dvd): Likewise.
34274
eede9df9
JM
342752013-01-08 Joseph Myers <joseph@codesourcery.com>
34276
34277 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34278 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34279 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34280 2 && __USE_EXTERN_INLINES]: Likewise.
34281
c40ea3d9
AJ
342822013-01-08 Andreas Jaeger <aj@suse.de>
34283
34284 [BZ# 14985]
34285 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34286 Remove.
34287 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34288 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34289
2ccdea26
AB
342902013-01-07 Anton Blanchard <anton@samba.org>
34291
34292 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34293 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34294 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34295 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34296 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34297 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34298 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34299 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34301 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34302 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34303 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34304 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34305 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34306 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34307 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34308 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34309 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34310 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34311 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34312 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34313 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34314 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34315 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34316 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34317 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34318 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34319 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34320 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34321 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34322 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34324 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34325 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34326 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34327 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34328 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34329 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34330 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34331 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34332 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34333 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34334 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34335
a9708fed
JM
343362013-01-07 Joseph Myers <joseph@codesourcery.com>
34337
375607b9
JM
34338 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34339 (__MALLOC_PMT): Likewise.
34340 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34341 [__GNUC__], only on [_LIBC].
34342 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34343 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34344 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34345 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34346 forward declaration.
34347 (realloc_hook_ini): Likewise.
34348 (memalign_hook_ini): Likewise.
34349 (__libc_memalign): Do not use __MALLOC_PMT in variable
34350 declaration.
34351 (__libc_valloc): Likewise.
34352 (__libc_pvalloc): Likewise.
34353 (__libc_calloc): Likewise.
34354 (__posix_memalign): Likewise.
34355
a9708fed
JM
34356 [BZ #14996]
34357 * math/s_casinh.c: Include <float.h>.
34358 (__casinh): Do not do computation with squaring and square root
34359 for large arguments.
34360 * math/s_casinhf.c: Include <float.h>.
34361 (__casinhf): Do not do computation with squaring and square root
34362 for large arguments.
34363 * math/s_casinhl.c: Include <float.h>.
34364 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34365 (__casinhl): Do not do computation with squaring and square root
34366 for large arguments.
34367 * math/libm-test.inc (casin_test): Add more tests.
34368 (casinh_test): Likewise.
34369 * sysdeps/i386/fpu/libm-test-ulps: Update.
34370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34371
afec409a
L
343722013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34373
34374 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34375 (__x86_64_raw_data_cache_size): Likewise.
34376 (__x86_64_data_cache_size_half): Likewise.
34377 (__x86_64_raw_data_cache_size_half): Likewise.
34378 (__x86_64_shared_cache_size): Likewise.
34379 (__x86_64_raw_shared_cache_size): Likewise.
34380 (__x86_64_shared_cache_size_half): Likewise.
34381 (__x86_64_raw_shared_cache_size_half): Likewise.
34382 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34383 to ...
34384 (__x86_data_cache_size): This.
34385 (__x86_64_raw_data_cache_size): Renamed to ...
34386 (__x86_raw_data_cache_size): This.
34387 (__x86_64_data_cache_size_half): Renamed to ...
34388 (__x86_data_cache_size_half): This.
34389 (__x86_64_raw_data_cache_size_half): Renamed to ...
34390 (__x86_raw_data_cache_size_half): This.
34391 (__x86_64_shared_cache_size): Renamed to ...
34392 (__x86_shared_cache_size): This.
34393 (__x86_64_raw_shared_cache_size): Renamed to ...
34394 (__x86_raw_shared_cache_size): This.
34395 (__x86_64_shared_cache_size_half): Renamed to ...
34396 (__x86_shared_cache_size_half): This.
34397 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34398 (__x86_raw_shared_cache_size_half): This.
34399 * sysdeps/x86_64/memcpy.S: Updated.
34400 * sysdeps/x86_64/memset.S: Likewise.
34401 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34402 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34403 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34404
0b3986d0
DM
344052013-01-04 David S. Miller <davem@davemloft.net>
34406
34407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34408
e47686e9
AS
344092013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34410
d643bac1
AS
34411 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34412 1 to avoid redefinition warning.
34413 (__USE_GNU): Don't define.
34414 (init_signaling_nan): Protoize.
34415
e47686e9
AS
34416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34417
b18decba
SP
344182013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34419
fffb407f
SP
34420 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34422 (__cpymn): Likewise.
34423 (norm): Remove commented code.
34424 (denorm): Likewise.
34425 (__mp_dbl): Likewise.
34426 (__inv): Likewise.
34427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34428 (__cpymn): Likewise.
34429 (norm): Remove commented code.
34430 (denorm): Likewise.
34431 (__mp_dbl): Likewise.
34432 (__inv): Likewise.
34433
b18decba
SP
34434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34435 mp_no value for 1.0 and 2.0.
34436 (norm): Use RADIXI instead of radixi.d.
34437 (denorm): Likewise.
34438 (__mul): Use 0.0 instead of zero.d.
34439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34440 mp_no value for 1.0 and 2.0.
34441 (norm): Use RADIXI instead of radixi.d.
34442 (denorm): Likewise.
34443 (__mul): Use 0.0 instead of zero.d.
34444
cdc1c96f
JM
344452013-01-04 Joseph Myers <joseph@codesourcery.com>
34446
34447 [BZ #14994]
34448 * math/s_casinh.c (__casinh): Reduce finite argument to first
34449 quadrant then set signs of results at the end.
34450 * math/s_casinhf.c (__casinhf): Likewise.
34451 * math/s_casinhl.c (__casinhl): Likewise.
34452 * math/libm-test.inc (casin_test): Add more tests.
34453 (casinh_test): Likewise.
34454 * sysdeps/i386/fpu/libm-test-ulps: Update.
34455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34456
302913e1
SP
344572013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34458
6420d207
SP
34459 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34460
a9e48ab4
SP
34461 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34462
b7837264
SP
34463 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34464 declarations.
34465 (denorm): Likewise.
34466 (__mp_dbl): Likewise.
34467 (__inv): Likewise.
34468
f8af25d2
SP
34469 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34470 and adjust the header comment.
34471
302913e1
SP
34472 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34473 variable name from declaration.
34474
5d7dd1ca
L
344752013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34476
34477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34478 Initialize COMMON_CPUID_INDEX_7 element.
34479 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34480 (CPUID_RTM): Likewise.
34481 (HAS_RTM): Likewise.
34482 (COMMON_CPUID_INDEX_7): New enum.
34483
2f5f40f4
AS
344842013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34485
34486 [BZ #14981]
34487 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34488 size is zero, record memory as freed.
34489
4056f4a0
AJ
344902013-01-03 Andreas Jaeger <aj@suse.de>
34491
34492 * po/ia.po: Add new Interlingua translation.
34493
ab15736f 344942012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34495
34496 * locale/programs/localedef.c: Fix description of '--posix' flag.
34497
568035b7
JM
344982013-01-02 Joseph Myers <joseph@codesourcery.com>
34499
e6898b8d
JM
34500 * NEWS: Update dates in second copyright notice.
34501 * README: Update copyright dates in example.
34502 * manual/libc.texinfo: Update copyright dates.
34503 * scripts/test-installation.pl: Update copyright date in --version
34504 output.
34505
0e2f9562
JM
34506 * hurd/ctty-input.c: Fix copyright notice formatting.
34507 * hurd/ctty-output.c: Likewise.
34508 * hurd/dtable.c: Likewise.
34509 * hurd/hurd-raise.c: Likewise.
34510 * hurd/hurdprio.c: Likewise.
34511 * hurd/msgportdemux.c: Likewise.
34512 * misc/sys/file.h: Likewise.
34513 * misc/sys/ioctl.h: Likewise.
34514 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34515 * sysdeps/mach/hurd/chdir.c: Likewise.
34516 * sysdeps/mach/hurd/fchdir.c: Likewise.
34517 * sysdeps/mach/hurd/rename.c: Likewise.
34518 * sysdeps/mach/hurd/rmdir.c: Likewise.
34519 * sysdeps/mach/hurd/seekdir.c: Likewise.
34520 * sysdeps/mach/hurd/setsid.c: Likewise.
34521 * sysdeps/posix/wait3.c: Likewise.
34522
568035b7
JM
34523 * All files with FSF copyright notices: Update copyright dates
34524 using scripts/update-copyrights.
34525 * intl/plural.c: Regenerated.
34526 * locale/programs/charmap-kw.h: Likewise.
34527 * locale/programs/locfile-kw.h: Likewise.
34528
da08f647
SP
345292013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34530
0f5477af
SP
34531 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34532 four values.
34533
44e0d4c2
SP
34534 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34535 calculation loop and add branch prediction.
34536
4d55b4e5
SP
34537 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34538 check access beyond bounds of m1np.
34539
da08f647
SP
34540 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34541 MPTWO.
34542 (__inv): Remove local variable MPTWO to use the global
34543 constant.
34544 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34545 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34546 variable MPTWO.
34547 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34548 MP3HALFS static const.
34549
8e051029
DM
345502013-01-01 David S. Miller <davem@davemloft.net>
34551
34552 * po/ca.po: Update from translation team.
34553
f4cf5f2d
JM
345542013-01-01 Joseph Myers <joseph@codesourcery.com>
34555
34556 * scripts/update-copyrights: New file.
34557 * Makeconfig: Reformat copyright notice.
34558 * ctype/ctype.h: Likewise.
34559 * debug/swprintf_chk.c: Likewise.
34560 * elf/dl-cache.c: Likewise.
34561 * elf/dl-debug.c: Likewise.
34562 * elf/dl-object.c: Likewise.
34563 * grp/initgroups.c: Likewise.
34564 * hurd/Makefile: Likewise.
34565 * hurd/hurd/signal.h: Likewise.
34566 * hurd/hurdfault.c: Likewise.
34567 * hurd/hurdioctl.c: Likewise.
34568 * hurd/hurdlookup.c: Likewise.
34569 * hurd/intr-msg.c: Likewise.
34570 * iconv/gconv_open.c: Likewise.
34571 * libio/swprintf.c: Likewise.
34572 * locale/lc-ctype.c: Likewise.
34573 * locale/nl_langinfo.c: Likewise.
34574 * mach/Machrules: Likewise.
34575 * mach/Makefile: Likewise.
34576 * malloc/obstack.h: Likewise.
34577 * manual/Makefile: Likewise.
34578 * manual/tsort.awk: Likewise.
34579 * misc/bits/stab.def: Likewise.
34580 * nis/nis_print_group_entry.c: Likewise.
34581 * nis/nis_table.c: Likewise.
34582 * nis/nss_compat/compat-pwd.c: Likewise.
34583 * nis/nss_compat/compat-spwd.c: Likewise.
34584 * po/Makefile: Likewise.
34585 * posix/fnmatch.c: Likewise.
34586 * posix/regex.h: Likewise.
34587 * resolv/Makefile: Likewise.
34588 * resolv/nss_dns/dns-network.c: Likewise.
34589 * resolv/res_hconf.c: Likewise.
34590 * scripts/gen-sorted.awk: Likewise.
34591 * soft-fp/soft-fp.h: Likewise.
34592 * stdio-common/printf.h: Likewise.
34593 * stdlib/monetary.h: Likewise.
34594 * stdlib/random.c: Likewise.
34595 * stdlib/random_r.c: Likewise.
34596 * sysdeps/generic/Makefile: Likewise.
34597 * sysdeps/gnu/Makefile: Likewise.
34598 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34599 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34600 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34602 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34605 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34606 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34607 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34608 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34609 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34610 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34611 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34612 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34613 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34614 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34615 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34616 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34617 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34618 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34619 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34620 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34621 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34622 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34623 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34624 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34625 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34626 * sysdeps/mach/hurd/errnos.awk: Likewise.
34627 * sysdeps/mach/hurd/fork.c: Likewise.
34628 * sysdeps/mach/hurd/getcwd.c: Likewise.
34629 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34630 * sysdeps/mach/hurd/mmap.c: Likewise.
34631 * sysdeps/mach/hurd/utimes.c: Likewise.
34632 * sysdeps/mach/hurd/xmknod.c: Likewise.
34633 * sysdeps/posix/profil.c: Likewise.
34634 * sysdeps/posix/readdir_r.c: Likewise.
34635 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34636 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34637 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34638 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34640 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34641 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34642 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34643 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34644 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34645 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34646 * sysdeps/pthread/lio_listio.c: Likewise.
34647 * sysdeps/sparc/dl-procinfo.h: Likewise.
34648 * sysdeps/unix/i386/sysdep.S: Likewise.
34649 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34650 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34651 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34652 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34654 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34655 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34656 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34657 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34658 * sysdeps/wordsize-32/divdi3.c: Likewise.
34659 * time/sys/time.h: Likewise.
34660 * wcsmbs/Makefile: Likewise.
34661
0549fbba
DM
346622013-01-01 David S. Miller <davem@davemloft.net>
34663
a141f1a7
DM
34664 * po/fr.po: Update from translation team.
34665
0549fbba
DM
34666 * catgets/gencat.c: Update copyright year.
34667 * csu/version.c: Likewise.
34668 * debug/catchsegv.sh: Likewise.
34669 * debug/pcprofiledump.c: Likewise.
34670 * debug/xtrace.sh: Likewise.
34671 * elf/ldconfig.c: Likewise.
34672 * elf/ldd.bash.in: Likewise.
34673 * elf/pldd.c: Likewise.
34674 * elf/sotruss.ksh: Likewise.
34675 * elf/sprof.c: Likewise.
34676 * iconv/iconv_prog.c: Likewise.
34677 * iconv/iconvconfig.c: Likewise.
34678 * locale/programs/locale.c: Likewise.
34679 * locale/programs/localedef.c: Likewise.
34680 * login/programs/pt_chown.c: Likewise.
34681 * malloc/memusage.sh: Likewise.
34682 * malloc/memusagestat.c: Likewise.
34683 * malloc/mtrace.pl: Likewise.
34684 * nscd/nscd.c: Likewise.
34685 * nss/getent.c: Likewise.
34686 * nss/makedb.c: Likewise.
34687 * posix/getconf.c: Likewise.
34688
18ea052c
SP
346892012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34690
34691 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34692 numbers.
34693
9c89fca6
MF
346942012-12-30 Mike Frysinger <vapier@gentoo.org>
34695
34696 * math/bits/mathcalls.h (modf): Use __nonnull.
34697
085ec079
SP
346982012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34699
34700 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34701 (split): Use macro CN instead of the bare value.
34702 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34703 could be used.
34704 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34705 instead of the bare value.
34706 (power1): Likewise.
34707
6d9f97e1
SP
347082012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34709
d63f73be
SP
34710 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34711 __ATAN_TWOM.
34712 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34713
6d9f97e1
SP
34714 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34715 their values.
34716 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34717 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34718 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34719 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34720
4c4febf5
AJ
347212012-12-28 Andreas Jaeger <aj@suse.de>
34722
af5843ef
AJ
34723 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34724 values are from Linux 3.7.
34725
4c4febf5
AJ
34726 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34727 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34728
99136f82
SP
347292012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34730
2f216c3c 34731 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
34732 TRUE case.
34733
99136f82
SP
34734 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34735 (norm): Likewise.
34736 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34737 variables with preprocessor constants.
34738 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34739 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34740 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34741
7fffbdff
BH
347422012-12-27 Bruno Haible <bruno@clisp.org>
34743
34744 [BZ #14317]
34745 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34746 only if needed.
34747
b76eb5f0
SP
347482012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34749
31a7fe5c
SP
34750 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34751 and use variable directly.
34752 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34753
b76eb5f0
SP
34754 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34755 MPONE.
34756 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34757 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34758 variable MPONE.
34759 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34761 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34762 include directive. Remove local variable MPONE.
34763 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34764 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34765 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34766
2c8bfe7d
DM
347672012-12-25 David S. Miller <davem@davemloft.net>
34768
34769 * version.h (RELEASE): Set to "development".
34770 (VERSION): Set to "2.17.90".
34771 * NEWS: Add 2.18 section.
34772
147d03b0
DM
347732012-12-21 David S. Miller <davem@davemloft.net>
34774
34775 * po/hr.po: Update from translation team.
34776
a8ebb2b9
AK
347772012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34778
34779 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34780
95b4f1b6
SE
347812012-12-19 Steve Ellcey <sellcey@mips.com>
34782
b2d94007 34783 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 34784
cedb2a90
MS
347852012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34786
34787 * manual/contrib.texi (Contributors): Spelling correction.
34788
bbf527d6
DM
347892012-12-15 David S. Miller <davem@davemloft.net>
34790
34791 * po/ru.po: Update from translation team.
34792
bc38c906
DM
347932012-12-13 David S. Miller <davem@davemloft.net>
34794
85429b1a
DM
34795 * NEWS: Mention IFUNC testsuite enhancements.
34796
d283e353
DM
34797 * po/pl.po: Update from translation team.
34798 * po/bg.po: Likewise.
34799
bc38c906
DM
34800 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34801 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34802
a181b0d7
DM
348032012-12-11 David S. Miller <davem@davemloft.net>
34804
4641d57e
DM
34805 * po/sv.po: Update from translation team.
34806
f7bc6495
DM
34807 * po/vi.po: Update from translation team.
34808
6fc9048f
DM
34809 * po/cs.po: Update from translation team.
34810
a181b0d7
DM
34811 * po/de.po: Update from translation team.
34812 * po/eo.po: Likewise.
34813 * po/nl.po: Likewise.
34814
f70bfe80
SP
348152012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34816
3c8b4190
SP
34817 [BZ #14246]
34818 * manual/argp.texi (Argp Helper Functions): Move node to follow
34819 Argp Parsing State.
34820
f70bfe80
SP
34821 [BZ #14872]
34822 * manual/conf.texi (Limits on File System Capacity): Mention if
34823 terminating null is included in the max size.
34824
188f0adf
AJ
348252012-12-10 Andreas Jaeger <aj@suse.de>
34826
34827 * po/cs.po: Update from translation team.
34828
56e7d3ad
SP
348292012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34830
34831 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34832 void pointer and cast to uintptr_t.
34833 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34834 path.
34835 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34836 * sysdeps/s390/s390-64/memset.S: Likewise.
34837
76f2d2ea 348382012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34839
34840 [BZ #14833]
34841 * menual/message.texi (Message Translation): Fix typos.
34842 (Helper programs for gettext): Likewise.
34843
67cbf9a2
AS
348442012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34845
34846 [BZ #14898]
34847 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34848 Change to -1.
34849
682d0e9a
DM
348502012-12-07 David S. Miller <davem@davemloft.net>
34851
34852 * po/libc.pot: Update.
34853
573cd484
RH
348542012-12-07 Richard Henderson <rth@redhat.com>
34855
7e9da188 34856 [BZ #10114]
573cd484
RH
34857 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34858 normal/normal case to before the switch.
34859 (_FP_DIV): Likewise.
34860
e933a943
MF
348612012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34862 Mike Frysinger <vapier@gentoo.org>
34863
34864 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34865 check for __NR_fadvise64_64.
34866
82123268
CM
348672012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34868
34869 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34870 0, not just to plain "0" as a statement.
34871 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34872 with cw.
34873
d9814526
JM
348742012-12-06 Joseph Myers <joseph@codesourcery.com>
34875
34876 * NEWS: Use sourceware.org in Bugzilla URL.
34877
7728c574
SP
348782012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34879
f16946dd
SP
34880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34881 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34882
5704bbcb
SP
34883 * stdio-common/tst-put-error.c (do_test): Add newline to the
34884 padded test to ensure flush.
34885
17aa0516
JL
348862012-12-05 Jeff Law <law@redhat.com>
34887
34888 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34889
363313b5
JM
348902012-12-05 Joseph Myers <joseph@codesourcery.com>
34891
effbd42a
JM
34892 * README: Don't refer to ports add-on as distributed separately.
34893 Mention AArch64 in list of systems supported in the ports add-on.
34894
87600365
JM
34895 * LICENSES: Add more non-FSF copyright and license notices.
34896
a0d7066a
JM
34897 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34898 ((unused)).
34899
66ca5a5b
JM
34900 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34901
363313b5
JM
34902 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34903 10000 as width of padded output.
34904
b37984ad
JM
349052012-12-04 Joseph Myers <joseph@codesourcery.com>
34906
9003570a
JM
34907 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34908
b37984ad
JM
34909 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34910 variable LX with __attribute__ ((unused)).
34911 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34912 Likewise.
34913 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34914 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34915 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34916 with __attribute__ ((unused)).
34917
c8df52ec
DM
349182012-12-04 David S. Miller <davem@abraco.davemloft.net>
34919
34920 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34921
b3b099af
JM
349222012-12-04 Joseph Myers <joseph@codesourcery.com>
34923
c33aa6e3
JM
34924 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34925 (CFLAGS-nldbl-acos.c): New variable.
34926 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34927 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34928 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34929 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34930 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34931 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34932 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34933 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34934 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34935 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34936 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34937 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34938 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34939 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34940 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34941 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34942 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34943 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34944 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34945 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34946 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34947 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34948 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34949 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34950 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34951 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34952 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34953 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34954 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34955 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34956 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34957 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34958 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34959 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34960 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34961 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34962 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34963 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34964 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34965 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34966 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34967 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34968 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34969 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34970 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34971 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34972 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34973 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34974 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34975 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34976 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34977 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34978 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34979 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34980 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34981 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34982 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34983 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34984 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34985 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34986 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34987 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34988 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34989 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34990 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34991 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34992 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34993 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34994 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34995 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34996 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34997 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34998 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34999 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35000 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35001 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35002 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35003 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35004 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35005 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35006 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35007 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35008 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35009 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35010 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35011 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35012 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35013 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35014 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35015 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35016 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35017 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35018 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35019 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35020 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35021 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35022 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35023
20f0018d
JM
35024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35025 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35026
b3b099af
JM
35027 [BZ #14914]
35028 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35029 whole low double instead of just low 47 bits when splitting values
35030 into two parts.
35031
029264d1
AM
350322012-12-03 Allan McRae <allan@archlinux.org>
35033
35034 * manual/stdio.texi (Predefined Printf Handlers): Remove
35035 @hsep and @vsep usage.
35036
c9d6789e
MF
350372012-12-03 Mike Frysinger <vapier@gentoo.org>
35038
35039 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35040 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35041
4b7634a5
JL
350422012-12-03 Jeff Law <law@redhat.com>
35043
35044 * time/sys/time.h (settimeofday): Do not mark TV argument
35045 as __nonnull.
35046
eb6cbd24
MF
350472012-12-01 Mike Frysinger <vapier@gentoo.org>
35048
35049 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35050 when currently writing and seek to current position when not.
35051 * libio/Makefile (tests): Remove bug-fclose1.
35052 * libio/bug-fclose1.c: Delete.
35053
f638872a
JM
350542012-12-01 Joseph Myers <joseph@codesourcery.com>
35055
35056 * manual/arith.texi (feenableexcept): Fix typo.
35057 (fedisableexcept): Likewise.
35058
48085d14
RM
350592012-11-30 Roland McGrath <roland@hack.frob.com>
35060
35061 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35062 second, differently-typed declaration, rather than a cast.
35063
1a538b9f
SP
350642012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35065
35066 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35067 * include/rpc/svc.h: ... here.
35068
d07f2ff1 350692012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
35070
35071 [BZ #13013]
35072 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35073 depending n and resplen2 to catch cases where answer
35074 equals answerp2.
35075
c93ec1f0
CD
350762012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35077
35078 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35079 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35080
37db69de
MF
350812012-11-29 Mike Frysinger <vapier@gentoo.org>
35082
35083 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35084
e10c4e4f
RM
350852012-11-29 Roland McGrath <roland@hack.frob.com>
35086
35087 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35088
2af1b328
JL
350892012-11-28 Jeff Law <law@redhat.com>
35090
35091 [BZ #13761]
35092 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35093 dataset_temporary. Track alloca usage into alloca_used.
35094 If dataset is large allocate and release it via malloc/free.
35095
111db5b1
FW
350962012-06-04 Florian Weimer <fweimer@redhat.com>
35097
f06cc227 35098 [BZ #14197]
111db5b1
FW
35099 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35100
dd694abd
DM
351012012-11-28 David S. Miller <davem@davemloft.net>
35102
35103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35104
9984dd01
JM
351052012-11-28 Joseph Myers <joseph@codesourcery.com>
35106
35107 [BZ #14803]
35108 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35109 of pi/2 rounded to nearest to 64 bits.
35110 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35111 nearest to 64 bits.
35112 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35113 bits.
35114
14bc93a9
JL
351152012-11-28 Jeff Law <law@redhat.com>
35116 Martin Osvald <mosvald@redhat.com>
35117
35118 [BZ #14889]
35119 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35120 * sunrpc/svc.c: Include time.h.
35121 (__svc_accept_failed): New function.
35122 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35123 any reason other than EINTR, call __svc_accept_failed.
35124 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35125 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35126
e3c6aa3a
AS
351272012-11-28 Andreas Schwab <schwab@suse.de>
35128
35129 * scripts/abilist.awk: Also handle indirect functions in .opd
35130 section.
35131
1bead169
JM
351322012-11-28 Joseph Myers <joseph@codesourcery.com>
35133
35134 [BZ #13881]
35135 * sysdeps/x86/fpu/powl_helper.c: New file.
35136 * sysdeps/x86/fpu/Makefile: Likewise.
35137 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35138 (p3): New object.
35139 (__ieee754_powl): Use __powl_helper for finite arguments except
35140 integer exponents below 8.
35141 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35142 (p3): New object.
35143 (__ieee754_powl): Use __powl_helper for finite arguments except
35144 integer exponents below 8.
35145 * math/libm-test.inc (pow_test): Add more tests and enable some
35146 previously disabled tests.
35147 * sysdeps/i386/fpu/libm-test-ulps: Update.
35148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35149
0817d63d
SP
351502012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35151 Carlos O'Donell <carlos_odonell@mentor.com>
35152
35153 * nss/makedb.c (is_prime): Assert that input is odd and greater
35154 than 4. Note that fact in a comment too.
35155 (next_prime): Add 4 to input.
35156
de2fd463
SP
351572012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35158
35159 [BZ #11741]
35160 * libio/Makefile (tests): Add test case tst-fwrite-error.
35161 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35162 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35163 * libio/tst-fwrite-error.c: New test case.
35164
c515fb51
L
351652012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35166
35167 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35168 before casting to void *.
35169 * include/libc-internal.h (__pointer_type): New macro.
35170 (__integer_if_pointer_type_sub): Likewise.
35171 (__integer_if_pointer_type): Likewise.
35172 (cast_to_integer): Likewise.
35173 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35174 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35175 before casting to atomic64_t.
35176 (atomic_exchange_acq): Likewise.
35177 (__arch_exchange_and_add_body): Likewise.
35178 (__arch_add_body): Likewise.
35179 (atomic_add_negative): Likewise.
35180 (atomic_add_zero): Likewise.
35181
4cf77aa9
JM
351822012-11-26 Joseph Myers <joseph@codesourcery.com>
35183
35184 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35185 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35186 (add_fdes): Likewise.
35187 (linear_search_fdes): Likewise.
35188 (binary_search_unencoded_fdes): Likewise.
35189
d260b3b4
AS
351902012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35191
35192 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35193
67060746
AC
351942012-11-24 Adam Conrad <adconrad@0c3.net>
35195
35196 * configure.in: Autodetect C++ header directories.
35197 * configure: Regenerated.
35198
800938a1
MF
351992012-11-23 Mike Frysinger <vapier@gentoo.org>
35200
35201 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35202
4e6e34e6
AS
352032012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35204
35205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35206
7c7feb47
JM
352072012-11-22 Joseph Myers <joseph@codesourcery.com>
35208
7184dcdf
JM
35209 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35210 LDBL_MANT_DIG == 106]: Disable some tests.
35211 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35212 Likewise.
35213 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35214 Likewise.
35215
0a42601f
JM
35216 [BZ #14871]
35217 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35218 input for small inputs. Return +/- pi/2 for large inputs.
35219 * math/libm-test.inc (atan_test): Add more tests.
35220
79c9b9fe
JM
35221 * sysdeps/generic/unwind-dw2-fde-glibc.c
35222 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35223 __attribute__ ((unused)).
35224
c60d3bf2
JM
35225 [BZ #14645]
35226 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35227 x * y if x and y are nonzero and z is zero.
35228
ef1e0867
JM
35229 [BZ #14811]
35230 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35231 nonzero exponents with absolute value below 0x1p-117 to +/-
35232 0x1p-117.
35233
1468ded3
JM
35234 [BZ #14869]
35235 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35236 up arguments below 2**-450, not just those below 2**-500.
35237 * math/libm-test.inc (hypot_test): Add another test.
35238
8e27e3cc
JM
35239 [BZ #14868]
35240 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35241 Return a+b for ratio over 2**120, not 2**60.
35242 * math/libm-test.inc (hypot_test): Add another test.
35243
c9c0279b
JM
35244 * math/libm-test.inc (clog_test): Use
35245 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35246 (clog10_test): Likewise.
35247
7c7feb47
JM
35248 [BZ #6778]
35249 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35250
fff1530e
AS
352512012-11-22 Andreas Schwab <schwab@suse.de>
35252
35253 * sysdeps/i386/fpu/libm-test-ulps: Update.
35254
94558d30
PT
352552012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35256
35257 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35258 printf output with newline.
35259
7e1be741
L
352602012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35261
6bfea974
L
35262 [BZ #14865]
35263 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35264 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35265 -z nodlopen, -z initfirst and -z execstack support.
35266 * configure: Regenerated.
35267
7e1be741
L
35268 * elf/elf.h (DF_1_NODIRECT): New macro.
35269 (DF_1_IGNMULDEF): Likewise.
35270 (DF_1_NOKSYMS): Likewise.
35271 (DF_1_NOHDR): Likewise.
35272 (DF_1_EDITED): Likewise.
35273 (DF_1_NORELOC): Likewise.
35274 (DF_1_SYMINTPOSE): Likewise.
35275 (DF_1_GLOBAUDIT): Likewise.
35276 (DF_1_SINGLETON): Likewise.
35277 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35278 DT_1_SUPPORTED_MASK bits.
35279 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35280
105ce2ce
CD
352812012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35282
35283 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35284
123be9de
TS
352852012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35286
d072f3f7
TS
35287 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35288 macro.
35289
123be9de
TS
35290 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35291 (sendmmsg): Move declarations...
35292 * socket/sys/socket.h: ... here.
35293 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35294 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35295 include it from...
35296 * socket/recvmmsg.c: ... this new file.
35297 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35298 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35299 definition of __sendmmsg hidden.
35300 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35301 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35302 Move ENOSYS stub into and include it from...
35303 * socket/sendmmsg.c: ... this new file.
35304 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35305 (sysdep_routines): Move recvmmsg and sendmmsg...
35306 * socket/Makefile (routines): ... here.
35307 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35308 (GLIBC_PRIVATE): Add __sendmmsg.
35309 * include/sys/socket.h (__sendmmsg): Add declarations.
35310 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35311 sendmmsg.
35312
cf9a5d18
JM
353132012-11-20 Joseph Myers <joseph@codesourcery.com>
35314
35315 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35316 variable I1 with __attribute__ ((unused)).
35317 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35318
ecd4caf9
JM
353192012-11-19 Joseph Myers <joseph@codesourcery.com>
35320
be14d48f
JM
35321 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35322 DUMMY variables with __attribute__ ((unused)).
35323
ecd4caf9
JM
35324 * bits/byteswap.h: Include <bits/types.h>.
35325 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35326
986cab95
PT
353272012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35328
35329 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35330 string_t. Do not manually set errno.
35331 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35332 length with __strnlen. Make sure to both set errno and return it on
35333 failure.
35334
6d33cc9d
DM
353352012-11-19 David S. Miller <davem@davemloft.net>
35336
35337 With help from Joseph Myers.
35338 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35339 very large arguments properly.
35340 * math/libm-test.inc (atan_test): New tests.
35341 (atan2_test): New tests.
35342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35344
ee663277
JM
353452012-11-19 Joseph Myers <joseph@codesourcery.com>
35346
877f2d8e
JM
35347 [BZ #14856]
35348 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35349 Define to 3.
35350
116fc08a
JM
35351 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35352 [POSIX] (EADDRNOTAVAIL): Likewise.
35353 [POSIX] (EAFNOSUPPORT): Likewise.
35354 [POSIX] (EALREADY): Likewise.
35355 [POSIX] (ECONNABORTED): Likewise.
35356 [POSIX] (ECONNREFUSED): Likewise.
35357 [POSIX] (ECONNRESET): Likewise.
35358 [POSIX] (EDESTADDRREQ): Likewise.
35359 [POSIX] (EDQUOT): Likewise.
35360 [POSIX] (EHOSTUNREACH): Likewise.
35361 [POSIX] (EIDRM): Likewise.
35362 [POSIX] (EISCONN): Likewise.
35363 [POSIX] (ELOOP): Likewise.
35364 [POSIX] (EMULTIHOP): Likewise.
35365 [POSIX] (ENETDOWN): Likewise.
35366 [POSIX] (ENETUNREACH): Likewise.
35367 [POSIX] (ENOBUFS): Likewise.
35368 [POSIX] (ENODATA): Likewise.
35369 [POSIX] (ENOLINK): Likewise.
35370 [POSIX] (ENOMSG): Likewise.
35371 [POSIX] (ENOPROTOOPT): Likewise.
35372 [POSIX] (ENOSR): Likewise.
35373 [POSIX] (ENOSTR): Likewise.
35374 [POSIX] (ENOTCONN): Likewise.
35375 [POSIX] (ENOTSOCK): Likewise.
35376 [POSIX] (EOPNOTSUPP): Likewise.
35377 [POSIX] (EOVERFLOW): Likewise.
35378 [POSIX] (EPROTO): Likewise.
35379 [POSIX] (EPROTONOSUPPORT): Likewise.
35380 [POSIX] (EPROTOTYPE): Likewise.
35381 [POSIX] (ESTALE): Likewise.
35382 [POSIX] (ETIME): Likewise.
35383 [POSIX] (ETXTBSY): Likewise.
35384 [POSIX] (EWOULDBLOCK): Likewise.
35385 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35386 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35387 [POSIX] (SEEK_CUR): Likewise.
35388 [POSIX] (SEEK_END): Likewise.
35389 [POSIX || UNIX98] (mode_t): Do not require.
35390 [POSIX] (off_t): Likewise.
35391 [POSIX] (pid_t): Likewise.
35392 [POSIX] (sys/stat.h): Do not allow header.
35393 [POSIX] (unistd.h): Likewise.
35394 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35395 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35396 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35397 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35398 require.
35399 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35400 sigevent): Specify elements.
35401 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35402 entry.
35403 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35404 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35405
a483863f
JM
35406 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35407 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35408 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35409 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35410 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35411 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35412 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35413 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35414 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35415 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35416 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35417 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35418 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35419 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35420 Likewise.
35421 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35422 Likewise.
35423 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35424 Likewise.
35425 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35426 Likewise.
35427 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35428 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35429 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35430 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35431 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35432 Specify lower bound on value.
35433 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35434 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35435 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35436 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35437 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35438 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35439 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35440 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35441 value.
35442 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35443 as optional.
35444 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35445 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35446 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35447 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35448 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35449 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35450 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35451 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35452 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35453 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35454 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35455 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35456 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35457 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35458 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35459 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35460 entry.
35461 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35462 optional.
35463 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35464 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35465 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35466 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35467 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35468 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35469 Likewise.
35470 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35471 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35472 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35473 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35474 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35475 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35476 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35477 as optional.
35478 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35479 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35480 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35481 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35482 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35483 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35484 specify as optional.
35485 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35486 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35487 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35488 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35489 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35490 [XPG3] (NL_LANGMAX): Likewise.
35491 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35492 [POSIX || XPG3] (NL_NMAX): Likewise.
35493 [POSIX || XPG3] (NL_SETMAX): Likewise.
35494 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35495 [XPG3] (NZERO): Likewise.
35496 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35497 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35498 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35499 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35500 (REG_ERANGE): Expect.
35501 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35502 optional-constant.
35503 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35504 Use (void) in prototype.
35505 [POSIX] (*_t): Allow.
35506 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35507 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35508 (WRDE_BADVAL): Expect.
35509
5ba924e3
JM
35510 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35511 expect.
35512 [XPG3 || XPG4] (O_RSYNC): Likewise.
35513 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35514 Likewise.
35515 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35516 [XPG3 || XPG4] (sigqueue): Likewise.
35517 [XPG3 || XPG4] (sigtimedwait): Likewise.
35518 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35519 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35520 [XPG3 || XPG4] (vsnprintf): Likewise.
35521 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35522 Likewise.
35523 [XPG3 || XPG4] (blksize_t): Likewise.
35524 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35525 Likewise.
35526 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35527 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35528 [XPG3 || XPG4] (struct itimerspec): Likewise.
35529 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35530 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35531 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35532 [XPG3 || XPG4] (clockid_t): Likewise.
35533 [XPG3 || XPG4] (timer_t): Likewise.
35534 [XPG3 || XPG4] (clock_getres): Likewise.
35535 [XPG3 || XPG4] (clock_gettime): Likewise.
35536 [XPG3 || XPG4] (clock_settime): Likewise.
35537 [XPG3 || XPG4] (nanosleep): Likewise.
35538 [XPG3 || XPG4] (timer_create): Likewise.
35539 [XPG3 || XPG4] (timer_delete): Likewise.
35540 [XPG3 || XPG4] (timer_gettime): Likewise.
35541 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35542 [XPG3 || XPG4] (timer_settime): Likewise.
35543 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35544 [XPG3 || XPG4] (getlogin_r): Likewise.
35545 [XPG3 || XPG4] (pread): Likewise.
35546 [XPG3 || XPG4] (pthread_atfork): Likewise.
35547 [XPG3 || XPG4] (pwrite): Likewise.
35548
ee663277
JM
35549 [BZ #14835]
35550 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35551 <bits/siginfo.h>.
35552
942caa16
PT
355532012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35554
e19af380
PT
35555 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35556 finalizing MALLSTREAM.
35557
942caa16
PT
35558 * sysdeps/mach/hurd/syncfs.c: New file.
35559
cfde9b46
SP
355602012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35561
35562 [BZ #14719]
35563 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35564 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35565 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35566 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35567 (_nss_dns_gethostbyname4_r): Likewise.
35568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35569 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35570
f6da27e5
PH
355712012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35572
35573 [BZ #13763]
35574 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35575
6665d4a2
SM
355762012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35577
1f51ee92
SM
35578 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35579 * elf/cache.c (print_entry): Print ",AArch64" for
35580 FLAG_AARCH64_LIB64
35581
6665d4a2
SM
35582 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35583 * elf/cache.c (print_entry): Print ",hard-float" for
35584 FLAG_ARM_LIBHF.
35585
05b227bd
DM
355862012-11-18 David S. Miller <davem@davemloft.net>
35587
35588 With help from Joseph Myers.
35589 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35590 cutoff to 2**-13.
35591 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35592 cutoff to 2**-25.
35593 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35594 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35595 small.
35596 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35597 * math/libm-test.inc (y0_test): New tests.
35598 (y1_test): New tests.
35599 * sysdeps/i386/fpu/libm-test-ulps: Update.
35600 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35602
786b0b67
AS
356032012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35604
35605 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35606 64-bit targets.
35607 * configure: Regenerated.
35608
8e18b86d
DM
356092012-11-17 David S. Miller <davem@davemloft.net>
35610
35611 [BZ #14811]
35612 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35613 nonzero exponents with absolute value below 0x1p-128 to +/-
35614 0x1p-128.
35615
531f1ae0
JM
356162012-11-17 Joseph Myers <joseph@codesourcery.com>
35617
12df29e2
JM
35618 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35619
150dc1a0
JM
35620 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35621
531f1ae0
JM
35622 * posix/getconf-speclist.c: New file.
35623 * posix/posix-envs.def: Likewise.
35624 * posix/confstr.c (START_ENV_GROUP): New macro.
35625 (END_ENV_GROUP): Likewise.
35626 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35627 (KNOWN_PRESENT_ENV_STRING): Likewise.
35628 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35629 (UNKNOWN_ENVIRONMENT): Likewise.
35630 (confstr): Include posix-envs.def instead of handling
35631 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35632 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35633 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35634 (END_ENV_GROUP): Likewise.
35635 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35636 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35637 (UNKNOWN_ENVIRONMENT): Likewise.
35638 (__sysconf): Include posix-envs.def instead of handling associated
35639 cases directly here.
35640 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35641 preprocessing getconf-speclist.c rather than running getconf or
35642 generating empty file.
35643
a93f9cbc
PT
356442012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35645
35646 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35647
d64d9f87
AL
356482012-11-16 Andrej Lajovic <natrij@gmail.com>
35649
35650 [BZ #14672]
35651 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35652
447885eb
DM
356532012-11-16 David S. Miller <davem@davemloft.net>
35654
35655 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35656 smaller than LDBL_EPSILON/2.0L, just return xm1.
35657
bcbf9830
L
356582012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35659
35660 * elf/tst-array1.c (init): Set constructor priority to 1000.
35661 (fini): Set destructor priority to 1000.
35662 * elf/tst-array2dep.c: Likewise.
35663
2b766585
SP
356642012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35665
35666 [BZ #11741]
35667 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35668 (_IO_new_file_xsputn): Also return EOF if none of the input
35669 data was written when overflow failed.
35670 * libio/iopadn.c (_IO_padn): Likewise.
35671 * libio/iowpadn.c (_IO_wpadn): Likewise.
35672 * stdio-common/tst-put-error.c: Add copyright notice.
35673 (do_test): Add case for printing padded string.
35674 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35675 _IO_padn returned error.
35676 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35677 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35678 return EOF.
35679
b1848fde
SP
356802012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35681
35682 * libio/libioP.h: Add comment note that the references to C++
35683 bits are now obsolete.
35684
2fd89785
MS
356852012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35686
35687 * math/libm-test.inc (check_complex): Use asprintf.
35688
e3ea5409
JM
356892012-11-14 Joseph Myers <joseph@codesourcery.com>
35690
35691 * debug/pcprofiledump.c (print_version): Update copyright year.
35692 * malloc/memusagestat.c (print_version): Likewise.
35693
2e64d265
L
356942012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35695
35696 [BZ #14831]
35697 * elf/Makefile (tests): Add tst-audit8.
35698 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35699 ($(objpfx)tst-audit8.out): New target.
35700 (tst-audit8-ENV): New variable.
35701 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35702 audit if l_reloc_result is NULL.
35703 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35704 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35705 * elf/tst-audit8.c: New file.
35706
c485e4d2
MS
357072012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35708
35709 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35710 * misc/Makefile (CFLAGS-select.c): Define.
35711 * posix/Makefile (CFLAGS-pause.c): Define.
35712
3a0d900a
DM
357132012-11-13 David S. Miller <davem@davemloft.net>
35714
35715 * crypt/Makefile: Move test targets after toplevel Rules
35716 inclusion. Grab any necessary sysdep routines when linking.
35717 * crypt/md5.c (md5_process_block): Remove define, we will always
35718 name it __md5_process_block.
35719 (md5_finish_ctx): Update md5_process_block call.
35720 (md5_stream): Likewise.
35721 (md5_process_bytes): Likewise.
35722 (md5_process_block): Rename to __md5_process_block and move to ...
35723 * crypt/md5-block.c: ... here.
35724 * crypt/sha256.c (sha256_process_block): Move to ...
35725 * crypt/sha256-block.c: ... here.
35726 * crypt/sha512.c (sha512_process_block): Move to ...
35727 * crypt/sha512-block.c: ... here.
35728 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35729 path.
35730 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35731 * sysdeps/sparc/sparc64/multiarch/Makefile
35732 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35733 crypt subdir.
35734 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35735 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35736 multiarch changes.
35737 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35738 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35739 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35740 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35741 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35742 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35743 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35744 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35745 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35746 file.
35747 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35748 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35749 file.
35750 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35751
8ca89318
JM
357522012-11-13 Joseph Myers <joseph@codesourcery.com>
35753
e27d476a
JM
35754 * timezone/tzselect.ksh: Update from tzcode git revision
35755 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35756 * timezone/zdump.c: Likewise.
35757 * timezone/zic.c: Likewise.
35758 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35759 in TZVERSION setting, not $(PKGVERSION).
35760 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35761 REPORT_BUGS_TO settings.
35762
8ca89318
JM
35763 [BZ #14838]
35764 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35765 macro.
35766
47594329
MS
357672012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35768
35769 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35770 detection to immediately after _FP_ROUND().
35771 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35772 bits are 0.
35773
640ac3f1
DM
357742012-11-11 David S. Miller <davem@davemloft.net>
35775
35776 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35777 inttypes.h
35778 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35779 __close rather than their public counterparts.
35780
3d2577bb
JM
357812012-11-10 Joseph Myers <joseph@codesourcery.com>
35782
35783 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35784 file.
35785 [UNIX98] (sem_timedwait): Do not expect.
35786 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35787 [XPG4 || UNIX98] (sockatmark): Do not expect.
35788 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35789 (clock_getcpuclockid): Do not expect.
35790 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35791 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35792 Do not expect.
35793 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35794 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35795 [UNIX98] (vwscanf): Likewise.
35796 [UNIX98] (vswscanf): Likewise.
35797
fb1ae1ee
JM
357982012-11-09 Joseph Myers <joseph@codesourcery.com>
35799
9ec6f8bd
JM
35800 * timezone/version.h: Remove file.
35801 * timezone/README: Do not refer to version.h.
35802 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35803 $(objpfx)version.h.
35804 ($(objpfx)zdump.o): Likewise.
c3f81911 35805 ($(objpfx)version.h): New target.
9ec6f8bd 35806
0aa8f8a1
JM
35807 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35808 2012i.
35809 * timezone/README: Don't mention modification to tzselect.ksh.
35810 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35811 work on unmodified tzselect.ksh. Substitute version numbers in
35812 tzselect.ksh.
35813
4e87147f
JM
35814 * Makefile (format-me): Remove.
35815 (INSTALL): Adjust indentation. Use commands directly instead of
35816 using $(format-me).
35817
8b748aed
JM
35818 * aclocal.m4 (ACX_PKGVERSION): New macro.
35819 (ACX_BUGURL): Likewise.
35820 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35821 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35822 (REPORT_BUGS_TO): Likewise.
35823 * configure: Regenerated.
35824 * config.h.in (PKGVERSION): New macro.
35825 (REPORT_BUGS_TO): Likewise.
35826 * config.make.in (PKGVERSION): New variable.
35827 (PKGVERSION_TEXI): Likewise.
35828 (REPORT_BUGS_TO): Likewise.
35829 (REPORT_BUGS_TEXI): Likewise.
35830 * Makefile (format-me): Use -I$(common-objpfx)manual.
35831 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35832 ($(common-objpfx)manual/%): New target.
35833 (manual/%): Remove target.
35834 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35835 (print_version): Use PKGVERSION.
35836 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35837 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35838 and REPORT_BUGS_TO.
35839 ($(objpfx)xtrace): Likewise.
35840 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35841 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35842 (print_version): Use PKGVERSION.
35843 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35844 (do_version): Use PKGVERSION.
35845 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35846 REPORT_BUGS_TO.
35847 (common-ldd-rewrite): Likewise.
35848 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35849 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35850 (print_version): Use PKGVERSION.
35851 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35852 * elf/pldd.c (argp_program_bug_address): Remove variable.
35853 (more_help): New function.
35854 (argp): Use more_help.
35855 (print_version): Use PKGVERSION.
35856 * elf/sln.c (main): Use PKGVERSION.
35857 (usage): Use REPORT_BUGS_TO.
35858 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35859 (top level): Use PKGVERSION.
35860 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35861 (print_version): Use PKGVERSION.
35862 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35863 (print_version): Use PKGVERSION.
35864 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35865 (print_version): Use PKGVERSION.
35866 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35867 (print_version): Use PKGVERSION.
35868 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35869 (print_version): Use PKGVERSION.
35870 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35871 (print_version): Use PKGVERSION.
35872 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35873 and BUGURL.
35874 ($(objpfx)memusage): Likewise.
35875 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35876 (do_version): Use PKGVERSION.
35877 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35878 (print_version): Use PKGVERSION.
35879 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35880 ($PKGVERSION): New variable.
35881 ($REPORT_BUGS_TO): Likewise.
35882 (usage): Use $REPORT_BUGS_TO.
35883 (top level): Use $PKGVERSION.
35884 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35885 ($(objpfx)pkgvers.texi): New rule.
35886 ($(objpfx)stamp-pkgvers): Likewise.
35887 * manual/install.texi: Include pkgvers.texi.
35888 (--with-pkgversion): Document new configure option.
35889 (--with-bugurl): Likewise.
35890 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35891 than necessarily for this particular distribution. Use
35892 REPORT_BUGS_TO for where to report bugs.
35893 * INSTALL: Regenerated.
35894 * manual/libc.texinfo: Include pkgvers.texi.
35895 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35896 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35897 (print_version): Use PKGVERSION.
35898 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35899 (print_version): Use PKGVERSION.
35900 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35901 (print_version): Use PKGVERSION.
35902 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35903 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35904 macro.
35905 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35906 (print_version): Use PKGVERSION.
35907 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35908 (print_version): Use PKGVERSION.
35909 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35910 and PKGVERSION.
35911
92e4b6a9
JM
35912 * timezone/checktab.awk: Update from tzcode 2012i.
35913 * timezone/ialloc.c: Likewise.
35914 * timezone/private.h: Likewise.
35915 * timezone/scheck.c: Likewise.
35916 * timezone/tzfile.h: Likewise.
35917 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35918 (TZVERSION): Hardcode tzcode version number.
35919 * timezone/zdump.c: Update from tzcode 2012i.
35920 * timezone/zic.c: Likewise.
35921 * timezone/version.h: New file.
35922 * timezone/README: Describe version.h. Update upstream location.
35923
9bde902c
JM
35924 [BZ #14824]
35925 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35926 (mktemp): Enable declaration.
35927 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35928 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35929 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35930 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35931 Likewise.
35932 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35933 Likewise.
35934 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35935 Likewise.
35936 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35937 Likewise.
35938 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35939 Likewise.
35940 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35941 Likewise.
35942
fb1ae1ee
JM
35943 [BZ #14821]
35944 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35945 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35946 for copies of such integer values.
35947 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35948 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35949
2c1adbcb
AJ
359502012-11-09 Andreas Jaeger <aj@suse.de>
35951
35952 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35953 definitions and declarations that are provided by
35954 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35955
d0f8457e
AK
359562012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35957
3a235abb 35958 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35959 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35960 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35961 definition.
35962
57241e26
MS
359632012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35964
35965 * elf/elf.h: Update comment before AArch64 relocations.
35966
60e8270d
DM
359672012-11-07 David S. Miller <davem@davemloft.net>
35968
35969 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35970 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35971 (__start_context): Declare.
35972 (__makecontext_ret): Delete.
35973 (__makecontext): Hook up __start_context instead of
35974 __makecontext_ret.
35975 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35976 (sysdep_routines): Add __start_context when in stdlib.
35977
0fbb0fbc
JM
359782012-11-07 Joseph Myers <joseph@codesourcery.com>
35979
35980 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35981 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35982 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35983 hardcoded "nm".
35984 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35985 (READELF): New variable. Use it instead of hardcoded "readelf".
35986
eb48db7e
L
359872012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35988
35989 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35990 * sysdeps/x86/Makefile: Here.
35991 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35992 * sysdeps/x86/tst-xmmymm.sh: This.
35993
05bcf62a
JM
359942012-11-07 Joseph Myers <joseph@codesourcery.com>
35995
c4b6cf53
JM
35996 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35997 expectations.
35998 [UNIX98] (pthread_barrier_t): Do not expect.
35999 [UNIX98] (pthread_barrierattr_t): Likewise.
36000 [UNIX98] (pthread_spinlock_t): Likewise.
36001 [UNIX98] (pthread_barrier_destroy): Likewise.
36002 [UNIX98] (pthread_barrier_init): Likewise.
36003 [UNIX98] (pthread_barrier_wait): Likewise.
36004 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36005 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36006 [UNIX98] (pthread_barrierattr_init): Likewise.
36007 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36008 [UNIX98] (pthread_getcpuclockid): Likewise.
36009 [UNIX98] (pthread_mutex_timedlock): Likewise.
36010 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36011 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36012 [UNIX98] (pthread_sigmask): Likewise.
36013 [UNIX98] (pthread_spin_destroy): Likewise.
36014 [UNIX98] (pthread_spin_init): Likewise.
36015 [UNIX98] (pthread_spin_lock): Likewise.
36016 [UNIX98] (pthread_spin_trylock): Likewise.
36017 [UNIX98] (pthread_spin_unlock): Likewise.
36018 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36019 Do not expect.
36020 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36021 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36022 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36023 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36024 [XPG3 || XPG4] (pthread_key_t): Likewise.
36025 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36026 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36027 [XPG3 || XPG4] (pthread_once_t): Likewise.
36028 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36029 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36030 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36031 [XPG3 || XPG4] (pthread_t): Likewise.
36032
cbe6e120
JM
36033 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36034 not expect.
36035 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36036
1b126443
JM
36037 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36038 Change function return type to int.
36039
b961a573
JM
36040 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36041 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36042 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36043 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36044 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36045 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36046 [!POSIX] (posix_madvise): Likewise.
36047 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36048 && !UNIX98].
36049 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36050 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36051 (mode_t): Likewise.
36052 (posix_mem_offset): Likewise.
36053 (posix_typed_mem_get_info): Likewise.
36054 (posix_typed_mem_open): Likewise.
36055
9e188909
JM
36056 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36057 Change condition to [XOPEN2K8].
36058
05bcf62a
JM
36059 * conform/conformtest.pl: Preprocess allow-header data with -x c
36060 instead of from stdin.
36061 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36062 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36063 [C99-based standards] (cerfc): Likewise.
36064 [C99-based standards] (cexp2): Likewise.
36065 [C99-based standards] (cexpm1): Likewise.
36066 [C99-based standards] (clog10): Likewise.
36067 [C99-based standards] (clog1p): Likewise.
36068 [C99-based standards] (clog2): Likewise.
36069 [C99-based standards] (clgamma): Likewise.
36070 [C99-based standards] (ctgamma): Likewise.
36071 [C99-based standards] (cerff): Likewise.
36072 [C99-based standards] (cerfcf): Likewise.
36073 [C99-based standards] (cexp2f): Likewise.
36074 [C99-based standards] (cexpm1f): Likewise.
36075 [C99-based standards] (clog10f): Likewise.
36076 [C99-based standards] (clog1pf): Likewise.
36077 [C99-based standards] (clog2f): Likewise.
36078 [C99-based standards] (clgammaf): Likewise.
36079 [C99-based standards] (ctgammaf): Likewise.
36080 [C99-based standards] (cerfl): Likewise.
36081 [C99-based standards] (cerfcl): Likewise.
36082 [C99-based standards] (cexp2l): Likewise.
36083 [C99-based standards] (cexpm1l): Likewise.
36084 [C99-based standards] (clog10l): Likewise.
36085 [C99-based standards] (clog1pl): Likewise.
36086 [C99-based standards] (clog2l): Likewise.
36087 [C99-based standards] (clgammal): Likewise.
36088 [C99-based standards] (ctgammal): Likewise.
36089 * conform/data/inttypes.h-data [C99-based standards]: Include
36090 stdint.h-data. Remove all expectations for stdint.h contents.
36091 [C99-based standards] (PRI*): Do not allow.
36092 [C99-based standards] (SCN*): Likewise.
36093 [C99-based standards] (*_t): Likewise.
36094 [C99-based-standards] (PRId8): Expect macro.
36095 [C99-based-standards] (PRIi8): Likewise.
36096 [C99-based-standards] (PRIo8): Likewise.
36097 [C99-based-standards] (PRIu8): Likewise.
36098 [C99-based-standards] (PRIx8): Likewise.
36099 [C99-based-standards] (PRIX8): Likewise.
36100 [C99-based-standards] (SCNd8): Likewise.
36101 [C99-based-standards] (SCNi8): Likewise.
36102 [C99-based-standards] (SCNo8): Likewise.
36103 [C99-based-standards] (SCNu8): Likewise.
36104 [C99-based-standards] (SCNx8): Likewise.
36105 [C99-based-standards] (PRIdLEAST8): Likewise.
36106 [C99-based-standards] (PRIiLEAST8): Likewise.
36107 [C99-based-standards] (PRIoLEAST8): Likewise.
36108 [C99-based-standards] (PRIuLEAST8): Likewise.
36109 [C99-based-standards] (PRIxLEAST8): Likewise.
36110 [C99-based-standards] (PRIXLEAST8): Likewise.
36111 [C99-based-standards] (SCNdLEAST8): Likewise.
36112 [C99-based-standards] (SCNiLEAST8): Likewise.
36113 [C99-based-standards] (SCNoLEAST8): Likewise.
36114 [C99-based-standards] (SCNuLEAST8): Likewise.
36115 [C99-based-standards] (SCNxLEAST8): Likewise.
36116 [C99-based-standards] (PRIdFAST8): Likewise.
36117 [C99-based-standards] (PRIiFAST8): Likewise.
36118 [C99-based-standards] (PRIoFAST8): Likewise.
36119 [C99-based-standards] (PRIuFAST8): Likewise.
36120 [C99-based-standards] (PRIxFAST8): Likewise.
36121 [C99-based-standards] (PRIXFAST8): Likewise.
36122 [C99-based-standards] (SCNdFAST8): Likewise.
36123 [C99-based-standards] (SCNiFAST8): Likewise.
36124 [C99-based-standards] (SCNoFAST8): Likewise.
36125 [C99-based-standards] (SCNuFAST8): Likewise.
36126 [C99-based-standards] (SCNxFAST8): Likewise.
36127 [C99-based-standards] (PRId16): Likewise.
36128 [C99-based-standards] (PRIi16): Likewise.
36129 [C99-based-standards] (PRIo16): Likewise.
36130 [C99-based-standards] (PRIu16): Likewise.
36131 [C99-based-standards] (PRIx16): Likewise.
36132 [C99-based-standards] (PRIX16): Likewise.
36133 [C99-based-standards] (SCNd16): Likewise.
36134 [C99-based-standards] (SCNi16): Likewise.
36135 [C99-based-standards] (SCNo16): Likewise.
36136 [C99-based-standards] (SCNu16): Likewise.
36137 [C99-based-standards] (SCNx16): Likewise.
36138 [C99-based-standards] (PRIdLEAST16): Likewise.
36139 [C99-based-standards] (PRIiLEAST16): Likewise.
36140 [C99-based-standards] (PRIoLEAST16): Likewise.
36141 [C99-based-standards] (PRIuLEAST16): Likewise.
36142 [C99-based-standards] (PRIxLEAST16): Likewise.
36143 [C99-based-standards] (PRIXLEAST16): Likewise.
36144 [C99-based-standards] (SCNdLEAST16): Likewise.
36145 [C99-based-standards] (SCNiLEAST16): Likewise.
36146 [C99-based-standards] (SCNoLEAST16): Likewise.
36147 [C99-based-standards] (SCNuLEAST16): Likewise.
36148 [C99-based-standards] (SCNxLEAST16): Likewise.
36149 [C99-based-standards] (PRIdFAST16): Likewise.
36150 [C99-based-standards] (PRIiFAST16): Likewise.
36151 [C99-based-standards] (PRIoFAST16): Likewise.
36152 [C99-based-standards] (PRIuFAST16): Likewise.
36153 [C99-based-standards] (PRIxFAST16): Likewise.
36154 [C99-based-standards] (PRIXFAST16): Likewise.
36155 [C99-based-standards] (SCNdFAST16): Likewise.
36156 [C99-based-standards] (SCNiFAST16): Likewise.
36157 [C99-based-standards] (SCNoFAST16): Likewise.
36158 [C99-based-standards] (SCNuFAST16): Likewise.
36159 [C99-based-standards] (SCNxFAST16): Likewise.
36160 [C99-based-standards] (PRId32): Likewise.
36161 [C99-based-standards] (PRIi32): Likewise.
36162 [C99-based-standards] (PRIo32): Likewise.
36163 [C99-based-standards] (PRIu32): Likewise.
36164 [C99-based-standards] (PRIx32): Likewise.
36165 [C99-based-standards] (PRIX32): Likewise.
36166 [C99-based-standards] (SCNd32): Likewise.
36167 [C99-based-standards] (SCNi32): Likewise.
36168 [C99-based-standards] (SCNo32): Likewise.
36169 [C99-based-standards] (SCNu32): Likewise.
36170 [C99-based-standards] (SCNx32): Likewise.
36171 [C99-based-standards] (PRIdLEAST32): Likewise.
36172 [C99-based-standards] (PRIiLEAST32): Likewise.
36173 [C99-based-standards] (PRIoLEAST32): Likewise.
36174 [C99-based-standards] (PRIuLEAST32): Likewise.
36175 [C99-based-standards] (PRIxLEAST32): Likewise.
36176 [C99-based-standards] (PRIXLEAST32): Likewise.
36177 [C99-based-standards] (SCNdLEAST32): Likewise.
36178 [C99-based-standards] (SCNiLEAST32): Likewise.
36179 [C99-based-standards] (SCNoLEAST32): Likewise.
36180 [C99-based-standards] (SCNuLEAST32): Likewise.
36181 [C99-based-standards] (SCNxLEAST32): Likewise.
36182 [C99-based-standards] (PRIdFAST32): Likewise.
36183 [C99-based-standards] (PRIiFAST32): Likewise.
36184 [C99-based-standards] (PRIoFAST32): Likewise.
36185 [C99-based-standards] (PRIuFAST32): Likewise.
36186 [C99-based-standards] (PRIxFAST32): Likewise.
36187 [C99-based-standards] (PRIXFAST32): Likewise.
36188 [C99-based-standards] (SCNdFAST32): Likewise.
36189 [C99-based-standards] (SCNiFAST32): Likewise.
36190 [C99-based-standards] (SCNoFAST32): Likewise.
36191 [C99-based-standards] (SCNuFAST32): Likewise.
36192 [C99-based-standards] (SCNxFAST32): Likewise.
36193 [C99-based-standards] (PRId64): Likewise.
36194 [C99-based-standards] (PRIi64): Likewise.
36195 [C99-based-standards] (PRIo64): Likewise.
36196 [C99-based-standards] (PRIu64): Likewise.
36197 [C99-based-standards] (PRIx64): Likewise.
36198 [C99-based-standards] (PRIX64): Likewise.
36199 [C99-based-standards] (SCNd64): Likewise.
36200 [C99-based-standards] (SCNi64): Likewise.
36201 [C99-based-standards] (SCNo64): Likewise.
36202 [C99-based-standards] (SCNu64): Likewise.
36203 [C99-based-standards] (SCNx64): Likewise.
36204 [C99-based-standards] (PRIdLEAST64): Likewise.
36205 [C99-based-standards] (PRIiLEAST64): Likewise.
36206 [C99-based-standards] (PRIoLEAST64): Likewise.
36207 [C99-based-standards] (PRIuLEAST64): Likewise.
36208 [C99-based-standards] (PRIxLEAST64): Likewise.
36209 [C99-based-standards] (PRIXLEAST64): Likewise.
36210 [C99-based-standards] (SCNdLEAST64): Likewise.
36211 [C99-based-standards] (SCNiLEAST64): Likewise.
36212 [C99-based-standards] (SCNoLEAST64): Likewise.
36213 [C99-based-standards] (SCNuLEAST64): Likewise.
36214 [C99-based-standards] (SCNxLEAST64): Likewise.
36215 [C99-based-standards] (PRIdFAST64): Likewise.
36216 [C99-based-standards] (PRIiFAST64): Likewise.
36217 [C99-based-standards] (PRIoFAST64): Likewise.
36218 [C99-based-standards] (PRIuFAST64): Likewise.
36219 [C99-based-standards] (PRIxFAST64): Likewise.
36220 [C99-based-standards] (PRIXFAST64): Likewise.
36221 [C99-based-standards] (SCNdFAST64): Likewise.
36222 [C99-based-standards] (SCNiFAST64): Likewise.
36223 [C99-based-standards] (SCNoFAST64): Likewise.
36224 [C99-based-standards] (SCNuFAST64): Likewise.
36225 [C99-based-standards] (SCNxFAST64): Likewise.
36226 [C99-based-standards] (PRIdMAX): Likewise.
36227 [C99-based-standards] (PRIiMAX): Likewise.
36228 [C99-based-standards] (PRIoMAX): Likewise.
36229 [C99-based-standards] (PRIuMAX): Likewise.
36230 [C99-based-standards] (PRIxMAX): Likewise.
36231 [C99-based-standards] (PRIXMAX): Likewise.
36232 [C99-based-standards] (SCNdMAX): Likewise.
36233 [C99-based-standards] (SCNiMAX): Likewise.
36234 [C99-based-standards] (SCNoMAX): Likewise.
36235 [C99-based-standards] (SCNuMAX): Likewise.
36236 [C99-based-standards] (SCNxMAX): Likewise.
36237 [C99-based-standards] (PRIdPTR): Likewise.
36238 [C99-based-standards] (PRIiPTR): Likewise.
36239 [C99-based-standards] (PRIoPTR): Likewise.
36240 [C99-based-standards] (PRIuPTR): Likewise.
36241 [C99-based-standards] (PRIxPTR): Likewise.
36242 [C99-based-standards] (PRIXPTR): Likewise.
36243 [C99-based-standards] (SCNdPTR): Likewise.
36244 [C99-based-standards] (SCNiPTR): Likewise.
36245 [C99-based-standards] (SCNoPTR): Likewise.
36246 [C99-based-standards] (SCNuPTR): Likewise.
36247 [C99-based-standards] (SCNxPTR): Likewise.
36248 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36249 allow.
36250 * conform/data/stdint.h-data: Update comments to clarify
36251 requirements.
36252 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36253 type.
36254 [C99-based standards] (INT8_MAX): Likewise.
36255 [C99-based standards] (INT16_MIN): Likewise.
36256 [C99-based standards] (INT16_MAX): Likewise.
36257 [C99-based standards] (INT32_MIN): Likewise.
36258 [C99-based standards] (INT32_MAX): Likewise.
36259 [C99-based standards] (INT64_MIN): Likewise.
36260 [C99-based standards] (INT64_MAX): Likewise.
36261 [C99-based standards] (UINT8_MAX): Likewise.
36262 [C99-based standards] (UINT16_MAX): Likewise.
36263 [C99-based standards] (UINT32_MAX): Likewise.
36264 [C99-based standards] (UINT64_MAX): Likewise.
36265 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36266 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36267 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36268 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36269 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36270 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36271 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36272 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36273 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36274 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36275 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36276 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36277 [C99-based standards] (INT_FAST8_MIN): Likewise.
36278 [C99-based standards] (INT_FAST8_MAX): Likewise.
36279 [C99-based standards] (INT_FAST16_MIN): Likewise.
36280 [C99-based standards] (INT_FAST16_MAX): Likewise.
36281 [C99-based standards] (INT_FAST32_MIN): Likewise.
36282 [C99-based standards] (INT_FAST32_MAX): Likewise.
36283 [C99-based standards] (INT_FAST64_MIN): Likewise.
36284 [C99-based standards] (INT_FAST64_MAX): Likewise.
36285 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36286 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36287 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36288 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36289 [C99-based standards] (INTPTR_MIN): Likewise.
36290 [C99-based standards] (INTPTR_MAX): Likewise.
36291 [C99-based standards] (UINTPTR_MAX): Likewise.
36292 [C99-based standards] (INTMAX_MIN): Likewise.
36293 [C99-based standards] (INTMAX_MAX): Likewise.
36294 [C99-based standards] (UINTMAX_MAX): Likewise.
36295 [C99-based standards] (PTRDIFF_MIN): Likewise.
36296 [C99-based standards] (PTRDIFF_MAX): Likewise.
36297 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36298 [C99-based standards] (SIZE_MAX): Likewise.
36299 [C99-based standards] (WCHAR_MAX): Likewise.
36300 [C99-based standards] (WINT_MAX): Likewise.
36301 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36302 constraint on value.
36303 [C99-based standards] (WCHAR_MIN): Likewise.
36304 [C99-based standards] (WINT_MIN): Likewise.
36305 [C99-based standards] (*_t): Allow.
36306 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36307 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36308 Include math.h-data and complex.h-data. Remove all expectations
36309 of math.h and complex.h contents.
36310 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36311 at end of line.
36312 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36313 (struct tm): Expect tag.
36314 [C99-based-standards] (wcstof): Expect function.
36315 [C99-based-standards] (wcstold): Likewise.
36316 [C99-based-standards] (wcstoll): Likewise.
36317 [C99-based-standards] (wcstoull): Likewise.
36318 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36319 macro-int-constant. Specify type.
36320 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36321 constraint on value.
36322 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36323 Specify type.
36324 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36325 Specify value.
36326 [ISO C standards]: Do not allow headers.
36327 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36328 wcs[abcdefghijklmnopqrstuvwxyz]*.
36329 [ISO C standards] (*_t): Do not allow.
36330 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36331 Expect function.
36332 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36333 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36334 Specify type.
36335 [ISO C standards]: Do not allow headers.
36336 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36337 is[abcdefghijklmnopqrstuvwxyz]*.
36338 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36339 to[abcdefghijklmnopqrstuvwxyz]*.
36340 [ISO C standards] (*_t): Do not allow.
36341 * conform/data/stdalign.h-data: New file.
36342 * conform/data/stdbool.h-data: Likewise.
36343 * conform/data/stdnoreturn.h-data: Likewise.
36344
7514feb8
RM
363452012-11-07 Roland McGrath <roland@hack.frob.com>
36346
36347 [BZ #14815]
36348 * manual/filesys.texi (Directory Entries): Typo fix.
36349 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36350
19b2ecfc
MS
363512012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36352
36353 * elf/elf.h (EM_AARCH64): New macro.
36354 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36355 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36356 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36357 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36358 (R_AARCH64_TLSDESC): Likewise.
36359 (NT_ARM_TLS): Likewise.
36360 (NT_ARM_HW_BREAK): Likewise.
36361 (NT_ARM_HW_WATCH): Likewise.
36362
60e235ee
JM
363632012-11-07 Joseph Myers <joseph@codesourcery.com>
36364
36365 [BZ #14811]
36366 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36367 (__ieee754_powl): Saturate nonzero exponents with absolute value
36368 below 0x1p-79 to +/- 0x1p-79.
36369 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36370 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36371 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36372 nonzero exponents with absolute value below 0x1p-32 to +/-
36373 0x1p-32.
36374 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36375 (__ieee754_powl): Saturate nonzero exponents with absolute value
36376 below 0x1p-79 to +/- 0x1p-79.
36377 * math/libm-test.inc (pow_test): Add more tests.
36378
0ab234b7
AK
363792012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36380
36381 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36382 _dl_s390_cap_flags with kernel. Increase string length.
36383 (_dl_s390_platforms): Add z196 and zEC12.
36384
45832f74
JM
363852012-11-07 Joseph Myers <joseph@codesourcery.com>
36386
36387 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36388 Change XOPEN21K to XOPEN2K.
36389
19218757
MK
363902012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36391
36392 * string/memmove.c: Use memcpy when possible.
36393
c5f45721
AJ
363942012-11-06 Andreas Jaeger <aj@suse.de>
36395
36396 * po/eo.po: Update from translation team.
36397
82477c28
JM
363982012-11-06 Joseph Myers <joseph@codesourcery.com>
36399
36400 [BZ #14793]
36401 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36402 exponent and small x and y exponents, scale x or y up. Increase
36403 by 2 the exponent used in scaling up.
36404 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36405 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36406 * math/libm-test.inc (fma_test): Add more tests.
36407 (fma_test_towardzero): Likewise.
36408 (fma_test_downward): Likewise.
36409 (fma_test_upward): Likewise.
36410
99252c8c
JM
364112012-11-05 Joseph Myers <joseph@codesourcery.com>
36412
acfa885f
JM
36413 [BZ #14805]
36414 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36415 fenv_t *.
36416
99252c8c
JM
36417 [BZ #14801]
36418 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36419 namespace for names of struct fields.
36420 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36421 fenv_t fields.
36422 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36423 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36424
d6d98dea
ST
364252012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36426
36427 [BZ #3665]
36428 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36429
e10bb107
TS
364302012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36431
36432 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36433 PTR_DEMANGLE.
36434
36435 [BZ #5246]
36436 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36437 PTR_DEMANGLE.
36438
a0c2940d
JM
364392012-11-04 Joseph Myers <joseph@codesourcery.com>
36440
36441 [BZ #14797]
36442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36443 definitely overflow as x * y not x * y + z.
36444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36445 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36446 * math/libm-test.inc (fma_test): Add more tests.
36447 (fma_test_towardzero): Likewise.
36448 (fma_test_downward): Likewise.
36449 (fma_test_upward): Likewise.
36450
b830319d
TS
364512012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36452
36453 [BZ #157]
36454
36455 * include/stub-tag.h: Remove file.
36456 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36457 '#include' of it.
36458 * manual/maint.texi (Porting): Don't reference it.
36459 * Makerules ($(objpfx)stubs): Likewise.
36460 * dirent/closedir.c: Don't include <stub-tag.h>.
36461 * dirent/dirfd.c: Likewise.
36462 * dirent/fdopendir.c: Likewise.
36463 * dirent/getdents.c: Likewise.
36464 * dirent/getdents64.c: Likewise.
36465 * dirent/opendir.c: Likewise.
36466 * dirent/readdir.c: Likewise.
36467 * dirent/readdir64.c: Likewise.
36468 * dirent/readdir64_r.c: Likewise.
36469 * dirent/readdir_r.c: Likewise.
36470 * dirent/rewinddir.c: Likewise.
36471 * dirent/seekdir.c: Likewise.
36472 * dirent/telldir.c: Likewise.
36473 * gmon/profil.c: Likewise.
36474 * grp/setgroups.c: Likewise.
36475 * inet/if_index.c: Likewise.
36476 * io/access.c: Likewise.
36477 * io/chdir.c: Likewise.
36478 * io/chmod.c: Likewise.
36479 * io/chown.c: Likewise.
36480 * io/close.c: Likewise.
36481 * io/dup.c: Likewise.
36482 * io/dup2.c: Likewise.
36483 * io/dup3.c: Likewise.
36484 * io/euidaccess.c: Likewise.
36485 * io/faccessat.c: Likewise.
36486 * io/fchdir.c: Likewise.
36487 * io/fchmod.c: Likewise.
36488 * io/fchmodat.c: Likewise.
36489 * io/fchown.c: Likewise.
36490 * io/fchownat.c: Likewise.
36491 * io/fcntl.c: Likewise.
36492 * io/flock.c: Likewise.
36493 * io/fstatfs.c: Likewise.
36494 * io/fstatfs64.c: Likewise.
36495 * io/fstatvfs.c: Likewise.
36496 * io/fstatvfs64.c: Likewise.
36497 * io/futimens.c: Likewise.
36498 * io/fxstat.c: Likewise.
36499 * io/fxstat64.c: Likewise.
36500 * io/fxstatat.c: Likewise.
36501 * io/fxstatat64.c: Likewise.
36502 * io/getcwd.c: Likewise.
36503 * io/isatty.c: Likewise.
36504 * io/lchmod.c: Likewise.
36505 * io/lchown.c: Likewise.
36506 * io/link.c: Likewise.
36507 * io/linkat.c: Likewise.
36508 * io/lseek.c: Likewise.
36509 * io/lseek64.c: Likewise.
36510 * io/lxstat64.c: Likewise.
36511 * io/mkdir.c: Likewise.
36512 * io/mkdirat.c: Likewise.
36513 * io/mkfifo.c: Likewise.
36514 * io/mkfifoat.c: Likewise.
36515 * io/open.c: Likewise.
36516 * io/open64.c: Likewise.
36517 * io/openat.c: Likewise.
36518 * io/openat64.c: Likewise.
36519 * io/pipe.c: Likewise.
36520 * io/pipe2.c: Likewise.
36521 * io/poll.c: Likewise.
36522 * io/posix_fadvise.c: Likewise.
36523 * io/posix_fadvise64.c: Likewise.
36524 * io/posix_fallocate.c: Likewise.
36525 * io/posix_fallocate64.c: Likewise.
36526 * io/read.c: Likewise.
36527 * io/readlink.c: Likewise.
36528 * io/readlinkat.c: Likewise.
36529 * io/rmdir.c: Likewise.
36530 * io/sendfile.c: Likewise.
36531 * io/sendfile64.c: Likewise.
36532 * io/statfs.c: Likewise.
36533 * io/statfs64.c: Likewise.
36534 * io/statvfs.c: Likewise.
36535 * io/statvfs64.c: Likewise.
36536 * io/symlink.c: Likewise.
36537 * io/symlinkat.c: Likewise.
36538 * io/ttyname.c: Likewise.
36539 * io/ttyname_r.c: Likewise.
36540 * io/umask.c: Likewise.
36541 * io/unlink.c: Likewise.
36542 * io/unlinkat.c: Likewise.
36543 * io/utime.c: Likewise.
36544 * io/utimensat.c: Likewise.
36545 * io/write.c: Likewise.
36546 * io/xmknod.c: Likewise.
36547 * io/xmknodat.c: Likewise.
36548 * io/xstat.c: Likewise.
36549 * io/xstat64.c: Likewise.
36550 * login/getpt.c: Likewise.
36551 * login/grantpt.c: Likewise.
36552 * login/unlockpt.c: Likewise.
36553 * math/e_acoshl.c: Likewise.
36554 * math/e_acosl.c: Likewise.
36555 * math/e_asinl.c: Likewise.
36556 * math/e_atan2l.c: Likewise.
36557 * math/e_atanhl.c: Likewise.
36558 * math/e_coshl.c: Likewise.
36559 * math/e_expl.c: Likewise.
36560 * math/e_fmodl.c: Likewise.
36561 * math/e_gammal_r.c: Likewise.
36562 * math/e_hypotl.c: Likewise.
36563 * math/e_j0l.c: Likewise.
36564 * math/e_j1l.c: Likewise.
36565 * math/e_jnl.c: Likewise.
36566 * math/e_lgammal_r.c: Likewise.
36567 * math/e_log10l.c: Likewise.
36568 * math/e_log2l.c: Likewise.
36569 * math/e_logl.c: Likewise.
36570 * math/e_powl.c: Likewise.
36571 * math/e_rem_pio2l.c: Likewise.
36572 * math/e_sinhl.c: Likewise.
36573 * math/e_sqrtl.c: Likewise.
36574 * math/fclrexcpt.c: Likewise.
36575 * math/fedisblxcpt.c: Likewise.
36576 * math/feenablxcpt.c: Likewise.
36577 * math/fegetenv.c: Likewise.
36578 * math/fegetexcept.c: Likewise.
36579 * math/fegetround.c: Likewise.
36580 * math/feholdexcpt.c: Likewise.
36581 * math/fesetenv.c: Likewise.
36582 * math/fesetround.c: Likewise.
36583 * math/feupdateenv.c: Likewise.
36584 * math/fgetexcptflg.c: Likewise.
36585 * math/fraiseexcpt.c: Likewise.
36586 * math/fsetexcptflg.c: Likewise.
36587 * math/ftestexcept.c: Likewise.
36588 * math/k_cosl.c: Likewise.
36589 * math/k_rem_pio2l.c: Likewise.
36590 * math/k_sinl.c: Likewise.
36591 * math/k_tanl.c: Likewise.
36592 * math/s_asinhl.c: Likewise.
36593 * math/s_atanl.c: Likewise.
36594 * math/s_cbrtl.c: Likewise.
36595 * math/s_erfl.c: Likewise.
36596 * math/s_expm1l.c: Likewise.
36597 * math/s_log1pl.c: Likewise.
36598 * math/s_tanhl.c: Likewise.
36599 * misc/acct.c: Likewise.
36600 * misc/brk.c: Likewise.
36601 * misc/chflags.c: Likewise.
36602 * misc/chroot.c: Likewise.
36603 * misc/fchflags.c: Likewise.
36604 * misc/fgetxattr.c: Likewise.
36605 * misc/flistxattr.c: Likewise.
36606 * misc/fremovexattr.c: Likewise.
36607 * misc/fsetxattr.c: Likewise.
36608 * misc/fsync.c: Likewise.
36609 * misc/ftruncate.c: Likewise.
36610 * misc/futimes.c: Likewise.
36611 * misc/futimesat.c: Likewise.
36612 * misc/getdomain.c: Likewise.
36613 * misc/getdtsz.c: Likewise.
36614 * misc/gethostid.c: Likewise.
36615 * misc/gethostname.c: Likewise.
36616 * misc/getloadavg.c: Likewise.
36617 * misc/getpagesize.c: Likewise.
36618 * misc/getsysstats.c: Likewise.
36619 * misc/getxattr.c: Likewise.
36620 * misc/gtty.c: Likewise.
36621 * misc/ioctl.c: Likewise.
36622 * misc/lgetxattr.c: Likewise.
36623 * misc/listxattr.c: Likewise.
36624 * misc/llistxattr.c: Likewise.
36625 * misc/lremovexattr.c: Likewise.
36626 * misc/lsetxattr.c: Likewise.
36627 * misc/lutimes.c: Likewise.
36628 * misc/madvise.c: Likewise.
36629 * misc/mincore.c: Likewise.
36630 * misc/mlock.c: Likewise.
36631 * misc/mlockall.c: Likewise.
36632 * misc/mmap.c: Likewise.
36633 * misc/mprotect.c: Likewise.
36634 * misc/msync.c: Likewise.
36635 * misc/munlock.c: Likewise.
36636 * misc/munlockall.c: Likewise.
36637 * misc/munmap.c: Likewise.
36638 * misc/preadv.c: Likewise.
36639 * misc/preadv64.c: Likewise.
36640 * misc/ptrace.c: Likewise.
36641 * misc/pwritev.c: Likewise.
36642 * misc/pwritev64.c: Likewise.
36643 * misc/readv.c: Likewise.
36644 * misc/reboot.c: Likewise.
36645 * misc/remap_file_pages.c: Likewise.
36646 * misc/removexattr.c: Likewise.
36647 * misc/revoke.c: Likewise.
36648 * misc/select.c: Likewise.
36649 * misc/setdomain.c: Likewise.
36650 * misc/setegid.c: Likewise.
36651 * misc/seteuid.c: Likewise.
36652 * misc/sethostid.c: Likewise.
36653 * misc/sethostname.c: Likewise.
36654 * misc/setregid.c: Likewise.
36655 * misc/setreuid.c: Likewise.
36656 * misc/setxattr.c: Likewise.
36657 * misc/sstk.c: Likewise.
36658 * misc/stty.c: Likewise.
36659 * misc/swapoff.c: Likewise.
36660 * misc/swapon.c: Likewise.
36661 * misc/sync.c: Likewise.
36662 * misc/syncfs.c: Likewise.
36663 * misc/syscall.c: Likewise.
36664 * misc/truncate.c: Likewise.
36665 * misc/ualarm.c: Likewise.
36666 * misc/usleep.c: Likewise.
36667 * misc/ustat.c: Likewise.
36668 * misc/utimes.c: Likewise.
36669 * misc/vhangup.c: Likewise.
36670 * misc/writev.c: Likewise.
36671 * posix/_exit.c: Likewise.
36672 * posix/alarm.c: Likewise.
36673 * posix/execve.c: Likewise.
36674 * posix/fexecve.c: Likewise.
36675 * posix/fork.c: Likewise.
36676 * posix/fpathconf.c: Likewise.
36677 * posix/getaddrinfo.c: Likewise.
36678 * posix/getegid.c: Likewise.
36679 * posix/geteuid.c: Likewise.
36680 * posix/getgid.c: Likewise.
36681 * posix/getgroups.c: Likewise.
36682 * posix/getlogin.c: Likewise.
36683 * posix/getlogin_r.c: Likewise.
36684 * posix/getpgid.c: Likewise.
36685 * posix/getpid.c: Likewise.
36686 * posix/getppid.c: Likewise.
36687 * posix/getresgid.c: Likewise.
36688 * posix/getresuid.c: Likewise.
36689 * posix/getsid.c: Likewise.
36690 * posix/getuid.c: Likewise.
36691 * posix/glob64.c: Likewise.
36692 * posix/nanosleep.c: Likewise.
36693 * posix/pathconf.c: Likewise.
36694 * posix/pause.c: Likewise.
36695 * posix/posix_madvise.c: Likewise.
36696 * posix/pread.c: Likewise.
36697 * posix/pread64.c: Likewise.
36698 * posix/pwrite.c: Likewise.
36699 * posix/pwrite64.c: Likewise.
36700 * posix/sched_getaffinity.c: Likewise.
36701 * posix/sched_getp.c: Likewise.
36702 * posix/sched_gets.c: Likewise.
36703 * posix/sched_primax.c: Likewise.
36704 * posix/sched_primin.c: Likewise.
36705 * posix/sched_rr_gi.c: Likewise.
36706 * posix/sched_setaffinity.c: Likewise.
36707 * posix/sched_setp.c: Likewise.
36708 * posix/sched_sets.c: Likewise.
36709 * posix/sched_yield.c: Likewise.
36710 * posix/setgid.c: Likewise.
36711 * posix/setlogin.c: Likewise.
36712 * posix/setpgid.c: Likewise.
36713 * posix/setresgid.c: Likewise.
36714 * posix/setresuid.c: Likewise.
36715 * posix/setsid.c: Likewise.
36716 * posix/setuid.c: Likewise.
36717 * posix/sleep.c: Likewise.
36718 * posix/spawni.c: Likewise.
36719 * posix/sysconf.c: Likewise.
36720 * posix/times.c: Likewise.
36721 * posix/wait.c: Likewise.
36722 * posix/wait3.c: Likewise.
36723 * posix/wait4.c: Likewise.
36724 * posix/waitpid.c: Likewise.
36725 * resolv/gai_sigqueue.c: Likewise.
36726 * resource/getpriority.c: Likewise.
36727 * resource/getrlimit.c: Likewise.
36728 * resource/getrusage.c: Likewise.
36729 * resource/nice.c: Likewise.
36730 * resource/setpriority.c: Likewise.
36731 * resource/setrlimit.c: Likewise.
36732 * resource/ulimit.c: Likewise.
36733 * rt/aio_cancel.c: Likewise.
36734 * rt/aio_fsync.c: Likewise.
36735 * rt/aio_read.c: Likewise.
36736 * rt/aio_sigqueue.c: Likewise.
36737 * rt/aio_suspend.c: Likewise.
36738 * rt/aio_write.c: Likewise.
36739 * rt/clock_getres.c: Likewise.
36740 * rt/clock_gettime.c: Likewise.
36741 * rt/clock_nanosleep.c: Likewise.
36742 * rt/clock_settime.c: Likewise.
36743 * rt/lio_listio.c: Likewise.
36744 * rt/mq_close.c: Likewise.
36745 * rt/mq_getattr.c: Likewise.
36746 * rt/mq_notify.c: Likewise.
36747 * rt/mq_open.c: Likewise.
36748 * rt/mq_receive.c: Likewise.
36749 * rt/mq_send.c: Likewise.
36750 * rt/mq_setattr.c: Likewise.
36751 * rt/mq_timedreceive.c: Likewise.
36752 * rt/mq_timedsend.c: Likewise.
36753 * rt/mq_unlink.c: Likewise.
36754 * rt/shm_open.c: Likewise.
36755 * rt/shm_unlink.c: Likewise.
36756 * rt/timer_create.c: Likewise.
36757 * rt/timer_delete.c: Likewise.
36758 * rt/timer_getoverr.c: Likewise.
36759 * rt/timer_gettime.c: Likewise.
36760 * rt/timer_settime.c: Likewise.
36761 * setjmp/__longjmp.c: Likewise.
36762 * setjmp/setjmp.c: Likewise.
36763 * signal/kill.c: Likewise.
36764 * signal/killpg.c: Likewise.
36765 * signal/raise.c: Likewise.
36766 * signal/sigaction.c: Likewise.
36767 * signal/sigaltstack.c: Likewise.
36768 * signal/sigblock.c: Likewise.
36769 * signal/sigignore.c: Likewise.
36770 * signal/sigintr.c: Likewise.
36771 * signal/signal.c: Likewise.
36772 * signal/sigpause.c: Likewise.
36773 * signal/sigpending.c: Likewise.
36774 * signal/sigqueue.c: Likewise.
36775 * signal/sigreturn.c: Likewise.
36776 * signal/sigset.c: Likewise.
36777 * signal/sigsetmask.c: Likewise.
36778 * signal/sigstack.c: Likewise.
36779 * signal/sigsuspend.c: Likewise.
36780 * signal/sigtimedwait.c: Likewise.
36781 * signal/sigvec.c: Likewise.
36782 * signal/sigwait.c: Likewise.
36783 * signal/sigwaitinfo.c: Likewise.
36784 * signal/sysv_signal.c: Likewise.
36785 * socket/accept.c: Likewise.
36786 * socket/accept4.c: Likewise.
36787 * socket/bind.c: Likewise.
36788 * socket/connect.c: Likewise.
36789 * socket/getpeername.c: Likewise.
36790 * socket/getsockname.c: Likewise.
36791 * socket/getsockopt.c: Likewise.
36792 * socket/isfdtype.c: Likewise.
36793 * socket/listen.c: Likewise.
36794 * socket/recv.c: Likewise.
36795 * socket/recvfrom.c: Likewise.
36796 * socket/recvmsg.c: Likewise.
36797 * socket/send.c: Likewise.
36798 * socket/sendmsg.c: Likewise.
36799 * socket/sendto.c: Likewise.
36800 * socket/setsockopt.c: Likewise.
36801 * socket/shutdown.c: Likewise.
36802 * socket/sockatmark.c: Likewise.
36803 * socket/socket.c: Likewise.
36804 * socket/socketpair.c: Likewise.
36805 * stdio-common/ctermid.c: Likewise.
36806 * stdio-common/cuserid.c: Likewise.
36807 * stdio-common/remove.c: Likewise.
36808 * stdio-common/rename.c: Likewise.
36809 * stdio-common/renameat.c: Likewise.
36810 * stdio-common/tempname.c: Likewise.
36811 * stdlib/getcontext.c: Likewise.
36812 * stdlib/makecontext.c: Likewise.
36813 * stdlib/setcontext.c: Likewise.
36814 * stdlib/swapcontext.c: Likewise.
36815 * stdlib/system.c: Likewise.
36816 * streams/fattach.c: Likewise.
36817 * streams/fdetach.c: Likewise.
36818 * streams/getmsg.c: Likewise.
36819 * streams/getpmsg.c: Likewise.
36820 * streams/putmsg.c: Likewise.
36821 * streams/putpmsg.c: Likewise.
36822 * sysdeps/unix/bsd/getpt.c: Likewise.
36823 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36824 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36825 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36827 Likewise.
36828 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36829 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36830 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36831 * sysvipc/msgctl.c: Likewise.
36832 * sysvipc/msgget.c: Likewise.
36833 * sysvipc/msgrcv.c: Likewise.
36834 * sysvipc/msgsnd.c: Likewise.
36835 * sysvipc/semctl.c: Likewise.
36836 * sysvipc/semget.c: Likewise.
36837 * sysvipc/semop.c: Likewise.
36838 * sysvipc/semtimedop.c: Likewise.
36839 * sysvipc/shmat.c: Likewise.
36840 * sysvipc/shmctl.c: Likewise.
36841 * sysvipc/shmdt.c: Likewise.
36842 * sysvipc/shmget.c: Likewise.
36843 * termios/tcdrain.c: Likewise.
36844 * termios/tcflow.c: Likewise.
36845 * termios/tcflush.c: Likewise.
36846 * termios/tcgetattr.c: Likewise.
36847 * termios/tcgetpgrp.c: Likewise.
36848 * termios/tcsendbrk.c: Likewise.
36849 * termios/tcsetattr.c: Likewise.
36850 * termios/tcsetpgrp.c: Likewise.
36851 * time/adjtime.c: Likewise.
36852 * time/clock.c: Likewise.
36853 * time/getitimer.c: Likewise.
36854 * time/gettimeofday.c: Likewise.
36855 * time/setitimer.c: Likewise.
36856 * time/settimeofday.c: Likewise.
36857 * time/stime.c: Likewise.
36858 * time/time.c: Likewise.
36859
368602012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36861
a20492cf
PT
36862 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36863 /usr/old/bin.
36864
72e182e3
PT
36865 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36866 instead of spaces.
36867 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36868
fbeafede
JM
368692012-11-03 Joseph Myers <joseph@codesourcery.com>
36870
5b5b04d6
JM
36871 [BZ #14796]
36872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36873 FE_TONEAREST before applying Dekker multiplication and Knuth
36874 addition. Clear inexact exceptions and check for exact zero
36875 results afterwards.
36876 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36877 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36878 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36879 * math/libm-test.inc (fma_test): Add more tests.
36880 (fma_test_towardzero): Likewise.
36881 (fma_test_downward): Likewise.
36882 (fma_test_upward): Likewise.
36883 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36884 function.
36885 (libc_fesetround): New macro.
36886 (libc_fesetroundf): Likewise.
36887 (libc_fesetroundl): Likewise.
36888 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36889 function.
36890 (libc_fesetround_387): Likewise.
36891 (libc_fesetroundf): New macro.
36892 (libc_fesetround): Likewise.
36893 (libc_fesetroundl): Likewise.
36894 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36895 function.
36896 (libc_fesetroundf): New macro.
36897 (libc_fesetround): Likewise.
36898 (libc_fesetroundl): Likewise.
36899 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36900 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36901 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36902 libm_hidden_ver.
36903 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36904 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36905 libm_hidden_def.
36906 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36907 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36908 libm_hidden_ver.
36909 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36910 libm_hidden_def.
36911
fbeafede
JM
36912 [BZ #3439]
36913 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36914 integer constant usable in #if and use that to give value to enum
36915 constant.
36916 (FE_DIVBYZERO): Likewise.
36917 (FE_UNDERFLOW): Likewise.
36918 (FE_OVERFLOW): Likewise.
36919 (FE_INVALID): Likewise.
36920 (FE_INVALID_SNAN): Likewise.
36921 (FE_INVALID_ISI): Likewise.
36922 (FE_INVALID_IDI): Likewise.
36923 (FE_INVALID_ZDZ): Likewise.
36924 (FE_INVALID_IMZ): Likewise.
36925 (FE_INVALID_COMPARE): Likewise.
36926 (FE_INVALID_SOFTWARE): Likewise.
36927 (FE_INVALID_SQRT): Likewise.
36928 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36929 (FE_TONEAREST): Likewise.
36930 (FE_TOWARDZERO): Likewise.
36931 (FE_UPWARD): Likewise.
36932 (FE_DOWNWARD): Likewise.
36933 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36934 (FE_DIVBYZERO): Likewise.
36935 (FE_OVERFLOW): Likewise.
36936 (FE_UNDERFLOW): Likewise.
36937 (FE_INEXACT): Likewise.
36938 (FE_TONEAREST): Likewise.
36939 (FE_DOWNWARD): Likewise.
36940 (FE_UPWARD): Likewise.
36941 (FE_TOWARDZERO): Likewise.
36942 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36943 (FE_UNDERFLOW): Likewise.
36944 (FE_OVERFLOW): Likewise.
36945 (FE_DIVBYZERO): Likewise.
36946 (FE_INVALID): Likewise.
36947 (FE_TONEAREST): Likewise.
36948 (FE_TOWARDZERO): Likewise.
36949 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36950 (FE_OVERFLOW): Likewise.
36951 (FE_UNDERFLOW): Likewise.
36952 (FE_DIVBYZERO): Likewise.
36953 (FE_INEXACT): Likewise.
36954 (FE_TONEAREST): Likewise.
36955 (FE_TOWARDZERO): Likewise.
36956 (FE_UPWARD): Likewise.
36957 (FE_DOWNWARD): Likewise.
36958 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36959 (FE_DIVBYZERO): Likewise.
36960 (FE_OVERFLOW): Likewise.
36961 (FE_UNDERFLOW): Likewise.
36962 (FE_INEXACT): Likewise.
36963 (FE_TONEAREST): Likewise.
36964 (FE_DOWNWARD): Likewise.
36965 (FE_UPWARD): Likewise.
36966 (FE_TOWARDZERO): Likewise.
36967
105ca950
CM
369682012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36969
36970 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36971
a542b389
AS
369722012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36973
36974 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36975 commands. Quote $PWD.
36976 (blacklist_exports): Don't use remove_newlines. Replace "declare
36977 -x" by "export".
36978 (remove_newlines): Remove.
36979
f62c8abc
L
369802012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36981
36982 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36983 * stdlib/stdlib.h (atof): Moved to ...
36984 * include/bits/stdlib-float.h: Here. New file.
36985 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36986 * stdlib/bits/stdlib-float.h: New file.
36987 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36988 -mno-sse -mno-mmx.
36989 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36990 <xmmintrin.h>.
36991
0155d5b2
JM
369922012-11-02 Joseph Myers <joseph@codesourcery.com>
36993
a68d0680
JM
36994 * conform/conformtest.pl (@headers): Add fenv.h.
36995 * conform/data/fenv.h-data: New file.
36996 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36997 include of <math/fenv.h>.
36998
caf7f573
JM
36999 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37000 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37001 && !UNIX98]. Enables tests for XOPEN2K8.
37002 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37003 POSIX2008]: Likewise.
37004
6c073ad6
JM
37005 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37006 (struct rusage): Do not expect type or its members.
37007
0155d5b2
JM
37008 [BZ #3439]
37009 * math/math.h (FP_NAN): Define macro to integer constant usable in
37010 #if and use that to give value to enum constant.
37011 (FP_INFINITE): Likewise.
37012 (FP_ZERO): Likewise.
37013 (FP_SUBNORMAL): Likewise.
37014 (FP_NORMAL): Likewise.
37015
b5dcacb4
AS
370162012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37017
37018 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37019 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37020 arguments.
37021
f7934be8
RM
370222012-11-02 Roland McGrath <roland@hack.frob.com>
37023
37024 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37025 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37026 autoconf-time if not.
37027 * configure.in: Remove AC_PREREQ.
37028
d7d08bde
TMQMF
370292012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37030
37031 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37032 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37033 of the internal implementation.
37034
dcdae19a
JM
370352012-11-02 Joseph Myers <joseph@codesourcery.com>
37036
37037 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37038 except include of <misc/sys/syslog.h>.
37039
d6cffd3e
AS
370402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37041
37042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37043 function returns with a NULL context exit with zero.
37044
b3563932
TMQMF
370452012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37046
37047 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37048
b288a93d
L
370492012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37050
37051 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37052 (run_program_cmd): This.
37053 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37054 (tst_langinfo): New variable. Use it.
37055
a2421a68
SAS
370562012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37057
37058 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37059 floating point opcodes.
37060
6f796e1b
TS
370612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37062
7402596b
TS
37063 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37064 variable.
37065
d0d4f868
TS
37066 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37067
6f796e1b
TS
37068 * sysdeps/mach/hurd/powerpc: Remove directory.
37069 * sysdeps/mach/powerpc: Likewise.
37070
4da224a2
AS
370712012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37072
37073 * scripts/check-local-headers.sh: Ignore c++ headers.
37074
341dd673
TS
370752012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37076
37077 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37078 __libc_cleanup_region_start argument.
37079
473611b2
JM
370802012-11-01 Joseph Myers <joseph@codesourcery.com>
37081
37082 [BZ #14784]
37083 [BZ #14785]
37084 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37085 x * y using scaling, not as x * y + z.
37086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37087 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37088 * math/libm-test.inc (fma_test): Add more tests.
37089 (fma_test_towardzero): Likewise.
37090 (fma_test_downward): Likewise.
37091 (fma_test_upward): Likewise.
37092
4078da3d
TS
370932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37094
37095 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37096
903252aa
JM
370972012-10-31 Joseph Myers <joseph@codesourcery.com>
37098
37099 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37100 New variable.
37101
cbc818d0
TS
371022012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37103
37104 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37105
5a03cb1e
AS
371062012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37107
37108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37109 Fix sort order.
37110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37111 Likewise.
37112
90aff2ff
TMQMF
371132012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37114
37115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37116 Fix the order of the list for glibc 2.17.
37117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37118 Likewise.
37119
1818fcb7
AS
371202012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37121
37122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37123
ef82f4da
JM
371242012-10-31 Joseph Myers <joseph@codesourcery.com>
37125
16a0e2ec
JM
37126 [BZ #14610]
37127 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37128 for low part of x being zero before using __atanl (y).
37129 * math/libm-test.inc (atan2_test): Add another test.
37130
0eb69512
JM
37131 * manual/install.texi (Configuring and compiling): Document
37132 general use of test-wrapper and test-wrapper-env.
37133 * INSTALL: Regenerated.
37134
ef82f4da
JM
37135 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37136 (__fma): Do not extract and scale down low bits on after-rounding
37137 systems when result rounded to normal precision would have normal
37138 exponent.
37139 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37140 (__fmal): Do not extract and scale down low bits on after-rounding
37141 systems when result rounded to normal precision would have normal
37142 exponent.
37143 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37144 (__fmal): Do not extract and scale down low bits on after-rounding
37145 systems when result rounded to normal precision would have normal
37146 exponent.
37147 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37148 macro.
37149 (fma_test): Add more tests.
37150 (fma_test_towardzero): Likewise.
37151 (fma_test_downward): Likewise.
37152 (fma_test_upward): Likewise.
37153
954ef0d9
L
371542012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37155
37156 * sysdeps/i386/tininess.h: Renamed to ...
37157 * sysdeps/x86/tininess.h: This.
37158 * sysdeps/x86_64/tininess.h: Removed.
37159
df61ffb2
JM
371602012-10-30 Joseph Myers <joseph@codesourcery.com>
37161
37162 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37163 input. Use $(build-program-cmd).
37164 ($(objpfx)tst-array1-static.out): Likewise.
37165 ($(objpfx)tst-array2.out): Likewise.
37166 ($(objpfx)tst-array3.out): Likewise.
37167 ($(objpfx)tst-array4.out): Likewise.
37168 ($(objpfx)tst-array5.out): Likewise.
37169 ($(objpfx)tst-array5-static.out): Likewise.
37170
01767843
CM
371712012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37172
47cc1490
CM
37173 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37174 if defined.
37175
01767843
CM
37176 * nss/nsswitch.h (nss_interface_function): Provide new
37177 macro for use with NSS functions.
37178 * grp/initgroups.c: Use new macro.
37179 * nss/getXXbyYY.c: Likewise.
37180 * nss/getXXbyYY_r.c: Likewise.
37181 * nss/getXXent.c: Likewise.
37182 * nss/getXXent_r.c: Likewise.
37183 * sysdeps/posix/getaddrinfo.c: Likewise.
37184
8321aa97
AJ
371852012-10-30 Andreas Jaeger <aj@suse.de>
37186
37187 * po/ru.po: Update Russion translation from translation project.
37188
2a27fd6d
JM
371892012-10-30 Joseph Myers <joseph@codesourcery.com>
37190
8627a232
JM
37191 [BZ #14152]
37192 [BZ #14783]
37193 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37194 result and shift together with sticky bit instead of replicating
37195 round-to-nearest rounding.
37196 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37197 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37198 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37199 missing underflow exceptions.
37200 (fma_test_towardzero): Add more tests.
37201 (fma_test_downward): Likewise.
37202 (fma_test_upward): Likewise.
37203
2a27fd6d
JM
37204 [BZ #14047]
37205 * sysdeps/generic/tininess.h: New file.
37206 * sysdeps/i386/tininess.h: Likewise.
37207 * sysdeps/sh/tininess.h: Likewise.
37208 * sysdeps/x86_64/tininess.h: Likewise.
37209 * stdlib/tst-strtod-underflow.c: Likewise.
37210 * stdlib/tst-tininess.c: Likewise.
37211 * stdlib/strtod_l.c: Include <tininess.h>.
37212 (round_and_return): Do not set errno for exact underflow cases.
37213 Force an underflow exception when setting errno for underflow.
37214 Determine underflow based on rounding to normal precision if
37215 TININESS_AFTER_ROUNDING.
37216 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37217 ERANGE for exact underflow cases.
37218 * stdlib/Makefile (tests): Add tst-tininess and
37219 tst-strtod-underflow.
37220 ($(objpfx)tst-tininess): Use $(link-libm).
37221 ($(objpfx)tst-strtod-underflow): Likewise.
37222
e7170363
AJ
372232012-10-30 Andreas Jaeger <aj@suse.de>
37224
e5088dc6
AJ
37225 [BZ#14767]
37226 * elf/Makefile (tests): Remove conditional for have-initfini-array
37227 since this is now always required and the variable does not exist
37228 anymore.
37229 (tests-static): Likewise.
37230 (modules-names): Likewise.
37231
e7170363 37232 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
37233
37234 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37235 merged with constructor/destructor.
37236 (init_array): Likewise.
37237 * elf/tst-array2dep.c (fini_array): Likewise.
37238 (init_array): Likewise.
37239
60457d8a
MF
372402012-10-29 Mike Frysinger <vapier@gentoo.org>
37241
37242 * manual/message.texi: Delete @cartouche tags.
37243
8bece752
PT
372442012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37245
94ce799f
PT
37246 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37247 EOPNOTSUPP.
37248 * sysdeps/mach/hurd/fsync.c: Likewise.
37249
8bece752
PT
37250 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37251 [_POSIX_REALTIME_SIGNALS]: Change condition to
37252 [_POSIX_REALTIME_SIGNALS > 0].
37253
86ebe6b1
AJ
372542012-10-27 Andreas Jaeger <aj@suse.de>
37255
37256 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37257 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37258 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37259 [__WORDSIZE != 64]: Likewise.
37260
54399c08
L
372612012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37262
37263 * iconvdata/tst-table.sh: Remove ${SHELL}.
37264 * iconvdata/tst-tables.sh: Likewise.
37265
e2211bed
DM
372662012-10-25 David S. Miller <davem@davemloft.net>
37267
37268 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37269 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37270 of strtoull.
37271
f303f97c
DM
37272 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37273 ifunc-impl-list.c
37274 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37275 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37276 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37277 file.
37278
1e9d84cd
RM
372792012-10-25 Roland McGrath <roland@hack.frob.com>
37280
37281 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37282 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37283 __getdirentries.
37284
df381762
JM
372852012-10-25 Joseph Myers <joseph@codesourcery.com>
37286 Jim Blandy <jimb@codesourcery.com>
37287
37288 * scripts/cross-test-ssh.sh: New file.
37289 * manual/install.texi (Configuring and compiling): Document use of
37290 cross-test-ssh.sh.
37291 * INSTALL: Regenerated.
37292
bff64913
PT
372932012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37294
37295 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37296 EOPNOTSUPP.
37297
25fe8932
JM
372982012-10-25 Joseph Myers <joseph@codesourcery.com>
37299
37300 * Makeconfig (run-program-prefix): Fix comment.
37301
cc1290d0
JM
373022012-10-24 Joseph Myers <joseph@codesourcery.com>
37303 Jim Blandy <jimb@codesourcery.com>
37304
37305 * Makeconfig (test-wrapper): New variable,
37306 (test-wrapper-env): Likewise.
37307 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37308 (run-built-tests): Define to yes.
37309 (run-program-prefix): Use $(test-wrapper).
37310 (built-program-cmd): Likewise.
37311 * Rules (make-test-out): Use $(test-wrapper-env) and
37312 $(host-built-program-cmd).
37313 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37314 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37315 tst-pathopt.sh.
37316 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37317 $(test-wrapper-env) to tst-rtld-load-self.sh.
37318 ($(objpfx)order2.out): Use $(test-wrapper).
37319 ($(objpfx)tst-initorder.out): Likewise.
37320 ($(objpfx)tst-initorder2.out): Likewise.
37321 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37322 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37323 (test_wrapper_env): New variable. Use it to run ld.so.
37324 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37325 Use it to run ld.so.
37326 (test_wrapper_env): Likewise.
37327 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37328 $(test-wrapper) to run-iconv-test.sh.
37329 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37330 (ICONV): Use $test_wrapper.
37331 * posix/Makefile ($(objpfx)globtest.out): Pass
37332 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37333 globtest.sh, not $(run-program-prefix).
37334 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37335 (test_wrapper): Likewise.
37336 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37337 set together with run_via_rtld_prefix.
37338 (run_program_prefix): Define in terms of test_wrapper and
37339 run_via_rtld_prefix.
37340
6e6249d0
RM
373412012-10-24 Roland McGrath <roland@hack.frob.com>
37342
37343 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37344 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37345 Targets removed.
37346
37347 [BZ #14743]
37348 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37349 Declare __clock_getres, __clock_gettime, __clock_settime,
37350 __clock_nanosleep, and __clock_getcpuclockid.
37351 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37352 Remove librt_hidden_def (clock_gettime).
37353 * sysdeps/unix/clock_gettime.c: Likewise.
37354 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37355 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37356 * rt/clock_getres.c: Define __clock_getres as an alias.
37357 * sysdeps/posix/clock_getres.c: Likewise.
37358 * rt/clock_settime.c: Define __clock_settime as an alias.
37359 * sysdeps/unix/clock_settime.c: Likewise.
37360 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37361 * sysdeps/unix/clock_nanosleep.c: Likewise.
37362 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37363 * rt/clock-compat.c: New file.
37364 * rt/Makefile (librt-routines): Add clock-compat and move
37365 $(clock-routines) to ...
37366 (routines): ... here, new variable.
37367 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37368 Don't add get_clockfreq here.
37369 * rt/Versions (libc: GLIBC_2.17): New version set.
37370 Add clock_* symbols here.
37371 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37372 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37373 (GLIBC_2.17): Add clock_* symbols.
37374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37376 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37378 Likewise.
37379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37380 Likewise.
37381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37385 * NEWS: Mention the move.
37386
37387 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37388 Use __open, __read, __close rather than their public counterparts.
37389 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37390 (__get_clockfreq_via_cpuinfo): Likewise.
37391 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37392 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37393
37394 * config.h.in (HAVE_IFUNC): New #undef.
37395 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37396 was successful.
37397 * configure: Regenerated.
37398
0cae3f4b
MF
373992012-10-24 Mike Frysinger <vapier@gentoo.org>
37400
37401 * configure.in: Move READELF check to start of file.
37402 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37403 libc_cv_asm_gnu_indirect_function in the process.
37404 * configure: Regenerated.
37405
8175a253
MF
374062012-10-24 Mike Frysinger <vapier@gentoo.org>
37407
37408 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37409 send the output to /dev/null.
37410 (libc_cv_cc_with_libunwind): Likewise.
37411 (libc_cv_as_noexecstack): Likewise.
37412 * configure: Regenerate.
37413
0708a7d1
JM
374142012-10-24 Joseph Myers <joseph@codesourcery.com>
37415
10b40d85
JM
37416 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37417
0708a7d1
JM
37418 * posix/globtest.sh (TMPDIR): Do not set.
37419 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37420 (testout): Likewise.
37421
9fddec1a
AJ
374222012-10-24 Andreas Jaeger <aj@suse.de>
37423
3a8db22f
AJ
37424 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37425 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37426 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37427 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37428 posix_fadvise64, posix_fallocate64.
37429
9fddec1a
AJ
37430 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37431 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37432 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37433 Likewise.
37434 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37435 Likewise.
37436 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37437
37438 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37439 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37440 <bits/fcntl-linux.h>.
37441 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37442
37443 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37444 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37445 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37446 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37447 [__WORDSIZE != 64]: Likewise.
37448
ebfd1bbd
JM
374492012-10-23 Joseph Myers <joseph@codesourcery.com>
37450
03ac099f
JM
37451 * Makeconfig (run-built-tests): New variable.
37452 * Rules [$(cross-compiling) = yes]: Change condition to
37453 [$(run-built-tests) = no].
37454 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37455 to [$(run-built-tests) = yes].
37456 * elf/Makefile [$(cross-compiling) = no]: Likewise
37457 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37458 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37459 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37460 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37461 * io/Makefile [$(cross-compiling) = no]: Likewise.
37462 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37463 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37464 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37465 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37466 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37467 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37468 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37469 * string/Makefile [$(cross-compiling) = no]: Likewise.
37470
ebfd1bbd
JM
37471 * posix/Makefile ($(objpfx)globtest.out): Pass
37472 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37473 $(rtld-installed-name).
37474 * posix/globtest.sh (elf_objpfx): Remove variable.
37475 (rtld_installed_name): Likewise.
37476 (library_path): Likewise.
37477 (run_program_prefix): New variable. Use for running globtest
37478 binary.
37479
166bca24
JB
374802012-10-23 Jim Blandy <jimb@codesourcery.com>
37481 Joseph Myers <joseph@codesourcery.com>
37482
37483 * Makeconfig (host-built-program-cmd): New variable.
37484 * elf/Makefile (tst-stackguard1-ARGS): Use
37485 $(host-built-program-cmd).
37486 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37487 (tst-spawn-ARGS): Likewise.
37488 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37489
88866099
JM
374902012-10-23 Joseph Myers <joseph@codesourcery.com>
37491 Jim Blandy <jimb@codesourcery.com>
37492
37493 * Makeconfig (run-via-rtld-prefix): New variable.
37494 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37495 (built-program-cmd): Likewise.
37496
b4b4c296
AJ
374972012-10-22 Andreas Jaeger <aj@suse.de>
37498
37499 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37500 __O_RSYNC if it exists, otherwise to O_SYNC.
37501
6fb54a22
JB
375022012-10-22 Jim Blandy <jimb@codesourcery.com>
37503 Joseph Myers <joseph@codesourcery.com>
37504
37505 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37506 /dev/null.
37507 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37508 from /dev/null
37509 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37510 /dev/null.
37511
481b90b9
AJ
375122012-10-22 Andreas Jaeger <aj@suse.de>
37513
2a0e2669
AJ
37514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37515 Define always.
37516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37517
76e38f9a
AJ
37518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37519 bits/fcntl-linux.h.
37520
7cd37b43
AJ
37521 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37522 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37523
481b90b9
AJ
37524 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37525 to __O_LARGEFILE.
37526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37527 to __O_LARGEFILE.
37528
aba75984
JB
375292012-10-21 Jim Blandy <jimb@codesourcery.com>
37530 Joseph Myers <joseph@codesourcery.com>
37531
37532 * config.make.in (NM): New variable.
37533
88d4247f
AJ
375342012-10-21 Andreas Jaeger <aj@suse.de>
37535
37536 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37537 definitions and declarations that are provided by
37538 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37539
f2eed205
L
375402012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37541
37542 [BZ #14683]
37543 * elf/Makefile (tests-static): Add tst-leaks1-static.
37544 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37545 ($(objpfx)tst-leaks1-static): New rule.
37546 ($(objpfx)tst-leaks1-static-mem): Likewise.
37547 (tst-leaks1-static-ENV): New macro.
37548 * elf/dl-open.c (dl_open_worker): Check the main application
37549 only if SHARED is defined.
37550 * elf/tst-leaks1-static.c: New file.
37551
335e6931
AJ
375522012-10-20 Andreas Jaeger <aj@suse.de>
37553
37554 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37555 generic values for Linux.
37556 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37557 and declarations that are provided by <bits/fcntl-linux.h> and
37558 include <bits/fcntl-linux.h>.
37559 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37561
ac5c94d3
RM
375622012-10-20 Roland McGrath <roland@hack.frob.com>
37563
37564 * io/fcntl.h: Move include of <bits/types.h> to the top and
37565 include it unconditionally.
37566
de54b33a
L
375672012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37568
228cfb01
L
37569 * wcsmbs/Makefile (tests-ifunc): New variable.
37570 (tests): Add $(tests-ifunc).
37571 * wcsmbs/test-wcschr-ifunc.c: New file.
37572 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37573 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37574 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37575 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37576 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37577
69f07e5f
L
37578 * string/Makefile (tests-ifunc): New variable.
37579 (tests): Add $(tests-ifunc).
37580 * string/test-memccpy.c (TEST_NAME): New macro.
37581 * string/test-memchr.c (TEST_NAME): Likewise.
37582 * string/test-memcmp.c (TEST_NAME): Likewise.
37583 * string/test-memcpy.c (TEST_NAME): Likewise.
37584 * string/test-memmem.c (TEST_NAME): Likewise.
37585 * string/test-memmove.c (TEST_NAME): Likewise.
37586 * string/test-memset.c (TEST_NAME): Likewise.
37587 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37588 * string/test-stpcpy.c (TEST_NAME): Likewise.
37589 * string/test-stpncpy.c (TEST_NAME): Likewise.
37590 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37591 * string/test-strcasestr.c (TEST_NAME): Likewise.
37592 * string/test-strcat.c (TEST_NAME): Likewise.
37593 * string/test-strchr.c (TEST_NAME): Likewise.
37594 * string/test-strcmp.c(TEST_NAME): Likewise.
37595 * string/test-strcpy.c (TEST_NAME): Likewise.
37596 * string/test-strcspn.c (TEST_NAME): Likewise.
37597 * string/test-strlen.c (TEST_NAME): Likewise.
37598 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37599 * string/test-strncmp.c (TEST_NAME): Likewise.
37600 * string/test-strncpy.c (TEST_NAME): Likewise.
37601 * string/test-strnlen.c (TEST_NAME): Likewise.
37602 * string/test-strpbrk.c (TEST_NAME): Likewise.
37603 * string/test-strrchr.c (TEST_NAME): Likewise.
37604 * string/test-strspn.c (TEST_NAME): Likewise.
37605 * string/test-strstr.c (TEST_NAME): Likewise.
37606 * string/test-bcopy-ifunc.c: New file.
37607 * string/test-bzero-ifunc.c: Likewise.
37608 * string/test-memccpy-ifunc.c: Likewise.
37609 * string/test-memchr-ifunc.c: Likewise.
37610 * string/test-memcmp-ifunc.c: Likewise.
37611 * string/test-memcpy-ifunc.c: Likewise.
37612 * string/test-memmem-ifunc.c: Likewise.
37613 * string/test-memmove-ifunc.c: Likewise.
37614 * string/test-mempcpy-ifunc.c: Likewise.
37615 * string/test-memset-ifunc.c: Likewise.
37616 * string/test-rawmemchr-ifunc.c: Likewise.
37617 * string/test-stpcpy-ifunc.c: Likewise.
37618 * string/test-stpncpy-ifunc.c: Likewise.
37619 * string/test-strcasecmp-ifunc.c: Likewise.
37620 * string/test-strcasestr-ifunc.c: Likewise.
37621 * string/test-strcat-ifunc.c: Likewise.
37622 * string/test-strchr-ifunc.c: Likewise.
37623 * string/test-strchrnul-ifunc.c: Likewise.
37624 * string/test-strcmp-ifunc.c: Likewise.
37625 * string/test-strcpy-ifunc.c: Likewise.
37626 * string/test-strcspn-ifunc.c: Likewise.
37627 * string/test-strlen-ifunc.c: Likewise.
37628 * string/test-strncasecmp-ifunc.c: Likewise.
37629 * string/test-strncat-ifunc.c: Likewise.
37630 * string/test-strncmp-ifunc.c: Likewise.
37631 * string/test-strncpy-ifunc.c: Likewise.
37632 * string/test-strnlen-ifunc.c: Likewise.
37633 * string/test-strpbrk-ifunc.c: Likewise.
37634 * string/test-strrchr-ifunc.c: Likewise.
37635 * string/test-strspn-ifunc.c: Likewise.
37636 * string/test-strstr-ifunc.c: Likewise.
37637
de54b33a
L
37638 * debug/Makefile (tests-ifunc): New variable.
37639 (tests): Add $(tests-ifunc).
37640 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37641 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37642 * debug/test-stpcpy_chk-ifunc.c: New file.
37643 * debug/test-strcpy_chk-ifunc.c: Likewise.
37644
88481c16
SP
376452012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37646
37647 [BZ #13601]
37648 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37649 header is not read in.
37650
135948bd
JM
376512012-10-19 Joseph Myers <joseph@codesourcery.com>
37652
89f1c388
JM
37653 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37654 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37655 directly. Pass built executable to script as
37656 $(built-program-cmd).
37657 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37658 $testprogram without using LD_LIBRARY_PATH and $ldso.
37659
e40a0d21
JM
37660 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37661 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37662 $(rtld-installed-name).
37663 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37664 (rtld_installed_name): Likewise.
37665 (library_path): Likewise.
37666 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37667 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37668 $(run-program-prefix) to tst-tables.sh.
37669 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37670 it to run tst-table-from and tst-table-to.
37671 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37672 Pass it to tst-table.sh.
37673 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37674 $(run-program-prefix) to tst-gettext.sh.
37675 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37676 tst-translit.sh.
37677 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37678 tst-gettext2.sh.
37679 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37680 to run tst-gettext.
37681 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37682 to run tst-gettext2.
37683 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37684 to run tst-translit.
37685 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37686 $(run-program-prefix) to tst-mtrace.sh.
37687 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37688 to run tst-mtrace.
37689 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37690 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37691 $(rtld-installed-name).
37692 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37693 (rtld_installed_name): Likewise.
37694 (run_program_prefix): New variable. Use it to run wordexp-test.
37695
728e272a
JM
37696 * Makeconfig (ARCH): Remove all definitions.
37697 (machine): Likewise.
37698 [ARCH]: Remove conditional code.
37699 [!objdir]: Give error.
37700 [!objdir] (objpfx): Remove.
37701 [!objdir] (common-objpfx): Likewise.
37702 [!objdir] (common-objdir): Likewise.
37703 * configure.in (config_makefile): Remove. Hardcode Makefile in
37704 AC_CONFIG_FILES call.
37705 * configure: Regenerated.
37706
d528cdcf
JM
37707 [BZ #13888]
37708 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37709 or TMPDIR.
37710 (testout): Likewise.
37711
135948bd
JM
37712 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37713 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37714 $(rtld-installed-name).
37715 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37716 (rtld_installed_name): Likwise.
37717 (runit): Remove function.
37718 (run_getconf): New variable, Use it for running getconf binary.
37719
38c78296
L
377202012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37721
37722 [BZ #14716]
37723 * string/test-memmem.c (check_result): New function.
37724 (do_one_test): Use it.
37725 (check1): New function.
37726 (test_main): Use it.
37727
d077f65f
MT
377282012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37729
37730 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37731
ced52c71
JM
377322012-10-18 Joseph Myers <joseph@codesourcery.com>
37733
37734 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37735 (_G_LSEEK64): Likewise.
37736 (_G_MMAP64): Likewise.
37737 (_G_FSTAT64): Likewise.
37738 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37739 (_G_LSEEK64): Likewise.
37740 (_G_MMAP64): Likewise.
37741 (_G_FSTAT64): Likewise.
37742 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37743 unconditional. Call __mmap64 directly.
37744 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37745 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37746 __lseek64 directly.
37747 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37748 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37749 __mmap64 directly.
37750 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37751 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37752 __lseek64 directly.
37753 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37754 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37755 __lseek64 directly.
37756 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37757 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37758 __lseek64 directly.
37759 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37760 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37761 __fxstat64 directly.
37762 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37763 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37764 unconditional.
37765 (freopen64) [!_G_OPEN64]: Remove conditional code.
37766 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37767 unconditional.
37768 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37769 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37770 unconditional.
37771 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37772 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37773 unconditional.
37774 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37775 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37776 unconditional.
37777 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37778 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37779 unconditional.
37780 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37781 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37782 unconditional.
37783 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37784 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37785 unconditional.
37786 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37787
b741de23
SP
377882012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37789
37790 [BZ #12140]
37791 * manual/memory.texi (Malloc Tunable Parameters): Add note
37792 about free list pointers overwriting some perturb bytes.
37793 Wording suggested by Roland McGrath.
37794
f9b9d9c9
JM
377952012-10-17 Joseph Myers <joseph@codesourcery.com>
37796
37797 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37798 (lgamma_test): Likewise.
37799 (tgamma_test): Likewise.
37800
172a631a
FW
378012012-10-16 Florian Weimer <fweimer@redhat.com>
37802
37803 [BZ #14700]
37804 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37805 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37806
e9f37252
MK
378072012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37808
37809 * NEWS: Mention BZ #14716.
37810 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37811 when removing AVAILABLE1_USES_J macro.
37812
d394eb74
L
378132012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37814
37815 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37816 (__bswap_64): __uint64_t for unsigned 64-bit int.
37817
ca38dc17
AS
378182012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37819
37820 * include/string.h (memmem): Declare libc hidden alias.
37821 * string/memmem.c (memmem): Define libc hidden alias.
37822 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37823 __read, __close instead of open, read, close.
37824
9a387d1f
L
378252012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37826
ac49ecaf
L
37827 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37828 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37829 global and hidden.
37830 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37831 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37832 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37833 Likewise.
37834 (__rawmemchr_sse2): Likewise.
37835 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37836 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37837 (__strchr_sse2): Likewise.
37838 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37839 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37840 (__strcasecmp_sse2): Likewise.
37841 (__strncasecmp_sse2): Likewise.
37842 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37843 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37844 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37845 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37846 (__strrchr_sse2): Likewise.
37847 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37848 ifunc-impl-list.c.
37849 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37850 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37851 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37852 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37853 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37854 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37855 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37856 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37857 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37858 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37859 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37860 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37861 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37862 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37863 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37864 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37865 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37866 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37867 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37868 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37869 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37870 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37871 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37872 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37873 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37874 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37875 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37876 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37877 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37878 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37879
b090e8ea
L
37880 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37881 global and hidden.
37882 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37883 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37884 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37885 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37886 Likewise.
37887 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37888 Likewise.
37889 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37890 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37891 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37892 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37893 ifunc-impl-list.c.
37894 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37895 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37896 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37897 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37898 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37899 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37900 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37901 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37902 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37903 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37904 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37905 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37906 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37907 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37908 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37909 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37910 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37911 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37912 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37913 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37914 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37915 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37916 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37917 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37918 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37919 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37920 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37921 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37922 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37923 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37924 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37925 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37926 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37927 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37928 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37929 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37930 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37931 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37932 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37933 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37934 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37935
11dd4af6
L
37936 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37937 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37938 * include/ifunc-impl-list.h: New file.
37939 * misc/ifunc-impl-list.c: Likewise.
37940 * misc/Makefile (routines): Add ifunc-impl-list.
37941 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37942 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37943 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37944 TEST_NAME]: New variables.
11dd4af6
L
37945 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37946 are defined.
37947 (test_init): Call __libc_ifunc_impl_list to initialize
37948 func_list if TEST_IFUNC and TEST_NAME are defined.
37949
9a387d1f
L
37950 * string/Makefile (strop-tests): Add bcopy and bzero.
37951 * string/test-bcopy.c: New file.
37952 * string/test-bzero.c: Likewise.
37953 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37954 defined.
37955 * string/test-memset.c: Support bzero test if TEST_BZERO is
37956 defined.
37957 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37958 __libc_memmove.
37959 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37960 __libc_memset.
37961 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37962 of memset.
37963
472371b9
JM
379642012-10-10 Joseph Myers <joseph@codesourcery.com>
37965
1e4a9536
JM
37966 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37967 * configure: Regenerated.
37968
d173d12e
JM
37969 * Makeconfig (+link-static-before-libc): Don't include
37970 $(link-static-libc).
37971
472371b9
JM
37972 * libio/libio.h (_IO_pos_t): Remove.
37973
89a3ad0b
AO
379742012-10-10 Alexandre Oliva <aoliva@redhat.com>
37975
37976 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37977 McGrath.
37978
e7451425
AO
379792012-10-10 Alexandre Oliva <aoliva@redhat.com>
37980
37981 * crypt/crypt-entry.c: Include fips-private.h.
37982 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37983 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37984 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37985 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37986
4ba74a35
AO
379872012-10-10 Alexandre Oliva <aoliva@redhat.com>
37988
37989 * crypt/crypt-private.h: Include stdbool.h.
37990 (_ufc_setup_salt_r): Return bool.
37991 * crypt/crypt-entry.c: Include errno.h.
37992 (__crypt_r): Return NULL with EINVAL for bad salt.
37993 * crypt/crypt_util.c (bad_for_salt): New.
37994 (_ufc_setup_salt_r): Check that salt is long enough and within
37995 the specified alphabet.
37996 * crypt/badsalttest.c: New file.
37997 * crypt/Makefile (tests): Add it.
37998 ($(objpfx)badsalttest): New.
37999
f96f1242
MK
380002012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38001
38002 * NEWS: Add entry for BZ #14602.
38003
0e8e0c1c
JM
380042012-10-09 Joseph Myers <joseph@codesourcery.com>
38005
38006 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38007 type-generic.
38008 * math/libm-test.inc: Update comment listing what functions and
38009 macros are tested.
38010 (isgreater_test): New function.
38011 (isgreaterequal_test): Likewise.
38012 (isless_test): Likewise.
38013 (islessequal_test): Likewise.
38014 (islessgreater_test): Likewise.
38015 (isunordered_test): Likewise.
38016 (main): Call the new functions.
38017
273edc5e
RM
380182012-10-09 Roland McGrath <roland@hack.frob.com>
38019
b8493de0
RM
38020 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38021 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38022 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38023 * sysdeps/i386/configure: Regenerated.
38024 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38025 * sysdeps/mach/configure: Regenerated.
38026 * sysdeps/mach/hurd/configure: Regenerated.
38027 * sysdeps/powerpc/configure: Regenerated.
38028 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38029 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38030 * sysdeps/s390/s390-32/configure: Regenerated.
38031 * sysdeps/s390/s390-64/configure: Regenerated.
38032 * sysdeps/sh/configure: Regenerated.
38033 * sysdeps/sparc/configure: Regenerated.
38034 * sysdeps/unix/sysv/linux/configure: Regenerated.
38035 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38036 * sysdeps/x86_64/configure: Regenerated.
38037
273edc5e
RM
38038 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38039 defined. Don't check if MAP is NULL.
38040
c8450f70
JM
380412012-10-09 Joseph Myers <joseph@codesourcery.com>
38042
38043 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38044 (_G_stat64): Likewise.
38045 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38046 (_G_stat64): Likewise.
38047 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38048 instead of struct _G_stat64.
38049 * libio/fileops.c (mmap_remap_check): Likewise.
38050 (decide_maybe_mmap): Likewise.
38051 (_IO_new_file_seekoff): Likewise.
38052 (_IO_file_stat): Likewise.
38053 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38054 _G_off64_t.
38055 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38056 instead of struct _G_stat64.
38057 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38058
57e605ba
MK
380592012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38060
38061 [BZ #14602]
38062 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38063 Replace with ...
38064 (CHECK_EOL): New macro.
38065 (two_way_short_needle): Check beginning of haystack for EOL. Use
38066 CHECK_EOL.
38067 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38068 Replace with CHECK_EOL.
38069 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38070 Replace with CHECK_EOL.
38071
ef1bb361
JM
380722012-10-08 Joseph Myers <joseph@codesourcery.com>
38073
38074 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38075 type-generic.
38076 * math/libm-test.inc: Update comment listing what functions and
38077 macros are tested.
38078 (finite_test): New function.
38079 (isinf_test): Likewise.
38080 (isnan_test): Likewise.
38081 (fpclassify_test): Test subnormal input.
38082 (isfinite_test): Likewise.
38083 (isnormal_test): Likewise.
38084 (main): Call the new functions.
38085
55f11534
JN
380862012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38087
38088 [BZ #14660]
38089 * Makerules (%.dynsym): Force C locale when running
38090 $(OBJDUMP) --dynamic-syms.
38091
1ab29350
AS
380922012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38093
38094 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38095 <stdint.h>.
38096
f1ecb7ef
DM
380972012-10-06 David S. Miller <davem@davemloft.net>
38098
38099 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38100 upper 32-bits of the length value in %o2 since we use branch-on-register
38101 tests which consider the entire 64-bit register.
38102
5d41d91a
L
381032012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38104
38105 * string/test-strstr.c (check2): Add a test for page boundary.
38106
3baddb72
DM
381072012-10-05 David S. Miller <davem@davemloft.net>
38108
38109 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38110 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38111 file.
38112 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38113 sysdep_routines.
38114 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38115 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38116 and bzero when HWCAP_SPARC_CRYPTO is present.
38117
9cee5585
L
381182012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38119
d7e0dab9
L
38120 [BZ #14602]
38121 * string/test-strstr.c (check2): New function.
38122 (test_main): Call check2.
38123
03759f47
L
38124 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38125 and bug-strchr1.
38126 * string/bug-strcasestr1.c (do_test): Moved to ...
38127 * string/test-strcasestr.c (check1): Here. New function.
38128 (do_one_test): Break out result checking code into ...
38129 (check_result): This. New function.
38130 (do_one_test): Call check_result.
38131 (test_main): Call check1.
38132 * string/bug-strchr1.c (do_test): Moved to ...
38133 * string/test-strchr.c (check1): Here. New function.
38134 (do_one_test): Break out result checking code into ...
38135 (check_result): This. New function.
38136 (do_one_test): Call check_result.
38137 (test_main): Call check1.
38138 * string/bug-strstr1.c (main): Moved to ...
046f153e 38139 * string/test-strstr.c (check1): Here. New function.
03759f47
L
38140 (do_one_test): Break out result checking code into ...
38141 (check_result): This. New function.
38142 (do_one_test): Call check_result.
38143 (test_main): Call check1.
38144 * string/bug-strcasestr1.c: Removed.
38145 * string/bug-strchr1.c: Likewise.
38146 * string/bug-strstr1.c: Likewise.
38147
53cea63e
L
38148 * elf/Makefile (dl-routines): Add hwcaps.
38149 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38150 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38151 (_dl_important_hwcaps): Moved to ...
38152 * elf/dl-hwcaps.c: Here. New file.
38153 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38154
9cee5585 38155 [BZ #14557]
bb859b06
L
38156 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38157 if IS_IN_rtld isn't defined.
38158
9cee5585
L
38159 * elf/dl-support.c (_dl_sysinfo_map): New.
38160 Include "get-dynamic-info.h" and "setup-vdso.h".
38161 (_dl_non_dynamic_init): Call setup_vdso.
38162 * elf/dynamic-link.h: Don't include <assert.h>.
38163 (elf_get_dynamic_info): Moved to ...
38164 * elf/get-dynamic-info.h: Here. New file.
38165 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38166 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38167 * elf/setup-vdso.h: Here. New file.
38168 * elf/rtld.c: Include "setup-vdso.h".
38169 (dl_main): Call setup_vdso.
38170
23c31b76
JM
381712012-10-05 Joseph Myers <joseph@codesourcery.com>
38172
28234b07
JM
38173 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38174 creal in comment listing functions tested. List finite, isinf,
38175 isnan, isless, islessequal, isgreater, isgreaterequal,
38176 islessgreater, isunordered, lgamma_r and pow10 as functions and
38177 macros not tested. Mention which functions not tested are aliases
38178 for other functions. Fix typo. Note that signs of NaNs are not
38179 tested.
38180
23c31b76
JM
38181 * scripts/config.guess: Update from config.git.
38182 * scripts/config.sub: Likewise.
38183
9043e228
RM
381842012-10-04 Roland McGrath <roland@hack.frob.com>
38185
38186 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38187 * misc/madvise.c (madvise): Renamed to __madvise.
38188 Make madvise a weak alias.
38189 * include/sys/mman.h: Declare __madvise.
38190 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38191 * sysdeps/unix/syscalls.list
38192 (madvise): Make __madvise the strong name, and madvise a weak alias.
38193 * sysdeps/unix/sysv/linux/syscalls.list
38194 (madvise, mmap): Remove redundant entries.
38195 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38196 * malloc/malloc.c (mtrim): Likewise.
38197 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38198
f57f8055
RM
381992012-10-03 Roland McGrath <roland@hack.frob.com>
38200
38201 * sysdeps/mach/hurd/dl-cache.c: File removed.
38202 * config.h.in (USE_LDCONFIG): New #undef.
38203 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38204 * configure: Regenerated.
38205 * elf/Makefile (dl-routines): Add dl-cache only under
38206 [$(use-ldconfig) = yes].
38207 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38208 cache on [USE_LDCONFIG].
38209 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38210 [USE_LDCONFIG].
38211 * elf/rtld.c (dl_main): Likewise.
38212
5bb0c10a
PT
382132012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38214
38215 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38216 _SC_LEVEL4_CACHE_LINESIZE.
38217
010188c6
RM
382182012-10-03 Roland McGrath <roland@hack.frob.com>
38219
38220 * sysdeps/unix/bsd/confstr.h: File removed.
38221
b6c5ec07
AO
382222012-10-02 Alexandre Oliva <aoliva@redhat.com>
38223
38224 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38225 sys/sdt-config.h.
38226
408223d4
RM
382272012-10-02 Roland McGrath <roland@hack.frob.com>
38228
38229 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38230 Make 'mapoff' field ElfW(Off) rather than off_t.
38231
bb9510dc
DL
382322012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38233
fc997c6e
DL
38234 * nscd/Makefile: Remove nscd-cflags and all its users.
38235 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38236 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38237
bb9510dc
DL
38238 [BZ #10631]
38239 * malloc.c (malloc_printerr): Clarify error message.
38240
05699367
L
382412012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38242
38243 [BZ #14648]
38244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38245 Set bit_FMA_Usable if FMA is supported.
38246 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38247 macro.
38248 (bit_FMA4_Usable): Updated.
38249 (index_FMA_Usable): New macro.
38250 (CPUID_FMA): Likewise
38251 (HAS_FMA): Defined with bit_FMA_Usable.
38252
51367701
RM
382532012-10-01 Roland McGrath <roland@hack.frob.com>
38254
38255 * bits/types.h (__swblk_t): Type removed.
38256 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38257 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38259 (__SWBLK_T_TYPE): Likewise.
38260 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38261 (__SWBLK_T_TYPE): Likewise.
38262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38263 (__SWBLK_T_TYPE): Likewise.
38264 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38265 (__SWBLK_T_TYPE): Likewise.
38266
4d57bf63 382672012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38268 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38269
38270 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38271 (xdr_mapname): Use YPMAXMAP as maxsize.
38272 (xdr_peername): Use YPMAXPEER as maxsize.
38273 (xdr_keydat): Use YPAXRECORD as maxsize.
38274 (xdr_valdat): Use YPMAXRECORD as maxsize.
38275
93c65d43
RM
382762012-10-01 Roland McGrath <roland@hack.frob.com>
38277
497a03d6
RM
38278 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38279
93c65d43
RM
38280 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38281 * csu/init-first.c: ... here.
38282 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38283 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38284 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38285 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38286 * sysdeps/i386/init-first.c: File removed.
38287 * sysdeps/sh/init-first.c: File removed.
38288
bec749fd
JM
382892012-10-01 Joseph Myers <joseph@codesourcery.com>
38290
38291 [BZ #14645]
38292 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38293 if x * y might underflow to zero and z is zero.
38294 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38295 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38296 * math/libm-test.inc (min_subnorm_value): New variable.
38297 (fma_test): Add more tests.
38298 (fma_test_towardzero): Likewise.
38299 (fma_test_downward): Likewise
38300 (fma_test_upward): Likewise.
38301 (initialize): Set min_subnorm_value.
38302
8ec5b013
JM
383032012-09-29 Joseph Myers <joseph@codesourcery.com>
38304
38305 [BZ #14638]
38306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38307 0 + 0.
38308 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38309 mode for addition resulting in exact zero.
38310 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38311 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38312 exact 0 + 0.
38313 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38314 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38315 * math/libm-test.inc (fma_test): Add more tests.
38316 (fma_test_towardzero): New function.
38317 (fma_test_downward): Likewise.
38318 (fma_test_upward): Likewise.
38319 (main): Call the new functions.
38320
b1fa802e
DM
383212012-09-28 David S. Miller <davem@davemloft.net>
38322
38323 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38324
d3b9fd9e
RM
383252012-09-28 Roland McGrath <roland@hack.frob.com>
38326
ea4d37b3
RM
38327 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38328 instead of SIGALRM.
38329
ac51c949
RM
38330 * sysdeps/gnu/_G_config.h: Moved to ...
38331 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38332 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38333 * sysdeps/generic/_G_config.h: ... here.
38334
28c195f7
RM
38335 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38336
848917f9
RM
38337 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38338
6bacf05b
RM
38339 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38340 Conditionalize target on [libnss_test1.so-version].
38341
91363dbb
RM
38342 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38343
cc87f7d8
RM
38344 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38345 (elfobjdir): Move out of conditionals.
38346
b1c608fe
RM
38347 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38348 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38349 (__nss_lookup_function): Conditionalize label remove_from_tree on
38350 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38351
1d9a6d96
DM
383522012-09-28 David S. Miller <davem@davemloft.net>
38353
38354 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38355 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38356 file.
38357 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38358 sysdep_routines.
38359 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38360 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38361 when HWCAP_SPARC_CRYPTO is present.
38362
72581615
PT
383632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38364
38365 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38366
715a900c
JL
383672012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38368
38369 [BZ #6530]
38370 * stdio-common/vfprintf.c (process_string_arg): Revert
38371 2000-07-22 change.
38372
383732011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38374
38375 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38376 for testcase.
38377 * stdio-common/tst-sprintf.c: Include <locale.h>
38378 (main): Test sprintf's handling of incomplete multibyte
38379 characters.
38380
9bac1d86
L
383812012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38382
38383 * elf/dl-runtime.c (VERSYMIDX): Removed.
38384 * elf/dl-version.c (VERSYMIDX): Likewise.
38385 * elf/do-rel.h (VERSYMIDX): Likewise.
38386 (VALIDX): Likewise.
38387 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38388 * elf/rtld.c (VALIDX): Likewise.
38389 (ADDRIDX): Likewise.
9bac1d86
L
38390 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38391 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38392 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38393 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38394 (VALIDX): Likewise.
38395 (ADDRIDX): Likewise.
9bac1d86 38396
b31606c0
PT
383972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38398
38399 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38400
11541177
JL
384012012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38402
38403 [BZ #11438]
38404 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38405 to global scope.
38406 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38407 addresses are in the same scope as 192.0.2/24.
38408 * posix/gai.conf: Document new scope table defaults.
38409
adb26fae
SP
384102012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38411
38412 [BZ #5298]
38413 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38414 for ftell. Compute offsets from write pointers instead.
38415 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38416
4573c6b0
SP
384172012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38418
38419 [BZ #14543]
38420 * libio/Makefile (tests): New test case tst-fseek.
38421 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38422 combination works in wide mode.
38423 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38424 state when the external buffer state changes.
38425
aa9bbfe6
DM
384262012-09-27 David S. Miller <davem@davemloft.net>
38427
38428 [BZ #14376]
38429 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38430 pass reloc->r_addend in as the 'high' argument to
38431 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38432
784421e7
DM
38433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38434
c39bc8b8
PT
384352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38436
38437 * rt/tst-aio2.c: Include <pthread.h>.
38438 * rt/tst-aio3.c: Likewise.
38439
1ccc2399
SE
384402012-09-27 Steve Ellcey <sellcey@mips.com>
38441
38442 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38443
31ed4153
L
384442012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38445
25f5f885
L
38446 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38447 contents on [SHARED].
31ed4153 38448
b7bfe116
MP
384492012-09-26 Marek Polacek <polacek@redhat.com>
38450
38451 [BZ #14530]
38452 [BZ #13741]
38453 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38454 for C++ and GCC <4.3 as well as for non GCC compilers.
38455
43c4edba
MT
384562012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38457
38458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38459
6a1bf82f
RM
384602012-09-25 Roland McGrath <roland@hack.frob.com>
38461
38462 * Makefile.in (all, install): Declare with .PHONY.
38463 Reported by Michael Hope <michael.hope@linaro.org>.
38464
8ad11b9a
TMQMF
384652012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38466
38467 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38468 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38469 system header.
38470 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38471 Likewise.
38472 (sydep_routines): Add the new and the internal functions.
38473 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38474 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38476 (GLIBC_2.17): Add the new function.
38477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38478 (GLIBC_2.17): Likewise.
38479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38480 (GLIBC_2.17): Likewise.
38481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38482 (GLIBC_2.17): Likewise.
38483 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38484
7e2fca8d
AM
384852012-09-25 Alan Modra <amodra@gmail.com>
38486
38487 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38488 Add release barrier before setting once_control to say
38489 initialisation is done. Add hints on lwarx. Use macro in
38490 place of isync.
38491 (clear_once_control): Add release barrier.
38492
b87c4b24
JM
384932012-09-25 Joseph Myers <joseph@codesourcery.com>
38494
d032e0d2
JM
38495 [BZ #13629]
38496 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38497 specially.
38498 * math/s_clog10.c (__clog10): Likewise.
38499 * math/s_clog10f.c (__clog10f): Likewise.
38500 * math/s_clog10l.c (__clog10l): Likewise.
38501 * math/s_clogf.c (__clogf): Likewise.
38502 * math/s_clogl.c (__clogl): Likewise.
38503 * math/Makefile (libm-calls): Add x2y2m1.
38504 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38505 (__x2y2m1): Likewise.
38506 (__x2y2m1l): Likewise.
38507 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38508 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38509 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38510 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38511 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38512 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38513 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38514 * sysdeps/i386/fpu/libm-test-ulps: Update.
38515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38516
b87c4b24
JM
38517 [BZ #14621]
38518 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38519 int as type of variable DEPTH.
38520 (glob): Use size_t instead of int as type of variables NEWCOUNT
38521 and OLD_PATHC.
38522
6d3bf199
LD
385232012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38524
22bf5c17
LD
38525 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38526 Add s_sincosf-sse2.
38527 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38528 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38529 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38530 macros for using routine as __sincosf_ia32.
38531 Use macro for function declaration and weak_alias.
38532 * sysdeps/i386/fpu/libm-test-ulps: Update.
38533
38534 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38536
38537 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
38538 subnormal argument.
38539 * math/s_cexpf.c (__cexpf): Likewise.
38540 * math/s_csinf.c (__csinf): Likewise.
38541 * math/s_csinhf.c (__csinhf): Likewise.
38542 * math/s_ctanf.c (__ctanf): Likewise.
38543 * math/s_ctanhf.c (__ctanhf): Likewise.
38544 * math/s_ccosh.c (__ccoshf): Likewise.
38545 * math/s_cexp.c (__cexpl): Likewise.
38546 * math/s_csin.c (__csin): Likewise.
38547 * math/s_csinh.c (__csinh): Likewise.
38548 * math/s_ctan.c (__ctan): Likewise.
38549 * math/s_ctanh.c (ctanh): Likewise.
38550 * math/s_ccoshl.c (__ccoshl): Likewise.
38551 * math/s_cexpl.c (__cexpl): Likewise.
38552 * math/s_csinl.c (__csinl): Likewise.
38553 * math/s_csinhl.c (__csinhl): Likewise.
38554 * math/s_ctanl.c (__ctanl): Likewise.
38555 * math/s_ctanhl.c (__ctanhl): Likewise.
38556
203e5603
JM
385572012-09-25 Joseph Myers <joseph@codesourcery.com>
38558
38559 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38560 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38561 (_IO_off_t): Define to __off_t, not _G_off_t.
38562 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38563 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38564 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38565 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38566 type of __dummy and __dummy2 fields.
38567 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38568 (_G_ssize_t): Likewise.
38569 (_G_off_t): Likewise.
38570 (_G_pid_t): Likewise.
38571 (_G_uid_t): Likewise.
38572 (_G_wchar_t): Likewise.
38573 (_G_wint_t): Likewise.
38574 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38575 (_G_ssize_t): Likewise.
38576 (_G_off_t): Likewise.
38577 (_G_pid_t): Likewise.
38578 (_G_uid_t): Likewise.
38579 (_G_wchar_t): Likewise.
38580 (_G_wint_t): Likewise.
38581 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38582 (_G_ssize_t): Likewise.
38583 (_G_off_t): Likewise.
38584 (_G_pid_t): Likewise.
38585 (_G_uid_t): Likewise.
38586 (_G_wchar_t): Likewise.
38587 (_G_wint_t): Likewise.
38588
9fab36eb
SP
385892012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38590
38591 * malloc/arena.c: Include malloc-sysdep.h.
38592 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38593 is sufficient to shrink the heap or an unmap is needed.
38594 * sysdeps/generic/malloc-sysdep.h: New file. Define
38595 new function check_may_shrink_heap.
38596 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38597 new function check_may_shrink_heap.
38598
2b4f00d1
SP
385992012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38600
38601 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38602 comments.
38603
9a9028b1
DL
386042012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38605
57c69bef
DL
38606 * catgets/test-gencat.sh: Add "set -e".
38607 * elf/tst-pathopt.sh: Likewise.
38608 * grp/tst_fgetgrent.sh: Likewise.
38609 * iconvdata/run-iconv-test.sh: Likewise.
38610 * intl/tst-gettext.sh: Likewise.
38611 * intl/tst-gettext2.sh: Likewise.
38612 * intl/tst-gettext4.sh: Likewise.
38613 * intl/tst-gettext6.sh: Likewise.
38614 * intl/tst-translit.sh: Likewise.
38615 * io/ftwtest-sh: Likewise.
38616 * libio/test-freopen.sh: Likewise.
38617 * malloc/tst-mtrace.sh: Likewise.
38618 * posix/globtest.sh: Likewise.
38619 * posix/tst-getconf.sh: Likewise.
38620 * posix/wordexp-tst.sh: Likewise.
38621 * stdio-common/tst-printf.sh: Likewise.
38622 * stdio-common/tst-unbputc.sh: Likewise.
38623 * stdlib/tst-fmtmsg.sh: Likewise.
38624 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38625 * catgets/Makefile: Do not specify -e option when running
38626 testsuite shell scripts.
38627 * elf/Makefile: Likewise.
38628 * grp/Makefile: Likewise.
38629 * iconvdata/Makefile: Likewise.
38630 * intl/Makefile: Likewise.
38631 * io/Makefile: Likewise.
38632 * libio/Makefile: Likewise.
38633 * malloc/Makefile: Likewise.
38634 * posix/Makefile: Likewise.
38635 * stdio-common/Makefile: Likewise.
38636 * stdlib/Makefile: Likewise.
38637 * sysdeps/x86_64/Makefile: Likewise.
38638
9a9028b1
DL
38639 * io/ftwtest-sh: Add copyright header.
38640 * posix/globtest.sh: Likewise.
38641 * posix/tst-getconf.sh: Likewise.
38642 * posix/wordexp-tst.sh: Likewise.
38643 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38644
ced6f16e
L
386452012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38646
94b32c39
L
38647 [BZ #13679]
38648 * Makeconfig (+link): Defined as $(+link-static) if
38649 $(build-shared) isn't yes.
38650 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38651 isn't yes.
38652 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38653
189e935b
L
38654 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38655
ced6f16e
L
38656 [BZ #14562]
38657 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38658 new chunk size with MALLOC_ALIGN_MASK.
38659
a9f8e53a
JM
386602012-09-24 Joseph Myers <joseph@codesourcery.com>
38661
38662 [BZ #5044]
38663 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38664 <rounding-mode.h>.
38665 (__printf_fphex): Determine rounding using get_rounding_mode and
38666 round_away.
38667 * stdio-common/tst-printf-round.c (struct hex_test): New
38668 structure.
38669 (hex_tests): New variable.
38670 (test_hex_in_one_mode): New function.
38671 (do_test): Also run tests for hex float output.
38672
43153109
JM
386732012-09-21 Joseph Myers <joseph@codesourcery.com>
38674
38675 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38676 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38677 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38678 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38679 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38680 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38681 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38682 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38683
8a26625d
JM
386842012-09-20 Joseph Myers <joseph@codesourcery.com>
38685
38686 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38687 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38688 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38689 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38690
f3fd569c
DL
386912012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38692
38693 [BZ #14579]
38694 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38695 mode only.
38696 * elf/tst-rtld-load-self.sh: New test.
38697 * elf/Makefile: Run it.
38698
63bbedd4
JM
386992012-09-18 Joseph Myers <joseph@codesourcery.com>
38700
38701 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38702 (tst-writev-ENV): Remove.
38703 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38704
626f8b6a
CM
387052012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38706
38707 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38708
b7aaa4d6
JM
387092012-09-17 Joseph Myers <joseph@codesourcery.com>
38710
38711 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38712 unconditional.
38713 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38714 Likewise.
38715 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38716 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38717 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38718 Likewise.
38719
65513990
L
387202012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38721
38722 [BZ #14587]
38723 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38724 * config.make.in (have-cpp-asm-debuginfo): Removed.
38725 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38726 * configure: Regenerated.
38727
784761be
JM
387282012-09-14 Joseph Myers <joseph@codesourcery.com>
38729
38730 [BZ #5044]
38731 * stdio-common/printf_fp.c: Include <stdbool.h> and
38732 <rounding-mode.h>.
38733 (___printf_fp): Determine rounding using get_rounding_mode and
38734 round_away.
38735 * stdio-common/tst-printf-round.c: New file.
38736 * stdio-common/Makefile (tests): Add tst-printf-round.
38737 (link-libm): New variable.
38738 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38739
9503345f
L
387402012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38741
38742 [BZ #14576]
38743 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38744 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38745 Likewise.
38746 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38747 Likewise.
38748
ad35fc00
JM
387492012-09-13 Joseph Myers <joseph@codesourcery.com>
38750
38751 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38752 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38753 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38754 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38755
6c9b0f68
JM
387562012-09-12 Joseph Myers <joseph@codesourcery.com>
38757
38758 [BZ #14518]
38759 * include/rounding-mode.h: New file.
38760 * sysdeps/generic/get-rounding-mode.h: Likewise.
38761 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38762 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38763 (MAX_VALUE): New macro.
38764 (MIN_VALUE): Likewise.
38765 (overflow_value): New function.
38766 (underflow_value): Likewise.
38767 (round_and_return): Use overflow_value and underflow_value to
38768 determine return values in overflow and underflow cases. Use
38769 round_away to determine rounding depending on rounding mode.
38770 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38771 determine return values in overflow and underflow cases.
38772 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38773 (struct test_results): New structure.
38774 (struct test): Use struct test_results to store expected results
38775 for all rounding modes.
38776 (TEST): Include expected results for all rounding modes.
38777 (test_in_one_mode): New function.
38778 (do_test): Use test_in_one_mode to compute and check results.
38779 Check results for all rounding modes.
38780 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38781 $(link-libm).
38782
19fcedd5
AM
387832012-12-09 Allan McRae <allan@archlinux.org>
38784
1e9d84cd 38785 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 38786
8bbfd2f1
JM
387872012-09-11 Joseph Myers <joseph@codesourcery.com>
38788
38789 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38790 (_G_int32_t): Likewise.
38791 (_G_uint16_t): Likewise.
38792 (_G_uint32_t): Likewise.
38793 (_G_HAVE_BOOL): Likewise.
38794 (_G_HAVE_ATEXIT): Likewise.
38795 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38796 (_G_HAVE_IO_FILE_OPEN): Likewise.
38797 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38798 (_G_int32_t): Likewise.
38799 (_G_uint16_t): Likewise.
38800 (_G_uint32_t): Likewise.
38801 (_G_HAVE_BOOL): Likewise.
38802 (_G_HAVE_ATEXIT): Likewise.
38803 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38804 (_G_HAVE_IO_FILE_OPEN): Likewise.
38805 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38806 (_G_int32_t): Likewise.
38807 (_G_uint16_t): Likewise.
38808 (_G_uint32_t): Likewise.
38809 (_G_HAVE_BOOL): Likewise.
38810 (_G_HAVE_ATEXIT): Likewise.
38811 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38812 (_G_HAVE_IO_FILE_OPEN): Likewise.
38813
b1dc5912
L
388142012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38815
38816 * csu/libc-tls.c: Update copyright years.
38817
0e886ef9
JM
388182012-09-10 Joseph Myers <joseph@codesourcery.com>
38819
28361c5e
JM
38820 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38821 [!_G_USING_THUNKS]: Remove conditional code.
38822 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38823 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38824
0e886ef9
JM
38825 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38826 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38827 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38828 (_G_VTABLE_LABEL_PREFIX): Likewise.
38829 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38830 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38831 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38832 (_G_VTABLE_LABEL_PREFIX): Likewise.
38833 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38834 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38835 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38836 (_G_VTABLE_LABEL_PREFIX): Likewise.
38837 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38838
bcba7aa2
L
388392012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38840
38841 * libio/Makefile: Include ../Makeconfig before tests.
38842 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38843 only if $(build-shared) is yes.
38844
06585ee8
L
38845 * iconv/gconv_db.c: Update copyright years.
38846
80ccd52c
LD
388472012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38848
38849 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38850 unwind info if defined PIC. Fix special cases description.
38851 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38852
38853 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38854 DP_HI_MASK entry.
38855 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38856
691bc9c1
L
388572012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38858
3d9b46b3
L
38859 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38860
de2139a9
L
38861 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38862 is NULL.
38863
5ca78dd0
L
38864 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38865 (LDLIBS-tst-chk4): This.
38866 (LDFLAGS-tst-chk5): Renamed to ...
38867 (LDLIBS-tst-chk5): This.
38868 (LDFLAGS-tst-chk6): Renamed to ...
38869 (LDLIBS-tst-chk6): This.
38870 (LDFLAGS-tst-lfschk4): Renamed to ...
38871 (LDLIBS-tst-lfschk4): This.
38872 (LDFLAGS-tst-lfschk5): Renamed to ...
38873 (LDLIBS-tst-lfschk5): This.
38874 (LDFLAGS-tst-lfschk6): Renamed to ...
38875 (LDLIBS-tst-lfschk6): This.
38876
691bc9c1
L
38877 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38878 on $(common-objpfx)soversions.mk.
38879
65cafb1c
JM
388802012-09-07 Joseph Myers <joseph@codesourcery.com>
38881
38882 [BZ #10014]
38883 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38884 example host name.
38885
c78ab094
SP
388862012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38887
38888 * malloc/arena.c (arena_get_retry): New function that gets
38889 another arena for the caller to try its request on.
38890 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38891 current arena cannot fulfill the request.
38892 (__libc_memalign): Likewise.
38893 (__libc_memalign): Likewise.
38894 (__libc_pvalloc): Likewise.
38895 (__libc_calloc): Likewise.
38896
01f49f59
JT
388972012-09-05 John Tobey <john.tobey@gmail.com>
38898
38899 [BZ #13542]
38900 * manual/arith.texi (Operations on Complex): Fix description
38901 of carg branch cut.
38902
4c23fed5
JM
389032012-09-06 Joseph Myers <joseph@codesourcery.com>
38904
1d3c8572
JM
38905 [BZ #10014]
38906 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38907 host name.
38908
4c23fed5
JM
38909 [BZ #10038]
38910 * manual/memory.texi (Memory): Make order of menu items match
38911 order of sections.
38912
04570aaa
L
389132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38914
38915 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38916 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38917 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38918
b80af2f4
L
389192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38920
38921 * csu/libc-tls.c (static_dtv): Renamed to ...
38922 (_dl_static_dtv): This. Make it global.
38923 (_dl_initial_dtv): Removed.
38924 (__libc_setup_tls): Updated.
38925 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38926 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38927 DL_INITIAL_DTV.
38928
2abe9f15
PM
389292012-09-06 Petr Machata <pmachata@redhat.com>
38930
38931 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38932 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38933 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38934 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38935
0948c3af
L
389362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38937
38938 [BZ #14545]
38939 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38940 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38941 freeing dtv[-1].
38942
a5055ad1
L
389432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38944
38945 [BZ #14544]
38946 * Makeconfig (link-static-before-libc): Replace $(+prector)
38947 with $(+prectorT).
38948 (link-static-after-libc): Replace $(+postctor) with
38949 $(+postctorT).
38950 (link-bounded): Replace $(+prector)/$(+postctor) with
38951 $(+prectorT)/$(+postctorT).
38952 (+prectorT): New macro.
38953 (+postctorT): Likewise.
38954
ed8c2ecd
JM
389552012-09-06 Joseph Myers <joseph@codesourcery.com>
38956
38957 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38958 (round_str): Handle values above the maximum for IBM long double
38959 as inexact.
38960 * stdlib/tst-strtod-round.c (tests): Regenerated.
38961
14c996c8
AK
389622012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38963
38964 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38965 assembler flag.
38966 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38967 zarch_nohighgprs around the zarch optimized routines.
38968 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38969 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38970 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38971 for zarch.
38972
430d6ce6
DM
389732012-09-05 David S. Miller <davem@davemloft.net>
38974
38975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38976
57f41c40
AS
38977 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38978 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38979 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38980 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38981 entries.
38982
24d4e01b
AO
389832012-09-05 Alexandre Oliva <aoliva@redhat.com>
38984
38985 * malloc/arena.c: Fold copyright years.
38986 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38987
61d58174
AO
389882012-09-05 Alexandre Oliva <aoliva@redhat.com>
38989
38990 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38991
20196a5e
AO
389922012-09-05 Alexandre Oliva <aoliva@redhat.com>
38993
38994 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38995
5c447383
AO
389962012-09-05 Alexandre Oliva <aoliva@redhat.com>
38997
38998 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38999 change internal state upon failure.
39000
fad64255
AO
390012012-09-05 Alexandre Oliva <aoliva@redhat.com>
39002
39003 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39004 * malloc/memusage.c (mmap): Likewise.
39005 (mmap64, mremap): Likewise. Adjust name in comment.
39006
1ffb8c90
SP
390072012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39008
39009 * libio/fileops.c: Fix typos in comments.
39010 * libio/oldfileops.c: Likewise.
39011 * libio/wfileops.c: Likewise.
39012
6ef9cc37
SP
390132012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39014
39015 [BZ #1349]
39016 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39017 (tst-malloc-usable-ENV): Set environment for test case.
39018 * malloc/hooks.c (malloc_check_get_size): New function to get
39019 requested size.
39020 * malloc/malloc.c (musable): Use malloc_check_get_size.
39021 * malloc/tst-malloc-usable.c: New test case.
39022
4d038ae3
AS
390232012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39024
39025 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39026
c4e85184
AM
390272012-09-05 Allan McRae <allan@archlinux.org>
39028
b9dafc56 39029 [BZ #13966]
c4e85184
AM
39030 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39031 determine header location.
39032 * configure: Regenerated.
39033
e1343020
AS
390342012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39035
39036 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39037 float format.
39038 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
39039 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39040 format.
e1343020
AS
39041 (test): Regenerate.
39042
0a9f1987
DM
390432012-09-04 David S. Miller <davem@davemloft.net>
39044
39045 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39046 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39047 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39048
29237804
FW
390492012-09-04 Florian Weimer <fweimer@redhat.com>
39050
39051 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39052 failures.
39053
edb3cb88
FW
39054 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39055
60160d83
JM
390562012-09-04 Joseph Myers <joseph@codesourcery.com>
39057
39058 [BZ #9914]
39059 * libio/iogetdelim.c: Include <limits.h>.
39060 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39061 + len + 1 would overflow.
39062
bcd6c8dc
AJ
390632012-09-03 Andreas Jaeger <aj@suse.de>
39064
39065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39066 * sysdeps/i386/fpu/libm-test-ulps: Update.
39067
4ffffbd2
LD
390682012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39069
39070 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39071 Add s_sinf-sse2, s_conf-sse2.
39072
39073 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39074 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39075 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39076 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39077
39078 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39079 for using routine as __sinf_ia32.
39080 Use macro for function declaration and weak_alias.
39081 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39082 for using routine as __cosf_ia32.
39083 Use macro for function declaration and weak_alias.
39084
39085 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39086 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39087
39088 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39089 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39091
39092 * math/libm-test.inc (cos_test): Add more test cases.
39093 (sin_test): Likewise.
39094 (sincos_test): Likewise.
39095
511fa286
AK
390962012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39097
39098 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39099 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39100 hidden.
39101 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39102
5f30cfec
L
391032012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39104
39105 [BZ #14538]
39106 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39107 first element of the GOT.
39108 (elf_machine_load_address): Return the difference between
39109 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39110
0786794f
AM
391112012-09-01 Allan McRae <allan@archlinux.org>
39112
5f30cfec
L
39113 [BZ #13412]
39114 * configure.in (AWK): Require gawk version 3.0 or later.
39115 * configure: Regenerated.
0786794f 39116
26889eac
JM
391172012-09-01 Joseph Myers <joseph@codesourcery.com>
39118
39119 * sysdeps/unix/sysv/linux/kernel-features.h
39120 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39121 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39122 [__NR_clock_getres]: Make code unconditional.
39123 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39124 (clock_getcpuclockid): Remove code left unreachable by removal of
39125 conditionals.
39126 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39127 code unconditional.
39128 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39129 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39130 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39131 Make code unconditional.
39132 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39133 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39134 * sysdeps/unix/sysv/linux/clock_settime.c
39135 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39136 conditional code.
39137 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39138 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39139
d22e28b0
L
391402012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39141
39142 [BZ #14476]
39143 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39144 scripts/test-installation.pl.
39145
39146 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39147 and $ld_so_version if it is set.
39148
050af9c4
SP
391492012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39150
39151 [BZ #14516]
39152 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39153 failure if reading from procfs failed.
39154 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39155
ad845c0b
JM
391562012-08-27 Joseph Myers <joseph@codesourcery.com>
39157
39158 * sysdeps/unix/sysv/linux/kernel-features.h
39159 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39160 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39161 Remove conditional code.
39162 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39163 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39164 Remove conditional code.
39165 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39166 * sysdeps/unix/sysv/linux/i386/fxstat.c
39167 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39168 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39169 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39170 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39171 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39172 * sysdeps/unix/sysv/linux/i386/lxstat.c
39173 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39174 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39175 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39176 Remove conditional code.
39177 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39178 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39179 Remove conditional code.
39180 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39181 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39182 <kernel-features.h>.
39183 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39184 Remove.
39185 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39186 Remove conditional code.
39187 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39188 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39189 Remove conditional.
39190
5dbf56af
MF
391912012-08-27 Mike Frysinger <vapier@gentoo.org>
39192
39193 [BZ #5400]
39194 * NEWS: Add fixed bug number.
39195
d6e70f43
JM
391962012-08-27 Joseph Myers <joseph@codesourcery.com>
39197
7efb4737
JM
39198 [BZ #14519]
39199 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39200 underflowing exponent in case of negative sign.
39201 * stdlib/tst-strtod-round-data: Add more tests.
39202 * stdlib/tst-strtod-round.c (tests): Regenerated.
39203
af92131a
JM
39204 [BZ #3479]
39205 * stdlib/strtod_l.c (NDIG): Remove.
39206 (HEXNDIG): Likewise.
39207 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39208 smallest representable value.
39209 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39210 lie within an exact representation of 1/2 ulp of the result.
39211 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39212 unconditionally.
39213 (TENS_P9_IDX): Define unconditionally.
39214 (TENS_P9_SIZE): Likewise.
39215 (TENS_P10_IDX): Likewise.
39216 (TENS_P10_SIZE): Likewise.
39217 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39218 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39219 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39220 entries for 10^2^13 and 10^2^14.
39221 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39222 (TENS_P13_IDX): Define.
39223 (TENS_P13_SIZE): Likewise.
39224 (TENS_P14_IDX): Likewise.
39225 (TENS_P14_SIZE): Likewise.
39226 (_fpioconst_pow10): Change array size to
39227 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39228 unconditional.
39229 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39230 1024]: Add entries for 10^2^13 and 10^2^14.
39231 [LAST_POW10 > _LAST_POW10]: Remove #error.
39232 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39233 (_fpioconst_pow10): Change array size to
39234 FPIOCONST_POW10_ARRAY_SIZE.
39235 * stdlib/gen-fpioconst.c: New file.
39236 * stdlib/gen-tst-strtod-round.c: Likewise.
39237 * stdlib/tst-strtod-round-data: Likewise.
39238 * stdlib/tst-strtod-round.c: Likewise.
39239 * stdlib/Makefile (tests): Add tst-strtod-round.
39240
d6e70f43
JM
39241 [BZ #14459]
39242 * stdlib/strtod_l.c: Include <stdint.h>.
39243 (NDEBUG): Do not define.
39244 (round_and_return): Change EXPONENT parameter to type intmax_t.
39245 Rearrange calculations to avoid internal overflow possibilities.
39246 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39247 Rearrange calculations to avoid internal overflow possibilities.
39248 Assert that number fits inside MPNSIZE limbs.
39249 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39250 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39251 calculations and add assertions to avoid internal overflow
39252 possibilities. Add casts to avoid signed/unsigned operations.
39253 * stdlib/tst-strtod-overflow.c: New file.
39254 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39255
1f529f7d
MP
392562012-08-25 Marek Polacek <polacek@redhat.com>
39257
39258 * time/time.h: Fix some typos in comments.
39259
59a629f1
RM
392602012-08-23 Roland McGrath <roland@hack.frob.com>
39261
39262 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39263 * posix/tst-rfc3484-2.c: Likewise.
39264 * posix/tst-rfc3484-3.c: Likewise.
39265
d3bafbc9
SM
392662012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39267
39268 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39269 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39270
4efcc022
JM
392712012-08-23 Joseph Myers <joseph@codesourcery.com>
39272
39273 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39274 #include of fxstatat64.c.
39275
3cc3ef96
RM
392762012-08-22 Roland McGrath <roland@hack.frob.com>
39277
f04e2132
RM
39278 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39279 * shadow/getspent_r.c: Likewise.
39280 * shadow/getspnam.c: Likewise.
39281 * shadow/getspnam_r.c: Likewise.
39282 * gshadow/getsgent.c: Likewise.
39283 * gshadow/getsgent_r.c: Likewise.
39284 * gshadow/getsgnam.c: Likewise.
39285 * gshadow/getsgnam_r.c: Likewise.
39286 * inet/getnetbyad.c: Likewise.
39287 * inet/getnetbyad_r.c: Likewise.
39288 * inet/getnetbynm.c: Likewise.
39289 * inet/getnetbynm_r.c: Likewise.
39290 * inet/getnetent.c: Likewise.
39291 * inet/getnetent_r.c: Likewise.
39292 * inet/getproto.c: Likewise.
39293 * inet/getproto_r.c: Likewise.
39294 * inet/getprtent.c: Likewise.
39295 * inet/getprtent_r.c: Likewise.
39296 * inet/getprtname.c: Likewise.
39297 * inet/getprtname_r.c: Likewise.
39298 * inet/getrpcbyname.c: Likewise.
39299 * inet/getrpcbyname_r.c: Likewise.
39300 * inet/getrpcbynumber.c: Likewise.
39301 * inet/getrpcbynumber_r.c: Likewise.
39302 * inet/getrpcent.c: Likewise.
39303 * inet/getrpcent_r.c: Likewise.
39304 * inet/getaliasent.c: Likewise.
39305 * inet/getaliasent_r.c: Likewise.
39306 * inet/getaliasname.c: Likewise.
39307 * inet/getaliasname_r.c: Likewise.
39308 * nscd/getgrgid_r.c: Likewise.
39309 * nscd/getgrnam_r.c: Likewise.
39310 * nscd/gethstbyad_r.c: Likewise.
39311 * nscd/gethstbynm3_r.c: Likewise.
39312 * nscd/getpwnam_r.c: Likewise.
39313 * nscd/getpwuid_r.c: Likewise.
39314 * nscd/getsrvbynm_r.c: Likewise.
39315 * nscd/getsrvbypt_r.c: Likewise.
39316 * nscd/gai.c: Likewise.
39317
c53d909c
RM
39318 * configure.in (build_nscd): New substituted variable, set
39319 by --disable-build-nscd and defaults to $use_nscd.
39320 * configure: Regenerated.
39321 * config.make.in (build-nscd): New substituted variable.
39322 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39323 Change conditional to require [$(build-nscd) = yes] as well.
39324 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39325
3cc3ef96
RM
39326 [BZ# 13696]
39327 * configure.in (use_nscd): New substituted variable, set by
39328 --disable-nscd. If enabled, define USE_NSCD.
39329 * configure: Regenerated.
39330 * config.h.in: Add USE_NSCD.
39331 * config.make.in (use-nscd): New substituted variable.
39332 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39333 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39334 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39335 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39336 (CFLAGS-getgrnam_r.c): Likewise.
39337 (CFLAGS-initgroups.c): Likewise.
39338 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39339 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39340 Variables removed.
39341 * inet/getnetgrent_r.c
39342 (nscd_setnetgrent): New function, broken out of ...
39343 (setnetgrent): ... here. Call it.
39344 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39345 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39346 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39347 * nscd/Makefile (routines, aux): Move definitions after include of
39348 Makeconfig. Conditionalize on [$(use-nscd) != no].
39349 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39350 Conditionalize on [USE_NSCD].
39351 (is_nscd, nscd_init_cb): Likewise.
39352 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39353 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39354 * nss/nss_db/db-init.c: Likewise.
39355 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39356 [USE_NSCD].
39357 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39358 (make_request): Use it.
39359 (cache_valid_p): New function.
39360 (__check_pf): Use it.
39361 * NEWS: Add item for --disable-nscd.
39362
07e51550
DL
393632012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39364
39365 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39366 to support sed >= 4.2.1-20-ga9bf076.
39367 * configure: Regenerated.
39368
35a5b08b
RM
393692012-08-22 Roland McGrath <roland@hack.frob.com>
39370
39371 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39372 Conditionalize whole body on [IREL].
39373
8479f23a
JL
393742012-08-22 Jeff Law <law@redhat.com>
39375
39376 [BZ #14505]
39377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39378 if the family is PF_UNSPEC.
39379
48da0b21
MF
393802012-08-22 Mike Frysinger <vapier@gentoo.org>
39381
39382 * Makerules (lib-version): Rename from V.
39383 (install-lib-nosubdir): Change V to lib-version.
39384
15d0da8c
WS
393852012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39386
39387 [BZ #14252]
39388 * powerpc32/power6/wcschr.c: New file.
39389 * powerpc32/power6/wcscpy.c: New file.
39390 * powerpc32/power6/wcsrchr.c: New file.
39391 * powerpc64/power6/wcschr.c: New file.
39392 * powerpc64/power6/wcscpy.c: New file.
39393 * powerpc64/power6/wcsrchr.c: New file.
39394
bcca0895
MK
393952012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39396
39397 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39398 (two_way_short_needle): Use it.
5a4aaa33
RM
39399 * string/strstr.c (AVAILABLE1_USES_J): Define.
39400 * string/strcasestr.c: Likewise.
99677e57
MK
39401
39402 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39403 array references.
39404 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39405
400726de
MK
39406 [BZ #11607]
39407 * NEWS: Add an entry.
39408 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39409 define their defaults.
39410 (two_way_short_needle): Detect end-of-string on-the-fly.
39411 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39412 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39413 * string/bug-strcasestr1.c: New test.
39414 * string/Makefile: Run it.
39415
20a71f2c
MK
394162012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39417
39418 [BZ #11607]
39419 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39420 the first character.
39421
21ad0558
RM
394222012-08-21 Roland McGrath <roland@hack.frob.com>
39423
39424 * csu/elf-init.c (__libc_csu_irel): Function removed.
39425 * csu/libc-start.c (apply_irel): New function.
39426 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39427
0e1d9911
JM
394282012-08-21 Joseph Myers <joseph@codesourcery.com>
39429
39430 * sysdeps/unix/sysv/linux/kernel-features.h
39431 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39432 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39433 <kernel-features.h>.
39434 [__NR_fadvise64_64]: Make code unconditional.
39435 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39436 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39437 !__NR_fadvise64_64)]: Likewise.
39438 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39439 !__NR_fadvise64_64))]: Likewise.
39440 [__NR_fadvise64]: Make code unconditional.
39441 [!__NR_fadvise64]: Remove conditional code.
39442 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39443 <kernel-features.h>.
39444 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39445 unconditional.
39446 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39447 conditional code.
39448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39449 not include <kernel-features.h>.
39450 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39451 unconditional.
39452 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39453 conditional code.
39454 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39455 include <kernel-features.h>.
39456 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39457 unconditional.
39458 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39459 conditional code.
39460
14a50c9d
WS
394612012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39462
39463 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39464 slight instruction rearrangements per scrollpipe analysis.
39465 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39466
c0f4faf0
RM
394672012-08-20 Roland McGrath <roland@hack.frob.com>
39468
696da859
RM
39469 * manual/syslog.texi (syslog; vsyslog, closelog):
39470 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39471 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39472
c0f4faf0
RM
39473 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39474 DSOCAPS to match condition on defining it.
39475
348363b2
JM
394762012-08-20 Joseph Myers <joseph@codesourcery.com>
39477
a35cbf28
JM
39478 * sysdeps/unix/sysv/linux/kernel-features.h
39479 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39481 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39482 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39484 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39485 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39487 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39488 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39489
445f7ecd
JM
39490 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39491 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39492
348363b2
JM
39493 * sysdeps/unix/sysv/linux/kernel-features.h
39494 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39495 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39496 unconditional.
39497 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39498 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39499 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39500 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39501 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39502 Make code unconditional.
39503 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39504 (__mmap64) [!__NR_mmap2]: Likewise.
39505 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39506 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39507 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39508 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39509 [__NR_mmap2]: Make code unconditional.
39510 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39511 (__mmap64) [!__NR_mmap2]: Likewise.
39512
bc5bc0e5
AK
395132012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39514
39515 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39516
88d506de
AJ
395172012-08-18 Andreas Jaeger <aj@suse.de>
39518
39519 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39520
493387d2
MF
395212012-08-18 Mike Frysinger <vapier@gentoo.org>
39522
39523 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39524 * include/unistd.h (__have_sock_cloexec): Likewise.
39525 (__have_pipe2): Likewise.
39526 (__have_dup3): Likewise.
39527
a277af22
MF
395282012-08-18 Mike Frysinger <vapier@gentoo.org>
39529
39530 [BZ #9685]
39531 * include/unistd.h (__have_pipe2): Change define into an extern int.
39532 (__have_dup3): Likewise.
39533 * socket/have_sock_cloexec.c: Include fcntl.h.
39534 (__have_pipe2): New variable.
39535 (__have_dup3): Likewise.
39536
fdab8fd3
MF
395372012-08-17 Mike Frysinger <vapier@gentoo.org>
39538
39539 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39540
31035e80
MP
395412012-08-17 Marek Polacek <polacek@redhat.com>
39542
39543 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39544 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39545
3bd9e993
RM
395462012-08-17 Roland McGrath <roland@hack.frob.com>
39547
c91c505f
RM
39548 * configure.in: Add AC_SUBST for sysheaders.
39549 * configure: Regenerated.
39550 * config.make.in (sysheaders): New substituted variable.
39551
7c6f9d53
RM
39552 * sysdeps/unix/mkfifo.c: Moved ...
39553 * sysdeps/posix/mkfifo.c: ... here.
39554 * sysdeps/unix/mkfifoat.c: Moved ...
39555 * sysdeps/posix/mkfifoat.c: ... here.
39556
39557 * sysdeps/unix/utime.c: Moved ...
39558 * sysdeps/posix/utime.c: ... here.
39559
39560 * sysdeps/unix/time.c: Moved ...
39561 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
39562 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39563 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
39564
39565 * sysdeps/unix/nice.c: Moved ...
39566 * sysdeps/posix/nice.c: ... here.
39567
39568 * sysdeps/unix/alarm.c: Moved ...
39569 * sysdeps/posix/alarm.c: ... here.
39570
3bd9e993
RM
39571 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39572
d1f09384
JL
395732012-08-17 Jeff Law <law@redhat.com>
39574
39575 * intl/Makefile (codeset_mo): New variable.
39576 ($(codeset_mo)): New target.
39577 (tst-codeset.out): Depend on that. Remove explicit rule.
39578 (tst-gettext3.out, tst-gettext5.out): Likewise.
39579 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39580 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39581 * intl/tst-codeset.sh: Remove.
39582 * intl/tst-gettext3.sh: Likewise.
39583 * intl/tst-gettext5.sh: Likewise.
39584
2ae1ae5c
RM
395852012-08-17 Roland McGrath <roland@hack.frob.com>
39586
c31fdb83
RM
39587 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39588 * sysdeps/unix/syscalls.list: ... here.
39589
a0844057
RM
39590 * sysdeps/posix/getaddrinfo.c
39591 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39592 (gaiconf_init, gaiconf_reload): Use them.
39593 [!_STATBUF_ST_NSEC]
39594 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39595 Define using time_t rather than struct timespec.
39596
750c1f2a
RM
39597 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39598 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39599 Macros removed.
39600 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39601 [!NO_THREADS].
39602 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39603 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39604 Likewise.
39605
2ae1ae5c
RM
39606 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39607 __libc_cleanup_push argument.
39608
e66a42f5
RM
39609 * bits/param.h: New file.
39610 * misc/sys/param.h: New file.
39611 * include/sys/param.h: New file.
39612 * misc/Makefile (headers): Add bits/param.h.
39613 * sysdeps/generic/sys/param.h: File removed.
39614 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39615 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39616 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 39617 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 39618
b7c08a66
RM
39619 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39620 last change.
39621
b2e1c562
RM
39622 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39623 [_IO_MTSAFE_IO].
39624 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39625 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39626 New macros.
39627
c75ccd4c
RM
39628 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39629 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39630 rather than -D_IO_MTSAFE_IO conditionally.
39631 * stdio-common/Makefile (CPPFLAGS): Likewise.
39632 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39633 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39634 Use $(libio-mtsafe).
39635 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39636 of -D_IO_MTSAFE_IO.
39637 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39638 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39639 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39640 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39641 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39642 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39643 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39644 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39645 (CFLAGS-fread_u_chk.c): Likewise.
39646 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39647 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39648 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39649 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39650 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39651 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39652 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39653 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39654 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39655
39656 * libio/Makefile: Test [$(libc-reentrant) = yes]
39657 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39658
39659 * Makeconfig
39660 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39661 * sysdeps/pthread/configure: File removed.
39662 * sysdeps/pthread/Makeconfig: New file.
39663 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39664 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39665
d9195db8
GB
396662012-08-16 Gary Benson <gbenson@redhat.com>
39667
39668 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39669 unmapping the first object in a namespace.
39670
86466cd9
RM
396712012-08-16 Roland McGrath <roland@hack.frob.com>
39672
39673 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39674 (__internal_setnetgrent): ... this. Add internal_function to
39675 definition. Add libc_hidden_def.
39676 (setnetgrent): Update caller.
39677 (internal_endnetgrent): Renamed to ...
39678 (__internal_endnetgrent): ... this. Add internal_function to
39679 definition. Add libc_hidden_def.
39680 (endnetgrent): Update caller.
39681 (internal_getnetgrent_r): Renamed to ...
39682 (__internal_getnetgrent_r): ... this. Add internal_function to
39683 definition. Add libc_hidden_def.
39684 (__getnetgrent_r): Update caller.
39685 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39686
c3c8283c
JM
396872012-08-16 Joseph Myers <joseph@codesourcery.com>
39688
39689 * stdlib/longlong.h: Update from GCC.
39690
db1ee0a8
RM
396912012-08-16 Roland McGrath <roland@hack.frob.com>
39692
39693 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39694 on _QL, which is set by umul_ppmm but never used.
39695 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39696 variables, which are set by GMP macros but never used.
39697 * stdio-common/_itowa.c (_itowa): Likewise.
39698 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39699 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39700
30f69637
CD
397012012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39702
39703 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39704 struct La_sh_regs is not constant.
39705 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39706 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39707 and struct La_sparc64_regs are not constant.
39708
93a78ac4
JM
397092012-08-16 Joseph Myers <joseph@codesourcery.com>
39710
39711 * sysdeps/unix/sysv/linux/kernel-features.h
39712 (__ASSUME_POSIX_TIMERS): Remove.
39713 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39714 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39715 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39716 Make code unconditional.
39717 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39718 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39719 Make code unconditional.
39720 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39721 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39722 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39723 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39724 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39725 Make code unconditional.
39726 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39727 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39728 (__libc_missing_posix_timers): Remove.
39729
dd924cd7
RM
397302012-08-15 Roland McGrath <roland@hack.frob.com>
39731
4b4f2771
RM
39732 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39733 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39734
601c888b
RM
39735 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39736
176790a7
RM
39737 * elf/dl-sym.c: Include <stdlib.h>.
39738
329bc018
RM
39739 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39740 constants, which avoids warnings in 32-bit builds.
39741
e04e272d
RM
39742 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39743 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39744
952bf94a
RM
39745 * misc/lseek.c: File moved to ...
39746 * io/lseek.c: ... here.
39747
7c99b50a
RM
39748 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39749
dd924cd7
RM
39750 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39751 shifting LEN more than 31 bits at once.
39752
b3f479a8
LD
397532012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39754
39755 [BZ #14195]
8c4ae0d4
RM
39756 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39757 segmentation fault for a case of two empty input strings.
b3f479a8
LD
39758 * string/test-strncasecmp.c (check1): Renamed to...
39759 (bz12205): ...this.
39760 (bz14195): Add new testcase for two empty input strings and N > 0.
39761 (test_main): Call new testcase, adapt for renamed function.
39762
9c55864e
AJ
397632012-08-15 Andreas Jaeger <aj@suse.de>
39764
39765 [BZ #14090]
39766 * crypt/md5test2.c: New test, based on test supplied by Serge
39767 Belyshev <belyshev@depni.sinp.msu.ru>.
39768 * crypt/Makefile (xtests): Add md5test-giant..
39769 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39770
02dcb6c5
PE
397712012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39772
39773 [BZ #14090]
39774 * crypt/md5.c (md5_process_block): Don't assume the buffer
39775 length is less than 2**32.
39776 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39777 length is less than 2**64.
39778
a3f95dcc
RM
397792012-08-15 Roland McGrath <roland@hack.frob.com>
39780
be75d758
RM
39781 * string/str-two-way.h: Include <sys/param.h>.
39782 (MAX): Macro removed.
39783
7312ca90
RM
39784 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39785 Move #define and #undef of memmove to just before and after
39786 including <string.h>.
39787
9a0a5486
RM
39788 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39789 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39790 and after including <string.h>. Move declarations of
39791 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39792 to before #include "string/memmove.c".
39793
67cc348d
RM
39794 * include/dirent.h: Declare __getdirentries.
39795
a3f95dcc
RM
39796 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39797 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39798
ca98e171
MF
397992012-08-14 Mike Frysinger <vapier@gentoo.org>
39800
39801 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39802 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39803 * sysdeps/i386/configure: Regenerated.
39804 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39805 STABS_CURRENT_FILE, and STABS_FUN.
39806 (END): Remove call to STABS_FUN_END.
39807 (STABS_CURRENT_FILE1): Delete.
39808 (STABS_CURRENT_FILE): Likewise.
39809 (STABS_FUN): Likewise.
39810 (STABS_FUN_END): Likewise.
39811 (STABS_FUN2): Likewise.
39812 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39813 * sysdeps/x86_64/configure: Regenerated.
39814
5908bf46
RM
398152012-08-14 Roland McGrath <roland@hack.frob.com>
39816
39817 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 39818 * elf/dl-lookup.c: Likewise.
5908bf46 39819
f2c05b9e
JM
398202012-08-14 Joseph Myers <joseph@codesourcery.com>
39821
39822 * sysdeps/unix/sysv/linux/kernel-features.h
39823 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39824 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39825 unconditionally.
39826 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39827 unconditionally.
39828 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39829 condition on __ASSUME_CLONE_THREAD_FLAGS.
39830
e11f5155
AJ
398312012-08-14 Andreas Jaeger <aj@suse.de>
39832
39833 * sysdeps/i386/fpu/libm-test-ulps: Update.
39834
51a9ba86
MK
398352012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39836
2fdd4f78
AJ
39837 * include/atomic.h (atomic_exchange_and_add): Split into ...
39838 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39839 New atomic macros.
51a9ba86 39840
ba6cba9e
MT
398412012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39842
39843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39844
42443a47
JL
398452012-08-13 Jeff Law <law@redhat.com>
39846
39847 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39848 null byte in the output string.
39849
121dce05
JM
398502012-08-10 Joseph Myers <joseph@codesourcery.com>
39851
39852 * sysdeps/unix/sysv/linux/kernel-features.h
39853 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39854 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39855 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39856 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39857 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39858 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39859 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39860
bf51f568
JL
398612012-08-09 Jeff Law <law@redhat.com>
39862
39863 [BZ #13939]
39864 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39865 When avoid_arena is set, don't retry in the that arena. Pick the
39866 next one, whatever it might be.
39867 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39868 (arena_lock): Pass in new parameter to arena_get2.
39869 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39870 arena_get2.
39871 (__libc_malloc): Unify retrying after main arena failure with
39872 __libc_memalign version.
39873 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39874
f85fa270
L
398752012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39876
39877 [BZ #14166]
39878 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39879 to __redirect_strstr.
39880 (__strstr_sse42): Use typeof __redirect_strstr.
39881 (__strstr_ia32): Likewise.
39882 (__libc_strstr): New prototype.
39883 (strstr): Renamed to ...
39884 (__libc_strstr): This.
39885 (strstr): New strong alias of __libc_strstr.
39886 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39887 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39888 __redirect_time.
39889 Include <time.h>.
39890 (__libc_time): New prototype.
39891 (time_ifunc): Replace time with __libc_time.
39892 (time): New strong alias and hidden definition of __libc_time.
39893 (__GI_time): Remove strong alias.
39894 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39895 Include <stddef.h>.
39896 (memmove): Redefined to __redirect_memmove.
39897 (__memmove_sse2): Use typeof __redirect_memmove.
39898 (__memmove_ssse3): Likewise.
39899 (__memmove_ssse3_back): Likewise.
39900 (__libc_memmove): New prototype.
39901 (memmove): Renamed to ...
39902 (__libc_memmove): This.
39903 (memmove): New strong alias of __libc_memmove.
39904
33b4a91e
MS
399052012-08-08 Mark Salter <msalter@redhat.com>
39906
39907 * elf/elf.h
39908 (R_MN10300_TLS_GD): Define.
39909 (R_MN10300_TLS_LD): Likewise.
39910 (R_MN10300_TLS_LDO): Likewise.
39911 (R_MN10300_TLS_GOTIE): Likewise.
39912 (R_MN10300_TLS_IE): Likewise.
39913 (R_MN10300_TLS_LE): Likewise.
39914 (R_MN10300_TLS_DTPMOD): Likewise.
39915 (R_MN10300_TLS_DTPOFF): Likewise.
39916 (R_MN10300_TLS_TPOFF): Likewise.
39917 (R_MN10300_SYM_DIFF): Likewise.
39918 (R_MN10300_ALIGN): Likewise.
39919 (R_MN10300_NUM): Update.
39920
b36137f1
JM
399212012-08-08 Joseph Myers <joseph@codesourcery.com>
39922
39923 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39924 Remove.
39925
cdd915fd
RM
399262012-08-08 Roland McGrath <roland@hack.frob.com>
39927
a2433aac
RM
39928 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39929
cdd915fd
RM
39930 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39931 sysdeps/unix -> sysdeps/posix move.
39932 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39933
bf9b740a
AM
399342012-08-07 Allan McRae <allan@archlinux.org>
39935
39936 [BZ #14303]
39937 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39938 (SUNOS_CPP): Likewise.
39939 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39940 not found.
39941 (open_input): Call CPP using execvp.
39942
93df14ee
JM
399432012-08-07 Joseph Myers <joseph@codesourcery.com>
39944
39945 * sysdeps/unix/sysv/linux/kernel-features.h
39946 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39947 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39948 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39949 (__ASSUME_WAITID_SYSCALL): Likewise.
39950 * sysdeps/unix/sysv/linux/dl-execstack.c
39951 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39952 code unconditional.
39953 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39954 conditional code.
39955 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39956 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39957 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39958 code.
39959 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39960 unconditional.
39961 [__ASSUME_WAITID_SYSCALL]: Likewise.
39962 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39963
d34689de
RM
399642012-08-07 Roland McGrath <roland@hack.frob.com>
39965
a281decc
RM
39966 * sysdeps/unix/closedir.c: Renamed to ...
39967 * sysdeps/posix/closedir.c: ... here.
39968 * sysdeps/unix/dirfd.c: Renamed to ...
39969 * sysdeps/posix/dirfd.c: ... here.
39970 * sysdeps/unix/dirstream.h: Renamed to ...
39971 * sysdeps/posix/dirstream.h: ... here.
39972 * sysdeps/unix/fdopendir.c: Renamed to ...
39973 * sysdeps/posix/fdopendir.c: ... here.
39974 * sysdeps/unix/opendir.c: Renamed to ...
39975 * sysdeps/posix/opendir.c: ... here.
39976 * sysdeps/unix/readdir.c: Renamed to ...
39977 * sysdeps/posix/readdir.c: ... here.
39978 * sysdeps/unix/readdir_r.c: Renamed to ...
39979 * sysdeps/posix/readdir_r.c: ... here.
39980 * sysdeps/unix/rewinddir.c: Renamed to ...
39981 * sysdeps/posix/rewinddir.c: ... here.
39982 * sysdeps/unix/seekdir.c: Renamed to ...
39983 * sysdeps/posix/seekdir.c: ... here.
39984 * sysdeps/unix/telldir.c: Renamed to ...
39985 * sysdeps/posix/telldir.c: ... here.
39986 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39987 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39988 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39989 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39990
22895b47
RM
39991 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39992 * bits/fcntl.h: ... here.
39993
707a53b6
RM
39994 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39995 not 0.
39996 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39997 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39998 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39999 (struct flock): Move l_start, l_len to the beginning.
40000 Use __pid_t for l_pid.
40001 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40002 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40003 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40004 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40005 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40006 [__USE_LARGEFILE64] (struct flock64): New type.
40007 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40008
f0bd3e25
RM
40009 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40010 * bits/dirent.h: ... here.
40011
d34689de
RM
40012 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40013 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40014
6dad2c06
JM
400152012-08-07 Joseph Myers <joseph@codesourcery.com>
40016
40017 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40018 Change from 2.6.0 to 2.6.16.
40019 * sysdeps/unix/sysv/linux/configure: Regenerated.
40020 * sysdeps/unix/sysv/linux/kernel-features.h
40021 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40022 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40023 version.
40024 (__ASSUME_UTIMES): Likewise.
40025 (__ASSUME_CLONE_STOPPED): Remove.
40026 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40027 architectures, not kernel version.
40028 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40029 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40030 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40031 (__ASSUME_WAITID_SYSCALL): Likewise.
40032 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40033 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40034 * README: State 2.6.16 as minimum Linux kernel version. Do not
40035 refer to older versions.
40036
03af9520
RM
400372012-08-06 Roland McGrath <roland@hack.frob.com>
40038
8e49df1d
RM
40039 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40040 Define alphasort64 as an alias.
40041 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40042 Define versionsort64 as an alias.
40043 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40044 Define scandir64 as an alias.
40045 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40046 Define scandirat64 as an alias.
40047 * dirent/alphasort64.c (alphasort64):
40048 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40049 * dirent/versionsort64.c: Likewise.
40050 * dirent/scandir64.c: Likewise.
40051 * dirent/scandirat64.c: Likewise.
40052 * sysdeps/wordsize-64/alphasort.c: File removed.
40053 * sysdeps/wordsize-64/alphasort64.c: File removed.
40054 * sysdeps/wordsize-64/scandir.c: File removed.
40055 * sysdeps/wordsize-64/scandir64.c: File removed.
40056 * sysdeps/wordsize-64/scandirat.c: File removed.
40057 * sysdeps/wordsize-64/scandirat64.c: File removed.
40058 * sysdeps/wordsize-64/versionsort.c: File removed.
40059 * sysdeps/wordsize-64/versionsort64.c: File removed.
40060 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40061 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40062 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40063 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40064 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40065 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40066 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40067 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40068
40069 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40070 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40071 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40072 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40073 [defined __arch64__ || defined __sparcv9]
40074 (__INO_T_MATCHES_INO64_T): New macro.
40075 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40076 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40077 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40078 * sysdeps/unix/sysv/linux/bits/dirent.h
40079 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40080 (_DIRENT_MATCHES_DIRENT64): New macro.
40081
03af9520
RM
40082 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40083 Define lockf64 as an alias.
40084 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40085 Define fseeko64 as an alias.
40086 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40087 Define ftello64 as an alias.
40088 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40089 Define _IO_fgetpos64 and fgetpos64 as aliases.
40090 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40091 Define _IO_fsetpos64 and fsetpos64 as aliases.
40092 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40093 Conditionalize body on this.
40094 * libio/fseeko64.c: Likewise.
40095 * libio/ftello64.c: Likewise.
40096 * libio/iofgetpos64.c: Likewise.
40097 * libio/iofsetpos64.c: Likewise.
40098 * sysdeps/wordsize-64/lockf.c: File removed.
40099 * sysdeps/wordsize-64/lockf64.c: File removed.
40100 * sysdeps/wordsize-64/fseeko.c: File removed.
40101 * sysdeps/wordsize-64/fseeko64.c: File removed.
40102 * sysdeps/wordsize-64/ftello.c: File removed.
40103 * sysdeps/wordsize-64/ftello64.c: File removed.
40104 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40105 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40106 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40107 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40108 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40109 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40110 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40111 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40112 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40113 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40114 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40115 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40116 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40117 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40118
40119 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40120 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40121 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40122 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40123 [defined __arch64__ || defined __sparcv9]
40124 (__OFF_T_MATCHES_OFF64_T): New macro.
40125 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40126 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40128 (__OFF_T_MATCHES_OFF64_T): New macro.
40129
c5757acd
L
401302012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40131
40132 * stdlib/secure-getenv.c (__secure_getenv): Replace
40133 GLIBC_2_16 with GLIBC_2_17.
40134
3a31811e
L
401352012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40136
40137 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40138 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40139
faa2bccb
DM
401402012-08-03 David S. Miller <davem@davemloft.net>
40141
40142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40143
85fe1997
JM
401442012-08-03 Joseph Myers <joseph@codesourcery.com>
40145
40146 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40147 Remove.
40148 (__ASSUME_CORRECT_SI_PID): Likewise.
40149 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40150 (__ASSUME_TMPFS_NAME): Likewise.
40151 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40152 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40153 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40154 (HAVE_AUX_SECURE): Make definition unconditional.
40155 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40156 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40157
4f75b7a0
RM
401582012-08-03 Roland McGrath <roland@hack.frob.com>
40159
40160 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40161 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40162 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40163 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40164 __eloop_threshold instead of SYMLOOP_MAX.
40165
40166 * sysdeps/generic/eloop-threshold.h: New file.
40167 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40168 of MAXSYMLINKS.
40169 * elf/chroot_canon.c (chroot_canon): Likewise.
40170
7aab07e4
JM
401712012-08-03 Joseph Myers <joseph@codesourcery.com>
40172
40173 [BZ #13717]
40174 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40175 Change to 2.6.0 everywhere.
40176 * sysdeps/unix/sysv/linux/configure: Regenerated.
40177 * sysdeps/unix/sysv/linux/kernel-features.h
40178 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40179 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40180 kernel versions.
40181 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40182 (__ASSUME_FUTEX_REQUEUE): Remove.
40183 (__ASSUME_STATFS64): Define unconditionally.
40184 (__ASSUME_AT_SECURE): Likewise.
40185 (__ASSUME_CORRECT_SI_PID): Likewise.
40186 (__ASSUME_TGKILL): Define without depending on kernel version for
40187 i386.
40188 (__ASSUME_UTIMES): Likewise.
40189 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40190 kernel version.
40191 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40192 (__ASSUME_TMPFS_NAME): Likewise.
40193 * README: Update reference to Linux kernel versions.
40194
b67e9372
MP
401952012-08-02 Marek Polacek <polacek@redhat.com>
40196
1f529f7d 40197 [BZ# 14150]
b67e9372
MP
40198 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40199 libc_cv_asm_type_prefix with %.
40200 * configure: Regenerated.
d2441631
RM
40201 * include/libc-symbols.h: Remove comment about
40202 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
40203 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40204 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40205 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40206 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40207 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40208 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40209 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40210 * elf/tst-unique2mod1.c: Likewise.
40211 * elf/tst-unique1mod2.c: Likewise.
40212 * elf/tst-unique1mod1.c: Likewise.
40213 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40214 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40215 Replace ASM_TYPE_DIRECTIVE with .type.
40216 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40217 * sysdeps/i386/sysdep.h: Likewise.
40218 * sysdeps/x86_64/sysdep.h: Likewise.
40219 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
40220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40221 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 40222 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
40223 * sysdeps/powerpc/powerpc32/sysdep.h:
40224 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
40225 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40226 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40227 * sysdeps/i386/fpu/e_powf.S: Likewise.
40228 * sysdeps/i386/fpu/e_expl.S: Likewise.
40229 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40230 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40231 * sysdeps/i386/fpu/e_pow.S: Likewise.
40232 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40233 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40234 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40235 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40236 * sysdeps/i386/fpu/e_log2.S: Likewise.
40237 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40238 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40239 * sysdeps/i386/fpu/e_powl.S: Likewise.
40240 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40241 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40242 * sysdeps/i386/fpu/e_logl.S: Likewise.
40243 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40244 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40245 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40246 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40247 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40248 * sysdeps/i386/fpu/e_log.S: Likewise.
40249 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40250 * sysdeps/i386/fpu/e_logf.S: Likewise.
40251 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40252 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40253 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40254 * sysdeps/i386/fpu/e_log10.S: Likewise.
40255 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40256 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40257 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40258 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40259 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40260 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40261 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40262 * sysdeps/i386/i686/strtok.S: Likewise.
40263 * sysdeps/i386/i386-mcount.S: Likewise.
40264 * sysdeps/i386/strtok.S: Likewise.
40265 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40266 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40267 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40268 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40269 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40270 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40271 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40272 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40273 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40274 * sysdeps/x86_64/_mcount.S: Likewise.
40275 * sysdeps/x86_64/strtok.S: Likewise.
40276 * sysdeps/sh/_mcount.S: Likewise.
40277
2747bf9a
RM
402782012-08-01 Roland McGrath <roland@hack.frob.com>
40279
40280 * libio/iofopen.c: Include <fcntl.h>.
40281 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40282 (_IO_fopen64, fopen64): Define as aliases.
40283 * libio/iofopen64.c: Include <fcntl.h>.
40284 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40285 Conditionalize body on this.
40286 * sysdeps/wordsize-64/iofopen.c: File removed.
40287 * sysdeps/wordsize-64/iofopen64.c: File removed.
40288
3fb791b8
MP
402892012-08-01 Marek Polacek <polacek@redhat.com>
40290
40291 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40292 Use dlfcn directly instead of a variable.
40293 (binfmt-subdir): Do not define.
40294 (dlfcn): Likewise.
40295
a9f1039f
JM
402962012-08-01 Joseph Myers <joseph@codesourcery.com>
40297
23bddc06
JM
40298 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40299 Remove all definitions.
40300 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40301 <kernel-features.h>.
40302 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40303 (miss_F_GETOWN_EX): Remove all definitions.
40304 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40305 macro definition.
40306 [!__ASSUME_FCNTL64]: Remove conditional code.
40307 [__ASSUME_FCNTL64]: Make code unconditional.
40308 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40309 <kernel-features.h>.
40310 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40311 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40312 (lockf64) [__NR_fcntl64]: Make code unconditional.
40313 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40314
a9f1039f
JM
40315 * sysdeps/unix/sysv/linux/kernel-features.h
40316 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40317 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40318 Make code unconditional.
40319 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40320 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40322 [__NR_vfork]: Make code unconditional.
40323 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40324 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40326 [__NR_vfork]: Make code unconditional.
40327 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40328 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40329
09c0ee5f
RM
403302012-08-01 Roland McGrath <roland@hack.frob.com>
40331
48aec5b9
RM
40332 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40333 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40334
cd97c966
RM
40335 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40336 Define mkstemp64 as an alias.
3f55550c
RM
40337 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40338 Define mkstemps64 as an alias.
cd97c966
RM
40339 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40340 Define mkostemp64 as an alias.
b8625cfc
RM
40341 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40342 Define mkostemps64 as an alias.
cd97c966
RM
40343 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40344 Conditionalize body on this.
40345 * misc/mkostemp64.c: Likewise.
b8625cfc 40346 * misc/mkostemps64.c: Likewise.
3f55550c 40347 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40348 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40349 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40350 * sysdeps/wordsize-64/mkostemp.c: File removed.
40351 * sysdeps/wordsize-64/mkstemp.c: File removed.
40352 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40353 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40354 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40355 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40356
09c0ee5f
RM
40357 [BZ #14138]
40358 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40359 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40360 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40361 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40362
40363 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40364 compat_symbol macros from <shlib-compat.h> rather than the underlying
40365 default_symbol_version and symbol_version macros, so that DEFAULT
40366 lines in shlib-versions are respected.
40367 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40368
7e66ee51
FW
403692012-08-01 Florian Weimer <fweimer@redhat.com>
40370
40371 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40372 Declare with warn_unused_result.
40373 (setgid, setregid, setegid, setresgid): Likewise.
40374 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40375 Likewise.
40376 * WUR-REPORT: Remove set*id functions.
40377
d2a54255
PT
403782012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40379
40380 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40381
7ecdb005
RM
403822012-07-31 Roland McGrath <roland@hack.frob.com>
40383
b4180a5e 40384 [BZ #10191]
789bd351
RM
40385 * include/sys/socket.h (__libc_accept, __libc_accept4):
40386 Add attribute_hidden.
40387 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40388
40ce302d
RM
40389 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40390 use of PTR_MANGLE.
40391 * inet/getnetgrent_r.c (setup): Likewise.
40392
7ecdb005
RM
40393 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40394
e2eabb2c
DM
403952012-07-31 David S. Miller <davem@davemloft.net>
40396
40397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40398
d0419dbf
JM
403992012-07-31 Joseph Myers <joseph@codesourcery.com>
40400
40401 [BZ #13629]
40402 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40403 value between 1.0 and 2.0 and smaller part has absolute value less
40404 than 1.0.
40405 * math/s_clog10.c (__clog10): Likewise.
40406 * math/s_clog10f.c (__clog10f): Likewise.
40407 * math/s_clog10l.c (__clog10l): Likewise.
40408 * math/s_clogf.c (__clogf): Likewise.
40409 * math/s_clogl.c (__clogl): Likewise.
40410 * math/libm-test.inc (clog_test): Add more tests.
40411 (clog10_test): Likewise.
40412 * sysdeps/i386/fpu/libm-test-ulps: Update.
40413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40414
2bc13872
FW
404152012-07-31 Florian Weimer <fweimer@redhat.com>
40416
40417 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40418 Exit with zero in case no suitable GID is found, and write a
40419 message to standard error.
40420
bea9b193
RM
404212012-07-30 Roland McGrath <roland@hack.frob.com>
40422
40423 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40424 rather than to 1.
40425 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40426 (MAXPATHLEN): Removed.
40427 (NOGROUP, NODEV): New macros.
40428 (setbit, clrbit, isset, isclr): New macros.
40429 (howmany, roundup, powerof2): New macros.
40430 (DEV_BSIZE): New macro.
40431
40432 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40433 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40434
40435 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40436 definition on [!__NO_LONG_DOUBLE_MATH].
40437
40438 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40439 PTR_MANGLE and PTR_DEMANGLE.
40440
40441 * socket/accept4.c (accept4): Rename to __libc_accept4.
40442 Define accept4 as a weak alias.
40443
40444 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40445 on [_DIRENT_HAVE_D_TYPE].
40446 * io/ftw.c (ftw_dir): Likewise.
40447
40448 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40449
40450 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40451
40452 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40453 Use the BSD numbers rather than the arbitrary ones we had.
40454 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40455 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40456 (SIGXCPU, SIGXFSZ): New macros.
40457 (_NSIG): Now 32.
40458
40459 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40460 initializer on [_LIBC_REENTRANT].
40461
40462 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40463 definitions inside [_POSIX_MAPPED_FILES].
40464
40465 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40466
40467 * dirent/opendir.c: Include <fcntl.h>.
40468
40469 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40470 (__libc_getspecific): Likewise.
40471 (__libc_key_create): Likewise.
40472
40473 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40474 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40475 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40476 (tmpfile64): Define as alias.
40477 * sysdeps/wordsize-64/tmpfile.c: File removed.
40478 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40479 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40480 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40481
40482 * stdio-common/vfscanf.c: Include <stdbool.h>.
40483 * nss/makedb.c: Likewise.
40484 * stdio-common/_i18n_number.h: Likewise.
40485 * argp/argp-help.c: Likewise.
40486 * posix/wordexp.c: Likewise.
40487 * sysdeps/posix/spawni.c: Likewise.
40488 * nss/nss_files/files-initgroups.c: Likewise.
40489 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40490 * nss/nss_files/files-initgroups.c: Likewise.
40491 * nss/nss_db/db-netgrp.c: Likewise.
40492 * nss/nss_db/db-initgroups.c: Likewise.
40493 * io/fchmodat.c: Include <sys/stat.h>.
40494
40495 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40496 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40497
40498 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40499 [HAVE_MMAP].
40500
40501 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40502 Add multiple inclusion protection.
40503
e5abc686
DM
405042012-07-27 David S. Miller <davem@davemloft.net>
40505
40506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40507
815e6fa3
GB
405082012-07-27 Gary Benson <gbenson@redhat.com>
40509
40510 [BZ #14298]
40511 * elf/rtld.c: Include <stap-probe.h>.
40512 (dl_main): Added static probes "init_start" and "init_complete".
40513 * elf/dl-load.c: Include <stap-probe.h>.
40514 (lose): Take new parameter "nsid".
40515 Added static probe "map_failed".
40516 (_dl_map_object_from_fd): Pass namespace id to lose.
40517 Added static probe "map_start".
40518 (open_verify): Pass namespace id to lose.
40519 * elf/dl-open.c: Include <stap-probe.h>.
40520 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40521 and "reloc_complete".
40522 * elf/dl-close.c: Include <stap-probe.h>.
40523 (_dl_close_worker): Added static probes "unmap_start" and
40524 "unmap_complete".
40525 * elf/rtld-debugger-interface.txt: New file documenting the above.
40526
9f98c16c
RM
405272012-07-26 Roland McGrath <roland@hack.frob.com>
40528
40529 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40530 rather than a string variable.
40531 * sunrpc/rpc_main.c (h_output): Likewise.
40532 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40533
f3c22df3
PT
405342012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40535
40536 * inet/check_native.c: New file.
40537
3129cfc6
JM
405382012-07-26 Joseph Myers <joseph@codesourcery.com>
40539
da865e95
JM
40540 [BZ #13629]
40541 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40542 if larger part has absolute value 1.0.
40543 * math/s_clog10.c (__clog10): Likewise.
40544 * math/s_clog10f.c (__clog10f): Likewise.
40545 * math/s_clog10l.c (__clog10l): Likewise.
40546 * math/s_clogf.c (__clogf): Likewise.
40547 * math/s_clogl.c (__clogl): Likewise.
40548 * math/libm-test.inc (clog_test): Add more tests.
40549 (clog10_test): Likewise.
40550 * sysdeps/i386/fpu/libm-test-ulps: Update.
40551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40552
3129cfc6
JM
40553 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40554 (pltexit): Likewise.
40555 (La_regs): Likewise.
40556 (La_retval): Likewise.
40557 (int_retval): Likewise.
40558 Update #error for removed macros to refer only to definitions in
40559 tst-audit.h.
40560 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40561 macro.
40562 (pltexit): Likewise.
40563 (La_regs): Likewise.
40564 (La_retval): Likewise.
40565 (int_retval): Likewise.
40566 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40567 macro.
40568 (pltexit): Likewise.
40569 (La_regs): Likewise.
40570 (La_retval): Likewise.
40571 (int_retval): Likewise.
40572 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40573 macro.
40574 (pltexit): Likewise.
40575 (La_regs): Likewise.
40576 (La_retval): Likewise.
40577 (int_retval): Likewise.
40578 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40579 macro.
40580 (pltexit): Likewise.
40581 (La_regs): Likewise.
40582 (La_retval): Likewise.
40583 (int_retval): Likewise.
40584 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40585 macro.
40586 (pltexit): Likewise.
40587 (La_regs): Likewise.
40588 (La_retval): Likewise.
40589 (int_retval): Likewise.
40590 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40591 macro.
40592 (pltexit): Likewise.
40593 (La_regs): Likewise.
40594 (La_retval): Likewise.
40595 (int_retval): Likewise.
40596 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40597 macro definitions in tst-audit.h.
40598 * sysdeps/i386/tst-audit.h: New file.
40599 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40600 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40601 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40602 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40603 * sysdeps/sh/tst-audit.h: Likewise.
40604 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40605 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40606 * sysdeps/x86_64/tst-audit.h: Likewise.
40607
bfc07087
AJ
406082012-07-26 Andreas Jaeger <aj@suse.de>
40609
b1b2aaf8
AJ
40610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40611 ptrace.
40612
40613 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40614 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40615 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40616 PTRACE_O_MASK.
40617 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40618 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40619 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40620
bfc07087
AJ
40621 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40622 value.
40623
40624 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40625 _sigsys.
40626 (si_call_addr, si_syscall, si_arch): Define new macro.
40627 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40628 _sigsys.
40629 (si_call_addr, si_syscall, si_arch): Define new marcro.
40630 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40631 _sigsys.
40632 (si_call_addr, si_syscall, si_arch): Define new macro.
40633 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40634 _sigsys.
40635 (si_call_addr, si_syscall, si_arch): Define new macro.
40636
89b4b02f
JM
406372012-07-25 Joseph Myers <joseph@codesourcery.com>
40638
40639 [BZ #13717]
40640 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40641 Change to 2.4.21 where previously 2.4.1.
40642 * sysdeps/unix/sysv/linux/configure: Regenerated.
40643 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40644 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40645 Linux kernel version.
40646 (__ASSUME_STD_AUXV): Remove.
40647 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40648 kernel version.
40649 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40650 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40651 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40652 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40653 (__ASSUME_NETLINK_SUPPORT): Likewise.
40654 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40655 (__no_netlink_support): Remove conditional definition.
40656 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40657 Remove.
40658 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40659 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40660 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40661 (if_nameindex_ioctl): Remove.
40662 (if_nameindex_netlink): Do not handle __no_netlink_support.
40663 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40664 code.
40665 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40666 Remove conditional code.
40667 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40668 code.
40669 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40670 unconditional.
40671 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40672 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40673 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40674 Remove.
40675 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40676 [!__ASSUME_STD_AUXV]: Remove conditional code.
40677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40678 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40679 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40681 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40682 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40683 code.
40684 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40686 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40687 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40688 conditional code.
40689 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40691 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40692 code.
40693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40694 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40695 conditional code.
40696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40697 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40698 code unconditional.
40699 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40700 conditional code.
40701 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40702 unconditional.
40703 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40704 conditional code.
40705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40706 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40707 unconditional.
40708 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40709 conditional code.
40710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40711 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40712 code unconditional.
40713 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40714 conditional code.
40715 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40716 unconditional.
40717 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40718 conditional code.
40719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40720 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40721 code unconditional.
40722 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40723 conditional code.
40724 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40725 unconditional.
40726 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40727 conditional code.
40728
842a39cd
AS
407292012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40730
40731 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40732 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40733 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40734 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40735 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40736 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40737 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40738 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40739 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40740 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40741 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40742 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40743 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40744 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40745 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40746 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40747 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40748 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40749 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40751 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40752 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40753 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40754
84b3fd84
FW
407552012-07-25 Florian Weimer <fweimer@redhat.com>
40756
40757 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
40758 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40759 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40760 Introduce __libc_secure_getenv.
0c7936d5
FW
40761 * stdlib/Versions (2.17): Add secure_getenv
40762 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40763 * stdlib/secure-getenv.c: Rename __secure_getenv to
40764 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40765 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
40766 * stdlib/tst-secure-getenv.c: New.
40767 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
40768 * manual/startup.texi (Environment Access): Document
40769 secure_getenv.
84b3fd84
FW
40770 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40771 __libc_secure_getenv.
40772 * inet/ruserpass.c (ruserpass): Likewise.
40773 * malloc/mtrace.c (mtrace): Likewise.
40774 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 40775 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
40776 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40777 * sysdeps/posix/tempname.c: Likewise. Evaluate
40778 HAVE_SECURE_GETENV.
40779 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 40780 __secure_getenv to __libc_secure_getenv.
84b3fd84 40781 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
40782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40783 Likewise.
40784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40785 Likewise.
40786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40788 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 40793
56e49b71
JM
407942012-07-25 Joseph Myers <joseph@codesourcery.com>
40795
40796 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40797 (struct La_i86_retval): Likewise.
40798 (struct La_x86_64_regs): Likewise.
40799 (struct La_x86_64_retval): Likewise.
40800 (struct La_x32_regs): Likewise.
40801 (struct La_x32_retval): Likewise.
40802 (struct La_ppc32_regs): Likewise.
40803 (struct La_ppc32_retval): Likewise.
40804 (struct La_ppc64_regs): Likewise.
40805 (struct La_ppc64_retval): Likewise.
40806 (struct La_sh_regs): Likewise.
40807 (struct La_sh_retval): Likewise.
40808 (struct La_s390_32_regs): Likewise.
40809 (struct La_s390_32_retval): Likewise.
40810 (struct La_s390_64_regs): Likewise.
40811 (struct La_s390_64_retval): Likewise.
40812 (struct La_sparc32_regs): Likewise.
40813 (struct La_sparc32_retval): Likewise.
40814 (struct La_sparc64_regs): Likewise.
40815 (struct La_sparc64_retval): Likewise.
40816 (struct audit_ifaces): Remove architecture-specific pltenter and
40817 pltexit members.
40818 * sysdeps/i386/ldsodefs.h: New file.
40819 * sysdeps/powerpc/ldsodefs.h: Likewise.
40820 * sysdeps/s390/ldsodefs.h: Likewise.
40821 * sysdeps/sh/ldsodefs.h: Likewise.
40822 * sysdeps/sparc/ldsodefs.h: Likewise.
40823 * sysdeps/x86_64/ldsodefs.h: Likewise.
40824
354691b7
MP
408252012-07-25 Marek Polacek <polacek@redhat.com>
40826
40827 [BZ #6808]
40828 * math/libm-test.inc (yn_test): Add another test.
40829 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40830 to ERANGE when the result is +-Inf.
40831 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40832 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40833 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40834 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40835
bf9e2071
JM
408362012-07-24 Joseph Myers <joseph@codesourcery.com>
40837
40838 * conform/data/time.h-data (NULL): Use macro-constant. Require
40839 equal to 0.
40840 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40841 clock_t.
40842 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40843
57633811
TS
408442012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40845
40846 * configure.in <sysdeps resolving>: Correct printing
40847 Implies_before.
40848 * configure: Regenerate.
40849
c23c33b0
TS
408502012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40851
40852 * math/w_ilogb.c: Include <limits.h>.
40853 * math/w_ilogbl.c: Likewise.
40854
b5982523
JM
408552012-07-20 Joseph Myers <joseph@codesourcery.com>
40856
40857 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40858 va_copy. Document allowing for unavailable va_copy only as
40859 pre-C99 compatibility.
40860 * manual/string.texi (Copying and Concatenation): Use va_copy
40861 instead of __va_copy in concat example.
40862
ac4ea442
PT
408632012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40864
40865 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40866 (__sendto): Use create_address_port. Initialize APORT and deallocate
40867 it if not null.
40868
f98eafbd
PT
40869 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40870 with O_NOLINK passed to __file_name_lookup.
40871
898c7aab
PT
40872 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40873 with O_NOLINK passed to __file_name_lookup.
40874
0ced335a
PT
40875 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40876 negative N or less than NGIDS.
40877
b3404dbd
PT
40878 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40879 type to string_t. Set ERANGE as errno and return it if NAME is not big
40880 enough. Use memcpy instead of strncpy.
40881
0f48659e
JM
408822012-07-20 Joseph Myers <joseph@codesourcery.com>
40883
40884 * elf/Makefile (check-data): Remove.
40885 (localplt.data): New vpath directive.
40886 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40887 instead of $(check-data).
40888 * scripts/data/localplt-generic.data: Move to ...
40889 * sysdeps/generic/localplt.data: ... here.
40890 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40891 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40892 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40894 ... here.
40895 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40897 ... here.
40898 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40900 ... here.
40901 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40903 ... here.
40904 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40906 ... here.
40907 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40909 ... here.
40910
d37cbdaa
AZ
409112012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40912
40913 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40914 PPC32 and PPC64 files.
40915 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40916 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40917
46f85fc2
AK
409182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40919
40920 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40921 __makecontext_ret to ...
40922 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40923 ... here and call exit if uc_link is NULL. New file.
40924 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40925 __makecontext_ret.S.
40926 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40927 __makecontext_ret to ...
40928 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40929 ... here and call exit if uc_link is NULL. New file.
40930 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40931 __makecontext_ret.S.
40932
08f43f9b
AK
409332012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40934
40935 * elf/elf.h (R_390_IRELATIVE): New definition.
40936 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40937 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40938 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40939 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40940 (elf_machine_lazy_rel): Likewise.
40941 * sysdeps/s390/dl-irel.h: New file.
40942 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40943 * sysdeps/s390/s390-64/memset.S: New asm code.
40944 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40945 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40946 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40947 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40948 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40949 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40950 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40951 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40952 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40953 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40954 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40955 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40956 * sysdeps/s390/s390-32/memset.S: New asm code.
40957 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40958
3b05db33
MP
409592012-07-17 Marek Polacek <polacek@redhat.com>
40960
40961 [BZ #14349]
40962 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40963 * sysdeps/s390/s390-64/configure.in: Likewise.
40964 * sysdeps/sparc/configure.in: Likewise.
40965 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40966 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40967 * sysdeps/i386/configure.in: Likewise.
40968 * sysdeps/x86_64/configure.in: Likewise.
40969 * sysdeps/sh/configure.in: Likewise.
40970 * sysdeps/s390/s390-32/configure: Regenerated.
40971 * sysdeps/s390/s390-64/configure: Likewise.
40972 * sysdeps/x86_64/configure: Likewise.
40973 * sysdeps/sh/configure: Likewise.
40974 * sysdeps/powerpc/powerpc64/configure: Likewise.
40975 * sysdeps/powerpc/powerpc32/configure: Likewise.
40976 * sysdeps/sparc/configure: Likwise.
40977 * sysdeps/i386/configure: Likewise.
40978
a66877c6
MP
40979 * elf/dl-open.c: Comment fixes.
40980
cfc82fd8
JM
409812012-07-17 Joseph Myers <joseph@codesourcery.com>
40982
bd29910a
JM
40983 * Makefile [CXX] (check-data): Remove.
40984 [CXX] (c++-types.data): New vpath directive.
40985 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40986 vpath. Do not allow for C++ type data being missing.
40987 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40988 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40989 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40990 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40991 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40992 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40993 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40995 ... here.
40996 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40998 ... here.
40999 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41001 ... here.
41002 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41004 ... here.
41005 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41007 ... here.
41008 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41010 ... here.
41011 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41013 ... here.
41014 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41016
cfc82fd8
JM
41017 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41018 definitions to architecture-specific files.
41019 (TLS_IE): Likewise.
41020 (TLS_LD): Likewise.
41021 (TLS_GD): Likewise.
41022 * sysdeps/i386/tls-macros.h: New file.
41023 * sysdeps/powerpc/tls-macros.h: Likewise.
41024 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41025 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41026 * sysdeps/sh/tls-macros.h: Likewise.
41027 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41028 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41029 * sysdeps/x86_64/tls-macros.h: Likewise.
41030
f7db3170
TS
410312012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41032
07cbfc23
TS
41033 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41034 zero value for regular exit case.
41035
f7db3170
TS
41036 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41037 (__start_context): Preserve zero value for regular exit case.
41038
dc97c227
TS
410392012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41040 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41041
41042 * manual/setjmp.texi (setcontext): Clarify normal process
41043 termination when uc_link is the null pointer.
41044 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41045 exit call.
41046
d0cd7d02
AS
410472012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41048
41049 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41050 preprocessor. Test for each exception mask separately.
41051
dd318934
AJ
410522012-07-16 Andreas Jaeger <aj@suse.de>
41053
41054 * po/ru.po: Update from translation team.
41055
8048311a
JM
410562012-07-15 Joseph Myers <joseph@codesourcery.com>
41057
41058 * conform/data/string.h-data (NULL): Use macro-constant. Require
41059 equal to 0.
41060 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41061 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41062 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41063 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41064 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41065
b637d46e
AJ
410662012-07-13 Andreas Jaeger <aj@suse.de>
41067
41068 * po/fr.po: Update from translation team.
41069
541428fe
MP
410702012-07-12 Marek Polacek <polacek@redhat.com>
41071
41072 [BZ #14173]
41073 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41074 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41075 loop condition.
41076
ec332e94
JM
410772012-07-12 Joseph Myers <joseph@codesourcery.com>
41078
41079 [BZ #13717]
41080 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41081 Change to 2.4.1 where previously 2.4.0.
41082 * sysdeps/unix/sysv/linux/configure: Regenerated.
41083 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41084 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41085 version.
41086 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41087 (__ASSUME_AT_CLKTCK): Remove.
41088 (__ASSUME_AT_PAGESIZE): Likewise.
41089 (__ASSUME_AT_XID): Likewise.
41090 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41091 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41092 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41093 unconditionally.
41094 (HAVE_AUX_PAGESIZE): Likewise.
41095 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41096 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41097 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41098
7b6e99be
JB
410992012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41100
41101 [BZ #14307]
41102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41103 the temporary buffer used to invoke __gethostbyname2_r,
41104 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41105 host_data / struct gaih_addrtuple.
41106 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41107 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41108 header file nss/nsswitch.h.
41109 * nss/nsswitch.h (global scope): Add definition of implementation
41110 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41111 resolv/nss_dns/dns-host.c).
41112
608404eb
AJ
411132012-07-11 Andreas Jaeger <aj@suse.de>
41114
41115 * po/fr.po: Update from translation team.
41116
71220aca
AJ
41117 * po/sv.po: Update from translation team
41118 * po/fr.po: Another update from translation team.
41119
28cfe843
AZ
411202012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41121
41122 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41123 for subnormals or multiply small sinh result by itself.
41124 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41126
6b90f981
DM
411272012-07-11 David S. Miller <davem@davemloft.net>
41128
41129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41130
c6825772
AS
411312012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41132
41133 [BZ #14347]
41134 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41135 (INTERNAL_MARK): Shift it here.
41136
7b8e0d49
MP
411372012-07-10 Marek Polacek <polacek@redhat.com>
41138
41139 [BZ #14151]
41140 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41141 libc_cv_asm_global_directive with .globl.
41142 * configure: Regenerated.
41143 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41144 with .globl.
41145 * sysdeps/i386/configure: Regenerated.
41146 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41147 with .globl.
41148 * sysdeps/x86_64/configure: Regenerated.
41149 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41150 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41151 * elf/tst-unique2mod2.c: Likewise.
41152 * elf/tst-unique2mod1.c: Likewise.
41153 * elf/tst-unique1mod2.c: Likewise.
41154 * elf/tst-unique1mod1.c: Likewise.
41155 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41156 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41157 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41158 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41159 * sysdeps/mach/sysdep.h: Likewise.
41160 * sysdeps/i386/sysdep.h: Likewise.
41161 * sysdeps/i386/i386-mcount.S: Likewise.
41162 * sysdeps/x86_64/_mcount.S: Likewise.
41163 * sysdeps/x86_64/sysdep.h: Likewise.
41164 * sysdeps/sh/_mcount.S: Likewise.
41165 * sysdeps/sh/sysdep.h: Likewise.
41166 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41167 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41168 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41169 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41170 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41171 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41172 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41173 * locale/localeinfo.h: Likewise.
41174 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41175 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41176
6c55cda3
RM
411772012-07-09 Roland McGrath <roland@hack.frob.com>
41178
41179 [BZ #14336]
41180 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41181 system".
41182 * manual/message.texi (The Uniforum approach): Likewise.
41183 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41184 (glibc iconv Implementation): Likewise.
41185
638a572e
JM
411862012-07-09 Joseph Myers <joseph@codesourcery.com>
41187
41188 [BZ #14337]
41189 * math/s_clog.c (__clog): Avoid scaling a value down where that
41190 could result in underflow.
41191 * math/s_clog10.c (__clog10): Likewise.
41192 * math/s_clog10f.c (__clog10f): Likewise.
41193 * math/s_clog10l.c (__clog10l): Likewise.
41194 * math/s_clogf.c (__clogf): Likewise.
41195 * math/s_clogl.c (__clogl): Likewise.
41196 * math/libm-test.inc (clog_test): Add more tests.
41197 (clog10_test): Likewise.
41198 * sysdeps/i386/fpu/libm-test-ulps: Update.
41199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41200
261f4859
AS
412012012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41202
0abaf3e4
AS
41203 [BZ #14283]
41204 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41205 by 7 not 8 to examine high bit of fractional part.
41206
261f4859
AS
41207 [BZ #14042]
41208 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41209 for call to __mcount_internal.
41210 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41211 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41212 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41213
f17ac40d
JM
412142012-07-06 Joseph Myers <joseph@codesourcery.com>
41215
9ad63c23
JM
41216 [BZ #14154]
41217 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41218 approximation for values within 0x1p-13f of an odd multiple of
41219 pi/4.
41220 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41221 exception. Add more tests.
41222 * sysdeps/i386/fpu/libm-test-ulps: Update.
41223
f17ac40d
JM
41224 [BZ #6778]
41225 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41226 inputs and return -1 for them. Do not check for +Inf in case not
41227 reachable for +Inf.
41228 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41229 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41230 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41231 and return -1 for them. Do not check for +Inf in case not
41232 reachable for +Inf.
41233 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41234 define.
41235 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41236 and return -1 for them. Do not check for +Inf in case not
41237 reachable for +Inf.
41238 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41239 spurious underflow.
41240 * sysdeps/i386/fpu/libm-test-ulps: Update.
41241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41242
fb21f89b
MF
412432012-07-06 Mike Frysinger <vapier@gentoo.org>
41244
41245 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41246
cdfe2c5e
JM
412472012-07-05 Joseph Myers <joseph@codesourcery.com>
41248
41249 [BZ #14157]
41250 [BZ #14331]
41251 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41252 could result in spurious underflow. Scale down values above
41253 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41254 * math/s_csqrtf.c (__csqrtf): Likewise.
41255 * math/s_csqrtl.c (__csqrtl): Likewise.
41256 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41257 spurious underflow.
41258 * sysdeps/i386/fpu/libm-test-ulps: Update.
41259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41260
70d35b67
AS
412612012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41262
704bc459
AS
41263 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41264 xopen-msg.sed.
41265 * catgets/xopen-msg.awk: New file.
41266 * catgets/xopen-msg.sed: Removed.
41267
70d35b67
AS
41268 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41269 po2text.sed.
41270 * intl/po2test.awk: New file.
41271 * intl/po2test.sed: Removed.
41272
ca61cf32
JM
412732012-07-04 Joseph Myers <joseph@codesourcery.com>
41274
41275 [BZ #14328]
41276 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41277 or multiply small sinh result by itself.
41278 * math/s_ctanf.c (__ctanf): Likewise.
41279 * math/s_ctanh.c (__ctanh): Likewise.
41280 * math/s_ctanhf.c (__ctanhf): Likewise.
41281 * math/s_ctanhl.c (__ctanhl): Likewise.
41282 * math/s_ctanl.c (__ctanl): Likewise.
41283 * math/libm-test.inc (ctan_test_tonearest): New function.
41284 (ctan_test_towardzero): Likewise.
41285 (ctan_test_downward): Likewise.
41286 (ctan_test_upward): Likewise.
41287 (ctanh_test_tonearest): Likewise.
41288 (ctanh_test_towardzero): Likewise.
41289 (ctanh_test_downward): Likewise.
41290 (ctanh_test_upward): Likewise.
41291 (main): Call these new functions.
41292 * sysdeps/i386/fpu/libm-test-ulps: Update.
41293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41294
ca48a46a
MF
412952012-07-03 Mike Frysinger <vapier@gentoo.org>
41296
41297 * .gitignore: Delete /ports entry.
41298
9d63d37d
AJ
412992012-07-03 Andreas Jaeger <aj@suse.de>
41300
41301 * po/bg.po: Update from translation team.
41302 * po/cs.po: Likewise.
41303 * po/de.po: Likewise.
41304 * po/hr.po: Likewise.
41305 * po/nl.pl: Likewise.
41306 * po/pl.po: Likewise.
41307 * po/vi.po: Likewise.
41308
370ca3d2
JM
413092012-07-03 Joseph Myers <joseph@codesourcery.com>
41310
95f5a9a8
JM
41311 * Makeconfig [!+link] (+link-before-libc): New variable.
41312 [!+link] (+link-after-libc): Likewise.
41313 [!+link] (+link-tests): Likewise.
41314 [!+link] (+link): Define in terms of $(+link-before-libc) and
41315 $(+link-after-libc).
41316 [!+link-static] (+link-static-before-libc): New variable.
41317 [!+link-static] (+link-static-after-libc): Likewise.
41318 [!+link-static] (+link-static-tests): Likewise.
41319 [!+link-static] (+link-static): Define in terms of
41320 $(+link-static-before-libc) and $(+link-static-after-libc).
41321 [build-shared] (link-libc-before-gnulib): New variable.
41322 [build-shared] (link-libc-tests): Likewise.
41323 [build-shared] (link-libc): Define in terms of
41324 $(link-libc-before-gnulib).
41325 [!build-shared] (link-libc-tests): New variable.
41326 (link-libc-static-tests): New variable.
41327 [!gnulib] (gnulib-arch): New variable.
41328 [!gnulib] (gnulib-tests): Likewise.
41329 [!gnulib] (static-gnulib-arch): Likewise.
41330 [!gnulib] (static-gnulib-tests): Likewise.
41331 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41332 Define with "=" instead of ":=".
41333 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41334 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41335 * Rules (binaries-all-notests): New variable.
41336 (binaries-all-tests): Likewise.
41337 (binaries-static-notests): Likewise.
41338 (binaries-static-tests): Likewise.
41339 (binaries-all): Define using $(binaries-all-notests) and
41340 $(binaries-all-tests).
41341 (binaries-static): Define using $(binaries-static-notests) and
41342 $(binaries-static-tests).
41343 (binaries-shared-tests): New variable.
41344 (binaries-shared-notests): Likewise.
41345 (binaries-shared): Remove variable.
41346 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41347 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41348 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41349 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41350 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41351 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41352 * elf/Makefile (sln-modules): New variable.
41353 (extra-objs): Add $(sln-modules:=.o).
41354 (ldconfig-modules): Add static-stubs.
41355 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41356 * elf/static-stubs.c: New file.
41357
7a845b2c
JM
41358 [BZ #14283]
41359 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41360 by 7 not 8 to examine high bit of fractional part. Use volatile
41361 variables when splitting into final array of floats if
41362 __FLT_EVAL_METHOD__ != 0.
41363 * math/libm-test.inc (cos_test): Add another test.
41364 (sin_test): Likewise.
41365 * sysdeps/i386/fpu/libm-test-ulps: Update.
41366
e2283f38
JM
41367 [BZ #14273]
41368 * math/libm-test.inc (cosh_test): Add more tests.
41369
370ca3d2
JM
41370 * version.h (RELEASE): Set to "development".
41371 (VERSION): Set to "2.16.90".
41372
ee9247c3
CD
413732012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41374
41375 * NEWS: Update copyright. Remove last-updated date.
41376 Mention math library bug fixes and timezone data changes.
41377 * README: Mention GNU/Hurd, x32, and HPPA support status.
41378
4648c381
TS
413792012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41380
41381 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41382
aac78a43
AJ
413832012-06-27 Andreas Jaeger <aj@suse.de>
41384
41385 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41386
ed3dbfad
AJ
413872012-06-25 Andreas Jaeger <aj@suse.de>
41388
41389 * sysdeps/s390/fpu/libm-test-ulps: Update.
41390
4d0ee855
AS
413912012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41392 Thomas Schwinge <thomas@codesourcery.com>
41393
41394 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41395 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41396 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41397 fanotify_mark.
41398
af1bce34
TS
413992012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41400
a9fa33ba
TS
41401 * sysdeps/mach/start.c: Remove file.
41402 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41403 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41404 * sysdeps/sh/init-first.c: Likewise.
41405
58f902b8
TS
41406 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41407 registers for frame unwinding purposes, add CFI directives.
41408 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41409 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41410 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41411 Likewise.
41412
1518f58b
TS
41413 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41414 __fortify_fail returning.
41415 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41416
db9b5059
TS
41417 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41418 sysdeps/sh/____longjmp_chk.S.
41419 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41420 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41421 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41422 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41423
967705fe
TS
41424 * sysdeps/sh/abort-instr.h: New file.
41425 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41426 process in case exit returns.
41427
a9def8c4
TS
41428 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41429 initialize the GOT register before use.
41430
2a649725
TS
41431 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41432 calculation of ARGC > 4.
41433
af1bce34
TS
41434 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41435 meaningful names to some local labels.
41436
d230f50a
KK
414372012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41438 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41439
41440 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41441 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41442 (__arch_compare_and_exchange_val_16_acq): Likewise.
41443 (__arch_compare_and_exchange_val_32_acq): Likewise.
41444 (atomic_exchange_and_add): Fix gUSA sequence.
41445 (atomic_add): Likewise.
41446 (atomic_add_negative): Likewise.
41447 (atomic_add_zero): Likewise.
41448 (atomic_bit_test_set): Likewise.
41449
0479b305
AS
414502012-06-22 Andreas Schwab <schwab@redhat.com>
41451
41452 [BZ #13579]
41453 * include/link.h (struct link_map): Add l_free_initfini.
41454 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41455 l_initfini.
41456 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41457 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41458 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41459 set.
41460
0e3933b9
CD
414612012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41462
41463 * configure.in: Use AC_LANG_SOURCE.
41464 * configure: Regenerate.
41465
4248b1b1
RM
414662012-06-22 Roland McGrath <roland@hack.frob.com>
41467
41468 * configure.in (libc_cv_localstatedir): New substituted variable.
41469 * configure: Regenerated.
41470 * config.make.in (localstatedir): New variable, substituted from
41471 libc_cv_localstatedir.
41472 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41473 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41474 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41475 * sysdeps/gnu/configure: Regenerated.
41476
006dd861
JL
414772012-06-21 Jeff Law <law@redhat.com>
41478
41479 [BZ #14277]
41480 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41481 free. Simplify list management for _LIBC case.
41482
79662d42
JM
414832012-06-21 Joseph Myers <joseph@codesourcery.com>
41484
b7abb4bf
JM
41485 [BZ #14273]
41486 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41487 Clear sign bit of 64-bit integer value before comparing against
41488 overflow value.
41489
79662d42
JM
41490 * sysdeps/mach/configure: Regenerated.
41491
1f150908
L
414922012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41493
41494 [BZ #14278]
41495 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41496
28363bbf
JL
414972012-06-21 Jeff Law <law@redhat.com>
41498
41499 [BZ #13882]
41500 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41501 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 41502 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
41503 * elf/dl-open.c (dl_open_worker): Likewise.
41504
09615db4
CD
415052012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41506
41507 * scripts/list-sources.sh: Scan PORTS for translations.
41508 * po/libc.pot: Regenerated.
41509
2174c6dd
AJ
415102012-06-21 Andreas Jaeger <aj@suse.de>
41511
41512 [BZ #12194]
41513 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41514 warning.
41515 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41516 * bits/byteswap-16.h (__bswap_16): Likewise.
41517 * bits/byteswap.h (__bswap_constant_16): Likewise.
41518
3ee947b1
L
415192012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41520
41521 [BZ #14117]
a2f34833
L
41522 * sysdeps/i386/fpu_control.h: Removed.
41523 * sysdeps/x86_64/fpu_control.h: Moved to ...
41524 * sysdeps/x86/fpu_control.h: Here.
41525
3ee947b1
L
41526 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41527 (_FPU_SETCW): Likewise.
41528
ed1825f8
L
415292012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41530
25f1282a
L
41531 [BZ #14117]
41532 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41533 * sysdeps/x86/fpu/bits/mathinline.h: This.
41534 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41535
ed1825f8
L
41536 [BZ #14050]
41537 [BZ #14117]
41538 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41539 functions if __x86_64__ is defined.
41540
36d54b74
CLT
415412012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41542
41543 * string/endian.h: Add !__ASSEMBLER__ condition for including
41544 conversion interfaces.
41545
10285c21
JM
415462012-06-15 Joseph Myers <joseph@codesourcery.com>
41547
41548 [BZ #14241]
41549 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41550 of ABS(x) in calculating zero to negative powers other than odd
41551 integers.
41552 * math/libm-test.inc (pow_test): Add more tests.
41553
06c5abbd
AJ
415542012-06-15 Andreas Jaeger <aj@suse.de>
41555
41556 * manual/contrib.texi (Contributors): Update entry of Liubov
41557 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41558 Machado Filho.
41559
a3aeac40
CH
415602012-06-15 Cyril Hrubis <metan@ucw.cz>
41561
41562 * string/string.h: Add __wur to GNU version of strerror_r.
41563
49bdf4c1
L
415642012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41565
41566 [BZ #14229]
41567 * string/Makefile (tests): Add tst-strtok_r.
41568 * string/tst-strtok_r.c: New file.
41569 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41570 RAX_LP/RDX_LP on SAVE_PTR.
41571
834f9b8d
RM
415722012-06-14 Roland McGrath <roland@hack.frob.com>
41573
41574 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41575
75fa1921
JM
415762012-06-14 Joseph Myers <joseph@codesourcery.com>
41577
41578 * libm_test.inc (csqrt_test): Allow more spurious underflow
41579 exceptions.
41580 (j0_test): Likewise.
41581 (j1_test): Likewise.
41582 (y0_test): Likewise.
41583 (y1_test): Likewise.
41584
771766df
CD
415852012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41586
41587 * po/Makefile (libc.pot): Use UTF-8 charset.
41588
ceb9e56b
PP
415892012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41590
41591 [BZ #14210]
41592 Suppress sign-conversion warning from FD_SET.
41593 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41594 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41595 not unsigned long int.
41596 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41597
ddb28975
L
415982012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41599
41600 [BZ #14050]
41601 [BZ #14117]
41602 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41603 __extern_always_inline instead of __extern_inline.
41604 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41605 (__signbit): Likewise.
41606 (__signbitl): Support C++ namespace.
41607 (lrintf): New inline function.
41608 (lrint): Likewise.
41609 (llrintf): Likewise.
41610 (llrint): Likewise.
41611 (fmaxf): Likewise.
41612 (fmax): Likewise.
41613 (fminf): Likewise.
41614 (fmin): Likewise.
41615 (rint): Likewise.
41616 (rintf): Likewise.
41617 (ceil): Likewise.
41618 (ceilf): Likewise.
41619 (floor): Likewise.
41620 (floorf): Likewise.
41621 (nearbyint): Likewise.
41622 (nearbyintf): Likewise.
41623
d7b4fb26
TS
416242012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41625
41626 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41627 non-default versions.
41628
eb55f5c2
RM
416292012-06-11 Roland McGrath <roland@hack.frob.com>
41630
41631 [BZ #14218]
41632 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41633
366af02c
TS
416342012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41635
99ff6e5c
TS
41636 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41637 (FE_UPWARD, FE_DOWNWARD): Don't define.
41638 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41639 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41640
366af02c
TS
41641 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41642 reading it.
41643 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41644 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41645
793ea851
KK
416462012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41647
41648 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41649 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41650 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41651 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41652
a728a38f
L
416532012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41654
41655 [BZ #14117]
c08010c7
L
41656 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41657 * sysdeps/i386/fpu/Implies: New file.
41658 * sysdeps/x86_64/fpu/Implies: Likewise.
41659 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41660 * sysdeps/x86/fpu/bits/fenv.h: This.
41661
a728a38f
L
41662 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41663 __SSE_MATH__.
41664
6e230d11
SP
416652012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41666
41667 [BZ #14134]
41668 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41669 character 0xffff that matches the last element of the
41670 conversion table.
41671
1b671feb
AZ
416722012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41673
41674 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41675 fmodl commit.
41676
6043738b
AZ
416772012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41678
41679 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41680 values higher than 25.6283.
41681
34ae0b32
AZ
416822012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41683
41684 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41685 subnormal exponent extraction and add some __builtin_expect.
41686 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41687 Fix for subnormal mantissa calculation.
41688
1214ec8f
MF
416892012-06-04 Mike Frysinger <vapier@gentoo.org>
41690
41691 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41692 cpu2 is -1 and errno is not ENOSYS.
41693
f3d1f93c
L
416942012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41695
41696 [BZ #14117]
0e4a3cd7
L
41697 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41698 * sysdeps/x86/bits/string.h: This.
41699 * sysdeps/x86_64/bits/string.h: Removed.
41700
6704c645
L
41701 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41702 if not compiling for x86-64, but compiling for >= i486.
41703
48495318
L
41704 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41705 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41706
14adcbfc
L
41707 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41708 New macro from Linux kernel 3.4.0.
41709 (FP_XSTATE_MAGIC2): Likewise.
41710 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41711 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41712 (struct _fpx_sw_bytes): New struct.
41713 (struct _xsave_hdr): Likewise.
41714 (struct _ymmh_state): Likewise.
41715 (struct _xstate): Likewise.
41716
68e408ab
L
41717 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41718 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41719 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41720 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41721 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41722 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41723
f3d1f93c
L
41724 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41725 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41726 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41727 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41728 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41729 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41730
d9dc34cd
TMQMF
417312012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41732
41733 [BZ #13743]
41734 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41735 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41736 (sysdep_headers): Include sys/platform/ppc.h.
41737 * sysdeps/powerpc/test-gettimebase.c: Test for
41738 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41739 * manual/Makefile (appendices): Include platform.texi.
41740 * manual/contrib.texi (Contributors): Update @node pointers.
41741 * manual/maint.texi (Maintenance): Likewise.
41742 (Platform): New node.
41743 * manual/platform.texi: New file. Document the new features.
41744
4af3879c
SP
417452012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41746 Jakub Jelinek <jakub@redhat.com>
41747
41748 [BZ #14188]
41749 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41750 where __builtin_expect is unavailable.
41751
2fd6ff13
DM
417522012-06-03 David S. Miller <davem@davemloft.net>
41753
41754 * stdlib/longlong.h: Updated from GCC.
41755
173f7220
AS
417562012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41757
41758 [BZ #14042]
41759 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41760 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41761 __mcount_internal.
41762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41763 (GLIBC_2.16): Likewise.
41764
f34a1c6f
L
417652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41766
41767 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41768
88a4576f
JM
417692012-06-01 Joseph Myers <joseph@codesourcery.com>
41770
ea32bcdd
JM
41771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41772 (default-abi): New variable.
41773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41774 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41775 variable.
41776 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41777 Likewise.
41778 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41779 Likewise.
41780 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41781 Likewise.
41782
88a4576f
JM
41783 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41784 definition. Document in comment.
41785
402fe938
DM
417862012-06-01 David S. Miller <davem@davemloft.net>
41787
41788 * stdlib/longlong.h: Updated from GCC.
41789
3553723f
L
417902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41791
41792 [BZ #14117]
3bd872c4
L
41793 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41794 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41795 sys/debugreg.h sys/io.h here.
41796 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41797 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41798 sys/io.h.
41799 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41800 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41801 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41802 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41803 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41804 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41805
3553723f
L
41806 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41807 Define only if __x86_64__ is defined.
41808
4842e4fe
JM
418092012-06-01 Joseph Myers <joseph@codesourcery.com>
41810
c5bfe3d5
JM
41811 [BZ #14048]
41812 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41813 Use int64_t for variable i.
41814 * math/libm-test.inc (fmod_test): Add more tests.
41815
4842e4fe
JM
41816 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41817 z computation is not scheduled after fetestexcept.
41818 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41819 Use math_force_eval instead of asm to ensure calculation scheduled
41820 before exception test.
41821 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41822 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41823
efb73488
AJ
418242012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41825
41826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41827 computation is not scheduled after fetestexcept.
41828
29bcce7c
L
418292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41830
41831 [BZ #14117]
41832 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41833 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41834
73a68f94
AZ
418352012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41836
41837 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41838 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41839
67b6df78
L
418402012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41841
edf2933a 41842 [BZ #14117]
ebc64a18
L
41843 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41844 <bits/wordsize.h>.
41845 (__WCHAR_MIN): Support __WORDSIZE == 64.
41846 (__WCHAR_MAX): Likewise.
41847
edf2933a
L
41848 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41849 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41850
57c6cf40
L
41851 [BZ #14183]
41852 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41853 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41854
67b6df78 41855 [BZ #14117]
8eb6281e
L
41856 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41857 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41858
aac639f4
L
41859 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41860 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41861
67b6df78
L
41862 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41863 Defined to 1 if __x86_64__ isn't defined.
41864 (_STAT_VER_LINUX_OLD): New.
41865 (st_atime): Remove duplicate.
41866 (st_mtime): Likewise.
41867 (st_ctime): Likewise.
41868
1c2cfe81
DM
418692012-05-31 David S. Miller <davem@davemloft.net>
41870
41871 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41872 entries.
41873
5be8418c
AS
418742012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41875
e7725326
AS
41876 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41877 gen-libm-test.pl.
41878
5be8418c
AS
41879 [BZ #14132]
41880 * elf/dl-reloc.c: Include <_itoa.h>.
41881 (_dl_reloc_bad_type): Remove use of INTUSE.
41882 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41883 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41884 * stdio-common/psiginfo.c (psiginfo): Likewise.
41885 * stdio-common/psignal.c (psignal): Likewise.
41886 * string/strsignal.c (strsignal): Likewise.
41887 * include/signal.h (_sys_siglist): Declare hidden proto.
41888 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41889 INTVARDEF with libc_hidden_data_def.
41890 * stdio-common/itoa-udigits.c: Likewise.
41891 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41892 (_itoa_lower_digits_internal): Remove declaration.
41893 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41894 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41895 (_sys_sigabbrev_internal): Remove aliases.
41896 (_sys_siglist): Define hidden alias.
41897
507352f1
MT
418982012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41899
41900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41901 bits/sysctl.h.
41902
42bbb1c3
L
419032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41904
41905 [BZ #14117]
6bd784b6
L
41906 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41907 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41908
8bca20f0
L
41909 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41910 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41911 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41912 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41913 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41914 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41915
f9e890a9
L
41916 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41917 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41918 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41919
471101a1
L
41920 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41921 with __addr.
41922 (insw): Likewise.
41923 (insl): Likewise.
41924 (outsb): Likewise.
41925 (outsw): Likewise.
41926 (outsl): Likewise.
41927
6451c862
L
41928 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41929 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41930 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41931
a254b8c9
L
41932 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41933 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41934 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41935 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41936 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41937 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41938
b8dfdd92
L
41939 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41940 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41941
578cd270
L
41942 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41943 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41944
de662f5f
L
41945 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41946 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41947 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41948
25653439
L
41949 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41950 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41951 to ...
41952 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41953
6bad24a0
L
41954 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41955 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41956 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41957
42bbb1c3
L
41958 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41959 for x86-64.
41960 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41961
2d10d547
JM
419622012-05-31 Joseph Myers <joseph@codesourcery.com>
41963
41964 * math/math.h (M_El): Use two more decimal places.
41965 (M_LOG2El): Likewise.
41966 (M_LOG10El): Likewise.
41967 (M_LN2l): Likewise.
41968 (M_LN10l): Likewise.
41969 (M_PIl): Likewise.
41970 (M_PI_2l): Likewise.
41971 (M_PI_4l): Likewise.
41972 (M_1_PIl): Likewise.
41973 (M_2_PIl): Likewise.
41974 (M_2_SQRTPIl): Likewise.
41975 (M_SQRT2l): Likewise.
41976 (M_SQRT1_2l): Likewise.
41977
f230c29b
DM
419782012-05-31 David S. Miller <davem@davemloft.net>
41979
41980 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41981 values between float registers.
41982 * sysdeps/sparc/sparc64/memset.S: Likewise.
41983 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41984
fed806c3
MF
419852012-05-31 Mike Frysinger <vapier@gentoo.org>
41986
41987 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41988 -D_FORTIFY_SOURCE=1.
41989 (CPPFLAGS-tst-longjmp_chk.c): Define.
41990 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41991 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41992 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41993 CFLAGS-tst-wchar-h.c.
41994
30917259
MP
419952012-05-31 Marek Polacek <polacek@redhat.com>
41996
41997 [BZ #14132]
41998 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41999 __endmntent_internal): Remove declaration.
42000 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42001 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42002 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42003
1c58d5dc
DM
420042012-05-30 David S. Miller <davem@davemloft.net>
42005
42006 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42007 (___Q_simulate_exceptions): Use real FP ops rather than writing
42008 into the %fsr.
42009 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42010 Likewise.
42011
7dc00e0d
L
420122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42013
42014 [BZ #14117]
0bd53985
L
42015 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42016 * sysdeps/x86/bits/xtitypes.h: This.
42017
3a257e66
L
42018 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42019 * sysdeps/x86/bits/wordsize.h: This.
42020
62f62904
L
42021 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42022 * sysdeps/x86/bits/huge_vall.h: This.
42023
404fe9d9
L
42024 * sysdeps/i386/bits/select.h: Removed.
42025 * sysdeps/x86_64/bits/select.h: Renamed to ...
42026 * sysdeps/x86/bits/select.h: This.
42027
d48d0446
L
42028 * sysdeps/i386/bits/setjmp.h: Removed.
42029 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42030 * sysdeps/x86/bits/setjmp.h: This.
42031
7dc00e0d
L
42032 * sysdeps/i386/bits/mathdef.h: Removed.
42033 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42034 * sysdeps/x86/bits/mathdef.h: This.
42035
03277f8f
AS
420362012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42037
42038 [BZ #14132]
42039 * include/sys/socket.h (__connect_internal)
42040 (__libc_sa_len_internal): Remove declaration.
42041 (__connect, __libc_sa_len): Declare hidden_proto.
42042 (SA_LEN): Remove use of INTUSE.
42043 * socket/connect.c: Add libc_hidden_def.
42044 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42045 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42046 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42047 alias.
42048 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42049 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42050 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42051 of adding _internal alias.
42052
13764867
L
420532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42054
42055 [BZ #14117]
6bd97696
L
42056 * sysdeps/i386/bits/link.h: Removed.
42057 * sysdeps/i386/bits/linkmap.h: Likewise.
42058 * sysdeps/x86_64/bits/link.h: Renamed to ...
42059 * sysdeps/x86/bits/link.h: This.
42060 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42061 * sysdeps/x86/bits/linkmap.h: This.
42062
f726f0bb
L
42063 * sysdeps/i386/bits/endian.h: Removed.
42064 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42065 * sysdeps/x86/bits/endian.h: This.
42066
13764867
L
42067 * sysdeps/i386/bits/byteswap.h: Removed.
42068 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42069 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42070 * sysdeps/x86/bits/byteswap.h: This.
42071 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42072 * sysdeps/x86/bits/byteswap-16.h: This.
42073 * sysdeps/i386/Implies: Add x86.
42074 * sysdeps/x86_64/Implies: Likewise.
42075
ae251b0b
DM
420762012-05-30 David S. Miller <davem@davemloft.net>
42077
42078 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42079 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42080 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42081 (FP_TRAPPING_EXCEPTIONS): Define.
42082 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42083 (FP_TRAPPING_EXCEPTIONS): Define.
42084 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42085 subnormals only when inexact has been signalled or underflow
42086 exceptions are enabled.
42087 (_FP_PACK_CANONICAL): Likewise.
42088
d5c90867
L
420892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42090
42091 [BZ #14183]
42092 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42093 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42094
63f1549e
RH
420952012-05-30 Richard Henderson <rth@twiddle.net>
42096
8d8f2279
RH
42097 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42098 with #ifndef NOT_IN_libc.
42099
63f1549e
RH
42100 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42101 marked to avoid plt entry.
42102
0ab0291b
L
421032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42104
42105 [BZ #14112]
42106 * Makeconfig (default-abi): New macro.
42107 (abi-includes): Likewise.
42108 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42109 $(abi-$(default-abi)-lib-soname) for soname if defined.
42110 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42111 abi-variants.
42112 * Makefile (installed-stubs): Likewise.
42113 * include/stubs-biarch.h: Removed.
42114 * scripts/lib-names.awk: Only handle one library at a time.
42115 * scripts/soversions.awk: Remove WORDSIZE support.
42116 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42117 entries.
42118 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42119 Removed.
42120 (syscall-list-default-condition): Likewise.
42121 (syscall-list-default-condition): Likewise.
42122 (syscall-list-includes): Likewise.
42123 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42124 syscall-list-* with abi-*. Handle undefined abi-variants.
42125 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42126 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42127 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42128 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42129 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42130 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42131 Removed.
42132 (syscall-list-32-options): Likewise.
42133 (syscall-list-32-condition): Likewise.
42134 (syscall-list-64-options): Likewise.
42135 (syscall-list-64-condition): Likewise.
42136 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42137 macro.
42138 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42139 Renamed to ...
42140 (abi-*): This.
42141 (abi-64-ld-soname): New macro.
42142 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42143 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42144 Renamed to ...
42145 (abi-*): This.
42146 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42147 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42148
4da0431d
JM
421492012-05-30 Joseph Myers <joseph@codesourcery.com>
42150
3a85279c
JM
42151 * sysdeps/unix/sysv/linux/kernel-features.h
42152 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42153 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42154 include <kernel-features.h>.
42155 [!__NR_ftruncate64]: Remove conditional code.
42156 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42157 [__NR_ftruncate64]: Make code unconditional.
42158 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42159 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42160 include <kernel-features.h>.
42161 [!__NR_ftruncate64]: Remove conditional code.
42162 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42163 [__NR_ftruncate64]: Make code unconditional.
42164 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42166 include <kernel-features.h>.
42167 [!__NR_ftruncate64]: Remove conditional code.
42168 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42169 [__NR_ftruncate64]: Make code unconditional.
42170 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42172 include <kernel-features.h>.
42173 [!__NR_ftruncate64]: Remove conditional code.
42174 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42175 [__NR_ftruncate64]: Make code unconditional.
42176 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42177
4da0431d
JM
42178 * configure.in (libc_cv_fpie): Weaken to a compile test using
42179 LIBC_TRY_CC_OPTION.
42180 * configure: Regenerated.
42181
11ef492c
AK
421822012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42183
42184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42188 Refreshed.
42189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42195 Refreshed.
42196
d66ef399
DM
421972012-05-27 David S. Miller <davem@davemloft.net>
42198
42199 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42200 (___Q_zero): New.
42201 (__Q_simulate_exceptions): Return void. Change to simulate
42202 exceptions by writing into the %fsr.
42203 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42204 (__Qp_handle_exceptions): Likewise.
42205 (numbers): Delete.
42206 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42207 __Qp_handle_exceptions.
42208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42209 __Qp_handle_exceptions.
42210 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42211 as unused and give dummy FP_RND_NEAREST initializer.
42212 (FP_INHIBIT_RESULTS): Define.
42213 (___Q_simulate_exceptions): Update declaration.
42214 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42215 formatting.
42216 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42217 as unused and give dummy FP_RND_NEAREST initializer.
42218 (__Qp_handle_exceptions): Update declaration.
42219 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42220 formatting.
42221
04fb54b5
TS
422222012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42223
42224 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42225 the temporary FPU control word.
42226 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42227 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42228 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42229 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42230 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42231 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42232 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42233 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42234 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42235 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42236 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42237
3f99608f
KK
422382012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42239
42240 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42241 fields.
42242
65a4de4e
CLT
422432012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42244
42245 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42246 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42247 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42248 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42249 Likewise.
42250 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42251 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42252 Likewise.
42253
15749d40
UD
422542012-05-27 Ulrich Drepper <drepper@gmail.com>
42255
42256 * po/h.po: Update from translation team.
42257
25dbcb27
AS
422582012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42259
3d3f8e55
AS
42260 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42261
25dbcb27
AS
42262 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42263 handling of denormals.
42264 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42265 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42266 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42267 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42268 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42269 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42270 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42271 Likewise.
42272
7ad47a80 422732012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42274
42275 [BZ #14152]
42276 * math/libm-test.inc (fma_test): Don't always expect underflow
42277 exception.
42278
9c6ea9fa
SP
422792012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42280
42281 [BZ #12416]
42282 * elf/tst-execstack.c: Include stackinfo.h.
42283 (do_test): Adjust test case to ensure that pthread_getattr_np
42284 behaviour remains the same after marking stack executable.
42285
a8239222
JM
422862012-05-25 Joseph Myers <joseph@codesourcery.com>
42287
42288 * sysdeps/unix/sysv/linux/kernel-features.h
42289 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42290 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42291 kernel-features.h.
42292 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42293 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42294 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42295 kernel-features.h.
42296 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42297 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42298
918b5606
L
422992012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42300
42301 * configure.in: Define the default includes to being none.
42302 * configure: Regenerated.
42303
3a097cc7
RM
423042012-05-25 Roland McGrath <roland@hack.frob.com>
42305
8422c9a5
RM
42306 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42307 * sysdeps/x86_64/setjmp.S: Likewise.
42308 * sysdeps/i386/bsd-setjmp.S: Likewise.
42309 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42310 * sysdeps/i386/setjmp.S: Likewise.
42311 * sysdeps/i386/__longjmp.S: Likewise.
42312 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42313 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42314
3a097cc7
RM
42315 * include/stap-probe.h: New file.
42316 * configure.in: Handle --enable-systemtap.
42317 * configure: Regenerated.
42318 * config.h.in (USE_STAP_PROBE): New #undef.
42319 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42320 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42321 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42322
21708942
JM
423232012-05-25 Joseph Myers <joseph@codesourcery.com>
42324
42325 [BZ #13717]
42326 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42327 to 2.4.0 where earlier.
42328 * sysdeps/unix/sysv/linux/configure: Regenerated.
42329 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42330 <kernel-features.h>.
42331 [__ASSUME_32BITUIDS]: Make code unconditional.
42332 [!__ASSUME_32BITUIDS]: Remove conditional code.
42333 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42334 <kernel-features.h>.
42335 [__ASSUME_32BITUIDS]: Make code unconditional.
42336 [!__ASSUME_32BITUIDS]: Remove conditional code.
42337 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42338 [__ASSUME_32BITUIDS]: Make code unconditional.
42339 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42340 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42341 <kernel-features.h>.
42342 [__ASSUME_32BITUIDS]: Make code unconditional.
42343 [!__ASSUME_32BITUIDS]: Remove conditional code.
42344 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42345 <kernel-features.h>.
42346 [__ASSUME_32BITUIDS]: Make code unconditional.
42347 [!__ASSUME_32BITUIDS]: Remove conditional code.
42348 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42349 <kernel-features.h>.
42350 [__ASSUME_32BITUIDS]: Make code unconditional.
42351 [!__ASSUME_32BITUIDS]: Remove conditional code.
42352 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
42381 <kernel-features.h>.
42382 [__NR_setresgid] (__setresgid): Do not declare.
42383 [__ASSUME_32BITUIDS]: Make code unconditional.
42384 [!__ASSUME_32BITUIDS]: Remove conditional code.
42385 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42386 <kernel-features.h>.
42387 [__NR_setresuid] (__setresuid): Do not declare.
42388 [__ASSUME_32BITUIDS]: Make code unconditional.
42389 [!__ASSUME_32BITUIDS]: Remove conditional code.
42390 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42391 <kernel-features.h>.
42392 [__ASSUME_32BITUIDS]: Make code unconditional.
42393 [!__ASSUME_32BITUIDS]: Remove conditional code.
42394 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42395 <kernel-features.h>.
42396 [__ASSUME_32BITUIDS]: Make code unconditional.
42397 [!__ASSUME_32BITUIDS]: Remove conditional code.
42398 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42399 <kernel-features.h>.
42400 [__ASSUME_32BITUIDS]: Make code unconditional.
42401 [!__ASSUME_32BITUIDS]: Remove conditional code.
42402 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42403 <kernel-features.h>.
42404 [__ASSUME_32BITUIDS]: Make code unconditional.
42405 [!__ASSUME_32BITUIDS]: Remove conditional code.
42406 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42407 <kernel-features.h>.
42408 [__ASSUME_32BITUIDS]: Make code unconditional.
42409 [!__ASSUME_32BITUIDS]: Remove conditional code.
42410 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42411 <kernel-features.h>.
42412 [__ASSUME_32BITUIDS]: Make code unconditional.
42413 [!__ASSUME_32BITUIDS]: Remove conditional code.
42414 * sysdeps/unix/sysv/linux/i386/setresuid.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/i386/setreuid.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/i386/setuid.c: Do not include
42423 <kernel-features.h>.
42424 [__ASSUME_32BITUIDS]: Make code unconditional.
42425 [!__ASSUME_32BITUIDS]: Remove conditional code.
42426 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42427 <kernel-features.h>.
42428 [__ASSUME_32BITUIDS]: Make code unconditional.
42429 [!__ASSUME_32BITUIDS]: Remove conditional code.
42430 * sysdeps/unix/sysv/linux/kernel-features.h
42431 (__ASSUME_SETRESUID_SYSCALL): Remove.
42432 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42433 (__ASSUME_32BITUIDS): Likewise.
42434 (__ASSUME_LDT_WORKS): Likewise.
42435 (__ASSUME_O_DIRECTORY): Likewise.
42436 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42437 architecture but not kernel version.
42438 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42439 (__ASSUME_MMAP2_SYSCALL): Likewise.
42440 (__ASSUME_STAT64_SYSCALL): Likewise.
42441 (__ASSUME_IPC64): Likewise.
42442 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42443 <kernel-features.h>.
42444 [__ASSUME_32BITUIDS]: Make code unconditional.
42445 [!__ASSUME_32BITUIDS]: Remove conditional code.
42446 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42447 <kernel-features.h>.
42448 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42449 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42450 132096]: Remove conditional code.
42451 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42452 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42453 <kernel-features.h>.
42454 [__ASSUME_32BITUIDS]: Make code unconditional.
42455 [!__ASSUME_32BITUIDS]: Remove conditional code.
42456 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42457 <kernel-features.h>.
42458 [__ASSUME_32BITUIDS]: Make code unconditional.
42459 [!__ASSUME_32BITUIDS]: Remove conditional code.
42460 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42461 <kernel-features.h>.
42462 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42463 unconditional.
42464 (__setresgid): Do not declare.
42465 [__ASSUME_32BITUIDS]: Make code unconditional.
42466 [!__ASSUME_32BITUIDS]: Remove conditional code.
42467 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42468 <kernel-features.h>.
42469 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42470 unconditional.
42471 (__setresuid): Do not declare.
42472 [__ASSUME_32BITUIDS]: Make code unconditional.
42473 [!__ASSUME_32BITUIDS]: Remove conditional code.
42474 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42475 <kernel-features.h>.
42476 [__ASSUME_32BITUIDS]: Make code unconditional.
42477 [!__ASSUME_32BITUIDS]: Remove conditional code.
42478 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42479 <kernel-features.h>.
42480 [__ASSUME_32BITUIDS]: Make code unconditional.
42481 [!__ASSUME_32BITUIDS]: Remove conditional code.
42482
a386f1cc
RH
424832012-05-25 Richard Henderson <rth@twiddle.net>
42484
42485 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42486 dl_hwcap to ifunc resolver.
42487 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42488 elf_ifunc_invoke.
42489 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42490 dl_hwcap to ifunc resolver.
42491 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42492
b6550497
JM
424932012-05-24 Joseph Myers <joseph@codesourcery.com>
42494
42495 [BZ #14153]
42496 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42497 for |x| <= 2**-26, not 2**-57.
42498 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42499 exception.
42500
b0bc23a1
JL
425012012-05-24 Jeff Law <law@redhat.com>
42502
42503 * stdio-common/Makefile (tests): Add bug25.
42504 * stdio-common/bug25.c: New test.
42505
347c92e9
L
425062012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42507
42508 [BZ #13576]
42509 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42510 multiple of MALLOC_ALIGNMENT in size.
42511 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42512
6bcc8b3f
JM
425132012-05-24 Joseph Myers <joseph@codesourcery.com>
42514
42515 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42516 Require >= 256.
42517 (FILENAME_MAX): Use macro-int-constant.
42518 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42519 (_IOFBF): Use macro-int-constant.
42520 (_IOLBF): Likewise.
42521 (_IONBF): Likewise.
42522 (SEEK_CUR): Likewise.
42523 (SEEK_END): Likewise.
42524 (SEEK_SET): Likewise.
42525 (TMP_MAX): Likewise.
42526 (EOF): Use macro-int-constant. Require < 0.
42527 (NULL): Use macro-constant. Require == 0.
42528 (stdin): Require type to be FILE *.
42529 (stdout): Likewise.
42530 (stderr): Likewise.
42531 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42532 macro-int-constant.
42533 (EXIT_SUCCESS): Likewise.
42534 (NULL): Use macro-constant. Require == 0.
42535 (RAND_MAX): Use macro-int-constant.
42536 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42537 [C99-based standards] (strtof): Require function.
42538 [C99-based standards] (strtold): Likewise.
42539 [C99-based standards] (strtoll): Likewise.
42540 [C99-based standards] (strtoull): Likewise.
42541 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42542 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42543 [ISO || ISO99 || ISO11] (math.h): Likewise.
42544 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42545 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42546 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42547
d18ea0c5
AS
425482012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42549
42550 [BZ #14132]
56d25bb8
AS
42551 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42552 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42553 * intl/dgettext.c (DCGETTEXT): Likewise.
42554 * intl/gettext.c (DCGETTEXT): Likewise.
42555 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42556 * posix/regex_internal.h (gettext): Likewise.
42557 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42558 Remove declaration.
42559 * include/argz.h (__argz_count_internal)
42560 (__argz_stringify_internal): Remove declaration.
42561 (__argz_count, __argz_stringify): Declare hidden proto.
42562 * intl/dcgettext.c: Remove use of INTDEF.
42563 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42564 * string/argz-stringify.c: Likewise.
42565 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42566 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42567 Declare hidden proto.
d18ea0c5
AS
42568 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42569 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42570 Declare hidden proto.
42571 * include/stdio.h (__asprintf_internal): Don't declare.
42572 (__asprintf): Don't define as macro. Declare hidden proto.
42573 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42574 (__fsetlocking): Declare hidden proto.
42575 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42576 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42577 hidden proto.
42578 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42579 (_IO_setlinebuf): Remove use of INTUSE.
42580 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42581 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42582 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42583 Remove declaration.
42584 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42585 (_IO_do_flush): Remove use of INTUSE.
42586 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42587 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42588 (_IO_adjust_column, _IO_least_wmarker)
42589 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42590 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42591 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42592 (_IO_default_doallocate, _IO_wdefault_doallocate)
42593 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42594 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42595 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42596 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42597 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42598 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42599 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42600 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42601 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42602 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42603 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42604 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42605 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42606 proto.
42607 (_IO_flush_all_internal, _IO_adjust_column_internal)
42608 (_IO_default_uflow_internal, _IO_default_finish_internal)
42609 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42610 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42611 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42612 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42613 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42614 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42615 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42616 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42617 (_IO_file_close_internal, _IO_file_close_it_internal)
42618 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42619 (_IO_file_init_internal, _IO_file_attach_internal)
42620 (_IO_file_fopen_internal, _IO_file_read_internal)
42621 (_IO_file_sync_internal, _IO_file_seek_internal)
42622 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42623 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42624 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42625 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42626 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42627 (_IO_list_all_internal, _IO_link_in_internal)
42628 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42629 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42630 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42631 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42632 (_IO_do_write_internal, _IO_padn_internal)
42633 (_IO_getline_info_internal, _IO_getline_internal)
42634 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42635 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42636 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42637 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42638 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42639 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42640 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42641 with libc_hidden_ver, remove use of INTUSE.
42642 * libio/genops.c: Likewise.
42643 * libio/freopen.c: Likewise.
42644 * libio/freopen64.c: Likewise.
42645 * libio/iofclose.c: Likewise.
42646 * libio/iofdopen.c: Likewise.
42647 * libio/iofflush.c: Likewise.
42648 * libio/iofflush_u.c: Likewise.
42649 * libio/iofgets.c: Likewise.
42650 * libio/iofgets_u.c: Likewise.
42651 * libio/iofopen.c: Likewise.
42652 * libio/iofopncook.c: Likewise.
42653 * libio/iofread.c: Likewise.
42654 * libio/iofread_u.c: Likewise.
42655 * libio/ioftell.c: Likewise.
42656 * libio/iofwrite.c: Likewise.
42657 * libio/iogetline.c: Likewise.
42658 * libio/iogets.c: Likewise.
42659 * libio/iogetwline.c: Likewise.
42660 * libio/iopadn.c: Likewise.
42661 * libio/iopopen.c: Likewise.
42662 * libio/ioseekoff.c: Likewise.
42663 * libio/ioseekpos.c: Likewise.
42664 * libio/iosetbuffer.c: Likewise.
42665 * libio/iosetvbuf.c: Likewise.
42666 * libio/ioungetc.c: Likewise.
42667 * libio/ioungetwc.c: Likewise.
42668 * libio/iovdprintf.c: Likewise.
42669 * libio/iovsprintf.c: Likewise.
42670 * libio/iovsscanf.c: Likewise.
42671 * libio/memstream.c: Likewise.
42672 * libio/obprintf.c: Likewise.
42673 * libio/oldfileops.c: Likewise.
42674 * libio/oldiofclose.c: Likewise.
42675 * libio/oldiofdopen.c: Likewise.
42676 * libio/oldiofopen.c: Likewise.
42677 * libio/oldiopopen.c: Likewise.
42678 * libio/oldstdfiles.c: Likewise.
42679 * libio/putc.c: Likewise.
42680 * libio/setbuf.c: Likewise.
42681 * libio/setlinebuf.c: Likewise.
42682 * libio/stdfiles.c: Likewise.
42683 * libio/strops.c: Likewise.
42684 * libio/vasprintf.c: Likewise.
42685 * libio/vscanf.c: Likewise.
42686 * libio/vsnprintf.c: Likewise.
42687 * libio/vswprintf.c: Likewise.
42688 * libio/wfiledoalloc.c: Likewise.
42689 * libio/wfileops.c: Likewise.
42690 * libio/wgenops.c: Likewise.
42691 * libio/wmemstream.c: Likewise.
42692 * libio/wstrops.c: Likewise.
42693 * libio/__fpurge.c: Likewise.
42694 * libio/__fsetlocking.c: Likewise.
42695 * assert/assert.c: Likewise.
42696 * debug/fgets_chk.c: Likewise.
42697 * debug/fgets_u_chk.c: Likewise.
42698 * debug/fread_chk.c: Likewise.
42699 * debug/fread_u_chk.c: Likewise.
42700 * debug/gets_chk.c: Likewise.
42701 * debug/obprintf_chk.c: Likewise.
42702 * debug/vasprintf_chk.c: Likewise.
42703 * debug/vdprintf_chk.c: Likewise.
42704 * debug/vsnprintf_chk.c: Likewise.
42705 * debug/vsprintf_chk.c: Likewise.
42706 * malloc/mtrace.c: Likewise.
42707 * misc/error.c: Likewise.
42708 * misc/syslog.c: Likewise.
42709 * stdio-common/asprintf.c: Likewise.
42710 * stdio-common/fxprintf.c: Likewise.
42711 * stdio-common/getw.c: Likewise.
42712 * stdio-common/isoc99_fscanf.c: Likewise.
42713 * stdio-common/isoc99_scanf.c: Likewise.
42714 * stdio-common/isoc99_vfscanf.c: Likewise.
42715 * stdio-common/isoc99_vscanf.c: Likewise.
42716 * stdio-common/isoc99_vsscanf.c: Likewise.
42717 * stdio-common/printf-prs.c: Likewise.
42718 * stdio-common/printf_fp.c: Likewise.
42719 * stdio-common/printf_fphex.c: Likewise.
42720 * stdio-common/printf_size.c: Likewise.
42721 * stdio-common/putw.c: Likewise.
42722 * stdio-common/scanf.c: Likewise.
42723 * stdio-common/sprintf.c: Likewise.
42724 * stdio-common/tmpfile.c: Likewise.
42725 * stdio-common/vfprintf.c: Likewise.
42726 * stdio-common/vfscanf.c: Likewise.
42727 * stdlib/strfmon_l.c: Likewise.
42728 * sunrpc/openchild.c: Likewise.
42729 * sunrpc/xdr_stdio.c: Likewise.
42730 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42731 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42732
d6c33fda
RM
427332012-05-24 Roland McGrath <roland@hack.frob.com>
42734
c1487492
RM
42735 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42736
42737 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42738 in the third column, to generate for the shared library an IFUNC
42739 that uses _dl_vdso_vsym.
42740 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42741 * Makeconfig (object-suffixes-noshared): New variable.
42742
42743 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42744 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42745 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42746 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42747
d6c33fda
RM
42748 [BZ #14132]
42749 * include/sys/time.h (__gettimeofday): Remove macro.
42750 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42751 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42752 Remove INTDEF.
42753 (__gettimeofday): Add libc_hidden_def.
42754 (gettimeofday): Add libc_hidden_weak.
42755 * sysdeps/mach/gettimeofday.c: Likewise.
42756 * sysdeps/posix/gettimeofday.c: Likewise.
42757 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42758 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42759 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42760 (__gettimeofday_internal): Remove strong_alias.
42761 (__gettimeofday): Add libc_hidden_def.
42762 (gettimeofday): Add libc_hidden_weak.
42763 * sysdeps/unix/syscalls.list (gettimeofday):
42764 Remove __gettimeofday_internal alias.
42765
b5a2bbe6
L
427662012-05-24 Daniel Jacobowitz <drow@false.org>
42767 H.J. Lu <hongjiu.lu@intel.com>
42768
42769 [BZ #12495]
42770 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42771 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42772 (largebin_index_32_big): New.
42773 (largebin_index): Use it for 16-byte alignment.
42774 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42775 correction with front_misalign.
42776
cfba4fda
L
427772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42778
7f907421
L
42779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42781 Likewise.
42782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42783 Likewise.
42784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42785 Likewise.
42786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42787 Likewise.
42788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42789 Likewise.
42790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42791 Likewise.
42792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42793 Likewise.
42794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42795 Likewise.
42796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42797 Likewise.
42798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42799 Likewise.
42800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42801 Likewise.
42802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42803 Likewise.
42804
cfba4fda
L
42805 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42806 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42807
80bad0cc
JM
428082012-05-24 Joseph Myers <joseph@codesourcery.com>
42809
7a25eb06
JM
42810 [BZ #10846]
42811 [BZ #14036]
42812 * math/libm-test.inc (exp_test): Add test from bug 14036.
42813 (pow_test): Add test from bug 10846.
42814
795405f9
JM
42815 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42816 and other flags.
42817 (special_function): Do not include flags in test name.
42818 (parse_args): Likewise.
42819 * sysdeps/i386/fpu/libm-test-ulps: Update.
42820 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42821 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42822 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42824
80bad0cc
JM
42825 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42826 exceptions.
42827 * math/libm-test.inc ("Philosophy"): Update comment about
42828 exception testing.
42829 (UNDERFLOW_EXCEPTION): New macro.
42830 (UNDERFLOW_EXCEPTION_OK): Likewise.
42831 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42832 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42833 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42834 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42835 (INVALID_EXCEPTION_OK): Update value.
42836 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42837 (OVERFLOW_EXCEPTION_OK): Likewise.
42838 (IGNORE_ZERO_INF_SIGN): Likewise.
42839 (test_exceptions): Handle underflow exceptions.
42840 (acos_test): Update for underflow exception expectations.
42841 (cexp_test): Likewise.
42842 (clog_test): Likewise.
42843 (clog10_test): Likewise.
42844 (csqrt_test): Likewise.
42845 (ctan_test): Likewise.
42846 (ctanh_test): Likewise.
42847 (exp_test): Likewise.
42848 (exp10_test): Likewise.
42849 (exp2_test): Likewise.
42850 (expm1_test): Likewise.
42851 (fma_test): Likewise.
42852 (j0_test): Likewise.
42853 (jn_test): Likewise.
42854 (nexttoward_test): Likewise.
42855 (pow_test): Likewise.
42856 (scalbn_test): Likewise.
42857 (scalbln_test): Likewise.
42858 (tan_test): Likewise.
42859 (y1_test): Likewise.
42860 * sysdeps/i386/fpu/libm-test-ulps: Update.
42861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42862
9e0e3d0b
DM
428632012-05-23 David S. Miller <davem@davemloft.net>
42864
42865 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42866 (__libc_sigaction): Remove unused local variables.
42867
ccd0a08f
L
428682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42869
42870 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42871
62bdf9a6
PE
428722012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42873
f8591f80
PE
42874 mktime: avoid signed integer overflow
42875 * time/mktime.c (__mktime_internal): Do not mishandle the case
42876 where diff == INT_MIN.
42877
94c7d826
PE
42878 mktime: simplify computation of average
42879 * time/mktime.c (ranged_convert): Use new time_t_avg function
42880 instead of rolling our own (probably-slower) code.
42881
ce73d683
PE
42882 mktime: do not assume signed right shift propagates sign bit
42883 * time/mktime.c (isdst_differ): New static function.
42884 (__mktime_internal): No need to normalize tm_isdst now.
42885 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42886 tm_isdst values.
42887
72a22e59
PE
42888 mktime: merge another wrapv change from gnulib
42889 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42890 from some compilers.
42891
68605433
PE
42892 mktime: remove incorrect attempt at unusual arithmetics
42893 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42894 The code didn't really work on such machines anyway.
42895 (TYPE_MINIMUM): Assume two's complement.
42896 (twos_complement_arithmetic): Verify that long_int and time_t
42897 are two's complement (or unsigned, in the latter case).
42898
03cf7fe3
PE
42899 mktime: check signed shifts on long_int and time_t, too
42900 * time/mktime.c (SHR): Check that shifts work as desired
42901 on the types long_int and time_t too, as SHR is used on
42902 such types.
42903
f04dfbc2
PE
42904 mktime: do not assume 'long' is wide enough
42905 * time/mktime.c (verify): Move decl up.
42906 (long_int): New type.
42907 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42908 to remove assumption in the code that 'long' is wide enough to
42909 store year values. This assumption is not true on x32 and on
42910 some non-glibc platforms.
42911
62bdf9a6
PE
42912 mktime: merge wrapv change from gnulib
42913 * time/mktime.c (WRAPV): New macro.
42914 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42915 (guess_time_tm, __mktime_internal): Do not assume that signed
42916 integer overflow wraps around; modern compilers generate code
42917 where this assumption is no longer valid.
42918
5e292e4f
L
429192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42920
42921 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42922 Replace "jmp L(pseudo_end)" with "ret".
42923 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42924 Likewise.
42925
8caf8c87
AJ
429262012-05-23 Andreas Jaeger <aj@suse.de>
42927
42928 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42929 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42930
1a09dc56
AJ
429312012-05-23 Andreas Jaeger <aj@suse.de>
42932 Maximilian Attems <max@stro.at>
42933
42934 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42935 New macros.
42936
1c87aba0
L
429372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42938
42939 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42940 code so that pseudo_end is just ret and the stack pointer is
42941 correct also for static library in error case.
42942
40e45bd5
JM
429432012-05-23 Joseph Myers <joseph@codesourcery.com>
42944
c2670533
JM
42945 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42946 move to syscalls.list.
42947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42951
40e45bd5
JM
42952 * manual/install.texi (Running make install): Do not mention Linux
42953 kernel version for which pt_chown is not needed.
42954 (Linux): Do not mention problems with nscd with 2.0 kernels.
42955 * INSTALL: Regenerated.
42956
be08eda5
AJ
429572012-05-23 Andreas Jaeger <aj@suse.de>
42958
42959 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42960 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42961 macro.
42962 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42963 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42964 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42965 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42966 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42967 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42968 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42969 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42970 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42971 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42972 * sysdeps/unix/sysv/linux/bits/in.h
42973 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42974
a6a056bb
RM
429752012-05-22 Roland McGrath <roland@hack.frob.com>
42976
42977 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42978 (PREPARE_VERSION): Just use assert instead, it will be elided
42979 under [NDEBUG] anyway.
42980
c9009328
L
429812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42982
42983 * sysdeps/unix/sysv/linux/Makefile: Include
42984 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42985 (sysdep_routines): Remove sysctl.
c9009328
L
42986 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42987 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42988 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42989 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42990 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42991
73338355
AJ
429922012-05-22 Andreas Jaeger <aj@suse.de>
42993
42994 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42995 that pseudo_end is just ret and the stack pointer is correct also
42996 for static library in error case.
42997
d44638b0
PP
429982012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42999
43000 [BZ #14122]
43001 * nss/nsswitch.c (defconfig_entries): New variable.
43002 (__nss_database_lookup): Don't leak defconfig entries.
43003 (nss_parse_service_list): Don't leak on error paths.
43004 (free_database_entries): New function.
43005 (free_defconfig): New function.
43006 (free_mem): Move common code to free_database_entries.
43007
31a39bd8
L
430082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43009
da0331a8
L
43010 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43011 Add arch_prctl.
43012 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43013
31a39bd8
L
43014 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43015 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43016 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43017 New macro.
43018 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43019 (INTERNAL_SYSCALL_TYPES): Likewise.
43020 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43021 (LOAD_REGS_TYPES_[1-6]): Likewise.
43022 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43023 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43024
45470df3
AZ
430252012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43026
43027 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43028 copysignl for GLIBC_2_0.
43029 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43030 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43031 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43032 logbl for GLIBC_2_0.
43033 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43034 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43035
98a61bcb
L
430362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43037
a4f6e481
L
43038 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43039 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43040
f63d5db6
L
43041 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43042 Use "neg %eax".
43043
98a61bcb
L
43044 * time/mktime.c: Update copyright years.
43045
95770f14
PE
430462012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43047
6226efbd
PE
43048 mktime: merge comment-quoting-style change from gnulib
43049 * time/mktime.c: Quote 'like this' in comments.
43050 The GNU coding standards suggest that we no longer quote `like this',
43051 as "`" and "'" are typically rendered asymmetrically nowadays.
43052 The typical gnulib style is to quote 'like this' when quoting
43053 code, and "like this" when quoting English.
43054
b99e4f78
PE
43055 * time/mktime.c (compile-command): Add "-I.".
43056
643e01e6
PE
43057 mktime: merge mktime-internal.h change from gnulib
43058 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43059
2554247d
PE
43060 mktime: merge time_r change from gnulib
43061 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43062
826dd0ab
PE
43063 mktime: merge DEBUG change from gnulib
43064 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43065 case system <time.h> has a #define.
43066
bd83aabe
PE
43067 mktime: merge <sys/types.h> change from gnulib
43068 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43069 since <time.t> is now guaranteed to define time_t.
43070
95770f14
PE
43071 mktime: merge HAVE_CONFIG_H change from gnulib
43072 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43073
5e1a27a9
L
430742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43075
0e44a77e
L
43076 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43077 Use "neg %eax".
43078
5e1a27a9
L
43079 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43080 __rlim_t cast.
43081 (struct rusage): Use anonymous union to pad each field to
43082 __syscall_slong_t.
43083
46259bec
DM
430842012-05-21 David S. Miller <davem@davemloft.net>
43085
43086 * Makefules (o-iterator): Remove .s cases.
43087 (compile-command.s): Delete.
43088 (COMPILE.s): Delete.
43089 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43090
59f0c22e
JM
430912012-05-21 Joseph Myers <joseph@codesourcery.com>
43092
43093 * configure.in (libc_cv_predef_stack_protector): Only consider
43094 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43095 * configure: Regenerated.
43096
20c07380
L
430972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43098
bbb3154b
L
43099 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43100 New macro. Use R*LP on int and pointer.
43101 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
43102 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43103 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
43104 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43105
20c07380
L
43106 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43107 [__WORDSIZE_TIME64_COMPAT32] instead of
43108 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43109 (struct utmp): Likewise.
43110 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43111 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43112 Renamed to ...
43113 (__WORDSIZE_TIME64_COMPAT32): This.
43114 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43115 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43116 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43117 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43118 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43119 (__WORDSIZE_TIME64_COMPAT32): New macro.
43120
d8d1017e
AJ
431212012-05-21 Andreas Jaeger <aj@suse.de>
43122
43123 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43124 only if [SHARED]. Add prototype for __wcschr_ia32.
43125
6c7fb145
RM
431262012-05-21 Roland McGrath <roland@hack.frob.com>
43127
43128 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43129 of %rbp unmolested in the jmp_buf while mangling the low bits.
43130 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43131 unmolested high bits of %rbp while demangling the low bits.
43132 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43133
66274218
AJ
431342012-05-21 Andreas Jaeger <aj@suse.de>
43135
07c58f8f
AJ
43136 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43137 * sunrpc/svc_simple.c: Use it for registerrpc.
43138 * sunrpc/xcrypt.c: Use it for passwd2des.
43139
66274218
AJ
43140 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43141
61f65140
L
431422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43143
43144 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43145 Don't define if [__SYSCALL_WORDSIZE != 32].
43146 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43147 New macro.
43148
5fefb436
AJ
431492012-05-21 Bruno Haible <bruno@clisp.org>
43150 Andreas Jaeger <aj@suse.de>
43151
43152 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43153 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43154 inptr and inend for must_buffer_ch.
43155 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43156 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43157 * stdio-common/Makefile (tests): Remove bug15.
43158 (bug15-ENV): Remove macro.
43159 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43160 anymore.
43161
d8e272ab
AJ
431622012-05-19 Andreas Jaeger <aj@suse.de>
43163 Roland McGrath <roland@hack.frob.com>
43164
43165 * manual/contrib.texi: Completely rewritten. It contains now an
43166 alphabetical list of contributors and their contributions.
43167
4a56a162
RH
431682012-05-21 Richard Henderson <rth@twiddle.net>
43169
43170 * misc/getauxval.c (__getauxval): Use unsigned long int.
43171 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43172 (getauxval): Use unsigned long int.
43173
d024d23c
L
431742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43175
43176 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43177
cbc00a03
RM
431782012-05-21 Roland McGrath <roland@hack.frob.com>
43179
43180 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43181 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43182 __alignof__ (long double).
43183
478143fa
AZ
431842012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43185
43186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43187
c7683a6d
RH
431882012-05-20 Richard Henderson <rth@twiddle.net>
43189
43190 * misc/getauxval.c: New file.
43191 * misc/sys/auxv.h: New file.
43192 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43193 (routines): Add getauxval.
43194 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43195 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43196 * elf/dl-sysdep.c (_dl_auxv): Remove.
43197 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43198 * elf/dl-support.c (_dl_auxv): New variable.
43199 (_dl_aux_init): Initialize it.
43200 * manual/startup.texi (Auxiliary Vector): New node.
43201 * sysdeps/generic/bits/hwcap.h: New file.
43202 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43203 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43204 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43205 * sysdeps/sparc/sysdep.h: ... here. Include it.
43206 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43207 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
43208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43209 Update.
c7683a6d
RH
43210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43213 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43218
a6f1845d
AZ
432192012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43220
43221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43222
cbcbe830
DM
432232012-05-19 David S. Miller <davem@davemloft.net>
43224
43225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43226
e0b16cc2
JM
432272012-05-19 Joseph Myers <joseph@codesourcery.com>
43228
43229 [BZ #14123]
43230 * math/s_ccosh.c: Include <float.h>
43231 (__ccosh): Avoid internal overflow calculating sinh and cosh
43232 values before multiplying by sin and cos values.
43233 * math/s_ccoshf.c: Likewise.
43234 * math/s_ccoshl.c: Likewise.
43235 * math/s_csin.c: Likewise.
43236 * math/s_csinf.c: Likewise.
43237 * math/s_csinl.c: Likewise.
43238 * math/s_csinh.c: Likewise.
43239 * math/s_csinhf.c: Likewise.
43240 * math/s_csinhl.c: Likewise.
43241 * math/libm-test.inc (ccos_test): Add more tests.
43242 (ccosh_test): Likewise.
43243 (csin_test): Likewise.
43244 (csinh_test): Likewise.
43245 * sysdeps/i386/fpu/libm-test-ulps: Update.
43246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43247
6ad13e08
L
432482012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43249
f66f0ce8
L
43250 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43251 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43252
6ad13e08
L
43253 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43254
b1d072a7
JM
432552012-05-19 Joseph Myers <joseph@codesourcery.com>
43256
43257 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43258 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43259 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43260 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43261 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43262 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43263 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43264 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43265 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43266 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43267 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43268 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43269 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43270 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43271 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43272 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43273 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43274 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43275 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43276 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43277 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43278 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43279 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43280 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43281 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43282 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43283 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43284 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43285 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43286 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43287 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43288
9eae47cb
AJ
432892012-05-18 Andreas Jaeger <aj@suse.de>
43290
43291 * csu/.gitignore: Delete.
43292
bb07f69f
L
432932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43294
43295 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43296 (timex): Use __syscall_slong_t.
43297
e6bdb741
AJ
432982012-05-18 Andreas Jaeger <aj@suse.de>
43299 Carlos O'Donell <carlos_odonell@mentor.com>
43300
43301 * manual/install.texi (Configuring and compiling): Update
43302 description about files modified in the source directory.
d6c33fda 43303 * INSTALL: Regenerated.
e6bdb741 43304
1b74487e
L
433052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43306
43307 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43308 value. Use "or" to set return value to -1.
43309 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43310 negate return value.
43311
a88b64b9
TMQMF
433122012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43313
57f41c40
AS
43314 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43315 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43316 failure if the compiler has Graphite support disabled.
43317 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43318 Likewise.
57f41c40
AS
43319 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43320 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43321 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43322 Likewise.
43323
3707636e
L
433242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43325
610b8622
L
43326 * sysdeps/x86_64/x32/_itoa.h: New file.
43327
7cd195df
L
43328 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43329 getdents system call only if kernel and user dirents have the
43330 same d_ino and d_off.
43331
94b07d20
L
43332 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43333 LLONG_MAX != LONG_MAX.
43334 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43335 (_fitoa_word): Likewise.
43336
18298070
L
43337 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43338 years.
43339 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43340 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43341 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43342
553c7ea4
L
43343 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43344 include <bits/wordsize.h>. Check __x86_64__ instead of
43345 __WORDSIZE.
43346 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43347 if __x86_64__ is defined. Use anonymous union on fpstate.
43348
3707636e
L
43349 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43350 anonymous union.
43351
b53ef01a
AS
433522012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43353
37fb1dc0
AS
43354 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43355 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43356 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43357 Refer to _rtld_local_ro instead of _rtld_global_ro.
43358 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43359 Likewise.
43360 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43361 Likewise.
43362 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43363 Likewise.
43364 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43365 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43366 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43367
b53ef01a
AS
43368 * sysdeps/powerpc/powerpc32/dl-machine.c
43369 (__elf_machine_runtime_setup) [PROF]: Don't reference
43370 _dl_prof_resolve.
43371
7a185db2
AJ
433722012-05-18 Andreas Jaeger <aj@suse.de>
43373
43374 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43375 function only available for GCCs before 3.4 since GCC 3.4
43376 introduced a builtin.
43377 (lrint): Likewise.
43378 (llrintf): Likewise.
43379 (llrint): Likewise.
43380 (fmaxf): Likewise.
43381 (fmax): Likewise.
43382 (fminf): Likewise.
43383 (fmin): Likewise.
43384 (rint): Likewise.
43385 (rintf): Likewise.
43386 (nearbyint): Likewise.
43387 (nearbyintf): Likewise.
43388 (ceil): Likewise.
43389 (ceilf): Likewise.
43390 (floor): Likewise.
43391 (floorf): Likewise.
43392
3e5aef87
L
433932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43394
428bd707
L
43395 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43396 on both fields and cast pointer to __syscall_ulong_t.
43397
3e5aef87
L
43398 * bits/types.h (__fsword_t): New type.
43399 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43400 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43401 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43402 (__FSWORD_T_TYPE): Likewise.
43403 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43404 (__FSWORD_T_TYPE): Likewise.
43405 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43406 (__FSWORD_T_TYPE): Likewise.
43407 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43408 (__FSWORD_T_TYPE): Likewise.
43409 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43410 __SWORD_TYPE with __fsword_t.
43411 (statfs64): Likewise.
43412
1ba7c3dc
DM
434132012-05-17 David S. Miller <davem@davemloft.net>
43414
43415 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43416
59910343
AJ
434172012-05-17 Andreas Jaeger <aj@suse.de>
43418
43419 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43420 warning.
43421
2e4c1e9e
L
434222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43423
43424 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43425
de7f5ce7
AJ
434262012-05-17 Andreas Jaeger <aj@suse.de>
43427
43428 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43429 when it is used.
43430
286abc3d
CM
434312012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43432
43433 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43434
477cc68e
L
434352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43436
43437 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43438 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43439
1a0994f5
CD
434402012-05-17 Andreas Jaeger <aj@suse.de>
43441 Carlos O'Donell <carlos_odonell@mentor.com>
43442
43443 [BZ #14059]
43444 * sysdeps/x86_64/multiarch/init-arch.h
43445 (bit_YMM_Usable): Rename to...
43446 (bit_AVX_Usable): ... this.
43447 (bit_FMA4_Usable): New macro.
43448 (bit_XMM_state): New macro.
43449 (bit_YMM_state): New macro.
43450 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43451 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43452 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43453 (CPUID_OSXSAVE): New macro.
43454 (CPUID_AVX): New macro.
43455 (CPUID_FMA4): New macro.
43456 (index_YMM_Usable): Rename to...
43457 (index_AVX_Usable): ... this.
43458 (HAS_AVX): Use HAS_ARCH_FEATURE.
43459 (HAS_FMA4): Likewise.
43460 (HAS_YMM_USABLE): Remove.
43461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43462 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43463 are present.
43464 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43465 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43466 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43467 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43468 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43469
0af797de
CM
434702012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43471
43472 * math/libm-test.c: Support platforms without multiple rounding modes.
43473 * math/bug-nextafter.c: Support platforms without FP exceptions.
43474 * math/bug-nexttoward.c: Likewise.
43475 * math/test-fenv.c: Likewise.
43476 * math/test-misc.c: Likewise.
43477 * stdlib/bug-getcontext.c: Likewise.
43478
e39745ff
AJ
434792012-05-17 Andreas Jaeger <aj@suse.de>
43480
43481 * manual/examples/search.c (critter_cmp): Change signature to
43482 avoid warnings.
43483 * manual/string.texi (Collation Functions): Likewise.
43484
48970aba
L
434852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43486
43487 * bits/types.h: Fold copyright years.
43488 * bits/typesizes.h: Likewise.
43489 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43490 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43492 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43493 * time/time.h: Likewise.
43494
bedee953
PP
434952012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43496
43497 [BZ #208]
43498 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43499 in instead of returning them. Return void.
43500 (__libc_mallinfo): Accumulate over all arenas.
43501 (__malloc_stats): Adjust for change in int_mallinfo interface.
43502
61653dfb
RM
435032012-05-16 Roland McGrath <roland@hack.frob.com>
43504
30b99d79
RM
43505 [BZ #10375]
43506 * configure.in (NM): Add AC_CHECK_TOOL for it.
43507 (libc_extra_cflags): New substituted variable.
43508 Check for -fstack-protector being used implicitly.
43509 * configure: Regenerated.
43510 * config.make.in (config-extra-cflags): New variable,
43511 gets @libc_extra_cflags@.
43512 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43513
61653dfb
RM
43514 [BZ #10375]
43515 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43516 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43517 * configure: Regenerated.
43518 * config.make.in (CPPUNDEFS): New substituted variable.
43519 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43520 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43521 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43522
661768bb
L
435232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43524
43525 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43526 (mq_attr): Use __syscall_slong_t.
43527
d4261567
L
435282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43529
43530 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43531 Check __x86_64__ instead of __WORDSIZE.
43532 (_STAT_VER_LINUX): Likewise.
43533 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43534 __syscall_ulong_t and __syscall_slong_t.
43535 (stat64): Likewise.
43536
cf3ff365
L
435372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43538
43539 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43540
76cf3e4d
L
435412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43542
43543 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43544
a637753a
L
435452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43546
43547 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43548 __syscall_ulong_t.
43549
d5e05119
L
43550 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43551 include <bits/wordsize.h>. Check __x86_64__ instead of
43552 __WORDSIZE.
43553 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43554 defined.
43555 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43556
f62ee380
L
43557 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43558 include <bits/wordsize.h>. Check __x86_64__ instead of
43559 __WORDSIZE.
43560 (user_regs_struct): Use "__extension__ unsigned long long"
43561 instead of "unsigned long" if __x86_64__ is defined.
43562 (user): Likewise. Pad after pointer field if __ILP32__ is
43563 defined.
43564
4e124ced
JM
435652012-05-16 Joseph Myers <joseph@codesourcery.com>
43566
6a3951a0
JM
43567 * configure.in (makeinfo): Require version 4.5 or later. Allow
43568 versions 5 to 9.
43569 * configure: Regenerated.
43570 * manual/install.texi (texinfo): Increase version requirement to
43571 4.5 or later.
43572 * INSTALL: Regenerated.
43573
4e124ced
JM
43574 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43575
953ca31a
L
435762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43577
43578 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43579
617aca05
L
43580 * sysdeps/x86_64/x32/ffs.c: New file.
43581
5762f7ae
L
43582 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43583 __syscall_ulong_t.
43584 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43585 defined. Use __syscall_ulong_t.
43586 (shminfo): Use __syscall_ulong_t.
43587 (shm_info): Likewise.
43588
a26b6856
L
43589 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43590 __syscall_ulong_t.
43591
cb2b9ef7
L
43592 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43593 <bits/wordsize.h>.
43594 (msgqnum_t): Use __syscall_ulong_t.
43595 (msglen_t): Likewise.
43596 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43597 __syscall_ulong_t.
43598
34683bb0
L
43599 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43600 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43601
84a68786
L
43602 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43603
48baa5f1
L
43604 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43605 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43606
180be88b
L
43607 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43608 __syscall_slong_t.
43609
5e90c8ad
L
43610 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43611 include <bits/wordsize.h>. Check __x86_64__ instead of
43612 __WORDSIZE.
43613
23dfb58b
L
43614 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43615 "unsigned long long int" if __x86_64__ is defined.
43616 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43617
ce5d54b0
L
43618 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43619 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43620 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43621
13dc9eac
L
43622 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43623 <stdint.h>.
43624 (GET_PC): Cast to uintptr_t first.
43625 (GET_FRAME): Likewise.
43626 (GET_STACK): Likewise.
43627
a7895d15
L
43628 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43629 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43630 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43631 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43632 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43633 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43634 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43635 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43636 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43637 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43638 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43639 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43640 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43641 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43642 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43643 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43644 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43645 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43646 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43647 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43648 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43649 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43650 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43651 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43652 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43653 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43654 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43655 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43656 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43657
656416c9
AS
436582012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43659
5bd66283
AS
43660 * Makerules (+depfiles): Also collect depfiles from .oS in
43661 $(extra-objs).
43662 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43663 .oS, $(libnldbl-routines)).
43664
656416c9
AS
43665 * Makerules (native-compile-mkdep-flags): Define.
43666 * sunrpc/Makefile (extra-objs): Add $(addprefix
43667 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43668 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43669 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43670 calling $(make-target-directory).
43671
a46f2169
L
436722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43673
43674 * bits/types.h (__snseconds_t): Removed.
43675 * time/time.h (struct timespec): Replace __snseconds_t with
43676 __syscall_slong_t.
43677 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43678 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43679 Likewise.
43680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43681 (__SNSECONDS_T_TYPE): Likewise.
43682 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43683 (__SNSECONDS_T_TYPE): Likewise.
43684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43685 (__SNSECONDS_T_TYPE): Likewise.
43686
6af6528b
L
436872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43688
43689 * sysdeps/mach/hurd/bits/typesizes.h
43690 (__SYSCALL_SLONG_TYPE): New macro.
43691 (__SYSCALL_ULONG_TYPE): Likewise.
43692
de986b56
L
436932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43694
43695 * bits/types.h (__syscall_slong_t): New type.
43696 (__syscall_ulong_t): Likewise.
43697
43698 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43699 (__SYSCALL_ULONG_TYPE): Likewise.
43700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43701 (__SYSCALL_SLONG_TYPE): Likewise.
43702 (__SYSCALL_ULONG_TYPE): Likewise.
43703 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43704 (__SYSCALL_SLONG_TYPE): Likewise.
43705 (__SYSCALL_ULONG_TYPE): Likewise.
43706 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43707 (__SYSCALL_SLONG_TYPE): Likewise.
43708 (__SYSCALL_ULONG_TYPE): Likewise.
43709
85736dc7
L
437102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43711
43712 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43713 Add sigaltstack-offsets.sym.
43714 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43715 <sigaltstack-offsets.h>.
43716 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43717 longjmp_msg pointer.
43718 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43719 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43720 signal stack.
43721 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43722
cc03b296
JM
437232012-05-15 Joseph Myers <joseph@codesourcery.com>
43724
a9538892
JM
43725 * elf/stackguard-macros.h: Remove file.
43726 * sysdeps/generic/stackguard-macros.h: New file.
43727 * sysdeps/i386/stackguard-macros.h: Likewise.
43728 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43729 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43730 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43731 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43732 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43733 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43734 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43735 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43736 <elf/stackguard-macros.h>.
43737
cc03b296
JM
43738 [BZ #14109]
43739 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43740 __aligned__ in attribute.
43741 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43742 (gregset_t): Likewise.
43743
93171016
L
437442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43745
43746 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43747 * sysdeps/x86_64/64/Implies-after: Here. New file.
43748 * sysdeps/x86_64/x32/Implies-after: New file.
43749
d86813a0
L
437502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43751
43752 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43753 and access return value for _dl_profile_fixup. Use R10_LP to
43754 load frame size.
43755
2953ec75
L
437562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43757
43758 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43759
3b550e9e
L
437602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43761
43762 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43763 * sysdeps/x86_64/x32/sysdep.h: New file.
43764
eda41706
L
437652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43766
43767 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43768 * sysdeps/x86_64/setjmp.S: Likewise.
43769
9ea01d93
AZ
437702012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43771
43772 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43773 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43774 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43775 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43776 remove unused global constant.
43777
02a91938
CM
437782012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43779
43780 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43781 include of <not-cancel.h>.
43782
6540185f
RM
437832012-05-15 Roland McGrath <roland@hack.frob.com>
43784
43785 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43786
509072a0
AJ
437872012-05-15 Jeff Law <law@redhat.com>
43788 Andreas Jaeger <aj@suse.de>
43789
43790 [BZ #13594]
43791 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43792 out from...
43793 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43794 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43795 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43796 code changing __hst_map_handle.map.
43797
ba75122d
RM
437982012-05-15 Roland McGrath <roland@hack.frob.com>
43799
43800 * configure.in (sysnames): Look for Implies-before and Implies-after
43801 files.
43802 * configure: Regenerated.
43803
890d8bd8
L
438042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43805
43806 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43807 8-byte data alignment with LP_SIZE alignment.
43808
f6ee6623
L
438092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43810
43811 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43812 into R10_LP.
43813
ea2626f6
L
438142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43815
43816 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43817
085f715e
L
438182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43819
43820 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43821 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43822 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43823 Likewise.
43824 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43825
be8498fc
L
438262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43827
43828 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43829 (stackinfo_sub_sp): Likewise.
43830
70bc83b9
L
438312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43832
43833 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43834 RAX_LP.
43835
9bc0b730
L
438362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43837
43838 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43839 into R*_LP.
43840
6d2850e7
L
438412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43842
43843 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43844 sizes into R*_LP.
43845
3cb84561
L
438462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43847
43848 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43849
54e2ed81
L
438502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43851
43852 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43853 into R11_LP and load __x86_64_shared_cache_size_half into
43854 R8_LP.
43855
8a17f349
L
438562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43857
43858 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43859 R8_LP.
43860
777b1eea
AZ
438612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43862
43863 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43864 logb for POWER7.
43865 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43866 logbf for POWER7.
43867 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43868 logbl for POWER7.
43869 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43870 powerpc32/power7/fpu/s_logb.c via #include.
43871 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43872 powerpc32/power7/fpu/s_logbf.c via #include.
43873 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43874 powerpc32/power7/fpu/s_logbl.c via #include.
43875
d20d4ac2
JM
438762012-05-15 Joseph Myers <joseph@codesourcery.com>
43877
43878 * README.libm: Remove file.
43879
6cdef1ab
L
438802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43881
43882 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43883 count for x32. Use R*_LP and omit operand-size suffix.
43884
0b254d8f
L
438852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43886
43887 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43888 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43889 * sysdeps/x86_64/x32/shlib-versions: New file.
43890
ceb809dc
RM
438912012-05-14 Roland McGrath <roland@hack.frob.com>
43892
43893 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43894 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43895 Use _dl_fatal_printf instead.
43896
37f1abd4
JM
438972012-05-14 Joseph Myers <joseph@codesourcery.com>
43898
43899 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43900 set if not set by the user. Do not allow for being unset.
43901 * sysdeps/unix/sysv/linux/configure: Regenerated.
43902
11de3a33
L
439032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43904
43905 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43906 the `q' suffix from lea and replace .quad with ASM_ADDR.
43907
e02f153a
L
439082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43909
43910 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43911 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43912 instead of $17.
43913 (PTR_DEMANGLE): Likewise.
43914
520ae0fd
L
439152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43916
43917 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43918 (LP_OP): Likewise.
43919 (ASM_ADDR): Likewise.
43920 (RAX_LP): Likewise.
43921 (RBP_LP): Likewise.
43922 (RBX_LP): Likewise.
43923 (RCX_LP): Likewise.
43924 (RDI_LP): Likewise.
43925 (RSI_LP): Likewise.
43926 (RSP_LP): Likewise.
43927 (R8_LP): Likewise.
43928 (R9_LP): Likewise.
43929 (R10_LP): Likewise.
43930 (R10_LP): Likewise.
43931 (R11_LP): Likewise.
43932 (R12_LP): Likewise.
43933 (R13_LP): Likewise.
43934 (R14_LP): Likewise.
43935 (R15_LP): Likewise.
43936
b985be81
L
439372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43938
43939 * sysdeps/x86_64/x32/dl-machine.h: New file.
43940
6a4888ff
AJ
439412012-05-14 Andreas Jaeger <aj@suse.de>
43942
43943 * manual/Makefile (subdir): Remove export of subdir.
43944 (all): Remove target.
43945 (.PHONY): Remove all from list.
43946 (mkinstalldirs): Remove.
43947 (.PHONY): Remove installdirs from list.
43948 ($(inst_infodir)/libc.info): Use make-target-directory.
43949 (installdirs): Remove.
43950 (subdir_%): Remove.
43951 (glibc-targets): Remove.
43952 (lib): Remove.
43953 (stubs): Remove.
43954 ($(objpfx)stubs ../po/manual.pot): Remove.
43955 ($(objpfx)stamp%): Remove.
43956 (make-target-directory): Remove.
43957 (subdir_install): Remove.
43958 (routines): Remove.
43959 (aux): Remove.
43960 (sources): Remove.
43961 (objects): Remove.
43962 (headers): Remove.
43963
43964 [BZ #13750]
43965 * manual/.gitignore: Remove, it's not needed anymore.
43966 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43967 all files in it.
43968 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43969 directory.
43970 (texis): Renamed to $(objpfx)texis.
43971 (texis-path): New, contains path to generated files.
43972 (chapters.%): Use texis-path for complete path, add extra argument
43973 libc-texinfo.sh.
43974 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43975 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43976 (summary,texi, stamp-summary): Use complete path of
43977 files. Generate files in build dir.
43978 (dir-add.texi): Build in build dir.
43979 (libm-err.texi,stamp-libm-err): Likewise.
43980 (version.texi, stamp-version): Likewise.
43981 (.%c.texi): Likewise.
43982 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43983 (mostlyclean): Remove target.
43984 (realclean): Remove target.
43985 (generated): Add new variable with contents from mostlyclean and
43986 realclean, remove entries duplicated in common-mostlyclean, add
43987 stamp-libm-err and stamp-version.
43988 (generated-dirs): Add libc directory.
43989 ($(inst_infodir)/libc.info): Install files from build dir.
43990
43991 * manual/install.texi (Configuring and compiling): Adjust since
43992 the info files are not part of the tar ball anymore.
43993
7ac77294
AJ
439942012-05-14 Andreas Jaeger <aj@suse.de>
43995
43996 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43997 variable.
43998
ffb7875d
JM
439992012-05-14 Joseph Myers <joseph@codesourcery.com>
44000
44001 [BZ #13717]
44002 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44003 to 2.2.0 where earlier.
44004 * sysdeps/unix/sysv/linux/configure: Regenerated.
44005 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44006 Remove conditional code.
44007 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44008 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44009 Remove conditional code.
44010 [!__NR_lchown]: Likewise.
44011 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44012 [__NR_lchown]: Likewise.
44013 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44014 comment referencing __ASSUME_LCHOWN_SYSCALL.
44015 * sysdeps/unix/sysv/linux/i386/sigaction.c
44016 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44017 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44018 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44019 Remove conditional code.
44020 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44021 (__protocol_available): Remove #if 0 code.
44022 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44023 conditional code.
44024 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44025 * sysdeps/unix/sysv/linux/kernel-features.h
44026 (__ASSUME_GETCWD_SYSCALL): Don't define.
44027 (__ASSUME_REALTIME_SIGNALS): Likewise.
44028 (__ASSUME_PREAD_SYSCALL): Likewise.
44029 (__ASSUME_PWRITE_SYSCALL): Likewise.
44030 (__ASSUME_POLL_SYSCALL): Likewise.
44031 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44032 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44033 non-SPARC.
44034 (__ASSUME_SIOCGIFNAME): Don't define.
44035 (__ASSUME_MSG_NOSIGNAL): Likewise.
44036 (__ASSUME_SENDFILE): Define unconditionally.
44037 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44038 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44039 conditional code.
44040 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44041 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44042 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44043 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44044 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44045 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44046 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44048 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44049 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44051 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44052 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44054 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44055 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44057 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44058 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44060 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44061 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44063 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44064 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44066 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44067 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44069 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44070 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44071 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44072 Remove conditional code.
44073 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44074 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44075 Remove conditional code.
44076 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44077 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44078 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44079 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44080 Remove conditional code.
44081 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44082 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44083 Remove conditional code.
44084 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44085 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44086 Remove conditional code.
44087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44088 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44089 Remove conditional code.
44090 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44091 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44092 Remove conditional code.
44093 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44094 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44095 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44096 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44097 * sysdeps/unix/sysv/linux/sigaction.c
44098 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44099 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44100 * sysdeps/unix/sysv/linux/sigpending.c
44101 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44102 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44103 * sysdeps/unix/sysv/linux/sigprocmask.c
44104 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44105 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44106 * sysdeps/unix/sysv/linux/sigsuspend.c
44107 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44108 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44109 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44110 (__libc_missing_rt_sigs): Remove.
44111 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44112 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44113 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44114 Remove conditional code.
44115 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44116 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44117 return 1.
44118 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44119 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44120 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44121 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44122
1bfb7291
AJ
441232012-05-14 Andreas Jaeger <aj@suse.de>
44124
caae5a81
AJ
44125 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44126 it's not used in glibc.
44127 (__coshm1): Likewise.
44128 (__acosh1p): Likewise.
44129 (__sgn): Likewise.
44130
1bfb7291
AJ
44131 * manual/string.texi (Copying and Concatenation): Add missing
44132 variable in concat example.
44133 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44134
c044d724
L
441352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44136
144c5467 44137 [BZ #14103]
c044d724
L
44138 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44139 __builtin_clzl with __builtin_clzll.
44140
2523c62b
L
441412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44142
44143 [BZ #14104]
44144 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44145 libc_freeres_ptr.
44146
d7bb4c42
LD
441472012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44148
44149 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44150 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44151 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44152 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44153
9dc4e1fb
MF
441542012-05-14 Mike Frysinger <vapier@gentoo.org>
44155
44156 * NEWS: Update ia64 info.
44157
c7df0112
AS
441582012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44159
44160 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44161 used as bcopy.
44162
dc70356c
TS
441632012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44164
44165 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44166 * sysdeps/unix/syscalls.list (dup3): Likewise.
44167 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44168 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44169
9fb1a21f
L
441702012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44171
44172 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44173 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44174
4822a2a5
L
441752012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44176
44177 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44178 thread pointer.
44179 (TLS_IE): Use mov/add instead of movq/addq to load thread
44180 pointer.
44181 (TLS_GD_PREFIX): New.
44182 (TLS_GD): Use it.
44183
842b81d6
DM
441842012-05-11 David S. Miller <davem@davemloft.net>
44185
44186 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44187 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44188 (_FPU_SETCW): Likewise.
44189
1cf463cd
L
441902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44191
44192 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44193 is 32-byte aligned.
44194
60cc4a18
AS
441952012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44196
44197 [BZ #11837]
44198 * iconvdata/gb18030.c: Update tables.
44199 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44200 characters specially.
44201 (BODY for TO_LOOP): Add encoding of missing ranges.
44202
febb44a4
TS
442032012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44204
44205 [BZ #13673]
44206 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44207 * sysdeps/mach/hurd/dup3.c: Likewise.
44208 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44209 * sysdeps/powerpc/memmove.c:: Likewise.
44210
0a10fb9e
L
442112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44212
44213 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44214 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44215
df8a552f
L
442162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44217
44218 * elf/elf.h (R_X86_64_RELATIVE64): New.
44219 (R_X86_64_NUM): Updated.
44220 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44221 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44222 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44223 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44224 tst-quad1pie tst-quad2pie
44225 (modules-names): Add tst-quadmod1 tst-quadmod2.
44226 ($(objpfx)tst-quad1): New dependency.
44227 ($(objpfx)tst-quad2): Likewise.
44228 ($(objpfx)tst-quad1pie): Likewise.
44229 ($(objpfx)tst-quad2pie): Likewise.
44230 * sysdeps/x86_64/tst-quad1.c: New file.
44231 * sysdeps/x86_64/tst-quad1pie.c: New file.
44232 * sysdeps/x86_64/tst-quad2.c: Likewise.
44233 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44234 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44235 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44236 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44237 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44238
f34d6f84
ST
442392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44240
f42d41d1
ST
44241 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44242 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44243 * streams/stropts.h (t_scalar_t): Define type.
44244
3c3571fc
ST
44245 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44246 (_PATH_PRESERVE): Set to "/var/lib".
44247 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44248
61f06bd3
ST
44249 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44250 instead of int.
44251
918d4d71
ST
44252 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44253 if __dir_mkfile succeeded.
44254
f34d6f84
ST
44255 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44256 checking for _hurd_dtablesize. Unlock it right after having
44257 finished _hurd_dtable allocation.
44258
10589b4a
TS
442592012-05-10 Thomas Schwinge <thomas@schwinge.name>
44260
674cdbc7
TS
44261 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44262 * sysdeps/mach/hurd/configure: Regenerated.
44263 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44264 special-casing to...
44265 * sysdeps/gnu/configure.in: ... this new file.
44266 * sysdeps/unix/sysv/linux/configure: Regenerated.
44267 * sysdeps/gnu/configure: New generated file.
44268
8e41b99f
TS
44269 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44270 for Linux: use nsec instead of usec, as well as:
44271 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44272 members of type struct timespec.
44273 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44274 New macros.
44275 (struct stat64): Likewise.
44276 (_STATBUF_ST_NSEC): New macro.
44277 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44278
10589b4a
TS
44279 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44280 __strtoul_internal rather than strtoul.
44281
63643c85
PT
442822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44283
44284 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44285 and reject them.
44286
3faebe6a
ST
442872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44288
44289 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44290 which preserves existing values.
44291 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44292
c6474b07
PT
442932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44294
44295 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44296 TIMEOUT values. Return EINVAL for NFDS values either negative or
44297 greater than FD_SETSIZE.
44298
1043890b
ST
442992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44300
44301 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44302 allocated, call __vm_protect to finish enabling the existing space, and
44303 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44304 allocate the remainder.
44305
37ed8b9b
PT
443062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44307
44308 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44309 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44310
db653660
ST
443112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44312
37ed8b9b
PT
44313 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44314 sysdeps/mach/hurd/readlink.c.
b29d4053 44315
db653660
ST
44316 * posix/tst-sysconf.c (posix_options): Only use
44317 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44318 _POSIX_SYNCHRONIZED_IO when they are defined
44319 * sysdeps/mach/hurd/bits/posix_opt.h:
44320 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44321 (_XOPEN_REALTIME): Undefine macro.
44322 (_XOPEN_REALTIME_THREADS): Undefine macro.
44323 (_XOPEN_SHM): Undefine macro.
44324 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44325 macro to -1.
44326 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44327 macro to -1.
44328 (_POSIX_ASYNC_IO): Undefine macro.
44329 (_POSIX_PRIORITIZED_IO): Undefine macro.
44330 (_POSIX_SPIN_LOCKS): Define macro to -1.
44331
ee16e894
ST
44332 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44333 SA_NODEFER, SA_RESETHAND.
44334 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44335 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44336 F_DUPFD_CLOEXEC.
44337
6103ae3b
TS
443382012-05-10 Thomas Schwinge <thomas@schwinge.name>
44339
44340 * elf/Makefile (pldd-modules): Define unconditionally.
44341
80b4e5f3
TS
443422012-05-10 Thomas Schwinge <thomas@schwinge.name>
44343
44344 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44345
edadcbd6
ST
443462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44347
44348 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44349 Return ENOENT when name is empty.
44350 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44351
80694780
TS
443522012-05-10 Thomas Schwinge <thomas@schwinge.name>
44353
1792c087
TS
44354 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44355
80694780
TS
44356 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44357
6b645f0d
ST
443582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44359
80694780
TS
44360 Fix mlock in all cases except non-readable pages.
44361 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44362 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44363
6b645f0d
ST
44364 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44365 (__mkdir): When path is `/', just fail with EEXIST.
44366 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44367
e468f8a3
TS
443682012-05-10 Thomas Schwinge <thomas@schwinge.name>
44369
44370 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44371 <sys/uio.h> (for writev).
44372 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44373 and <sys/param.h> (for MIN).
44374
a4186cff
PT
443752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44376
44377 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44378 REQUESTED_TIME. Properly set the remaining time and return EINTR
44379 if interrupted.
44380
510bbf14
TS
443812012-05-10 Thomas Schwinge <thomas@schwinge.name>
44382
44383 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44384 Depend on against $(link-rpcuserlibs).
44385
5d5722e8
ST
443862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44387
a4186cff
PT
44388 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44389 (__libc_stack_end): Do not use attribute_relro.
44390 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44391 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44392 to libthread-provided value.
a4186cff
PT
44393 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44394 attribute_relro.
5d5722e8 44395
37233df9
TS
443962012-05-10 Thomas Schwinge <thomas@schwinge.name>
44397
be971a2b
TS
44398 [BZ #3748]
44399 * bits/libc-lock.h (__libc_once_get): New macro.
44400 * sysdeps/mach/bits/libc-lock.h: Likewise.
44401 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44402 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44403 instead of using implementation details.
44404
37233df9
TS
44405 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44406 * libio/freopen.c: Likewise.
44407 * libio/freopen64.c: Likewise.
44408 * misc/syslog.c: Likewise.
44409 * nscd/connections.c: Likewise.
44410 * nscd/netgroupcache.c: Likewise.
44411 * sysdeps/posix/getcwd.c: Likewise.
44412
38de94a5
RM
444132012-05-10 Roland McGrath <roland@hack.frob.com>
44414
44415 * math/w_ilogbf.c: Add #include <limits.h>.
44416
67530489
ST
444172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44418
a4186cff 44419 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44420 path instead of returning without unlocking.
44421
67530489
ST
44422 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44423 immediate-write ioctls.
44424 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44425
5aa3a74a
TS
444262012-05-10 Thomas Schwinge <thomas@schwinge.name>
44427
18bad2ae
TS
44428 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44429 __builtin_frame_address instead of making assumptions about the
44430 location of the return address relative to DATA. Force early load of
44431 the return address.
44432 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44433 __builtin_frame_address.
44434
5aa3a74a
TS
44435 dup3 for GNU Hurd.
44436 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44437 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44438 implement dup3 and do some further code clean-ups.
44439 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44440 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44441
ecd0de9a
ST
444422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44443
cd9fa985
ST
44444 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44445
a4186cff
PT
44446 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44447 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44448 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44449 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44450 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44451 d->port.lock.
802ca5a5 44452
a4186cff
PT
44453 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44454 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44455 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44456
bcf55240
TS
444572012-05-10 Thomas Schwinge <thomas@schwinge.name>
44458
6960eb42
TS
44459 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44460 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44461 definitions.
44462
eb43375f
TS
44463 accept4 for GNU Hurd.
44464 * include/sys/socket.h (__libc_accept4): New prototype.
44465 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44466 to implement __libc_accept4.
44467 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44468 __libc_accept4.
44469 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44470
bcf55240
TS
44471 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44472 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44473 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44474 signal-defines.sym.
44475
6178c55b
ST
444762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44477
a4186cff 44478 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44479
6f080c2f
TS
444802012-05-10 Thomas Schwinge <thomas@schwinge.name>
44481
44482 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44483 assertion on O_CLOEXEC flag.
44484 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44485 * hurd/intern-fd.c: Likewise.
44486 * hurd/port2fd.c: Likewise.
44487
bcfe3a54
ST
444882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44489
44490 [BZ #3906]
44491 * bits/in.h (IPV6_PKTINFO): Define new macro.
44492 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44493
89c9aa49
AZ
444942012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44495
44496 [BZ #13954]
44497 [BZ #13955]
44498 [BZ #13956]
44499 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44500 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44501 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44502 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44503 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44504 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44505 * math/libm-test.inc (logb_test) : Additional logb tests.
44506
021db4be
AJ
445072012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44508 Andreas Jaeger <aj@suse.de>
44509
44510 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44511 * configure: Regenerated.
44512 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44513 * config.make.in (link-obsolete-rpc): New substituted variable.
44514 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44515 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44516 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44517 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44518 so that libc.a contains the symbols.
44519 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44520 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44521 * sunrpc/auth_none.c: Likewise.
44522 * sunrpc/auth_unix.c: Likewise.
44523 * sunrpc/authdes_prot.c: Likewise.
44524 * sunrpc/authuxprot.c: Likewise.
44525 * sunrpc/clnt_gen.c: Likewise.
44526 * sunrpc/clnt_perr.c: Likewise.
44527 * sunrpc/clnt_raw.c: Likewise.
44528 * sunrpc/clnt_simp.c: Likewise.
44529 * sunrpc/clnt_tcp.c: Likewise.
44530 * sunrpc/clnt_udp.c: Likewise.
44531 * sunrpc/clnt_unix.c: Likewise.
44532 * sunrpc/des_crypt.c: Likewise.
44533 * sunrpc/des_soft.c: Likewise.
44534 * sunrpc/get_myaddr.c: Likewise.
44535 * sunrpc/key_call.c: Likewise.
44536 * sunrpc/key_prot.c: Likewise.
44537 * sunrpc/netname.c: Likewise.
44538 * sunrpc/pm_getmaps.c: Likewise.
44539 * sunrpc/pm_getport.c: Likewise.
44540 * sunrpc/pmap_clnt.c: Likewise.
44541 * sunrpc/pmap_prot.c: Likewise.
44542 * sunrpc/pmap_prot2.c: Likewise.
44543 * sunrpc/pmap_rmt.c: Likewise.
44544 * sunrpc/publickey.c: Likewise.
44545 * sunrpc/rpc_cmsg.c: Likewise.
44546 * sunrpc/rpc_common.c: Likewise.
44547 * sunrpc/rpc_dtable.c: Likewise.
44548 * sunrpc/rpc_prot.c: Likewise.
44549 * sunrpc/rpc_thread.c: Likewise.
44550 * sunrpc/rtime.c: Likewise.
44551 * sunrpc/svc.c: Likewise.
44552 * sunrpc/svc_auth.c: Likewise.
44553 * sunrpc/svc_raw.c: Likewise.
44554 * sunrpc/svc_run.c: Likewise.
44555 * sunrpc/svc_tcp.c: Likewise.
44556 * sunrpc/svc_udp.c: Likewise.
44557 * sunrpc/svc_unix.c: Likewise.
44558 * sunrpc/svcauth_des.c: Likewise.
44559 * sunrpc/xcrypt.c: Likewise.
44560 * sunrpc/xdr.c: Likewise.
44561 * sunrpc/xdr_array.c: Likewise.
44562 * sunrpc/xdr_float.c: Likewise.
44563 * sunrpc/xdr_intXX_t.c: Likewise.
44564 * sunrpc/xdr_mem.c: Likewise.
44565 * sunrpc/xdr_rec.c: Likewise.
44566 * sunrpc/xdr_ref.c: Likewise.
44567 * sunrpc/xdr_sizeof.c: Likewise.
44568 * sunrpc/xdr_stdio.c: Likewise.
44569
b5c086a2
RM
445702012-05-10 Roland McGrath <roland@hack.frob.com>
44571
44572 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44573 change. Update copyright years.
44574
6d74dd09
JM
445752012-05-10 Joseph Myers <joseph@codesourcery.com>
44576
44577 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44578
28e72501
MK
445792012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44580 Joseph Myers <joseph@codesourcery.com>
44581 Paul Pluzhnikov <ppluzhnikov@google.com>
44582
44583 [BZ #14012]
44584 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44585 requiring rpcgen.
44586 [cross-compiling] (extra-libs): Likewise.
44587 [cross-compiling] (extra-libs-others): Likewise.
44588 [cross-compiling] (librpcsvc-routines): Likewise.
44589 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44590 [cross-compiling] (omit-deps): Likewise.
44591 (sunrpc-CPPFLAGS): New variable.
44592 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44593 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44594 (cross-rpcgen-objs): New variable.
44595 (extra-objs): Append $(cross-rpcgen-objs).
44596 ($(cross-rpcgen-objs)): New rule.
44597 ($(objpfx)cross-rpcgen): Likewise.
44598 (rpcgen-cmd): Define to use $(built-program-file). Expand
44599 comment.
44600 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44601 ($(objpfx)x%.stmp): Likewise.
44602 * sunrpc/proto.h [IS_IN_build] (_): Define.
44603 [IS_IN_build] (_libc_intl_domainname): Likewise.
44604
c8c59454
L
446052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44606
44607 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44608 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44609 and R_X86_64_TPOFF64.
44610
6f27cd16
JM
446112012-05-10 Joseph Myers <joseph@codesourcery.com>
44612
44613 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44614 sysdeps/unix/sysv/syscalls.list.
44615 (stime): Likewise.
44616 (utime): Likewise.
44617 * sysdeps/unix/sysv/syscalls.list: Remove file.
44618
02467e1c
PE
446192012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44620
44621 [BZ #3440]
44622 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44623 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44624 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44625 (__LC_IDENTIFICATION): Make these macros useful in #if
44626 expressions, as required by C99.
44627
da392631
AS
446282012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44629
44630 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44631 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44632 after this.
44633
8115f29b
L
446342012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44635
44636 * stdlib/longlong.h: Updated from GCC.
44637
bdd74070
AJ
446382012-05-09 Andreas Jaeger <aj@suse.de>
44639
edfe0dbe
AJ
44640 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44641 default is first entry.
44642 (run_mode): Set type.
44643 (main): Remove informal message about syslog.
44644 (options): Fix typo.
44645
bcfe3a54
ST
44646 [BZ #14053]
44647 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 44648 to asm.
bcfe3a54
ST
44649 (lrint): Likewise.
44650 (llrintf): Likewise.
44651 (llrint): Likewise.
44652 (rint): Likewise.
44653 (rintf): Likewise.
44654 (nearbyint): Likewise.
44655 (nearbyintf): Likewise.
bdd74070 44656
91d8d69e
AJ
446572012-05-09 Andreas Jaeger <aj@suse.de>
44658 Pedro Alves <palves@redhat.com>
44659
44660 * nscd/nscd.c (run_mode): Use enum.
44661 (main): Cleanup coding style issue.
44662
bb90b80b
AJ
446632012-05-09 Alexandre Oliva <aoliva@redhat.com>
44664 Andreas Jaeger <aj@suse.de>
44665
bcfe3a54
ST
44666 * nscd/nscd.c (go_background): Replaced with...
44667 (run_mode): ... this.
bb90b80b 44668 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
44669 (options): Add -F --foreground.
44670 (main): Implement it.
44671 (parse_opt): Parse it.
bb90b80b 44672
1a4b75a1
AJ
446732012-05-09 Andreas Jaeger <aj@suse.de>
44674
44675 [BZ #14083]
44676 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44677 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44678 -Wconversion warning.
44679 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44680 Likewise.
44681
b1cc2472
JM
446822012-05-09 Joseph Myers <joseph@codesourcery.com>
44683
44684 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44685 == 0.
44686 (LC_ALL): Use macro-int-constant.
44687 (LC_COLLATE): Likewise.
44688 (LC_CTYPE): Likewise.
44689 (LC_MESSAGES): Likewise.
44690 (LC_MONETARY): Likewise.
44691 (LC_NUMERIC): Likewise.
44692 (LC_TIME): Likewise.
44693 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44694 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44695 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44696 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44697 Specify type.
44698 [C99-based standards] (float_t): Expect type.
44699 [C99-based standards] (double_t): Expect type.
44700 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44701 type.
44702 [C99-based standards] (HUGE_VALL): Likewise.
44703 [C99-based standards] (INFINITY): Likewise.
44704 [C99-based standards] (NAN): Likewise.
44705 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44706 [C99-based standards] (FP_NAN): Likewise.
44707 [C99-based standards] (FP_NORMAL): Likewise.
44708 [C99-based standards] (FP_SUBNORMAL): Likewise.
44709 [C99-based standards] (FP_ZERO): Likewise.
44710 [C99-based standards] (FP_FAST_FMA): Use
44711 optional-macro-int-constant. Specify type. Require == 1.
44712 [C99-based standards] (FP_FAST_FMAF): Likewise.
44713 [C99-based standards] (FP_FAST_FMAL): Likewise.
44714 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44715 [C99-based standards] (FP_ILOGBNAN): Likewise.
44716 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44717 Specify type.
44718 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44719 [C99-based standards] (math_errhandling): Specify type.
44720 [ISO99 || ISO11] (signgam): Do not allow.
44721 [non-C99-based standards] (copysignf): Do not allow.
44722 [non-C99-based standards] (exp2f): Likewise.
44723 [non-C99-based standards] (log2f): Likewise.
44724 [non-C99-based standards] (modff): Allow.
44725 [non-C99-based standards] (erff): Do not allow.
44726 [non-C99-based standards] (erfcf): Likewise.
44727 [non-C99-based standards] (gammaf): Likewise.
44728 [non-C99-based standards] (hypotf): Likewise.
44729 [non-C99-based standards] (j0f): Likewise.
44730 [non-C99-based standards] (j1f): Likewise.
44731 [non-C99-based standards] (jnf): Likewise.
44732 [non-C99-based standards] (lgammaf): Likewise.
44733 [non-C99-based standards] (tgammaf): Likewise.
44734 [non-C99-based standards] (y0f): Likewise.
44735 [non-C99-based standards] (y1f): Likewise.
44736 [non-C99-based standards] (ynf): Likewise.
44737 [non-C99-based standards] (isnanf): Likewise.
44738 [non-C99-based standards] (acoshf): Likewise.
44739 [non-C99-based standards] (asinhf): Likewise.
44740 [non-C99-based standards] (atanhf): Likewise.
44741 [non-C99-based standards] (cbrtf): Likewise.
44742 [non-C99-based standards] (expm1f): Likewise.
44743 [non-C99-based standards] (ilogbf): Likewise.
44744 [non-C99-based standards] (log1pf): Likewise.
44745 [non-C99-based standards] (logbf): Likewise.
44746 [non-C99-based standards] (nextafterf): Likewise.
44747 [non-C99-based standards] (remainderf): Likewise.
44748 [non-C99-based standards] (rintf): Likewise.
44749 [non-C99-based standards] (scalbf): Likewise.
44750 [non-C99-based standards] (copysignl): Likewise.
44751 [non-C99-based standards] (exp2l): Likewise.
44752 [non-C99-based standards] (log2l): Likewise.
44753 [non-C99-based standards] (modfl): Allow.
44754 [non-C99-based standards] (erfl): Do not allow.
44755 [non-C99-based standards] (erfcl): Likewise.
44756 [non-C99-based standards] (gammal): Likewise.
44757 [non-C99-based standards] (hypotl): Likewise.
44758 [non-C99-based standards] (j0l): Likewise.
44759 [non-C99-based standards] (j1l): Likewise.
44760 [non-C99-based standards] (jnl): Likewise.
44761 [non-C99-based standards] (lgammal): Likewise.
44762 [non-C99-based standards] (tgammal): Likewise.
44763 [non-C99-based standards] (y0l): Likewise.
44764 [non-C99-based standards] (y1l): Likewise.
44765 [non-C99-based standards] (ynl): Likewise.
44766 [non-C99-based standards] (isnanl): Likewise.
44767 [non-C99-based standards] (acoshl): Likewise.
44768 [non-C99-based standards] (asinhl): Likewise.
44769 [non-C99-based standards] (atanhl): Likewise.
44770 [non-C99-based standards] (cbrtl): Likewise.
44771 [non-C99-based standards] (expm1l): Likewise.
44772 [non-C99-based standards] (ilogbl): Likewise.
44773 [non-C99-based standards] (log1pl): Likewise.
44774 [non-C99-based standards] (logbl): Likewise.
44775 [non-C99-based standards] (nextafterl): Likewise.
44776 [non-C99-based standards] (remainderl): Likewise.
44777 [non-C99-based standards] (rintl): Likewise.
44778 [non-C99-based standards] (scalbl): Likewise.
44779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44780 [non-C99-based standards] (FP_*): Do not allow.
44781 [C99-based standards] (FP_*): Change to
44782 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44783 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44784 allow.
44785 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44786 (SIG_ERR): Likewise.
44787 [X/Open-based standards] (SIG_HOLD): Likewise.
44788 (SIG_IGN): Likewise.
44789 (SIGABRT): Use macro-int-constant. Specify type. Require
44790 positive value.
44791 (SIGFPE): Likewise.
44792 (SIGILL): Likewise.
44793 (SIGINT): Likewise.
44794 (SIGSEGV): Likewise.
44795 (SIGTER): Likewise.
44796 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44797 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44798 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44799 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44800 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44801 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44802 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44803 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44804 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44805 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44806 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44807 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44808 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44809 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44810 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44811 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44812 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44813 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44814 [X/Open-based standards] (SIGTRAP): Likewise.
44815 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44816 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44817 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44818 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44819 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44820 allow.
44821
b9f1922d
IW
448222012-05-08 Ian Wienand <ianw@vmware.com>
44823
44824 [BZ #14080]
44825 * time/tzset.c (__tzset_parse_tz): Update default rules for
44826 daylight time changes in the Energy Policy Act of 2005.
44827
1db86e88
AJ
448282012-05-09 Andreas Jaeger <aj@suse.de>
44829
44830 [BZ #13983]
44831 * elf/ldconfig.c (parse_conf): Change string to make clear that
44832 ldconfig only issued a warning if ld.so.conf does not exist.
44833
dee4a4e3
DM
448342012-05-08 David S. Miller <davem@davemloft.net>
44835
ee0db190
DM
44836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44837 movxtod instead of popping the value on the stack.
44838
dee4a4e3
DM
44839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44840
6a43ec98
CD
448412012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44842
44843 * config.h.in: Add HAVE_ARM_PCS_VFP.
44844
05c2c961
RMG
448452012-05-08 Roland Mc Grath <roland@hack.frob.com>
44846
bcfe3a54
ST
44847 [BZ #13979]
44848 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44849 checking but the checks are disabled for any reason.
05c2c961 44850
4b30f61a
L
448512012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44852
44853 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44854 and ELF64_R_TYPE with ELFW(R_TYPE).
44855
eee2bc67
JM
448562012-05-08 Joseph Myers <joseph@codesourcery.com>
44857
7ea5391a
JM
44858 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44859 (ulimit): Likewise.
44860
eee2bc67
JM
44861 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44862 (settimeofday): Likewise.
44863
abb66a67
MF
448642012-05-08 Mike Frysinger <vapier@gentoo.org>
44865
44866 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44867 a struct th_u2 inside the union, and move tu_block/tu_code into
44868 a new th_u3 union of tu_block/tu_code inside of that. Move
44869 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44870 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44871 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44872 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44873 (th_stuff): Change to th_u1.tu_stuff.
44874 (th_data): Define.
44875 (th_msg): Change to th_u1.th_u2.tu_data.
44876
7f18b530
DM
448772012-05-07 David S. Miller <davem@davemloft.net>
44878
05760585
DM
44879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44880
7f18b530
DM
44881 [BZ #14074]
44882 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44883 (SETUP_PIC_REG): Use it.
44884 (SETUP_PIC_REG_LEAF): Use it.
44885
495fd99f
JM
448862012-05-07 Joseph Myers <joseph@codesourcery.com>
44887
44888 [BZ #13885]
44889 [BZ #13923]
44890 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44891 USE_AS_EXPM1L.
44892 (EXPL_FINITE): Likewise.
44893 (FLDLOG): Likewise.
44894 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44895 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44896 e_expl.S.
44897 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44898 USE_AS_EXPM1L.
44899 (EXPL_FINITE): Likewise.
44900 (FLDLOG): Likewise.
44901 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44902 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44903 e_expl.S.
44904 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44905 test of -max_value argument for long double.
44906 * sysdeps/i386/fpu/libm-test-ulps: Update.
44907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44908
6693d694
DM
449092012-05-06 David S. Miller <davem@davemloft.net>
44910
44911 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44912 quad soft-float symbols whose references which are compiler
44913 generated.
44914 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44915
6c23e11c
JM
449162012-05-06 Joseph Myers <joseph@codesourcery.com>
44917
d8b82cad
JM
44918 [BZ #13884]
44919 [BZ #13914]
44920 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44921 USE_AS_EXP10L.
44922 (EXPL_FINITE): Likewise.
44923 (FLDLOG): Likewise.
44924 (c0): Likewise.
44925 (c1): Likewise.
44926 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44927 Adjust comments for base varying.
44928 (__expl_finite): Change alias to EXPL_FINITE.
44929 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44930 e_expl.S.
44931 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44932 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44933 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44934 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44935 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44936 USE_AS_EXP10L.
44937 (EXPL_FINITE): Likewise.
44938 (FLDLOG): Likewise.
44939 (c0): Likewise.
44940 (c1): Likewise.
44941 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44942 Adjust comments for base varying.
44943 (__expl_finite): Change alias to EXPL_FINITE.
44944 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44945 tests for bugs.
44946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44947
6c23e11c
JM
44948 [BZ #14064]
44949 * math/libm-test.inc (check_float_internal): Correct ulp
44950 calculation for subnormal expected results.
44951
29ba805c
AJ
449522012-05-06 Andreas Jaeger <aj@suse.de>
44953
44954 * Makeconfig (+math-flags): New, set to -frounding-math.
44955 (+cflags): Add +math-flags so that all of glibc gets compiled with
44956 it.
44957
44958 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44959
7b17aeda
JM
449602012-05-05 Joseph Myers <joseph@codesourcery.com>
44961
5779f134
JM
44962 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44963 Disable one test.
44964
41498f4d
JM
44965 [BZ #13787]
44966 [BZ #13922]
44967 [BZ #14036]
44968 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44969 (__ieee754_expl): Allow for and saturate large arguments.
44970 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44971 (u_threshold): Likewise.
44972 (__exp): Call __ieee754_exp before checking for overflow and
44973 underflow.
44974 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44975 (u_threshold): Likewise.
44976 (__expf): Call __ieee754_expf before checking for overflow and
44977 underflow.
44978 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44979 (u_threshold): Likewise.
44980 (__expl): Call __ieee754_expl before checking for overflow and
44981 underflow.
44982 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44983 (__ieee754_expl): Allow for and saturate large arguments.
44984 * math/libm-test.inc (exp_test): Add another test. Do not allow
44985 missing overflow exception on overflow.
44986 (expm1_test): Do not allow missing overflow exception on overflow.
44987
6698b8bf
JM
44988 * sysdeps/i386/fpu/e_expl.c: Move to ...
44989 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44990 rather than using inline asm.
44991 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44992 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44993 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44994
7b17aeda
JM
44995 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44996 (nice): Likewise.
44997 (poll): Likewise.
44998 (signal): Likewise.
44999 (time): Likewise.
45000 (times): Likewise.
45001
f7c85819
JM
450022012-05-04 Joseph Myers <joseph@codesourcery.com>
45003
45004 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45005 sysdeps/unix/common/syscalls.list.
45006 (fchmod): Likewise.
45007 (fchown): Likewise.
45008 (ftruncate): Likewise.
45009 (getrusage): Likewise.
45010 (gettimeofday): Likewise.
45011 (setpgid): Likewise.
45012 (setregid): Likewise.
45013 (setreuid): Likewise.
45014 (sigaction): Likewise.
45015 (truncate): Likewise.
45016 (vhangup): Likewise.
45017 * sysdeps/unix/common/syscalls.list: Remove file.
45018 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45019 * sysdeps/unix/sysv/linux/Implies: Likewise.
45020
336270d0
L
450212012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45022
45023 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45025 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45026 Moved to ...
45027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45028 Here.
45029 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45030 to ...
45031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45032 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45033 to ...
45034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45035 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45036 to ...
45037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45038 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45039 to ...
45040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45041 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45042 to ...
45043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45044 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45045 to ...
45046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45047 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45048 to ...
45049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45050 Here.
45051 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45052 to ...
45053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45054 Here.
45055 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45056 to ...
45057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45058 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45059 Moved to ...
45060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45061 Here.
45062 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45063 to ...
45064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45065
d128e450
JM
450662012-05-04 Joseph Myers <joseph@codesourcery.com>
45067
fa8ee516
JM
45068 * sysdeps/unix/common/bits/dirent.h: Remove file.
45069 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45070
d128e450
JM
45071 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45072 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45073 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45074 * sysdeps/unix/bsd/isatty.c: Likewise.
45075 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45076 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45077 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45078
ff8faaf0 450792012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 45080
62881be4 45081 [BZ #13563]
31dc8730
AZ
45082 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45083 long double comparison inaccuracies.
45084 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45086
6fef930c
AS
450872012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45088
45089 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45090 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45091
8f203e6c
JM
450922012-05-04 Joseph Myers <joseph@codesourcery.com>
45093
45094 [BZ #14049]
45095 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45096 nonzero digits before rounding a hex value.
45097 * stdlib/tst-strtod.c (tests): Add another test.
45098
5197d9c2
AK
450992012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45100
45101 * sysdeps/s390/fpu/libm-test-ulps: Update.
45102
f0c1dedf
AJ
451032012-05-03 Andreas Jaeger <aj@suse.de>
45104
45105 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45106 does not get optimized out.
45107 (malloc_opt_barrier): New.
45108
a65ef2ae 451092012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 45110 Roland McGrath <roland@hack.frob.com>
a65ef2ae 45111
2b942cb7 45112 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 45113 intermediate file deletion.
2b942cb7 45114 (generated): Add .symlist files.
a65ef2ae 45115
54b71e02
JM
451162012-05-03 Joseph Myers <joseph@codesourcery.com>
45117
45118 [BZ #13775]
45119 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45120 Redirect under this condition.
45121 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45122 [__USE_GNU] (__dprintf_chk): Not under this condition.
45123 [__USE_GNU] (__vdprintf_chk): Likewise.
45124 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45125 under this condition.
45126 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45127 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45128 [__USE_XOPEN2K8] (vdprintf): Likewise.
45129 [__USE_GNU] (__dprintf_chk): Not under this condition.
45130 [__USE_GNU] (__vdprintf_chk): Likewise.
45131 [__USE_GNU] (dprintf): Likewise.
45132 [__USE_GNU] (vdprintf): Likewise.
45133
d3dfcc41
RM
451342012-05-03 Roland McGrath <roland@hack.frob.com>
45135
45136 * elf/Makefile (common-generated): Set this instead of generated for
45137 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45138 $(all-built-dso)-derived lists.
45139
7ac30cc5
AJ
451402012-05-03 Andreas Jaeger <aj@suse.de>
45141
0c51e550
AJ
45142 * sysdeps/i386/fpu/libm-test-ulps: Update.
45143
7ac30cc5
AJ
45144 * FAQ: Removed.
45145 * FAQ.in: Likewise.
45146 * scripts/gen-FAQ.pl: Likewise.
45147 * manual/install.texi (Installation): Point to online location of
45148 FAQ.
45149 * Makefile (files-for-dist): Remove FAQ.
45150 (FAQ): Remove.
45151
d4c2917f
AM
451522012-05-02 Allan McRae <allan@archlinux.org>
45153
45154 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45155 (LDFLAGS-reldepmod5.so): Likewise.
45156 (LDFLAGS-reldep6mod1.so): Likewise.
45157 (LDFLAGS-reldep6mod4.so): Likewise.
45158 (LDFLAGS-reldep8mod3.so): Likewise.
45159 (LDFLAGS-unload4mod1.so): Likewise.
45160 (LDFLAGS-unload4mod2.so): Likewise.
45161 (LDFLAGS-tst-initorder): Likewise.
45162 (LDFLAGS-tst-initordera2.so): Likewise.
45163 (LDFLAGS-tst-initordera3.so): Likewise.
45164 (LDFLAGS-tst-initordera4.so): Likewise.
45165 (LDFLAGS-tst-initorderb2.so): Likewise.
45166 (LDFLAGS-noload): Likewise.
45167 (LDFLAGS-next): Likewise.
45168 (LDFLAGS-order2mod1.so): Likewise.
45169 (LDFLAGS-order2mod2.so): Likewise.
45170 (LDFLAGS-tst-initorder2): Likewise.
45171 (LDFLAGS-tst-initorder2a.so): Likewise.
45172 (LDFLAGS-tst-initorder2b.so): Likewise.
45173 (LDFLAGS-tst-initorder2c.so): Likewise.
45174 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45175
d77f993f
DM
451762012-05-02 David S. Miller <davem@davemloft.net>
45177
45178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45179
171a70b4
PP
451802012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45181
45182 [BZ #14055]
45183 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45184
0be196ad
AJ
451852012-05-02 Andreas Jaeger <aj@suse.de>
45186
45187 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45188 since we manipulate rounding mode.
45189 (CPPFLAGS-test-idouble.c): Likewise.
45190 (CPPFLAGS-test-ifloat.c): Likewise.
45191 (CFLAGS-test-ldouble.c): Likewise.
45192 (CFLAGS-test-double.c): Likewise.
45193 (CFLAGS-test-float.c): Likewise.
45194 (CFLAGS-test-misc.c): Likewise.
45195 (CFLAGS-test-test-fenv.c): Likewise.
45196
4f9d04aa
AZ
451972012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45198
2b942cb7
RM
45199 [BZ #2550]
45200 [BZ #2570]
45201 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45202 comparisons to determine direction to adjust input.
4f9d04aa 45203
82a79e7d
RM
452042012-05-01 Roland McGrath <roland@hack.frob.com>
45205
f5a01ca9
RM
45206 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45207 output to the target.
45208
90fe4186
RM
45209 * scripts/localplt.awk: New file.
45210 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45211 (check-localplt-CFLAGS): Variable removed.
45212 ($(all-built-dso:=.jmprel)): New static pattern rule.
45213 (generated): Add those targets.
45214 (localplt-built-dso): New variable.
45215 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45216
45217 * elf/check-localplt.c: File removed.
45218
82397ed6
RM
45219 * scripts/check-execstack.awk: New file.
45220 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45221 (check-execstack-CFLAGS): Variable removed.
45222 ($(objpfx)check-execstack.h): Target removed.
45223 ($(objpfx)execstack-default): New target.
45224 (generated): Add that instead of check-execstack.h.
45225 ($(all-built-dso:=.phdr)): New static pattern rule.
45226 (generated): Add those targets.
45227 * elf/check-execstack.c: File removed.
45228
82a79e7d
RM
45229 * scripts/check-textrel.awk: New file.
45230 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45231 (check-textrel-CFLAGS): Variable removed.
45232 (all-built-dso): Use := to define.o
45233 ($(all-built-dso:=.dyn)): New static pattern rule.
45234 (generated): Add those targets.
45235 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45236 * config.make.in (READELF): New substituted variable.
45237 * elf/check-textrel.c: File removed.
45238
62fde54f 452392012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 45240
615605c9
JM
45241 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45242 allow.
45243 * conform/data/ctype.h-data [C99-based standards] (isblank):
45244 Expect function.
45245 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45246 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45247 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45248 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45249 Specify type. Require positive value.
45250 (EILSEQ): Likewise.
45251 (ERANGE): Likewise.
45252 [ISO || POSIX] (EILSEQ): Do not expect.
45253 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45254 Specify type. Require positive value.
45255 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45256 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45257 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45258 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45259 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45260 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45261 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45262 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45263 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45264 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45265 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45266 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45267 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45268 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45269 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45270 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45271 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45272 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45273 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45274 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45275 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45276 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45277 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45278 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45279 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45280 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45281 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45282 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45283 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45284 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45285 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45286 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45287 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45288 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45289 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45290 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45291 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45292 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45293 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45294 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45295 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45296 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45297 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45298 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45299 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45300 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45301 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45302 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45303 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45304 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45305 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45306 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45307 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45308 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45309 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45310 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45311 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45312 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45313 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45314 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45315 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45316 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45317 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45318 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45319 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45320 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45321 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45322 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45323 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45324 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45325 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45326 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45327 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45328 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45329 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45330 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45331 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45332 Require >= 2.
45333 (FLT_ROUNDS): Expect as macro, not constant.
45334 (FLT_MANT_DIG): Use macro-int-constant.
45335 (DBL_MANT_DIG): Likewise.
45336 (LDBL_MANT_DIG): Likewise.
45337 (FLT_DIG): Likewise.
45338 (DBL_DIG): Likewise.
45339 (LDBL_DIG): Likewise.
45340 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45341 (DBL_MIN_EXP): Likewise.
45342 (LDBL_MIN_EXP): Likewise.
45343 (FLT_MAX_EXP): Use macro-int-constant.
45344 (DBL_MAX_EXP): Likewise.
45345 (LDBL_MAX_EXP): Likewise.
45346 (FLT_MAX_10_EXP): Likewise.
45347 (DBL_MAX_10_EXP): Likewise.
45348 (LDBL_MAX_10_EXP): Likewise.
45349 (FLT_MAX): Use macro-constant.
45350 (DBL_MAX): Likewise.
45351 (LDBL_MAX): Likewise.
45352 (FLT_EPSILON): Use macro-constant. Give upper bound.
45353 (DBL_EPSILON): Likewise.
45354 (LDBL_EPSILON): Likewise.
45355 (FLT_MIN): Likewise.
45356 (DBL_MIN): Likewise.
45357 (LDBL_MIN): Likewise.
45358 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45359 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45360 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45361 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45362 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45363 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45364 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45365 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45366 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45367 [ISO11] (FLT_TRUE_MIN): Likewise.
45368 [ISO11] (LDBL_TRUE_MIN): Likewise.
45369 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45370 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45371 (SCHAR_MIN): Use macro-int-constant. Specify type.
45372 (SCHAR_MAX): Likewise.
45373 (UCHAR_MAX): Likewise.
45374 (CHAR_MIN): Likewise.
45375 (CHAR_MAX): Likewise.
45376 (MB_LEN_MAX): Use macro-int-constant.
45377 (SHRT_MIN): Use macro-int-constant. Specify type.
45378 (SHRT_MAX): Likewise.
45379 (USHRT_MAX): Likewise.
45380 (INT_MAX): Likewise.
45381 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45382 bound negative.
45383 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45384 bound with "U".
45385 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45386 bound with "L".
45387 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45388 bound negative. Suffix upper bound with "L".
45389 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45390 bound with "UL".
45391 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45392 Specify type.
45393 [C99-based standards] (LLONG_MAX): Likewise.
45394 [C99-based standards] (ULLONG_MAX): Likewise.
45395 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45396 == 0.
45397 [ISO11] (max_align_t): Require type.
45398 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45399
c9140a62
JM
45400 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45401 from $CFLAGS, without defining away __attribute__ calls.
45402 (checknamespace): Use $CFLAGS_namespace.
45403
9af0bf29
JM
45404 * conform/conformtest.pl (@keywords): Only include C99 keywords
45405 for standards based on C99 or C11.
45406
343222a2
JM
45407 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45408 Disable tests.
45409 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45410 UNIX98]: Likewise.
45411
661f8cf0
JM
45412 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45413 usability of symbols in #if.
45414
ee74b9cb
JM
45415 * conform/conformtest.pl: If macro or constant types start
45416 "promoted:", expect the symbol to be of the following type
45417 promoted by the integer promotions.
62fde54f 45418
aafc49b3
JM
45419 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45420 in one place. Also handle "macro-constant".
45421
fefdf574
JM
45422 * conform/conformtest.pl: Only accept expected macro values with
45423 "==". Parse all "macro" lines in one place.
45424 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45425
f2d922fe
JM
45426 * conform/conformtest.pl: Handle braced types on "constant" lines
45427 instead of handling "typed-constant".
45428 * conform/data/signal.h-data: Use "constant" instead of
45429 "typed-constant".
45430
d22956c9
JM
45431 * conform/conformtest.pl: Handle "optional-" at start of lines in
45432 one place rather than duplicating several cases. Handle each
45433 format of "macro" line with initial "optional-".
45434
028e2e38
JM
45435 * conform/conformtest.pl: Only accept expected constant or
45436 optional-constant values with "==". Parse all "constant" lines in
45437 one place. Parse all "optional-constant" lines in one place.
45438 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45439 * conform/data/fmtmsg.h-data: Likewise.
45440 * conform/data/netinet/in.h-data: Likewise.
45441 * conform/data/tar.h-data: Likewise.
45442 * conform/data/limits.h-data: Use "==" form on "constant" and
45443 "optional-constant" lines.
45444
1b8f2850
JM
45445 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45446 Use -std=c99 for XOPEN2K.
45447 (@knownproblems): Remove.
45448 (newtoken): Don't check %isknown.
45449
a05a144b
JM
45450 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45451 Do not expect macro.
45452 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45453 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45454 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45455 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45456 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45457 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45458 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45459 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45460 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45461 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45462 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45463 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45464 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45465 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45466 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45467 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45468 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45469 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45470 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45471 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45472 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45473 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45474 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45475 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45476 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45477 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45478 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45479 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45480 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45481 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45482 [XPG3] (acosh): Likewise.
45483 [XPG3] (asinh): Likewise.
45484 [XPG3] (atanh): Likewise.
45485 [XPG3] (cbrt): Likewise.
45486 [XPG3] (expm1): Likewise.
45487 [XPG3] (ilogb): Likewise.
45488 [XPG3] (log1p): Likewise.
45489 [XPG3] (logb): Likewise.
45490 [XPG3] (nextafter): Likewise.
45491 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45492 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45493 [XPG3] (remainder): Likewise.
45494 [XPG3] (rint): Likewise.
45495 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45496 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45497 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45498 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45499 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45500 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45501 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45502 [UNIX98 || XOPEN2K] (scalb): Expect.
45503 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45504 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45505 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45506 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45507 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45508 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45509 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45510 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45511 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45512 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45513 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45514 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45515 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45516 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45517 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45518 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45519 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45520 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45521 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45522 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45523 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45524 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45525 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45526 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45527 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45528 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45529 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45530 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45531 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45532 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45533 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45534 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45535 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45536 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45537 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45538 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45539 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45540 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45541 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45542 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45543 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45544 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45545 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45546 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45547 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45548 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45549 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45550 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45551 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45552 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45553 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45554 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45555 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45556 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45557 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45558 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45559 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45560 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45561 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45562 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45563 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45564 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45565 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45566 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45567 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45568 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45569 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45570 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45571 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45572 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45573 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45574 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45575 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45576 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45577 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45578 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45579 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45580 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45581 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45582 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45583 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45584 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45585 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45586 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45587 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45588 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45589 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45590 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45591 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45592 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45593 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45594 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45595 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45596 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45597 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45598 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45599 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45600 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45601 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45602 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45603 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45604 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45605 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45606 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45607 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45608 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45609 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45610 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45611 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45612 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45613 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45614 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45615 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45616 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45617 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45618 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45619 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45620 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45621 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45622 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45623 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45624 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45625 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45626 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45627 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45628 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45629 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45630 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45631 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45632 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45633 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45634 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45635 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45636 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45637 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45638 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45639 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45640
73c5ebe3
JM
45641 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45642 _XOPEN_SOURCE_EXTENDED for XPG4.
45643
39c33b6c
JM
45644 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45645
62fde54f
JM
45646 * Makeconfig (localtime): Remove variable.
45647 (inst_localtime-file): Likewise.
45648
0741d64c
AS
456492012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45650
45651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45652 Update.
45653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45654 Update.
45655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45656 Update.
45657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45658 Update.
45659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45660 Update.
45661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45662 Update.
45663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45664 Update.
45665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45666 Update.
45667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45668 Update.
45669
7cb029ee
JM
456702012-05-01 Joseph Myers <joseph@codesourcery.com>
45671
45672 [BZ #2550]
45673 [BZ #2570]
45674 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45675 comparisons to determine direction to adjust input.
45676 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45677 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45678 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45679 Likewise.
45680 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45681 Likewise.
45682 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45683 Likewise.
45684 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45685 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45686 Likewise.
45687 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45688 Likewise.
45689 * math/libm-test.inc (nexttoward_test): Add more tests.
45690
412bd966
AS
456912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45692
45693 [BZ #14040]
45694 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45695 in version GLIBC_2.1, not GLIBC_2.0.
45696 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45697 Likewise.
45698
9568c0c2
JM
456992012-04-30 Joseph Myers <joseph@codesourcery.com>
45700
adfbc8ac
JM
45701 [BZ #13942]
45702 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45703 (1 - x) * (1 + x).
45704 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45705 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45706 * math/libm-test.inc (acos_test): Add more tests.
45707 (asin_test): Likewise.
45708 * sysdeps/i386/fpu/libm-test-ulps: Update.
45709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45710
5ba3cc69
JM
45711 [BZ #14034]
45712 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45713 of square root.
45714 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45715 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45716 * math/libm-test.inc (acos_test_tonearest): New function.
45717 (acos_test_towardzero): Likewise.
45718 (acos_test_downward): Likewise.
45719 (acos_test_upward): Likewise.
45720 (asin_test_tonearest): Likewise.
45721 (asin_test_towardzero): Likewise.
45722 (asin_test_downward): Likewise.
45723 (asin_test_upward): Likewise.
45724 (main): Call the new functions.
45725 * sysdeps/i386/fpu/libm-test-ulps: Update.
45726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45727
9568c0c2
JM
45728 [BZ #13884]
45729 [BZ #13924]
45730 * math/e_exp10.c: Include <float.h>.
45731 (__ieee754_exp10): Handle underflow here rather than multiplying
45732 large negative argument by M_LN10.
45733 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45734 of __ieee754_expf.
45735 * math/e_exp10l.c: Include <float.h>.
45736 (__ieee754_exp10l): Handle underflow here rather than multiplying
45737 large negative argument by M_LN10l.
45738 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45739 spurious overflow exception on underflow.
45740
5ac3ea17
MP
457412012-04-29 Marek Polacek <polacek@redhat.com>
45742
45743 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45744 (__fortify_function): New macro.
45745 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45746 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45747 __extern_always_inline.
45748 * libio/bits/stdio2.h: Likewise.
45749 * libio/bits/stdio.h: Likewise.
45750 * string/string.h: Likewise.
45751 * string/bits/string3.h: Likewise.
45752 * include/stdio.h: Likewise.
45753 * stdlib/bits/stdlib.h: Likewise.
45754 * stdlib/stdlib.h: Likewise.
45755 * rt/bits/mqueue2.h: Likewise.
45756 * rt/mqueue.h: Likewise.
45757 * posix/bits/unistd.h: Likewise.
45758 * posix/unistd.h: Likewise.
45759 * io/bits/poll2.h: Likewise.
45760 * io/bits/fcntl2.h: Likewise.
45761 * io/fcntl.h: Likewise.
45762 * io/sys/poll.h: Likewise.
45763 * misc/bits/syslog.h: Likewise.
45764 * misc/bits/syslog-ldbl.h: Likewise.
45765 * misc/sys/syslog.h: Likewise.
45766 * socket/bits/socket2.h: Likewise.
45767 * socket/sys/socket.h: Likewise.
45768 * debug/tst-chk1.c: Likewise.
45769 * wcsmbs/bits/wchar2.h: Likewise.
45770 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45771 * wcsmbs/wchar.h: Likewise.
45772
ecf0ebfb
AJ
457732012-04-29 Andreas Jaeger <aj@suse.de>
45774
45775 * Makerules (tests): Remove enable-check-abi protection.
45776 (check-abi-warn): Remove.
45777 (check-abi-%): Remove check-abi-warn usage.
45778
45779 * configure.in: Remove check-abi configure option.
45780 * configure: Regenerated.
45781 * config.make.in (enable-check-abi): Remove.
45782
6d5c57fa
AS
457832012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45784
24c5d07e 45785 [BZ #14033]
ded5180a
AS
45786 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45787 double functions to double *_finite functions.
45788
7e0d315d
AS
45789 [BZ #13941]
45790 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45791 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45792 LDBL_MIN_EXP.
45793 * stdio-common/Makefile (tests): Add tst-sprintf3.
45794 * stdio-common/tst-sprintf3.c: New file.
45795
6d5c57fa
AS
45796 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45797 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45798
0749ff8b
JM
457992012-04-28 Joseph Myers <joseph@codesourcery.com>
45800
45801 * conform/conformtest.pl: Remove duplicate typed-constant
45802 handling.
45803
8dbd5d7b
DM
458042012-04-28 David S. Miller <davem@davemloft.net>
45805
45806 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45807 (check-abi-%): Remove AWK script prerequisite and explicit
45808 abilist directory.
45809 (check-abi): Rewrite to just diff the symlist with the abilist.
45810 (config-tls, config-abi-config): Delete, no longer used.
45811 (update-abi-%): Remove AWK script and explicit abilist directory.
45812 (update-abi): Rewrite to simply compare and conditionally copy the
45813 symlist and the sysdep abilist file. Remove update-abi-config
45814 checks.
45815 * abilist/ld.abilist: Remove.
45816 * abilist/libBrokenLocale.abilist: Remove.
45817 * abilist/libanl.abilist: Remove.
45818 * abilist/libcrypt.abilist: Remove.
45819 * abilist/libdl.abilist: Remove.
45820 * abilist/librt.abilist: Remove.
45821 * abilist/libthread_db.abilist: Remove.
45822 * abilist/libutil.abilist: Remove.
45823 * scripts/extract-abilist.awk: Remove.
45824 * scripts/merge-abilist.awk: Remove.
45825 * sysdeps/generic/libcidn.abilist: New file.
45826 * sysdeps/generic/libnss_compat.abilist: New file.
45827 * sysdeps/generic/libnss_db.abilist: New file.
45828 * sysdeps/generic/libnss_dns.abilist: New file.
45829 * sysdeps/generic/libnss_files.abilist: New file.
45830 * sysdeps/generic/libnss_hesiod.abilist: New file.
45831 * sysdeps/generic/libnss_nis.abilist: New file.
45832 * sysdeps/generic/libnss_nisplus.abilist: New file.
45833 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45834 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45835 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45836 file.
45837 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45838 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45839 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45840 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45841 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45842 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45843 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45844 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45845 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45846 file.
45847 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45848 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45849 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45850 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45851 file.
45852 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45853 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45854 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45855 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45856 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45857 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45858 file.
45859 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45860 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45861 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45862 file.
45863 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45865 New file.
45866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45867 New file.
45868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45869 New file.
45870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45871 New file.
45872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45873 New file.
45874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45875 New file.
45876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45877 New file.
45878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45879 New file.
45880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45881 New file.
45882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45883 New file.
45884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45885 New file.
45886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45887 New file.
45888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45889 New file.
45890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45891 file.
45892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45893 New file.
45894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45895 New file.
45896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45897 file.
45898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45899 New file.
45900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45901 New file.
45902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45903 file.
45904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45905 New file.
45906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45907 New file.
45908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45909 New file.
45910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45911 New file.
45912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45913 New file.
45914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45915 New file.
45916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45918 file.
45919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45920 New file.
45921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45922 file.
45923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45924 file.
45925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45926 file.
45927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45928 file.
45929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45930 file.
45931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45932 New file.
45933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45934 file.
45935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45936 file.
45937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45938 New file.
45939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45940 file.
45941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45943 file.
45944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45945 New file.
45946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45947 file.
45948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45949 file.
45950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45951 file.
45952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45953 file.
45954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45955 file.
45956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45957 New file.
45958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45959 file.
45960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45961 file.
45962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45963 New file.
45964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45965 file.
45966 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45967 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45968 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45969 file.
45970 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45971 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45972 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45973 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45974 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45975 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45976 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45977 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45978 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45979 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45982 file.
45983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45984 New file.
45985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45986 file.
45987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45988 file.
45989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45990 file.
45991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45992 file.
45993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45994 file.
45995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45996 New file.
45997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45998 New file.
45999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46000 file.
46001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46002 New file.
46003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46004 file.
46005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46007 file.
46008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46009 New file.
46010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46011 file.
46012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46013 file.
46014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46015 file.
46016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46017 file.
46018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46019 file.
46020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46021 New file.
46022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46023 New file.
46024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46025 file.
46026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46027 New file.
46028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46029 file.
46030
41d73a1b
JM
460312012-04-28 Joseph Myers <joseph@codesourcery.com>
46032
46033 * conform/conformtest.pl: Fix typo in handling typed-constant from
46034 allow-header.
46035
28aeeda4
JM
460362012-04-27 Joseph Myers <joseph@codesourcery.com>
46037
adae8f5e
JM
46038 * README: Cut down references to pre-2.6 Linux kernels and
46039 Linuxthreads. Update lists of configurations in libc and ports
46040 and sort alphabetically. Say "or newer" with Linux kernel version
46041 requirements.
46042
28aeeda4
JM
46043 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46044
a462cb63
RA
460452012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46046
46047 [BZ #887]
46048 * math/libm-test.inc (logb_test_downward): New test to expose
46049 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46050 rounding mode.
46051
6ad3493e
JM
460522012-04-27 Joseph Myers <joseph@codesourcery.com>
46053
46054 [BZ #14027]
46055 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46056 to be done.
46057 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46058 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46059
2ce4f015
JM
460602012-04-26 Joseph Myers <joseph@codesourcery.com>
46061
5aeb141a
JM
46062 * sysdeps/unix/i386/brk.S: Remove file.
46063 * sysdeps/unix/i386/dl-brk.S: Likewise.
46064 * sysdeps/unix/i386/pipe.S: Likewise.
46065 * sysdeps/unix/i386/sigreturn.S: Likewise.
46066 * sysdeps/unix/i386/syscall.S: Likewise.
46067 * sysdeps/unix/i386/vfork.S: Likewise.
46068 * sysdeps/unix/i386/wait.S: Likewise.
46069
7143acae
JM
46070 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46071 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46072
2ce4f015
JM
46073 * configure.in (arm*-none*): Do not allow without
46074 --enable-hacker-mode.
46075 (netbsd*): Remove case setting base_os.
46076 (386bsd*): Likewise.
46077 (freebsd*): Likewise.
46078 (bsdi*): Likewise.
46079 (osf*): Likewise.
46080 (sunos*): Likewise.
46081 (ultrix*): Likewise.
46082 (newsos*): Likewise.
46083 (dynix*): Likewise.
46084 (*bsd*): Likewise.
46085 (sysv*): Likewise.
46086 (isc*): Likewise.
46087 (esix*): Likewise.
46088 (sco*): Likewise.
46089 (minix*): Likewise.
46090 (irix4*): Likewise.
46091 (irix6*): Likewise.
46092 (solaris[2-9]*): Likewise.
46093 (none): Likewise.
46094 * configure: Regenerated.
46095
0ac229c8
AZ
460962012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46097
46098 [BZ #11521]
46099 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46100 overflow or cancellation in calculating denominator.
46101 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46102 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46103 down expression to avoid unexpected rounding in newer GCCs.
46104 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46105
33f244f4
DM
461062012-04-26 David S. Miller <davem@davemloft.net>
46107
46108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46109 long-double compat symbols.
46110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46123
cfa1f3e8
DM
461242012-04-25 David S. Miller <davem@davemloft.net>
46125
46126 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46127 HWCAP_* values only after the memory barriers have been defined.
46128 (atomic_full_barrier): Define.
46129 (atomic_read_barrier): Define.
46130 (atomic_write_barrier): Define.
46131
6e236b92
SP
461322012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46133
46134 * shlib-versions: Add libgcc_s version information.
46135 * sysdeps/generic/libgcc_s.h: Remove.
46136 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46137 libgcc_s.h.
46138 * sysdeps/gnu/unwind-resume.c: Likewise.
46139 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46140
aab39a09
DM
461412012-04-25 David S. Miller <davem@davemloft.net>
46142
46143 * sysdeps/unix/sparc/brk.S: Delete.
46144 * sysdeps/unix/sparc/dl-brk.S: Delete.
46145 * sysdeps/unix/sparc/pipe.S: Delete.
46146 * sysdeps/unix/sparc/sysdep.S: Delete.
46147 * sysdeps/unix/sparc/sysdep.h: Delete.
46148 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
46149 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46150 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46151 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46152 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
46153 (JUMPTARGET): Remove.
46154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46155 sysdeps/unix/sparc/sysdep.h
46156 (ENTRY, END): Remove.
46157 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46158
a3cc4f48
JM
461592012-04-25 Joseph Myers <joseph@codesourcery.com>
46160
2ed8cda2
JM
46161 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46162 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46163 -DIS_IN_build.
46164
35d76d59
JM
46165 * timezone/README: Update upstream location and email address for
46166 tzcode and tzdata.
46167 * timezone/zdump.c: Update from tzcode 2012b.
46168 * timezone/zic.c: Likewise.
46169
a3cc4f48
JM
46170 * configure.in (libc_cv_as_needed): Remove test.
46171 * configure: Regenerated.
46172 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46173 conditional definition.
46174 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46175 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46176 * config.make.in (have-as-needed): Remove variable.
46177
ceab42c3
SP
461782012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46179 Paul Pluzhnikov <ppluzhnikov@google.com>
46180
46181 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46182 strings correctly.
46183
3ce2865f
CLT
461842012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46185
46186 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46187 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46188 * sysdeps/sh/strlen.S: Likewise.
46189
f37e0d68
JM
461902012-04-24 Joseph Myers <joseph@codesourcery.com>
46191
ae186e9a
JM
46192 * sysdeps/unix/fork.S: Remove file.
46193 * sysdeps/unix/i386/fork.S: Likewise.
46194 * sysdeps/unix/sparc/fork.S: Likewise.
46195
b96914af
JM
46196 * sysdeps/unix/system.c: Remove file.
46197 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46198
f37e0d68
JM
46199 * sysdeps/unix/getegid.S: Remove file.
46200 * sysdeps/unix/geteuid.S: Likewise.
46201
87ef29ca
RM
462022012-04-24 Roland McGrath <roland@hack.frob.com>
46203
83bcd236
RM
46204 * scripts/check-localplt.awk: New file.
46205 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46206 of diff.
46207 * scripts/data/localplt-generic.data: Add a comment.
46208
87ef29ca
RM
46209 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46210 NODE when __dir_mkfile failed.
46211 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46212 Reported by Ludovic Courtès <ludo@gnu.org>.
46213
e5a6e567
AJ
462142012-04-24 Andreas Jaeger <aj@suse.de>
46215
46216 * Makerules (common-clean): Also remove gen-as-const-headers
46217 files.
46218
c1820385
JM
462192012-04-24 Joseph Myers <joseph@codesourcery.com>
46220
46221 * Makerules (native-compile): Do not change working directory for
46222 build. Use $(OUTPUT_OPTION) in command.
46223 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46224
94e02fc4
AZ
462252012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46226
46227 [BZ #13886]
46228 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46229 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46230 * math/libm-test.inc (floor_test): Add more tests.
46231 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46232
3a533ca3
JM
462332012-04-24 Joseph Myers <joseph@codesourcery.com>
46234
940ab4b3
JM
46235 * sysdeps/unix/getdents.c: Remove file.
46236 * sysdeps/unix/sysv/getdents.c: Likewise.
46237 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46238
90e037bd
JM
46239 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46240 sysdeps/unix/mman/syscalls.list.
46241 (mmap): Likewise.
46242 (mprotect): Likewise.
46243 (msync): Likewise.
46244 (munmap): Likewise.
46245 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46246 * sysdeps/unix/mman/syscalls.list: Remove.
46247 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46248
3a533ca3
JM
46249 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46250 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46251 * configure: Regenerated.
46252 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46253 $(libgcc_s_suffix).
46254 * config.make.in (libgcc_s_suffix): Remove variable.
46255
1ad743de
JM
462562012-04-23 Joseph Myers <joseph@codesourcery.com>
46257
4ad451e2
JM
46258 * sysdeps/unix/sysv/gethostname.c: Move to ...
46259 * sysdeps/posix/gethostname.c: ... here.
46260
5e37ce39
JM
46261 * sysdeps/unix/execve.S: Remove file.
46262
1ad743de
JM
46263 * sysdeps/unix/_exit.S: Remove file.
46264
4e681b5b
AJ
462652012-04-23 Andreas Jaeger <aj@suse.de>
46266
46267 [BZ #13739]
46268 * manual/Makefile: Remove make dist support, there's no
46269 need for a stand-alone documentation tar ball.
46270 (TEXI2DVI): Define always, it's not in Makeconfig.
46271 (dist): Removed.
46272 (tar-it): Removed.
46273 (edition): Removed.
46274 (glibc-doc-$(edition).tar): Removed
46275 (%.Z): Removed.
46276 (%.gz): Removed.
46277 (%.uu): Removed.
46278 (ETAGS): Remove, it's in Makeconfig.
46279 (move-if-change): Remove, it's in Makeconfig.
46280
38686a03 462812012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
46282
46283 [BZ #13970]
46284 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46285 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46286 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46287 (strtod_l, strtof_l, strtold_l): Remove __wur.
46288 It is not necessarily an error to ignore strtol's return value.
46289 One can reliably look at the stored endptr to decide whether
46290 the number had valid syntax.
46291
7c0616fa
AJ
462922012-04-21 Andreas Jaeger <aj@suse.de>
46293
803cb6b7 46294 [BZ #13739]
7c0616fa
AJ
46295 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46296
b0fe253f
JM
462972012-04-21 Joseph Myers <joseph@codesourcery.com>
46298
46299 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46300 * sysdeps/unix/sysv/Versions: Remove file.
46301
8280f22d
MT
463022012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46303
46304 [BZ #13927]
46305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46306
75ce411f 463072012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46308
46309 [BZ #7064]
46310 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46311 version from __vm86.
46312
097d59fa
JM
463132012-04-20 Joseph Myers <joseph@codesourcery.com>
46314
a90f3bcb
JM
46315 * sysdeps/unix/common/lxstat.c: Remove file.
46316 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46317
edc7ea78
JM
46318 * sysdeps/unix/sysv/Makefile: Remove file.
46319
cb78c221
JM
46320 * sysdeps/unix/sysv/direct.h: Remove file.
46321
efa6a45f
JM
46322 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46323 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46324 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46325 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46326 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46327 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46328 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46329
9c9f2d0c
JM
46330 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46331
4541c83b
JM
46332 * sysdeps/unix/xmknod.c: Remove file.
46333 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46334
f5d153a0
JM
46335 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46336
aa746595
JM
46337 * sysdeps/unix/sysv/i386/time.S: Remove file.
46338
cce5905e
JM
46339 * sysdeps/unix/fxstat.c: Remove file.
46340 * sysdeps/unix/xstat.c: Likewise.
46341 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46342
37fa3841
JM
46343 * sysdeps/unix/sysv/sigaction.c: Remove file.
46344
ff1962a3
JM
46345 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46346 (sysdep_headers): Remove variable.
46347 [termio.h not in sysdep_headers] (generated): Likewise.
46348 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46349 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46350 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46351 * sysdeps/unix/sysv/tcflow.c: Likewise.
46352 * sysdeps/unix/sysv/tcflush.c: Likewise.
46353 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46354 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46355 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46356 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46357 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46358
e7740d31
JM
46359 * sysdeps/unix/siglist.c: Remove file.
46360
ee06f18b
JM
46361 * sysdeps/unix/getppid.S: Remove file.
46362
097d59fa
JM
46363 * sysdeps/unix/mkdir.c: Remove file.
46364 * sysdeps/unix/rmdir.c: Likewise.
46365
ff3d51ec
AS
463662012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46367
46368 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46369 ERR_MAX value.
46370 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46371 errlist-compat value.
46372
50f81fd7
DM
463732012-04-18 David S. Miller <davem@davemloft.net>
46374
46375 * sysdeps/generic/memcopy.h (reg_char): Delete.
46376 * debug/strcat_chk.c: Use char, not reg_char.
46377 * debug/strcpy_chk.c: Likewise.
46378 * debug/strncat_chk.c: Likewise.
46379 * debug/strncpy_chk.c: Likewise.
46380 * string/memchr.c: Likewise.
46381 * string/memrchr.c: Likewise.
46382 * string/rawmemchr.c: Likewise.
46383 * string/strcat.c: Likewise.
46384 * string/strchr.c: Likewise.
46385 * string/strchrnul.c: Likewise.
46386 * string/strcmp.c: Likewise.
46387 * string/strcpy.c: Likewise.
46388 * string/strncat.c: Likewise.
46389 * string/strncmp.c: Likewise.
46390 * string/strncpy.c: Likewise.
46391
8ff41c46
WS
463922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46393
46394 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46395 __builtin_memcopy is called when src and dest ranges are known to not
46396 overlap.
46397
6b652f46
WS
463982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46399
46400 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46401 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46402 fwd_align_merge macro call.
46403 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46404 bwd_align_merge macro call.
46405 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46406
b282631e
WS
464072012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46408
46409 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46410 bwd_align_merge macros.
46411 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46412 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46413 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46414
95aa737c
DM
464152012-04-18 David S. Miller <davem@davemloft.net>
46416
46417 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46418
7a99a614
AJ
464192012-04-18 Andreas Jaeger <aj@suse.de>
46420
46421 [BZ# 6794]
46422 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46423 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46424 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46425
46426 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46427 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46428 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46429
46430 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46431 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46432 Adjust for changed ldbl-128 files.
46433
46434 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46435 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46436 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46437
e5270c23
DM
464382012-04-17 David S. Miller <davem@davemloft.net>
46439
46440 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46441
fb5e92c9
AS
464422012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46443
46444 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46445 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46446 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46447 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46448 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46449 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46450
76da7265
AZ
464512012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46452
46453 [BZ #6794]
46454 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46455 * math/libm-test.inc: Add ilogb errno and exception tests.
46456 * math/w_ilogb.c: New file: ilogb wrapper.
46457 * math/w_ilogbf.c: New file: ilogbf wrapper.
46458 * math/w_ilogbl.c: New file: ilogbl wrapper.
46459 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46460 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46461 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46462 exception being thrown with 0.0 as argument.
46463 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46464 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46465 exception being thrown with 0.0 as argument.
46466 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46467 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46468 exception being thrown with 0.0 as argument.
46469 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46470 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46471 exception being thrown with 0.0 as argument.
46472 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46473 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46474 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46475 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46476 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46477 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46478 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46479 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46480 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46481
0396e69d
PB
464822012-04-17 Petr Baudis <pasky@ucw.cz>
46483
46484 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46485 with altivec.
46486
750b5926
MP
464872012-04-16 Marek Polacek <polacek@redhat.com>
46488
46489 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46490
751728a1
MP
464912012-04-16 Marek Polacek <polacek@redhat.com>
46492
46493 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46494 operands of fdivp instruction.
46495
34a27407
L
464962012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46497
46498 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46499 * elf/tst-auditmod3b.c: Likewise.
46500 * elf/tst-auditmod4b.c: Likewise.
46501 * elf/tst-auditmod5b.c: Likewise.
46502 * elf/tst-auditmod6b.c: Likewise.
46503 * elf/tst-auditmod6c.c: Likewise.
46504 * elf/tst-auditmod7b.c: Likewise.
46505 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46506 * sysdeps/x86_64/preconfigure.in: Likewise.
46507 * sysdeps/x86_64/preconfigure: Regenerated.
46508
7e73e17d
L
465092012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46510
46511 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46512 __ILP32__.
46513
c7a6ab72
AB
465142012-04-13 Antoine Balestrat <merkil33@gmail.com>
46515
46516 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46517 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46518
a9e8e0e0
CL
465192012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46520
46521 [BZ #13973]
46522 * locale/iso-639.def: Fix gl language name. Spotted by
46523 Yaron Shahrabani.
46524
ec98af7d
RM
465252012-04-12 Roland McGrath <roland@hack.frob.com>
46526
46527 [BZ #2074]
46528 * libio/libio.h (__io_write_fn): Update comment.
46529
247c3ede
PB
465302012-04-12 Petr Baudis <pasky@ucw.cz>
46531
46532 [BZ #2074]
46533 * stdio.texi (Hook Functions): The user provided writer function
46534 is not allowed to return -1.
46535
55939d6d
DM
465362012-04-11 David S. Miller <davem@davemloft.net>
46537
46538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46539
90020f5a
MF
465402012-04-11 Mike Frysinger <vapier@gentoo.org>
46541
46542 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46543 Add a leading slash to rtkaio.
46544
288f9098
JM
465452012-04-11 Jim Meyering <meyering@redhat.com>
46546
90020f5a
MF
46547 [BZ #11959]
46548 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46549 It is not necessarily an error to ignore fwrite's return
46550 value. One can reliably use ferror to test for errors after
46551 the fact.
288f9098 46552
4be2b570
L
465532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46554
46555 * bits/types.h (__snseconds_t): New type.
46556 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46557
46558 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46559 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46560 (__SNSECONDS_T_TYPE): Likewise.
46561 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46562 (__SNSECONDS_T_TYPE): Likewise.
46563 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46564 (__SNSECONDS_T_TYPE): Likewise.
46565
288f9098 465662012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
46567
46568 [BZ #2636]
46569 * manual/time.texi (Processor Time): Return type of times is
46570 elapsed real time since an arbitrary point in the past.
46571 (CPU Time): Move CLK_TCK from here...
46572 (Processor Time): ...to here. Correct description.
46573 * manual/conf.texi (Constants for Sysconf): Correct description of
46574 _SC_CLK_TCK.
46575
d7dd4413
DM
465762012-04-10 David S. Miller <davem@davemloft.net>
46577
46578 [BZ #13967]
46579 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46580 where the is a gap between DT_REL(A) and DT_JMPREL.
46581
b46068fc
L
465822012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46583
46584 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46585 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46586 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46587
73d65cc3
SP
465882012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46589
46590 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46591 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46592 (dl_main): Handle --inhibit-cache.
46593 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46594 _dl_inhibit_cache.
46595 * elf/dl-load.c (_dl_map_object): Use it.
46596 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46597
bcc8d661
JM
465982012-04-09 Joseph Myers <joseph@codesourcery.com>
46599
8f9a2fae
JM
46600 [BZ #13872]
46601 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46602 (__ieee754_powl): Saturate large exponents rather than testing for
46603 overflow of y*log2(x).
46604 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46605 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46606 exceptions.
46607
bcc8d661
JM
46608 [BZ #11521]
46609 * math/s_ctan.c: Include <float.h>.
46610 (__ctan): Avoid internal overflow or cancellation in calculating
46611 denominator.
46612 * math/s_ctanf.c: Likewise.
46613 * math/s_ctanl.c: Likewise.
46614 * math/s_ctanh.c: Likewise.
46615 * math/s_ctanhf.c: Likewise.
46616 * math/s_ctanhl.c: Likewise.
46617 * math/libm-test.inc (ctan_test): Add more tests.
46618 (ctanh_test): Likewise.
46619 * sysdeps/i386/fpu/libm-test-ulps: Update.
46620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46621
823fbbb4
AJ
466222012-04-09 Andreas Jaeger <aj@suse.de>
46623
03879793
AJ
46624 [BZ #6894]
46625 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46626 is an optional BSD extension.
46627
823fbbb4
AJ
46628 [BZ #10254]
46629 * manual/stdio.texi (Opening Streams): Document additional fopen
46630 parameters.
46631
8de131cb
RM
466322012-04-09 Roland McGrath <roland@hack.frob.com>
46633
46634 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46635 %eax without telling the compiler.
46636
c0ed9d7d
CD
466372012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46638
46639 [BZ # 13963]
46640 * manual/install.texi: Use sourceware.org.
46641
c483f6b4
JM
466422012-04-09 Joseph Myers <joseph@codesourcery.com>
46643
d7dd9453
JM
46644 [BZ #13873]
46645 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46646 (__ieee754_pow): Generate overflow and underflow using huge*huge
46647 and tiny*tiny rather than just returning constant infinity or zero
46648 for large exponents.
46649 * math/libm-test.inc (pow_test): Require overflow exceptions for
46650 applicable cases of large exponents.
46651
c483f6b4
JM
46652 [BZ #706]
46653 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46654 (__ieee754_pow): Use iterative multiplication algorithm only for
46655 integer exponents with absolute value below 1024. Check for odd
46656 integer exponents when using algorithm for real exponents.
46657 * math/libm-test.inc (pow_test): Add more tests.
46658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46659
d2de7579
JM
466602012-04-08 Joseph Myers <joseph@codesourcery.com>
46661
46662 [BZ #13705]
46663 * math/libm-test.inc (exp_test): Do not allow overflow exception
46664 on underflow test.
46665
f77f1232
AJ
466662012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46667
46668 [BZ #13705]
46669 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46670 instead of __kernel_standard_f.
46671
3884932b
MF
466722012-04-08 Mike Frysinger <vapier@gentoo.org>
46673
46674 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46675 * sysdeps/x86_64/memset_chk.S: Likewise.
46676
54472e9c
AJ
466772012-04-08 Andreas Jaeger <aj@suse.de>
46678
6ab0fbfc
AJ
46679 [BZ #10153]
46680 * manual/startup.texi (Environment Access): Describe return value
46681 for putenv and setenv.
46682
61efba8c
AJ
46683 [BZ #6895]
46684 * manual/filesys.texi (Directory Entries): Add description for
46685 DT_LNK.
46686
95c3f29a
AJ
46687 [BZ #6890]
46688 * manual/filesys.texi (Directory Entries): Clarify that it's file
46689 system not operating system in the description of DT_UNKNOWN.
46690
54472e9c
AJ
46691 [BZ #6578]
46692 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46693
624254b1
SC
466942012-04-08 Stephen Compall <s11@member.fsf.org>
46695
46696 [BZ #6649]
46697 * manual/llio.texi (Opening and Closing Files): Add cross
46698 reference to explain mode argument.
46699
1e4920e0
MF
467002012-04-07 Mike Frysinger <vapier@gentoo.org>
46701
46702 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46703 * sysdeps/x86_64/memset_chk.S: Likewise.
46704
5ed848f3
DM
467052012-04-07 David S. Miller <davem@davemloft.net>
46706
46707 * elf/elf.h (R_SPARC_WDISP10): Define.
46708 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46709 R_SPARC_SIZE32.
46710 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46711 R_SPARC_SIZE64 and R_SPARC_H34.
46712
96154cd8
CD
467132012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46714
46715 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46716 conditions and remove no longer applicable assertion.
46717
9904dc47
L
467182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46719
46720 * bits/byteswap.h: Include <features.h>.
46721 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46722 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46723
f8887d0a
L
467242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46725
46726 * bits/byteswap.h (__bswap_16): Removed.
46727 Include <bits/byteswap-16.h> to get __bswap_16.
46728 * sysdeps/i386/bits/byteswap.h: Likewise.
46729 * sysdeps/s390/bits/byteswap.h: Likewise.
46730 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46731 * bits/byteswap-16.h: New file.
46732 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46733 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46734 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46735 * string/Makefile (headers): Add bits/byteswap-16.h.
46736
62470f60
PP
467372012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46738
46739 [BZ #13895]
46740 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46741 extra indirection.
46742 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46743 * nss/tst-nss-static.c: New.
46744
4dad7bab
RM
467452012-04-06 Robert Millan <rmh@gnu.org>
46746
46747 [BZ #6486]
46748 * manual/llio.texi (File Position Primitive): lseek
46749 refers to WHENCE when it really means OFFSET.
46750
e9142a17
AJ
467512012-04-06 Andreas Jaeger <aj@suse.de>
46752
2c040eff
AJ
46753 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46754 strncmp declarations.
46755
e9142a17
AJ
46756 * abilist/libc.abilist: Add __poll and __ppoll.
46757
ff9f1c5f
DM
467582012-04-05 David S. Miller <davem@davemloft.net>
46759
dcd2ae90
DM
46760 * scripts/check-local-headers.sh: Accept a host triplet in the
46761 path matched by the exclude regexp.
46762
993eb054
DM
46763 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46764 definition.
46765 * sysdeps/powerpc/powerpc32/dl-machine.h
46766 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46767 * sysdeps/s390/s390-32/dl-machine.h
46768 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46769 * sysdeps/sparc/sparc32/dl-machine.h
46770 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46771 * sysdeps/sparc/sparc64/dl-machine.h
46772 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46773
ff9f1c5f
DM
46774 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46775 lazy binding.
48e2e132 46776 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
46777 undefined symbol errors.
46778
48e2e132 46779 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
46780 DT_NEEDED entries.
46781
e80d6f94
MM
467822012-04-05 Michael Matz <matz@suse.de>
46783
46784 [BZ #13592]
46785 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46786
349fa79f
AJ
467872012-04-05 Andreas Jaeger <aj@suse.de>
46788
46789 [BZ #13908]
46790 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46791 comment.
46792
f402708f
KK
467932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46794
46795 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46796 which ROUND is no valid rounding mode.
46797
2ecccfc9
KK
467982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46799
46800 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46801 read again.
46802 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46803
8a53f50f
KK
468042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46805
46806 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46807 an exception using FPU order intentionally.
46808
468092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46810
46811 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46812 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46813 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46814 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46815
d653abb7
SJ
468162012-04-05 Simon Josefsson <simon@josefsson.org>
46817
46818 [BZ #12340]
46819 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46820 EINVAL when BUFLEN is too smal.
46821
c3b1bf7d
TS
468222012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46823
46824 [BZ #13553]
46825 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46826 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46827
b1aa60f3
AJ
468282012-04-03 Andreas Jaeger <aj@suse.de>
46829
c3b1bf7d 46830 [BZ #13938]
67f60a26
AJ
46831 * manual/setjmp.texi (System V contexts): Fix sentence.
46832
b1aa60f3
AJ
46833 [BZ #13926]
46834 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46835 New macro for this case.
46836 [!__GNUC__] (__bswap_64): New inline function for this case.
46837 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46838 * bits/byteswap.h: Likewise.
46839 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46840 ull, guard with __GLIBC_HAVE_LONG_LONG.
46841
46842 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46843 __GLIBC_HAVE_LONG_LONG.
46844
46845 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46846 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46847
39c59c35
TMQMF
468482012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46849
46850 [BZ #13691]
46851 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46852 inptr and inend, rather than using last_ch.
46853
135ffda8
DM
468542012-04-02 David S. Miller <davem@davemloft.net>
46855
46856 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46857 * stdio-common/printf-parse.h (read_int): Change return type to
46858 'int', return -1 on INT_MAX overflow.
46859 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46860 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46861 overflows INT_MAX. Check for overflow of in-format-string precision
46862 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46863 SIZE_MAX not INT_MAX for integer overflow test.
46864 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46865 skip the construct in the format string but do not record anything.
46866 * stdio-common/bug22.c: Adjust to test both width/prevision
46867 INT_MAX overflow as well as total length INT_MAX overflow. Check
46868 explicitly for proper errno values.
46869
228c019e
TS
468702012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46871
302cadd3
TS
46872 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46873 CHAR_MAX.
46874 * string/test-strcmp.c [! WIDE]: Likewise.
46875 * time/tst-mktime2.c: Likewise for INT_MAX.
46876 * string/test-string.h: #include <sys/param.h> for MIN.
46877
228c019e
TS
46878 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46879 * sysdeps/i386/init-first.c (init): Likewise.
46880 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46881 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46882 * sysdeps/sh/init-first.c (init): Likewise.
46883
cfa633f5
UD
468842012-04-01 Ulrich Drepper <drepper@gmail.com>
46885
46886 * po/ru.po: Update from translation team.
d1635ef8 46887 * po/vi.po: Likewise.
cfa633f5 46888
6cd0a5ea
SP
468892012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46890
46891 * resolv/nss_dns/dns-host.c: Merge copyright years.
46892
4b43400f
LD
468932012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46894
46895 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46896 Optimize memcpy with prefetch if
46897 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46898 src, dst pointers have unequal 16 byte alignments.
46899
48c41d04
SP
469002012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46901
46902 [BZ #13928]
46903 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46904 from a CNAME entry and return the minimum ttl for the query.
46905 (gaih_getanswer_slice): Likewise.
46906
b8dc394d
JL
469072012-03-30 Jeff Law <law@redhat.com>
46908
46909 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46910 due to long keys.
46911 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46912 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46913
2f5a5ed0
JL
46914 * resolv/nss_dns/dns-host.c: Update copyright year.
46915
1d39e359
UD
469162012-03-30 Ulrich Drepper <drepper@gmail.com>
46917
c030f70c 46918 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46919 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46920
1d39e359
UD
46921 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46922 comments for sendmmsg.
46923
469242012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46925
46926 [BZ #13691]
46927 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46928 with only 1 character between 0x0041 and 0x01b0.
46929 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46930 * wcsmbs/tst-mbsnrtowcs.c: New file.
46931
20fde227
DM
469322012-03-29 David S. Miller <davem@davemloft.net>
46933
46934 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46935 small copies by hand.
46936
984a4237
JL
469372012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46938
46939 [BZ #13761]
57f41c40
AS
46940 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46941 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46942 group memberships.
984a4237 46943
18c9d62b
DM
469442012-03-28 David S. Miller <davem@davemloft.net>
46945
88d85d4f
DM
46946 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46947 that branches into memcpy.
46948 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46949 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46950 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46951 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46953 bits.
46954 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46955 implementation too.
46956 * sysdeps/sparc/mempcpy.S: New file.
46957
e5aa83e1
DM
46958 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46959 the IFUNC routine in the libc case.
46960 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46961
88570753
DM
46962 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46963 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46964 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46965 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46966 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46967 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46968 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46969 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46970
249d7567
DM
46971 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46972 loop to 256 bytes instead of 64 bytes and fix test signedness.
46973
18c9d62b
DM
46974 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46975 * sysdeps/sparc/sparc32/Makefile: rather than here...
46976 * sysdeps/sparc/sparc64/Makefile: and here.
46977
05f3d1f6
UD
469782012-03-28 Ulrich Drepper <drepper@gmail.com>
46979
46980 * malloc/mallocbug.c: Avoid warnings about unused variables.
46981
86ae07a8
JL
469822012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46983
46984 [BZ #13760]
46985 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46986 in the right place. Discard and retry query if response is
46987 larger than input buffer size.
46988
41bf21a1
JM
469892012-03-28 Joseph Myers <joseph@codesourcery.com>
46990
d6270972
JM
46991 [BZ #369]
46992 [BZ #2678]
46993 [BZ #3866]
46994 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46995 x for large integer exponent.
46996 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46997 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46998 sign of result as needed afterwards.
46999 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47000 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47001 result for underflowing pow the same as for overflow.
47002 (__kernel_standard_l): Handle powl overflow and underflow here
47003 rather than calling __kernel_standard.
47004 * math/libm-test.inc (pow_test): Add more tests.
47005
414fca03 47006 [BZ #3868]
41bf21a1
JM
47007 [BZ #13879]
47008 [BZ #13910]
47009 [BZ #13911]
47010 [BZ #13912]
47011 [BZ #13913]
47012 [BZ #13915]
47013 [BZ #13916]
47014 [BZ #13917]
47015 [BZ #13918]
47016 [BZ #13919]
47017 [BZ #13920]
47018 [BZ #13921]
47019 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47020 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47021 (__kernel_standard_l): New function.
47022 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47023 __kernel_standard.
47024 * math/w_acosl.c (__acosl): Likewise.
47025 * math/w_asinl.c (__asinl): Likewise.
47026 * math/w_atan2l.c (__atan2l): Likewise.
47027 * math/w_atanhl.c (__atanhl): Likewise.
47028 * math/w_coshl.c (__coshl): Likewise.
47029 * math/w_exp10l.c (__exp10l): Likewise.
47030 * math/w_exp2l.c (__exp2l): Likewise.
47031 * math/w_fmodl.c (__fmodl): Likewise.
47032 * math/w_hypotl.c (__hypotl): Likewise.
47033 * math/w_j0l.c (__j0l, __y0l): Likewise.
47034 * math/w_j1l.c (__j1l, __y1l): Likewise.
47035 * math/w_jnl.c (__jnl, __ynl): Likewise.
47036 * math/w_lgammal.c (__lgammal): Likewise.
47037 * math/w_log10l.c (__log10l): Likewise.
47038 * math/w_log2l.c (__log2l): Likewise.
47039 * math/w_logl.c (__logl): Likewise.
47040 * math/w_powl.c (__powl): Likewise.
47041 * math/w_remainderl.c (__remainderl): Likewise.
47042 * math/w_scalbl.c (sysv_scalbl): Likewise.
47043 * math/w_sinhl.c (__sinhl): Likewise.
47044 * math/w_sqrtl.c (__sqrtl): Likewise.
47045 * math/w_tgammal.c (__tgammal): Likewise.
47046 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47047 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47048 * math/libm-test.inc (acos_test): Add more tests.
47049 (acosh_test): Likewise.
47050 (asin_test): Likewise.
47051 (atanh_test): Likewise.
47052 (exp_test): Likewise.
47053 (exp10_test): Likewise.
47054 (exp2_test): Likewise.
47055 (expm1_test): Likewise.
47056 (lgamma_test): Likewise.
47057 (log_test): Likewise.
47058 (log10_test): Likewise.
47059 (log1p_test): Likewise.
47060 (log2_test): Likewise.
47061 (pow_test): Do not allow some spurious overflow exceptions.
47062 (sqrt_test): Add more tests.
47063 (tgamma_test): Likewise.
47064 (y0_test): Likewise.
47065 (y1_test): Likewise.
47066 (yn_test): Likewise.
47067
dd62fda6
AB
470682012-03-27 Anton Blanchard <anton@samba.org>
47069
47070 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47071 MAP_HUGETLB.
47072 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47073 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47074 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47075
1e3cdfda
AJ
470762012-03-27 David S. Miller <davem@davemloft.net>
47077
b855ab85
DM
47078 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47079
1e3cdfda
AJ
47080 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47081 have-as-vis3 check.
47082
470832012-03-27 Andreas Jaeger <aj@suse.de>
47084
47085 * sysdeps/x86_64/elf/configure.in: Moved to ...
47086 * sysdeps/x86_64/configure.in: ... here.
47087 * sysdeps/x86_64/elf/start.S: Moved to ...
47088 * sysdeps/x86_64/start.S: ... here.
47089 * sysdeps/x86_64/elf/configure: Delete.
47090
47091 * sysdeps/x86_64/configure.in: Merge contents from
47092 sysdeps/i386/configure.in (without i686 check).
47093
47094 * sysdeps/i386/elf/Versions: Merge into ...
47095 * sysdeps/i386/Versions: ... this.
47096 * sysdeps/i386/elf/Versions: Delete file.
47097 * sysdeps/i386/elf/start.S: Moved to ...
47098 * sysdeps/i386/start.S: ...here.
47099 * sysdeps/i386/elf/configure.in: Merge into...
47100 * sysdeps/i386/configure.in: ...here.
47101 * sysdeps/i386/elf/configure.in: Delete file.
47102 * sysdeps/i386/elf/configure: Delete file.
47103
47104 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47105 * debug/backtracesyms.c: ... here.
47106 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47107 * debug/backtracesymsfd.c: ... here.
47108 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47109 * sysdeps/generic/ifunc-sel.h: ... here.
47110
47111 * sysdeps/unix/i386/start.c: Delete file.
47112 * sysdeps/unix/sparc/start.c: Delete file.
47113 * sysdeps/unix/start.c: Delete file.
47114
47115 * sysdeps/sh/elf/configure.in: Moved to ...
47116 * sysdeps/sh/configure.in: ... here.
47117 * sysdeps/sh/elf/start.S: Moved to ...
47118 * sysdeps/sh/start.S: ... here.
47119 * sysdeps/sh/elf/configure: Delete file.
47120
47121 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47122 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47123 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47124 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47125 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47126 * sysdeps/powerpc/powerpc64/start.S: here.
47127 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47128 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47129 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47130 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47131 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47132
47133 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47134 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47135 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47136 * sysdeps/powerpc/powerpc32/start.S: ... here.
47137 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47138 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47139 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47140
47141 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47142 * sysdeps/powerpc/ifunc-sel.h: ... here.
47143 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47144 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47145
47146 * sysdeps/sparc/elf/configure.in: Moved to ...
47147 * sysdeps/sparc/configure.in: ... here.
47148 * sysdeps/sparc/elf/configure: Delete file.
47149 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47150 * sysdeps/sparc/sparc32/start.S: ... here.
47151 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47152 * sysdeps/sparc/sparc64/start.S: ... here.
47153 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47154 * sysdeps/sparc/sparc32/Makefile: ... this.
47155 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47156 * sysdeps/sparc/sparc64/Makefile: ... this.
47157
47158 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47159 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47160 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47161 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47162 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47163 * sysdeps/s390/s390-32/setjmp.S: ... here.
47164 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47165 * sysdeps/s390/s390-32/configure.in: ... here.
47166 * sysdeps/s390/s390-32/elf/configure: Delete file.
47167 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47168 * sysdeps/s390/s390-32/start.S: ... here.
47169
47170 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47171 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47172 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47173 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47174 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47175 * sysdeps/s390/s390-64/setjmp.S: ... here.
47176 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47177 * sysdeps/s390/s390-64/configure.in: ... here
47178 * sysdeps/s390/s390-64/elf/configure: Delete file.
47179 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47180 * sysdeps/s390/s390-64/start.S: ... here.
47181 * sysdeps/s390/s390-64/elf/configure: Delete.
47182
47183 * configure.in: Remove support for elf directories in sysdeps.
47184
47185 * configure: Regenerated.
47186 * sysdeps/i386/configure: Regenerated.
47187 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47188 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47189 * sysdeps/s390/s390-32/configure: Regenerated.
47190 * sysdeps/s390/s390-64/configure: Regenerated.
47191 * sysdeps/sh/configure: Regenerated.
47192 * sysdeps/sparc/configure: Regenerated.
47193 * sysdeps/x86_64/configure: Regenerated.
47194
a3f61311
AS
471952012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47196
c876e002
AS
47197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47198
a3f61311
AS
47199 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47200 denormal result into account.
47201
ac4c54f0
RM
472022012-03-25 Roland McGrath <roland@hack.frob.com>
47203
47204 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47205 Reported by Allan McRae <allan@archlinux.org>.
47206
6a9b9c02
JL
472072012-03-23 Jeff Law <law@redhat.com>
47208
47209 * nss/getnssent.c (__nss_getent): Fix typo.
47210
4c42a0c1
DM
472112012-03-23 David S. Miller <davem@davemloft.net>
47212
47213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47214
1532c7ac
L
472152012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47216
47217 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47218 to pad to uint64_t for each field.
47219 (dl_tls_index): Replace unsigned long with uint64_t.
47220
3ff42526
PP
472212012-03-23 Daniel Jacobowitz <dmj@google.com>
47222 Paul Pluzhnikov <ppluzhnikov@google.com>
47223
47224 [BZ #6528]
47225 * grp/Makefile (otherlibs): Don't set it.
47226 * inet/Makefile (otherlibs): Likewise.
47227 * login/Makefile (otherlibs): Likewise.
47228 * nscd/Makefile (otherlibs): Likewise.
47229 * posix/Makefile (otherlibs): Likewise.
47230 * pwd/Makefile (otherlibs): Likewise.
47231 * rt/Makefile (otherlibs): Likewise.
47232 * sunrpc/Makefile (otherlibs): Likewise.
47233 * nss/Makefile (otherlibs): Likewise.
47234 Add libnss_files to routines and static-only-routines.
47235 ($(objpfx)getent): Remove rule.
47236 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47237 static-only-routines.
47238
7c69cd14
JM
472392012-03-22 Joseph Myers <joseph@codesourcery.com>
47240
47241 [BZ #13892]
47242 * math/s_cexp.c: Include <float.h>.
47243 (__cexp): Handle exp result overflowing not necessarily
47244 overflowing both real and imaginary parts of result.
47245 * math/s_cexpf.c: Likewise.
47246 * math/s_cexpl.c: Likewise.
47247 * math/libm-test.inc (cexp_test): Add more tests.
47248 * sysdeps/i386/fpu/libm-test-ulps: Update.
47249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47250
81b035fe
L
472512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47252
47253 * include/link.h (ELFW): New macro.
47254 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47255 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47256
1da7940c
L
472572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47258
47259 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47260 with uint64_t.
47261
b749dbb9
L
472622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47263
47264 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47265 declaration.
47266 (struct La_x32_retval): Likewise.
47267
2ff87f3f
L
472682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47269
47270 * sysdeps/x86_64/preconfigure.in: New file.
47271 * sysdeps/x86_64/preconfigure: New generated file.
47272
c0df8e69
JM
472732012-03-22 Joseph Myers <joseph@codesourcery.com>
47274
48e44791
JM
47275 [BZ #13824]
47276 * math/e_exp2l.c: Include <float.h>.
47277 (__ieee754_exp2l): Handle overflow and underflow cases
47278 separately. Only pass fractional part of argument to
47279 __ieee754_expl.
47280 * math/libm-test.inc (exp2_test): Add more tests.
47281
c0df8e69
JM
47282 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47283 negating x to take absolute value.
47284 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47285 Likewise.
47286 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47287 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47288 Likewise.
47289 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47290 computing low part if x was negated.
47291 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47292
c8e43ba7
L
472932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47294
47295 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47296 la_x32_gnu_pltexit.
47297 (pltexit): Cast int_retval to ptrdiff_t.
47298 * elf/tst-auditmod3b.c: Likewise.
47299 * elf/tst-auditmod4b.c: Likewise.
47300 * elf/tst-auditmod5b.c: Likewise.
47301 * elf/tst-auditmod6b.c: Likewise.
47302 * elf/tst-auditmod6c.c: Likewise.
47303 * elf/tst-auditmod7b.c: Likewise.
47304
47305 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47306 and x32_gnu_pltexit.
47307
47308 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47309 __ELF_NATIVE_CLASS.
47310 (La_x32_regs): New macro.
47311 (La_x32_retval): Likewise.
47312 (la_x32_gnu_pltenter): New function prototype.
47313 (la_x32_gnu_pltexit): Likewise.
47314
7998fa78
AS
473152012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47316
dcb33988
AS
47317 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47318 exponent.
47319
233fc563
AS
47320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47321
7998fa78
AS
47322 * configure.in (libc_cv_cc_nofma): Check for option to disable
47323 generation of FMA instructions.
47324 * configure: Regenerate.
47325 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47326 * sysdeps/ieee754/dbl-64/Makefile: New file.
47327 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47328 Remove brandred-fma4.
47329 (CFLAGS-brandred-fma4.c): Remove.
47330 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47331 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47332 define.
47333 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47334 define.
47335
8e95c99a
L
473362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47337
47338 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47339 LLONG_MAX != LONG_MAX.
47340 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47341 (_fitoa_word): Likewise.
47342 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47343 LLONG_MAX != LONG_MAX.
47344 * stdio-common/_itowa.h: Include <_itoa.h>.
47345 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47346 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47347 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47348 only if not defined.
47349 (_ITOA_WORD_TYPE): Likewise.
47350 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47351 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47352
6f4db457
DM
473532012-03-21 David S. Miller <davem@davemloft.net>
47354
47355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47356
7785fe5a
L
473572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47358
47359 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47360 of x86_64 when setting libc_cv_slibdir, libdir and
47361 libc_cv_localedir.
47362 * sysdeps/unix/sysv/linux/configure: Regenerated.
47363
4535cd55
JM
473642012-03-21 Joseph Myers <joseph@codesourcery.com>
47365
47366 * manual/lang.texi (Old Varargs): Remove section.
47367 (How Variadic): Update menu.
47368 (va_start): Do not mention varargs.h.
47369
17228132
TS
473702012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47371 Joseph Myers <joseph@codesourcery.com>
47372
47373 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47374 link test.
47375 * configure: Regenerated.
47376
8149f976
TS
473772012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47378
05f3d1f6
UD
47379 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47380 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47381 conformtest.pl
8149f976 47382
1a4ac776
JM
473832012-03-21 Joseph Myers <joseph@codesourcery.com>
47384
be22ce65
JM
47385 * NOTES: Remove.
47386 * Makefile (files-for-dist): Remove NOTES.
47387 (NOTES): Remove rule.
47388 * README: Don't refer to NOTES.
47389 * manual/creature.texi: Don't include macros.texi.
47390 * manual/intro.texi (creature.texi): Remove comment referring to
47391 NOTES.
47392
40b601fb
JM
47393 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47394 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47395 * configure: Regenerated.
47396 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47397 LIBC_TRY_CC_OPTION.
47398 (libc_cv_as_i686): Likewise.
47399 (libc_cv_cc_avx): Likewise.
47400 (libc_cv_cc_sse2avx): Likewise.
47401 (libc_cv_cc_fma4): Likewise.
47402 (libc_cv_cc_novzeroupper): Likewise.
47403 * sysdeps/i386/configure: Regenerated.
47404
1a4ac776
JM
47405 [BZ #13883]
47406 * sysdeps/i386/fpu/s_cexp.S: Remove.
47407 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47408 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47409 * math/libm-test.inc (cexp_test): Add more tests.
47410 * sysdeps/i386/fpu/libm-test-ulps: Update.
47411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47412
a458e7fe
AM
474132012-03-21 Allan McRae <allan@archlinux.org>
47414
47415 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47416
0cb7efc5
JM
474172012-03-21 Joseph Myers <joseph@codesourcery.com>
47418
47419 [BZ #13871]
47420 * math/w_exp2.c: Do not include <float.h>.
47421 (o_threshold, u_threshold): Remove.
47422 (__exp2): Calculate result before checking finiteness and calling
47423 __kernel_standard.
47424 * math/w_exp2f.c: Likewise.
47425 * math/w_exp2l.c: Likewise.
47426 * math/libm-test.inc (exp2_test): Require overflow exception for
47427 1e6 input.
2460d3aa
JM
47428
47429 [BZ #3866]
47430 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47431 range of signed 64-bit integers before using fistpll. Remove
47432 checks for whether integers fit in mantissa bits.
47433 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47434 the range of signed 32-bit integers before using fistpl. Remove
47435 checks for whether integers fit in mantissa bits.
47436 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47437 (__ieee754_powl): Test for y outside the range of signed 64-bit
47438 integers before using fistpll. Reduce 64-bit values to 63-bit
47439 ones as needed.
47440 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47441 divide-by-zero is raised for zero to large negative powers.
47442 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47443 (__ieee754_powl): Test for y outside the range of signed 64-bit
47444 integers before using fistpll. Reduce 64-bit values to 63-bit
47445 ones as needed.
47446 * math/libm-test.inc (pow_test): Add more tests.
47447
eb96ffb0
L
474482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47449
47450 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47451 <stdio-common/_itoa.h>.
47452 * debug/segfault.c: Likewise.
47453 * elf/dl-cache.c: Likewise.
47454 * elf/dl-minimal.c: Likewise.
47455 * elf/dl-misc.c: Likewise.
47456 * elf/dl-sysdep.c: Likewise.
47457 * elf/dl-version.c: Likewise.
47458 * elf/rtld.c: Likewise.
47459 * hurd/hurdsock.c: Likewise.
47460 * hurd/lookup-retry.c: Likewise.
47461 * malloc/malloc.c: Likewise.
47462 * malloc/mtrace.c: Likewise.
47463 * nscd/nscd_getgr_r.c: Likewise.
47464 * nscd/nscd_getpw_r.c: Likewise.
47465 * nscd/nscd_getserv_r.c: Likewise.
47466 * posix/getopt_init.c: Likewise.
47467 * posix/wordexp.c: Likewise.
47468 * stdio-common/_itoa.c: Likewise.
47469 * stdio-common/printf_fphex.c: Likewise.
47470 * stdio-common/vfprintf.c: Likewise.
47471 * string/_strerror.c: Likewise.
47472 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47473 * sysdeps/i386/i686/hp-timing.h: Likewise.
47474 * sysdeps/mach/_strerror.c: Likewise.
47475 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47476 * sysdeps/mach/hurd/sethostid.c: Likewise.
47477 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47478 * sysdeps/mach/xpg-strerror.c: Likewise.
47479 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47480 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47481 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47482 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47483 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47484 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47485 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47486 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47487 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47488 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47489 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47490 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47491 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47492 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47493 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47494 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47495 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47496 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47497 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47498 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47499 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47500
47501 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47502
47503 * stdio-common/_itoa.h: Moved to ...
47504 * sysdeps/generic/_itoa.h: Here.
47505
47506 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47507
47508 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47509 instead of "_itoa.h" and "_itowa.h".
47510 * stdio-common/vfprintf.: Likewise.
47511
d1af992d
L
475122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47513
47514 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47515 <bits/wordsize.h>.
47516 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47517 (__signbit): Likwise.
47518 (llrintf): Likwise.
47519 (llrint): Likwise.
47520
114883e0
L
475212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47522
47523 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47524 __WORDSIZE != 64.
47525
c135cc1b
JM
475262012-03-20 Joseph Myers <joseph@codesourcery.com>
47527
47528 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47529 OVERFLOW_EXCEPTION_OK.
47530 * math/libm-test.inc ("Philosophy"): Update comment about
47531 exception testing.
47532 (OVERFLOW_EXCEPTION): Define.
47533 (OVERFLOW_EXCEPTION_OK): Likewise.
47534 (INVALID_EXCEPTION_OK): Renumber.
47535 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47536 (IGNORE_ZERO_INF_SIGN): Likewise.
47537 (test_exceptions): Handle FE_OVERFLOW.
47538 (exp10_test): Expect overflow exceptions.
47539 (exp2_test): Likewise.
47540 (expm1_test): Likewise.
47541 (nextafter_test): Likewise.
47542 (pow_test): Likewise.
47543 (scalbn_test): Likewise.
47544 (scalbln_test): Likewise.
47545
95443d88
L
475462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47547
47548 * sysdeps/x86_64/bits/atomic.h
47549 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47550 64bit integer.
47551 (atomic_exchange_acq): Likewise.
47552 (__arch_exchange_and_add_body): Likewise.
47553 (__arch_add_body): Likewise.
47554 (atomic_add_negative): Likewise.
47555 (atomic_add_zero): Likewise.
47556
490df6c4
L
475572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47558
c2722551 47559 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
47560 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47561
5e52b189
L
475622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47563
47564 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47565 Check __x86_64__ instead of __WORDSIZE.
47566
a9879d4c
L
475672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47568
47569 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47570
5df98260
DM
475712012-03-19 David S. Miller <davem@davemloft.net>
47572
e1497744
DM
47573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47574
5df98260
DM
47575 * sysdeps/sparc/fpu/fenv_private.h: New file.
47576 * sysdeps/sparc/fpu/math_private.h: Use it.
47577 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47578 Remove.
57f41c40 47579 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
47580 (libc_feholdexcept_setroundl): Remove.
47581 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47582 Remove.
47583 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47584 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47585
b4c35121
L
475862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47587
47588 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47589 int64_t instead of long int.
47590 (INSERT_WORDS64): Likwise.
47591
56965fd7
L
475922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47593
47594 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47595 _Unwind_GetCFA return to _Unwind_Ptr first.
47596
83d1aec8
JM
475972012-03-19 Joseph Myers <joseph@codesourcery.com>
47598
1897ad44
JM
47599 [BZ #13629]
47600 * math/s_clog.c: Include <float.h>.
47601 (__clog): Scale large or subnormal inputs.
47602 * math/s_clogf.c: Likewise.
47603 * math/s_clogl.c: Likewise.
47604 * math/s_clog10.c: Include <float.h>.
47605 (M_LOG10_2): Define.
47606 (__clog10): Scale large or subnormal inputs.
47607 * math/s_clog10f.c: Likewise.
47608 * math/s_clog10l.c: Likewise.
47609 * math/libm-test.inc (clog_test): Add more tests.
47610 (clog10_test): Likewise.
47611 * sysdeps/i386/fpu/libm-test-ulps: Update.
47612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47613
7726d6a9
JM
47614 [BZ #11451]
47615 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47616 x and y.
47617 * math/libm-test.inc (atan2_test): Add another test.
47618
83d1aec8
JM
47619 * Makerules (common-objdir-compile): Remove.
47620 * sysdeps/unix/Makefile (config-generated): Do not add
47621 $(unix-generated) to variable.
47622 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47623 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47624 Remove rule.
47625 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47626 Likewise.
47627 [generic bits/local_lim.h] (before-compile): Do not append to
47628 variable.
47629 [generic bits/local_lim.h] (common-generated): Likewise.
47630 [generic sys/param.h] (before-compile): Do not append to variable.
47631 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47632 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47633 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47634 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47635 include.
47636 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47637 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47638 [generic sys/param.h] ($(addprefix
47639 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47640 [generic sys/param.h] (common-generated): Do not append to
47641 variable.
47642 [generic sys/param.h] (sysdep_headers): Likewise.
47643 [generic bits/errno.h] (before-compile): Do not append to
47644 variable.
47645 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47646 rule.
47647 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47648 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47649 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47650 [generic bits/errno.h] (common-generated): Do not append to
47651 variable.
47652 [generic bits/ioctls.h] (before-compile): Do not append to
47653 variable.
47654 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47655 rule.
47656 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47657 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47658 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47659 rule.
47660 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47661 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47662 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47663 [generic bits/ioctls.h] (common-generated): Do not append to
47664 variable.
47665 [generic sys/syscall.h] (syscall.h): Remove variable.
47666 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47667 rule.
47668 [generic sys/syscall.h] (before-compile): Do not append to
47669 variable.
47670 [generic sys/syscall.h] (common-generated): Likewise.
47671 * sysdeps/unix/errnos-tmpl.c: Remove file.
47672 * sysdeps/unix/errnos.awk: Likewise.
47673 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47674 * sysdeps/unix/ioctls.awk: Likewise.
47675 * sysdeps/unix/mk-local_lim.c: Likewise.
47676 * sysdeps/unix/snarf-ioctls: Likewise.
47677
4851a949
RH
476782012-03-19 Richard Henderson <rth@twiddle.net>
47679
bd37f2ee
RH
47680 * sysdeps/i386/fpu/fenv_private.h: New file.
47681 * sysdeps/i386/fpu/math_private.h: Use it.
47682 (math_opt_barrier, math_force_eval): Remove.
47683 (libc_feholdexcept_setround_53bit): Remove.
47684 (libc_feupdateenv_53bit): Remove.
47685 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47686 (math_opt_barrier, math_force_eval): Remove.
47687 (libc_feholdexcept): Remove.
47688 (libc_feholdexcept_setround): Remove.
47689 (libc_fetestexcept, libc_fesetenv): Remove.
47690 (libc_feupdateenv_test): Remove.
47691 (libc_feupdateenv, libc_feholdsetround): Remove.
47692 (libc_feresetround): Remove.
47693
d0adc922
RH
47694 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47695 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47696
0fe0f1f8
RH
47697 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47698 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47699 (libc_feupdateenv_testl): New.
47700 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47701 (libc_feupdateenv_testf): New.
47702 (libc_feupdateenv): Use libc_feupdateenv_test.
47703 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47704 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47705
eb92c487
RH
47706 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47707 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47708 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47709 (libc_feresetround_noex): New.
47710 (libc_feresetround_noexf): New.
47711 (libc_feresetround_noexl): New.
47712 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47713 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47714 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47715 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47716 SET_RESTORE_ROUND.
47717 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47718 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47719 (__cos): Likewise.
47720 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47721 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47722 SET_RESTORE_ROUND_NOEX.
47723 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47724 SET_RESTORE_ROUND_NOEXF.
47725 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47726 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47727 (libc_feholdsetroundf): New.
47728 (libc_feresetround, libc_feresetroundf): New.
47729
7d2e8012
RH
47730 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47731 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47732 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47733
b4dabbb4
RH
47734 * sysdeps/generic/math_private.h: Include <fenv.h>.
47735 (default_libc_feholdexcept): New.
47736 (default_libc_feholdexcept_setround): New.
47737 (default_libc_fesetenv, default_libc_feupdateenv): New.
47738 (libc_feholdexcept): Only define if undefined.
47739 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47740 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47741 (libc_feholdexcept_setroundl): Likewise.
47742 (libc_feholdexcept_setround_53bit): Likewise.
47743 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47744 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47745 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47746 (libc_feupdateenv_53bit): Likewise.
47747 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47748 (libc_feholdexcept): Convert from macro to inline function.
47749 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47750 (libc_fesetenv, libc_feupdateenv): Likewise.
47751
4851a949
RH
47752 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47753 not previously defined.
47754 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47755 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47756 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47757 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47758 * sysdeps/ieee754/flt-32/math_private.h: New file.
47759 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47760 math_private.h below SET_FLOAT_WORD.
47761 (__isnan, __isinf_ns, __finite): Remove.
47762 (__isnanf, __isinf_nsf, __finitef): Remove.
47763
e79d442e
AS
477642012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47765
47766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47767
90b80344
DM
477682012-03-17 David S. Miller <davem@davemloft.net>
47769
47770 [BZ #6471]
47771 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47772 for 2.16.
47773
edc21804
DM
477742012-03-16 David S. Miller <davem@davemloft.net>
47775
77e927af
DM
47776 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47777 warnings.
47778
374976dd
DM
47779 [BZ #6471]
47780 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47781 properly.
47782 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47783 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47784 sysdep_routines when subdir is sysvipc.
47785 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47786 __getshmlba helper.
47787
edc21804
DM
47788 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47789
473c3ef3
L
477902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47791
47792 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47793 [__LP64__].
47794
eb0f39b6
L
477952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47796
47797 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47798 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47799 (__lround): Renamed to ...
47800 (__llround): This. Replace long int with long long int.
47801 Define lround functions as aliases of llround functions.
47802 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47803
6b6cd74b
L
478042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47805
47806 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47807 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47808 adresses to uintptr_t. Replace "long int" and "unsigned long
47809 int" with "greg_t" on va_arg.
47810
f1a77b01
L
478112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47812
47813 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47814 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47815
47816 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47817 Move e_machine check before EI_CLASS check. Handle x32
47818 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47819 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47820 SKIP_EM_IA_64 and include
47821 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47822
47823 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47824 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47825 (add_system_dir): New macro.
47826
47827 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47828 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47829
11b90b9f
JM
478302012-03-16 Joseph Myers <joseph@codesourcery.com>
47831
c36e1d23
JM
47832 [BZ #2551]
47833 [BZ #2552]
47834 [BZ #2553]
47835 [BZ #2554]
47836 [BZ #2562]
47837 [BZ #2563]
47838 [BZ #2565]
47839 [BZ #2566]
47840 [BZ #2576]
47841 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47842 (y0): Likewise.
47843 * math/w_j0f.c (j0f): Likewise.
47844 (y0f): Likewise.
47845 * math/w_j0l.c (__j0l): Likewise.
47846 (__y0l): Likewise.
47847 * math/w_j1.c (j1): Likewise.
47848 (y1): Likewise.
47849 * math/w_j1f.c (j1f): Likewise.
47850 (y1f): Likewise.
47851 * math/w_j1l.c (__j1l): Likewise.
47852 (__y1l): Likewise.
47853 * math/w_jn.c (jn): Likewise.
47854 (yn): Likewise.
47855 * math/w_jnf.c (jnf): Likewise.
47856 (ynf): Likewise.
47857 * math/w_jnl.c (__jnl): Likewise.
47858 (__ynl): Likewise.
47859 * math/libm-test.inc (j0_test): Add more tests.
47860 (j1_test): Likewise.
47861 (jn_test): Likewise. Add trailing semicolon to existing test.
47862 (y0_test): Likewise.
47863 (y1_test): Likewise.
47864 * sysdeps/i386/fpu/libm-test-ulps: Update.
47865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47866
11b90b9f
JM
47867 [BZ #13851]
47868 [BZ #13854]
47869 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47870 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47871 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47872 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47873 (__tanl): Set errno for infinite argument.
47874 * sysdeps/i386/fpu/mptan.c: Remove.
47875 * sysdeps/i386/fpu/s_tan.S: Likewise.
47876 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47877 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47878 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47879 * math/libm-test.inc (tan_test): Add more tests and enable more
47880 tests for double and long double.
47881 * sysdeps/i386/fpu/libm-test-ulps: Update.
47882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47883
6a1bd2a1
JK
478842012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47885
47886 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47887 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47888
10a803e0
RM
478892012-03-16 Roland McGrath <roland@hack.frob.com>
47890
47891 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47892 * configure.in: Use it for both main tree and add-ons.
47893 * configure: Regenerated.
47894
f196c7f7
L
478952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47896
47897 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47898
8848d99d
JM
478992012-03-16 Joseph Myers <joseph@codesourcery.com>
47900
96cbe7f4
JM
47901 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47902 in comment.
47903
8848d99d
JM
47904 [BZ #13851]
47905 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47906 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47907 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47908 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47909 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47910 infinite argument.
47911 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47912 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47913 != 0 for prec == 2.
47914 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47915 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47916 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47917 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47918 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47919 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47920 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47921 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47922 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47923 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47924 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47925 * math/libm-test.inc (cos_test): Add more tests and enable more
47926 tests for long double.
47927 (sin_test): Likewise.
47928 (sincos_test): Likewise.
47929 * sysdeps/i386/fpu/libm-test-ulps: Update.
47930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47931
dd7f4703
DM
479322012-03-16 David S. Miller <davem@davemloft.net>
47933
47934 * sysdeps/sparc/fpu/math_private.h: New file.
47935
006f1daa
DM
479362012-03-15 David S. Miller <davem@davemloft.net>
47937
c0c83bc8
DM
47938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47939 file.
e6a62e18 47940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47942 file.
e6a62e18
DM
47943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47949 sysdep routines.
47950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47951
88cb87d9
DM
47952 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47953 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47954
006f1daa 47955 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47957 sparc-ifunc.h
006f1daa 47958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47960 Likewise.
47961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47962 Likewise.
006f1daa
DM
47963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47967 Likewise.
006f1daa
DM
47968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47973 Likewise.
47974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47975 Likewise.
006f1daa
DM
47976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47982 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47983 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47991 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47992 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47994 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47995 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47996 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47997 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47998 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47999 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48000
11e0098e
AS
480012012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48002
48003 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48004 scaling.
48005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48006
e85b09d0
AJ
480072012-03-15 Andreas Jaeger <aj@suse.de>
48008
48009 [BZ #13852]
48010 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48011 ieee754/flt-32 implementation for sin, cos and sincos.
48012 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48013 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48014 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48015 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48016 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48017 ieee754/flt-32 implementation for tan.
48018
48019 * math/libm-test.inc (cos_test): Enable some large input tests for
48020 float as well
48021 (sin_test): Likewise.
48022 (sincos_test): Likewise.
48023 (tan_test): Add tests for large input.
48024
48025 * sysdeps/i386/fpu/libm-test-ulps: Update.
48026
81c64153
AJ
480272012-03-15 Andreas Jaeger <aj@suse.de>
48028
48029 [BZ #13658]
48030 * math/libm-test.inc (cos_test): Add more test cases.
48031 (sin_test): Likewise.
48032 (sincos_test): Likewise.
48033
7bbfa5c6
AJ
480342012-03-15 Andreas Jaeger <aj@suse.de>
48035
48036 [BZ #13837]
48037 * math/libm-test.inc (cos_test): Add a test case for large input
48038 value.
48039 (sin_test): Likewise.
48040 (sincos_test): Likewise.
48041
57f41c40
AS
480422012-03-15 Andreas Jaeger <aj@suse.de>
48043 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
48044
48045 [BZ #13658]
0671f479 48046 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
48047 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48048 * sysdeps/i386/fpu/branred.c: Likewise.
48049 * sysdeps/i386/fpu/dosincos.c: Likewise.
48050 * sysdeps/i386/fpu/mpa.c: Likewise.
48051 * sysdeps/i386/fpu/s_cos.S: Likewise.
48052 * sysdeps/i386/fpu/s_sin.S: Likewise.
48053 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48054 * sysdeps/i386/fpu/sincos32.c: Likewise.
48055
48056 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48057 Define.
48058 (libc_feupdateenv_53bit): Define.
48059 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48060 Define.
48061 (libc_feupdateenv_53bit): Define.
48062
48063 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48064 53 bit (without extend i386 double precision).
48065
48066 * math/libm-test.inc (sincos_test): Add tests for large input.
48067 (sin): Likewise.
48068 (cos): Likewise.
48069
48070 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48071
9cad04ea
AS
480722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48073
48074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48075
f7062b9a
DM
480762012-03-15 David S. Miller <davem@davemloft.net>
48077
48078 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48079 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48080 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48081 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
48093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48094 file.
f7062b9a 48095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
48096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48097 file.
f7062b9a 48098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
48099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48100 file.
f7062b9a 48101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
48102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48103 file.
f7062b9a
DM
48104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48105 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48106 fmin/fmax sysdep routines.
48107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48108
7bd951ff
DM
481092012-03-14 David S. Miller <davem@davemloft.net>
48110
559398ab
DM
48111 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48112 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48115 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48116 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48117 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48118 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48120 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48121 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48122 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48126 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48127 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48128 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48129 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48131 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48132 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48133 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48134 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48135 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48136 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48138 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48139 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48140 routines.
48141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48142 file.
559398ab 48143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
48144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48145 file.
559398ab 48146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
48147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48148 file.
559398ab 48149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
48150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48151 file.
559398ab 48152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
48153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48154 file.
559398ab 48155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
48156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48157 file.
48158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48159 file.
48160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48161 file.
48162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48163 file.
48164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48165 New file.
48166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48167 file.
48168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48169 file.
559398ab 48170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
48171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48172 file.
559398ab 48173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48175 file.
559398ab 48176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
48177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48178 file.
559398ab 48179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
48180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48181 VIS3 routines.
559398ab
DM
48182
48183 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48184 New file.
48185
5a1c1e32
DM
48186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48187
eae47a36
DM
48188 * sysdeps/sparc/configure.in: New file.
48189 * sysdeps/sparc/configure: Generate.
48190 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48191 * configure: Regenerate.
48192 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48193 * config.make.in (have-as-vis3): New.
48194 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48195 available use -Av9d instead of -Av9a.
48196 * sysdeps/sparc/sparc64/Makefile: Likewise.
48197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
48198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48199 New file.
48200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48201 file.
48202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48203 New file.
48204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48205 file.
eae47a36
DM
48206 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48207 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48208 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48209 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48210 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48211
c0c83bc8
DM
48212 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48213 fzeros/fnegs to load 0x80000000 into a float register instead of
48214 using the stack.
7bd951ff
DM
48215 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48216
bd951ccb
JM
482172012-03-14 Joseph Myers <joseph@codesourcery.com>
48218
48219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48220 bits/syscall.h.
48221 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48222 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48223 ($(inst_includedir)/bits/syscall.h): Remove rule.
48224 ($(objpfx)bits/syscall.d): Include instead of
48225 $(objpfx)syscall-list.d.
48226 (generated): Change syscall-list.h and syscall-list.d to
48227 bits/syscall.h and bits/syscall.d.
48228
bb4e6db2
RM
482292012-03-14 Roland McGrath <roland@hack.frob.com>
48230
48231 [BZ #13846]
48232 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48233
aa4a2ae1
JM
482342012-03-14 Joseph Myers <joseph@codesourcery.com>
48235
e456826d
JM
48236 [BZ #13841]
48237 * math/s_csqrt.c: Include <float.h>.
48238 (__csqrt): Scale large or subnormal inputs.
48239 * math/s_csqrtf.c: Likewise.
48240 * math/s_csqrtl.c: Likewise.
48241 * math/libm-test.inc (csqrt_test): Add more tests.
48242 * sysdeps/i386/fpu/libm-test-ulps: Update.
48243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48244
aa4a2ae1
JM
48245 [BZ #13840]
48246 * math/libm-test.inc (hypot_test): Add more tests.
48247
7c10fd35
DM
482482012-03-13 David S. Miller <davem@davemloft.net>
48249
48250 [BZ #13840]
48251 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48252 double-precision for the calculation instead of scaling.
48253
f453b98b
JM
482542012-03-13 Joseph Myers <joseph@codesourcery.com>
48255
48256 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48257 manipulate bits before adding and subtracting TWO52[sx].
48258 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48259 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48260 Likewise.
48261 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48262
09a3453f
DM
482632012-03-13 David S. Miller <davem@davemloft.net>
48264
8e59da90
DM
48265 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48266 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48267 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48268 rtld-global-offsets.h
48269 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48270
2a8ab7f2
DM
48271 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48272 large parameters.
48273
10f62770
DM
48274 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48275
5f0bdb18
DM
48276 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48277 'err' in the ifdef scope in which it is actually used.
48278
09a3453f
DM
48279 * nss/nss_db/db-init.c: Include string.h
48280
b4b2eb5e
DM
482812012-03-12 David S. Miller <davem@davemloft.net>
48282
98bb2f1c
DM
48283 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48284 masking out of the most significant byte of random value used.
48285 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48286 Fix coding style in previous change.
48287
b4b2eb5e
DM
48288 * sysdeps/unix/sysv/linux/kernel-features.h
48289 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48290 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48291 expression.
48292 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48293 later.
48294
6e226b09
DM
482952012-03-11 David S. Miller <davem@davemloft.net>
48296
a1bcbd40
DM
48297 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48298 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48299 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48300 for 'resultvar' otherwise things get truncated on 64-bit.
48301
cb9d6174
DM
48302 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48303 Fix masking out of the most significant byte of random value used.
48304
6e226b09
DM
48305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48306
058c132d
AS
483072012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48308
48309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48310
2d2cd515
DM
483112012-03-09 David S. Miller <davem@davemloft.net>
48312
48313 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48314 variables with appropriate CPP guards.
57f41c40
AS
48315 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48316 from the frame pointer, not the stack pointer. Correct layout
48317 comments. Fix test on resulting framesize and the management of
48318 the outregs buffer for pltexit. Preserve floating point return
48319 values across _dl_call_pltexit call.
2d2cd515
DM
48320 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48321 framesize and the management of the outregs buffer for pltexit.
48322 Preserve floating point return values across _dl_call_pltexit
48323 call.
57f41c40
AS
48324 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48325 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48326 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48327 (print_exit): Fix format string for return register value.
48328
9a07f9d0
JM
483292012-03-10 Joseph Myers <joseph@codesourcery.com>
48330
48331 * sunrpc/Makefile (others): Add rpcgen.
48332 ($(objpfx)rpcgen): Remove special build rule and dependency on
48333 libc.
48334 * sunrpc/rpcgen.c: New file.
48335
547b5e30
PE
483362012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48337
c524201a
PE
48338 [BZ #13673]
48339 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48340 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48341 * sysdeps/i386/crti.S: Likewise.
48342 * sysdeps/i386/crtn.S: Likewise.
48343 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48344 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48345 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48346 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48347 * sysdeps/sh/crti.S: Likewise.
48348 * sysdeps/sh/crtn.S: Likewise.
48349 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48350
7b6235f2
PE
48351 [BZ #13673]
48352 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48353 with URL.
48354 * locale/programs/locfile-kw.gperf: Likewise.
48355 * locale/programs/charmap-kw.h: Regenerated.
48356 * locale/programs/locfile-kw.h: Likewise.
48357
547b5e30
PE
48358 [BZ #13673]
48359 * intl/plural.y: Replace FSF snail mail address with URL.
48360 * intl/plural.c: Regenerated.
48361
5f0a5dae
RH
483622012-03-09 Richard Henderson <rth@twiddle.net>
48363
48364 * include/math_private.h: Remove file.
48365 * math/math_private.h: Move file ...
48366 * sysdeps/generic/math_private.h: ... here.
48367
b8c03620
RH
48368 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48369 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48370 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48371
4e234f5d 48372 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48373 and <math_private.h>.
48374 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48375 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48376 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48377 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48378 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48379 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48380 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48381 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48382 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48383 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48384 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48385 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48386 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48387 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48388 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48389 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48390 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48391 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48392 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48393 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48394 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48395 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48396 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48397 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48398 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48399 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48400 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48401 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48402 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48403 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48404 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48405 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48406 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48407 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48408 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48409 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48410 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48411 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48412 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48413 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48414 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48415 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48416 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48417 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48418 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48419 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48420 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48421 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48422 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48423 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48424 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48425 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48426 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48427 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48428 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48429 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48430 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48431 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48432 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48433 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48434 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48435 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48436 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48437 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48438 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48439 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48440 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48441 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48442 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48443 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48444 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48445 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48446 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48447 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48448 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48449 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48450 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48451 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48452 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48453 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48454 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48455 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48456 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48457 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48458 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48459 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48460 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48461 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48462 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48463 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48464 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48465 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48466 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48467 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48468 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48469 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48470 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48471 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48472 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48473 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48474 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48475 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48476 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48477 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48478 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48479 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48480 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48481 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48482 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48483 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48484 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48485 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48486 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48487 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48488 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48489 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48490 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48491 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48492 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48493 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48494 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48495 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48496 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48497 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48498 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48499 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48500 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48501 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48502 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48503 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48504 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48505 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48506 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48507 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48508 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48509 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48510 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48511 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48512 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48513 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48514 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48515 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48516 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48517 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48518 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48519 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48520 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48521 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48522 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48523 * sysdeps/ieee754/k_standard.c: Likewise.
48524 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48525 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48526 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48527 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48528 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48529 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48530 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48531 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48532 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48533 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48534 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48535 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48536 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48537 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48538 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48539 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48540 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48541 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48542 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48543 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48544 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48545 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48546 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48547 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48548 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48549 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48550 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48551 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48552 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48553 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48554 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48555 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48556 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48557 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48558 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48559 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48560 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48561 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48562 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48563 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48564 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48565 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48566 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48567 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48568 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48569 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48570 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48571 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48572 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48573 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48574 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48575 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48576 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48577 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48578 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48579 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48580 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48581 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48582 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48583 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48584 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48585 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48586 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48587 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48588 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48589 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48590 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48591 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48592 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48593 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48594 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48595 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48596 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48597 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48598 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48599 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48600 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48601 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48602 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48603 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48604 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48605 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48606 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48607 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48608 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48609 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48610 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48611 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48612 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48613 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48614 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48615 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48616 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48617 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48618 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48619 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48620 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48621 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48622 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48623 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48624 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48625 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48626 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48627 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48628 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48629 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48630 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48631 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48632 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48633 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48634 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48635 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48636 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48637 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48638 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48639 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48640 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48641 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48642 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48643 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48644 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48645 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48646 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48647 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48648 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48649 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48650 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48651 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48652 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48653 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48654 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48655 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48656 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48657 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48658 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48659 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48660 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48661 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48662 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48663 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48664 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48665 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48666 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48667 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48668 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48669 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48670 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48671 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48672 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48673 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48674 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48675 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48676 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48677 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48678 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48679 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48680 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48681 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48682 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48683 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48684 * sysdeps/ieee754/s_lib_version.c: Likewise.
48685 * sysdeps/ieee754/s_matherr.c: Likewise.
48686 * sysdeps/ieee754/s_signgam.c: Likewise.
48687 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48688 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48689 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48690 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48691 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48692 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48693 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48694 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48695 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48696 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48697 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48698 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48699 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48700 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48701 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48702 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48703 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48704 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48705 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48706 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48707 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 48708
1991fa03
JM
487092012-03-09 Joseph Myers <joseph@codesourcery.com>
48710
48711 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48712 * sunrpc/rpc_main.c: Likewise.
48713 * sunrpc/rpc_svcout.c: Likewise.
48714
60d6f5a6
DM
487152012-03-09 David S. Miller <davem@davemloft.net>
48716
48717 * include/math_private.h: New file.
48718
4962050e
JM
487192012-03-09 Joseph Myers <joseph@codesourcery.com>
48720
02a6f887
JM
48721 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48722 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48723 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48724 from <bits/socket_type.h>.
48725 (enum __socket_type): Don't define here.
48726 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48728 bits/socket_type.h.
48729
c6e013c1
JM
48730 [BZ #13566]
48731 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48732 checking __USE_GNU.
48733
4962050e
JM
48734 * Makerules ($(inst_includedir)/%.h): New rule.
48735 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48736 (install-others): Remove variable setting.
48737 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48738
38842f45
RH
487392012-03-08 Richard Henderson <rth@twiddle.net>
48740
67bb6da6
RH
48741 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48742 from macro to inline function; merge with the
48743 !__LIBC_INTERNAL_MATH_INLINES version.
48744 (__ieee754_sqrtf): Likewise.
48745
15194b4b
RH
48746 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48747 to inline function.
48748 (__rintf, __floor, __floorf): Likewise.
48749
64e21ede
RH
48750 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48751 macro to inline function.
48752 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48753
38842f45
RH
48754 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48755 not <math/math_private.h>.
48756
c64bf5fe
DM
487572012-03-08 David S. Miller <davem@davemloft.net>
48758
48759 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48760 copyright year.
48761 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48762
82d86f28
TS
487632012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48764
48765 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48766 normalization.
48767 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48768 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48769
aea5d727
UD
487702012-03-08 Ulrich Drepper <drepper@gmail.com>
48771
48772 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48773 be defined individually, they must be defined as a block. Define
48774 S for printing a string instead of hidint the different by using a
48775 macro for adding the 'l'.
48776 * stdio-common/tst-fphex-wide.c: Adjust.
48777
70bca0a3
MP
487782012-03-07 Marek Polacek <polacek@redhat.com>
48779
48780 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48781
65b81130
MP
487822012-03-08 Marek Polacek <polacek@redhat.com>
48783
48784 [BZ #13806]
48785 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48786 * stdio-common/tst-fphex.c: Define a few macros to make the
48787 test reusable. Use them.
48788 * stdio-common/tst-fphex-wide.c: New file.
48789
07037eeb
JM
487902012-03-08 Joseph Myers <joseph@codesourcery.com>
48791
a7a93d50
JM
48792 [BZ #6911]
48793 * manual/macros.texi (gnusystems): New macro.
48794 (nongnusystems): Likewise.
48795 (gnulinuxhurdsystems): Likewise.
48796 (gnuhurdsystems): Likewise..
48797 (gnulinuxsystems): Likewise.
48798 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48799 variants of the GNU system, not "GNU system".
48800 * manual/conf.texi: Likewise.
48801 * manual/errno.texi: Likewise. Update example of errno macro
48802 expansion.
48803 * manual/filesys.texi: Likewise.
48804 (getumask): Document as specific to GNU/Hurd.
48805 * manual/install.texi: Likewise. Reword some references to
48806 GNU/Linux.
48807 * manual/intro.texi: Likewise.
48808 * manual/io.texi: Likewise.
48809 (File Name Portability): Detail which constraints are inapplicable
48810 to all GNU systems and which are only inapplicable to GNU/Hurd.
48811 * manual/job.texi: Likewise.
48812 * manual/llio.texi: Likewise.
48813 (O_NOCTTY): Document as present on GNU/Linux.
48814 * manual/maint.texi: Likewise.
48815 * manual/memory.texi: Likewise.
48816 * manual/pattern.texi: Likewise.
48817 * manual/pipe.texi: Likewise.
48818 * manual/process.texi: Likewise.
48819 * manual/resource.texi: Likewise.
48820 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48821 child on GNU/Hurd.
48822 * manual/setjmp.texi: Likewise.
48823 * manual/signal.texi: Likewise.
48824 * manual/startup.texi: Likewise.
48825 * manual/stdio.texi: Likewise.
48826 * manual/terminal.texi: Likewise.
48827 (ONLCR): Document as POSIX.
48828 (OXTABS): Document availability on GNU/Linux as XTABS.
48829 (ONOEOT): Document availability separately from other bits.
48830 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48831 * manual/time.texi: Likewise.
48832 * manual/users.texi: Likewise.
48833 * INSTALL: Regenerated.
48834 * sysdeps/gnu/errlist.c: Regenerated.
48835
07037eeb
JM
48836 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48837 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48838 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48839 puts.
48840 * configure: Regenerated.
48841
d1d3431a
JM
488422012-03-07 Joseph Myers <joseph@codesourcery.com>
48843
af6a1e37
JM
48844 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48845 default includes instead of AC_HEADER_CHECK.
48846 * sysdeps/i386/configure: Regenerated.
48847
d1d3431a
JM
48848 [BZ #10716]
48849 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48850 * math/s_cacoshf.c (__cacoshf): Likewise.
48851 * math/s_cacoshl.c (__cacoshl): Likewise.
48852 * math/s_casinh.c (__casinh): Set signs of result from argument.
48853 * math/s_casinhf.c (__casinhf): Likewise.
48854 * math/s_casinhl.c (__casinhl): Likewise.
48855 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48856 (casinh_test): Add more tests.
48857 * sysdeps/i386/fpu/libm-test-ulps: Update.
48858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48859
482ff4da
UD
488602012-03-07 Ulrich Drepper <drepper@gmail.com>
48861
872fda05
UD
48862 * po/zh_TW.po: Update from translation team.
48863
a4300c7a
UD
48864 * login/Makefile (distribute): Remove variable.
48865 * catgets/Makefile: Likewise.
48866 * mach/Makefile: Likewise.
48867 * malloc/Makefile: Likewise.
48868 * misc/Makefile: Likewise.
48869 * iconv/Makefile: Likewise.
48870 * nscd/Makefile: Likewise.
48871 * hurd/Makefile: Likewise.
48872 * manual/Makefile: Likewise.
48873 * locale/Makefile: Likewise.
48874 * intl/Makefile: Likewise.
48875 * conform/Makefile: Likewise.
48876 * nss/Makefile: Likewise.
48877 * time/Makefile: Likewise.
48878 * soft-fp/Makefile: Likewise.
48879 * dirent/Makefile: Likewise.
48880 * gmon/Makefile: Likewise.
48881 * po/Makefile: Likewise.
48882 * rt/Makefile: Likewise.
48883 * socket/Makefile: Likewise.
48884 * math/Makefile: Likewise.
48885 * signal/Makefile: Likewise.
48886 * debug/Makefile: Likewise.
48887 * elf/Makefile: Likewise.
48888 * timezone/Makefile: Likewise.
48889 * stdlib/Makefile: Likewise.
48890 * iconvdata/Makefile: Likewise.
48891 * sunrpc/Makefile: Likewise.
48892 * io/Makefile: Likewise.
48893 * argp/Makefile: Likewise.
48894 * inet/Makefile: Likewise.
48895 * hesiod/Makefile: Likewise.
48896 * grp/Makefile: Likewise.
48897 * csu/Makefile: Likewise.
48898 * wctype/Makefile: Likewise.
48899 * crypt/Makefile: Likewise.
48900 * libio/Makefile: Likewise.
48901 * string/Makefile: Likewise.
48902 * nis/Makefile: Likewise.
48903 * resolv/Makefile: Likewise.
48904 * stdio-common/Makefile: Likewise.
48905 * wcsmbs/Makefile: Likewise.
48906 * dlfcn/Makefile: Likewise.
48907 * posix/Makefile: Likewise.
48908
3b7c4e74 48909 [BZ #6959]
482ff4da
UD
48910 * timezone/Makefile: Don't install timezone files, just the programs
48911 and scripts.
48912
f72ed77d
UD
489132012-03-06 Ulrich Drepper <drepper@gmail.com>
48914
a000466f
UD
48915 * nss/databases.def: Add missing gshadow entry.
48916
f72ed77d
UD
48917 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48918
a53b7a4e
MP
489192012-03-06 Marek Polacek <polacek@redhat.com>
48920
48921 [BZ #13726]
48922 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48923 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48924 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48925 * stdio-common/tst-long-dbl-fphex.c: New file.
48926
e9258400
DM
489272012-03-06 David S. Miller <davem@davemloft.net>
48928
48929 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48930 (set_obp_int): New function.
48931 (get_obp_int): New function.
48932 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48933 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48934 Avoid unused variable warnings on 'val' and use builtin_expect.
48935 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48936 __builtin_expect.
e9258400
DM
48937 (INLINE_CLONE_SYSCALL): Likewise.
48938
3bd2c723
DM
489392012-03-05 David S. Miller <davem@davemloft.net>
48940
48941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48942
bbb78d03
AS
489432012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48944
884c5db4
AS
48945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48946
bbb78d03
AS
48947 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48948 only for |x| >= 40.
48949 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48950
1c9f702a 489512012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48952
48953 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48954 Replace gettimeofday with __vdso_gettimeofday.
48955
7be16f82
RM
48956 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48957 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48958 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48959
48960 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48961 time with __vdso_time.
48962
ed58a00f
JM
489632012-03-05 Joseph Myers <joseph@codesourcery.com>
48964
48965 * manual/lang.texi (size_t): Note types to which size_t may be
48966 equivalent with the GNU C Library, but do not describe when
48967 differences between them are significant.
48968
30ee4ced
AJ
489692012-03-05 Andreas Jaeger <aj@suse.de>
48970
48971 * sysdeps/i386/fpu/libm-test-ulps: Update.
48972
b7cd39e8
JM
489732012-03-05 Joseph Myers <joseph@codesourcery.com>
48974
48975 [BZ #3976]
48976 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48977 (__ieee754_pow): Save and restore rounding mode and use
48978 round-to-nearest for main computations.
48979 * math/libm-test.inc (pow_test_tonearest): New function.
48980 (pow_test_towardzero): Likewise.
48981 (pow_test_downward): Likewise.
48982 (pow_test_upward): Likewise.
48983 (main): Call the new functions.
48984 * sysdeps/i386/fpu/libm-test-ulps: Update.
48985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48986
48987 [BZ #3976]
48988 * math/libm-test.inc (cosh_test_tonearest): New function.
48989 (cosh_test_towardzero): Likewise.
48990 (cosh_test_downward): Likewise.
48991 (cosh_test_upward): Likewise.
48992 (sinh_test_tonearest): Likewise.
48993 (sinh_test_towardzero): Likewise.
48994 (sinh_test_downward): Likewise.
48995 (sinh_test_upward): Likewise.
48996 (main): Call the new functions.
48997 * sysdeps/i386/fpu/libm-test-ulps: Update.
48998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48999
6c6a98c9
TV
490002012-03-05 Tom de Vries <tom@codesourcery.com>
49001
49002 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49003 default stack guard is set in last bytes.
49004 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49005
21bb2d2e 490062012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 49007
21bb2d2e 49008 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 49009
21bb2d2e
AJ
49010 [BZ #13656]
49011 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49012 possibly allocate from heap instead of stack.
49013 * stdio-common/bug-vfprintf-nargs.c: New file.
49014 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 49015
c6922934
AS
490162012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49017
49018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49019
bc957d53
MP
490202012-03-03 Marek Polacek <polacek@redhat.com>
49021
49022 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49023 * math/math_private.h: Likewise.
49024 * stdlib/tst-strtod.c: Likewise.
49025 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49026 * sysdeps/x86_64/bits/atomic.h: Likewise.
49027
6358490d
DM
490282012-03-02 David S. Miller <davem@davemloft.net>
49029
49030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49034 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49035 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49036 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49037 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49038
01ae168d
RM
490392012-03-02 Roland McGrath <roland@hack.frob.com>
49040
d9a17c07
RM
49041 [BZ #13792]
49042 * manual/examples/README: New file, says the example source files
49043 can be used under GPL>=2.
49044 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49045 line containing just "*/".
49046 * manual/examples/add.c: Add copyright header (GPL>=2).
49047 * manual/examples/argp-ex1.c: Likewise.
49048 * manual/examples/argp-ex2.c: Likewise.
49049 * manual/examples/argp-ex3.c: Likewise.
49050 * manual/examples/argp-ex4.c: Likewise.
49051 * manual/examples/atexit.c: Likewise.
49052 * manual/examples/db.c: Likewise.
49053 * manual/examples/dir.c: Likewise.
49054 * manual/examples/dir2.c: Likewise.
49055 * manual/examples/execinfo.c: Likewise.
49056 * manual/examples/filecli.c: Likewise.
49057 * manual/examples/filesrv.c: Likewise.
49058 * manual/examples/fmtmsgexpl.c: Likewise.
49059 * manual/examples/genpass.c: Likewise.
49060 * manual/examples/inetcli.c: Likewise.
49061 * manual/examples/inetsrv.c: Likewise.
49062 * manual/examples/isockad.c: Likewise.
49063 * manual/examples/longopt.c: Likewise.
49064 * manual/examples/memopen.c: Likewise.
49065 * manual/examples/memstrm.c: Likewise.
49066 * manual/examples/mkfsock.c: Likewise.
49067 * manual/examples/mkisock.c: Likewise.
49068 * manual/examples/mygetpass.c: Likewise.
49069 * manual/examples/pipe.c: Likewise.
49070 * manual/examples/popen.c: Likewise.
49071 * manual/examples/rprintf.c: Likewise.
49072 * manual/examples/search.c: Likewise.
49073 * manual/examples/select.c: Likewise.
49074 * manual/examples/setjmp.c: Likewise.
49075 * manual/examples/sigh1.c: Likewise.
49076 * manual/examples/sigusr.c: Likewise.
49077 * manual/examples/stpcpy.c: Likewise.
49078 * manual/examples/strdupa.c: Likewise.
49079 * manual/examples/strftim.c: Likewise.
49080 * manual/examples/strncat.c: Likewise.
49081 * manual/examples/subopt.c: Likewise.
49082 * manual/examples/swapcontext.c: Likewise.
49083 * manual/examples/termios.c: Likewise.
49084 * manual/examples/testopt.c: Likewise.
49085 * manual/examples/testpass.c: Likewise.
49086 * manual/examples/timeval_subtract.c: Likewise.
49087
01ae168d
RM
49088 [BZ #13792]
49089 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49090 function to ...
49091 * manual/timeval_subtract.c.texi: ... here, new file.
49092
49efa33d
DM
490932012-03-02 David S. Miller <davem@davemloft.net>
49094
49095 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49096
28afd92d
JM
490972012-03-02 Joseph Myers <joseph@codesourcery.com>
49098
804360ed
JM
49099 [BZ #3976]
49100 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49101 (__sin): Save and restore rounding mode and use round-to-nearest
49102 for all computations.
49103 (__cos): Save and restore rounding mode and use round-to-nearest
49104 for all computations.
49105 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49106 <fenv.h>.
49107 (tan): Save and restore rounding mode and use round-to-nearest for
49108 all computations.
49109 * math/libm-test.inc (cos_test_tonearest): New function.
49110 (cos_test_towardzero): Likewise.
49111 (cos_test_downward): Likewise.
49112 (cos_test_upward): Likewise.
49113 (sin_test_tonearest): Likewise.
49114 (sin_test_towardzero): Likewise.
49115 (sin_test_downward): Likewise.
49116 (sin_test_upward): Likewise.
49117 (tan_test_tonearest): Likewise.
49118 (tan_test_towardzero): Likewise.
49119 (tan_test_downward): Likewise.
49120 (tan_test_upward): Likewise.
49121 (main): Call the new functions.
49122 * sysdeps/i386/fpu/libm-test-ulps: Update.
49123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49124
a6d06d7b
JM
49125 [BZ #10135]
49126 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49127 small n, then large n, before computing and testing k+n.
49128 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49129 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49130 Likewise.
49131 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49132 Likewise.
49133 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49134 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49135 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49136 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49137 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49138 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49139 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49140 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49141 * math/libm-test.inc (scalbn_test): Add more tests.
49142 (scalbln_test): Likewise.
49143
07e12bb3
JM
49144 * manual/filesys.texi (mode_t): Describe constraints on size and
49145 signedness, not exact equivalence to a particular type.
49146 (ino_t): Likewise.
49147 (ino64_t): Likewise.
49148 (dev_t): Likewise.
49149 (nlink_t): Likewise.
49150 (blkcnt_t): Likewise.
49151 (blkcnt64_t): Likewise.
49152 * manual/llio.texi (off_t): Likewise.
49153
28afd92d
JM
49154 [BZ #3976]
49155 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49156 (__ieee754_exp): Save and restore rounding mode and use
49157 round-to-nearest for all computations.
49158 * math/libm-test.inc (exp_test_tonearest): New function.
49159 (exp_test_towardzero): Likewise.
49160 (exp_test_downward): Likewise.
49161 (exp_test_upward): Likewise.
49162 (main): Call the new functions.
49163 * sysdeps/i386/fpu/libm-test-ulps: Update.
49164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49165
b1eeb65d
CD
491662012-03-01 Chris Demetriou <cgd@google.com>
49167
49168 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49169 have predictable order.
49170
53362a4b
DM
491712012-03-01 David S. Miller <davem@davemloft.net>
49172
3c969083
DM
49173 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49174
759707de
DM
49175 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49176 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49177 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49178 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49179
dfdb8ff2
DM
49180 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49181 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49182 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49184 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49185 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49186 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49187 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49188 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49189
ead89f96
DM
49190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49191
7f66bd07
DM
49192 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49193 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49194 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49195
53362a4b
DM
49196 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49197 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49198 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49199 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49200 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49201 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49202 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49203 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49204 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49205 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49206 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49208 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49209 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49210 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49212 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49213 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49214 * sysdeps/sparc/elf/configure: Regenerated.
49215
7b1902cb
JM
492162012-03-01 Joseph Myers <joseph@codesourcery.com>
49217
bec039bc
JM
49218 * configure.in (AS, LD): Require binutils 2.20 or later.
49219 * configure: Regenerated.
49220 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49221 as required minimum version.
49222 * INSTALL: Regenerated.
49223
7b1902cb
JM
49224 [BZ #2541]
49225 [BZ #4108]
49226 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49227 before squaring exponent.
49228 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49229 bottom long double and 27 bits of top long double before squaring
49230 exponent.
49231 * math/libm-test.inc (erfc_test): Add more tests.
49232 * sysdeps/i386/fpu/libm-test-ulps: Update.
49233 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49235
f775c276
KT
492362012-03-01 Kai Tietz <ktietz@redhat.com>
49237
49238 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49239 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49240 containing bit-fields.
49241 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49242 * soft-fp/single.h (_FP_UNION_S): Likewise.
49243 * soft-fp/double.h (_FP_UNION_D): Likewise.
49244
5b8a4d4a
JM
492452012-02-29 Joseph Myers <joseph@codesourcery.com>
49246
0bab47b6
JM
49247 [BZ #13786]
49248 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49249 not include ../strcmp.S.
49250 [USE_AS_STRNCASECMP_L]: Likewise.
49251 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49252 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49253 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49254 (__strncasecmp_l_ia32): Define as alias to
49255 __strncasecmp_l_nonascii.
49256
0fcad3e2
JM
49257 [BZ #5794]
49258 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49259 * sysdeps/i386/fpu/libm-test-ulps: Update.
49260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49261
5b8a4d4a
JM
49262 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49264
8fdceb2e
JL
492652012-02-29 Jeff Law <law@redhat.com>
49266
49267 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49268 out of bounds read.
49269
1f393a11
MP
492702012-02-29 Marek Polacek <polacek@redhat.com>
49271
49272 [BZ #13706]
49273 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49274 * elf/Makefile: Add rules to run tst-unused-dep.out.
49275
8847f037
DM
492762012-02-28 David S. Miller <davem@davemloft.net>
49277
49278 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49279 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49280 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49281 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49282 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49283 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49284
169d7f11
JM
492852012-02-29 Joseph Myers <joseph@codesourcery.com>
49286
49287 * math/libm-test.inc (llround_test): Move one test from
49288 lround_test. Use TEST_f_L in moved test.
49289 (lround_test): Move misplaced test to llround_test. Add testcase
49290 from bug 2561.
49291
39adf059
UD
492922012-02-28 Ulrich Drepper <drepper@gmail.com>
49293
49294 * sysdeps/x86_64/fpu/e_expf.S: New file.
49295 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49296
71b5d1c5
SB
492972012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49298
49299 [BZ #13637]
49300 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49301 of remain_len that may cause incomplete multi-byte character and
49302 false match.
49303 * posix/bug-regex33.c: New file.
49304 * posix/Makefile (tests): Add bug-regex33.
49305
1f77f049
JM
493062012-02-28 Joseph Myers <joseph@codesourcery.com>
49307
49308 * manual/macros.texi: New file.
49309 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49310 * manual/libc.texinfo: Include macros.texi.
49311 * manual/creatute.texi: Likewise.
49312 * manual/install.texi: Likewise.
49313 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49314 @glibcadj{} in references to the GNU C Library.
49315 * manual/charset.texi: Likewise.
49316 * manual/conf.texi: Likewise.
49317 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49318 when not using those macros.
49319 * manual/creature.texi: Likewise.
49320 * manual/crypt.texi: Likewise.
49321 * manual/errno.texi: Likewise.
49322 * manual/filesys.texi: Likewise.
49323 * manual/header.texi: Likewise.
49324 * manual/install.texi: Likewise.
49325 * manual/intro.texi: Likewise.
49326 * manual/io.texi: Likewise.
49327 * manual/job.texi: Likewise.
49328 * manual/lang.texi: Likewise.
49329 * manual/libc.texiinfo: Likewise.
49330 * manual/llio.texi: Likewise.
49331 * manual/locale.texi: Likewise.
49332 * manual/maint.texi: Likewise.
49333 * manual/math.texi: Likewise.
49334 * manual/memory.texi: Likewise.
49335 * manual/message.texi: Likewise.
49336 * manual/nss.texi: Likewise.
49337 * manual/pattern.texi: Likewise.
49338 * manual/process.texi: Likewise.
49339 * manual/resource.texi: Likewise.
49340 * manual/search.texi: Likewise.
49341 * manual/setjmp.texi: Likewise.
49342 * manual/signal.texi: Likewise.
49343 * manual/socket.texi: Likewise.
49344 * manual/startup.texi: Likewise.
49345 * manual/stdio.texi: Likewise.
49346 * manual/string.texi: Likewise.
49347 * manual/sysinfo.texi: Likewise.
49348 * manual/syslog.texi: Likewise.
49349 * manual/terminal.texi: Likewise.
49350 * manual/time.texi: Likewise.
49351 * manual/users.texi: Likewise.
49352 * INSTALL: Regenerated.
49353 * NOTES: Regenerated.
d40c5d54 49354 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49355
450bf206
AS
493562012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49357
49358 * include/dirent.h: Include <dirstream.h> before
49359 <dirent/dirent.h>.
49360
741a235b
DM
493612012-02-28 David S. Miller <davem@davemloft.net>
49362
49363 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49364 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49365 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49366 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49367
d6b5aa58
DM
493682012-02-27 David S. Miller <davem@davemloft.net>
49369
1aff59a3
DM
49370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49372 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49373 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49374
d6b5aa58
DM
49375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49376 frame pointer instead of stack pointer relative arg slot.
49377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49378 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49379 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49380
433f48bf
CD
493812012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49382
49383 [BZ #3992]
49384 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49385
d674b76d
DM
493862012-02-27 David S. Miller <davem@davemloft.net>
49387
49388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49392 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49393 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49394 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49395 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49396
0e7727f7
JM
493972012-02-27 Joseph Myers <joseph@codesourcery.com>
49398
49399 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49400 later. Allow versions 5-9.
43be4ca2 49401 * configure: Regenerated.
0e7727f7
JM
49402 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49403 required minimum version and 4.6 as recommended version. Do not
49404 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49405 * INSTALL: Regenerated.
0e7727f7 49406
a78bc654
DM
494072012-02-27 David S. Miller <davem@davemloft.net>
49408
428d5830
DM
49409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49413 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49414 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49415 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49416 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49417
a78bc654
DM
49418 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49419 manipulate bits before adding and subtracting TWO112[sx].
49420 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49421
4579f81c
RM
494222012-02-27 Roland McGrath <roland@hack.frob.com>
49423
36c8acb4
RM
49424 [BZ #13775]
49425 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49426 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49427 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49428 being in POSIX, because they are in 1003.1-2008.
49429
84ad622b
RM
49430 * rt/tst-aio.c: Include <fcntl.h>.
49431 * rt/tst-aio7.c: Likewise.
49432 * rt/tst-aio64.c: Likewise.
49433
4579f81c
RM
49434 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49435
abd923db
JM
494362012-02-27 Joseph Myers <joseph@codesourcery.com>
49437
49438 * manual/install.texi (--with-headers): Describe headers as
49439 interface headers, not private headers.
49440 (Specific advice for GNU/Linux systems): Describe use of headers
49441 from "make headers_install", not private headers from older
49442 kernels.
43be4ca2 49443 * INSTALL: Regenerated.
abd923db
JM
49444 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49445 Change to 2.6.19.
49446 * sysdeps/unix/sysv/linux/configure: Regenerated.
49447
6664049b
JM
49448 * manual/llio.texi (fclean): Remove documentation.
49449
bb8b6697
JM
49450 * manual/Makefile (libc-texi-generated): New variable. Include
49451 version.texi.
49452 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49453 $(libc-texi-generated), not duplicated list of files.
49454 (version.texi, stamp-version): New rules.
49455 (realclean): Remove $(libc-texi-generated), not individual files
49456 from that list. Do not remove dir-add.texinfo.
49457 * manual/libc.texinfo: Comment out uses of edition numbers and
49458 references to printed manual. Remove last-updated dates.
49459 (EDITION): Comment out.
49460 (ISBN): Likewise.
49461 (VERSION, UPDATED): Remove.
49462 (version.texi): Include.
49463
12e5c3b9
AS
494642012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49465
49466 * sysdeps/posix/spawni.c: Include <signal.h>.
49467 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49468 * sysdeps/pthread/aio_fsync.c: Likewise.
49469
4efeffc1 494702012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49471
ba63ba08
UD
49472 * conform/Makefile (tests): Run only when not cross-compiling and
49473 when fast-check is not defined.
49474
d94a4670
UD
49475 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49476 * conform/data/limits.h-data: Fixes for POSIX2008.
49477 * conform/run-conformtest.sh: Run all tests.
49478 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49479 headers.
49480 * include/bits/dlfcn.h: Likewise.
49481 * include/langinfo.h: Likewise.
49482 * include/monetary.h: Likewise.
49483 * include/sys/poll.h: Likewise.
49484
49485 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49486 for __USE_GNU.
49487 * posix/spawn.h: Define __need_sigset_t.
49488 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49489 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49490 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49491 to get sigevent_t only.
49492 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49493 only for __USE_GNU.
49494 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49495 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49496 process_vm_writev only for __USE_GNU.
49497 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49498
49499 * conform/Makefile: For now ignore errors from run-conformtest.
49500 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49501 POSIX to avoid namespace pollution. Don't prepend headers.
49502 * conform/data/aio.h-data: Fixes for POSIX testing.
49503 * conform/data/fcntl.h-data: Likewise.
49504 * conform/data/glob.h-data: Likewise.
49505 * conform/data/grp.h-data: Likewise.
49506 * conform/data/pthread.h-data: Likewise.
49507 * conform/data/pwd.h-data: Likewise.
49508 * conform/data/signal.h-data: Likewise.
49509 * conform/data/spawn.h-data: Likewise.
49510 * conform/data/stdio.h-data: Likewise.
49511 * conform/data/stdlib.h-data: Likewise.
49512 * conform/data/stropts.h-data: Likewise.
49513 * conform/data/sys/mman.h-data: Likewise.
49514 * conform/data/sys/stat.h-data: Likewise.
49515 * conform/data/sys/types.h-data: Likewise.
49516 * conform/data/sys/wait.h-data: Likewise.
49517 * conform/data/time.h-data: Likewise.
49518 * conform/data/unistd.h-data: Likewise.
49519 * conform/data/utime.h-data: Likewise.
49520
49521 * io/sys/stat.h: fchmod was always in POSIX.
49522 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49523 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49524 * rt/aio.h: Define __need_timespec before including <time.h>.
49525 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49526 struct. Add forward declaration of pthread_attr_t and use it in
49527 sigevent.
49528 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49529 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49530 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49531 always remove CLK_TCK definition.
49532
c20105c3
AS
495332012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49534
49535 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49536
7a270350
UD
495372012-02-25 Ulrich Drepper <drepper@gmail.com>
49538
31341567
UD
49539 * conform/run-conformtest.sh: New file.
49540 * conform/Makefile: Run run-conformtest for tests.
49541 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49542 support.
49543
49544 * conform/data/uchar.h-data: New file.
49545 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49546 * conform/data/arpa/inet.h-data: Likewise.
49547 * conform/data/assert.h-data: Likewise.
49548 * conform/data/complex.h-data: Likewise.
49549 * conform/data/cpio.h-data: Likewise.
49550 * conform/data/ctype.h-data: Likewise.
49551 * conform/data/dirent.h-data: Likewise.
49552 * conform/data/dlfcn.h-data: Likewise.
49553 * conform/data/errno.h-data: Likewise.
49554 * conform/data/fcntl.h-data: Likewise.
49555 * conform/data/float.h-data: Likewise.
49556 * conform/data/fmtmsg.h-data: Likewise.
49557 * conform/data/fnmatch.h-data: Likewise.
49558 * conform/data/ftw.h-data: Likewise.
49559 * conform/data/glob.h-data: Likewise.
49560 * conform/data/grp.h-data: Likewise.
49561 * conform/data/iconv.h-data: Likewise.
49562 * conform/data/inttypes.h-data: Likewise.
49563 * conform/data/langinfo.h-data: Likewise.
49564 * conform/data/libgen.h-data: Likewise.
49565 * conform/data/limits.h-data: Likewise.
49566 * conform/data/locale.h-data: Likewise.
49567 * conform/data/math.h-data: Likewise.
49568 * conform/data/monetary.h-data: Likewise.
49569 * conform/data/mqueue.h-data: Likewise.
49570 * conform/data/ndbm.h-data: Likewise.
49571 * conform/data/net/if.h-data: Likewise.
49572 * conform/data/netdb.h-data: Likewise.
49573 * conform/data/netinet/in.h-data: Likewise.
49574 * conform/data/nl_types.h-data: Likewise.
49575 * conform/data/poll.h-data: Likewise.
49576 * conform/data/pthread.h-data: Likewise.
49577 * conform/data/pwd.h-data: Likewise.
49578 * conform/data/regex.h-data: Likewise.
49579 * conform/data/sched.h-data: Likewise.
49580 * conform/data/search.h-data: Likewise.
49581 * conform/data/semaphore.h-data: Likewise.
49582 * conform/data/setjmp.h-data: Likewise.
49583 * conform/data/signal.h-data: Likewise.
49584 * conform/data/spawn.h-data: Likewise.
49585 * conform/data/stdarg.h-data: Likewise.
49586 * conform/data/stdio.h-data: Likewise.
49587 * conform/data/stdlib.h-data: Likewise.
49588 * conform/data/string.h-data: Likewise.
49589 * conform/data/strings.h-data: Likewise.
49590 * conform/data/stropts.h-data: Likewise.
49591 * conform/data/sys/ipc.h-data: Likewise.
49592 * conform/data/sys/mman.h-data: Likewise.
49593 * conform/data/sys/msg.h-data: Likewise.
49594 * conform/data/sys/resource.h-data: Likewise.
49595 * conform/data/sys/select.h-data: Likewise.
49596 * conform/data/sys/sem.h-data: Likewise.
49597 * conform/data/sys/shm.h-data: Likewise.
49598 * conform/data/sys/socket.h-data: Likewise.
49599 * conform/data/sys/stat.h-data: Likewise.
49600 * conform/data/sys/statvfs.h-data: Likewise.
49601 * conform/data/sys/time.h-data: Likewise.
49602 * conform/data/sys/timeb.h-data: Likewise.
49603 * conform/data/sys/times.h-data: Likewise.
49604 * conform/data/sys/types.h-data: Likewise.
49605 * conform/data/sys/uio.h-data: Likewise.
49606 * conform/data/sys/un.h-data: Likewise.
49607 * conform/data/sys/utsname.h-data: Likewise.
49608 * conform/data/sys/wait.h-data: Likewise.
49609 * conform/data/syslog.h-data: Likewise.
49610 * conform/data/tar.h-data: Likewise.
49611 * conform/data/termios.h-data: Likewise.
49612 * conform/data/utime.h-data: Likewise.
49613 * conform/data/utmpx.h-data: Likewise.
49614 * conform/data/varargs.h-data: Likewise.
49615 * conform/data/wchar.h-data: Likewise.
49616 * conform/data/wctype.h-data: Likewise.
49617 * conform/data/wordexp.h-data: Likewise.
49618
49619 * include/stropts.h: New file.
49620 * include/uchar.h: New file.
49621 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49622 * include/assert.h: Likewise.
49623 * include/ctype.h: Likewise.
49624 * include/dirent.h: Likewise.
49625 * include/dlfcn.h: Likewise.
49626 * include/fcntl.h: Likewise.
49627 * include/fnmatch.h: Likewise.
49628 * include/glob.h: Likewise.
49629 * include/grp.h: Likewise.
49630 * include/libio.h: Likewise.
49631 * include/locale.h: Likewise.
49632 * include/math.h: Likewise.
49633 * include/net/if.h: Likewise.
49634 * include/netdb.h: Likewise.
49635 * include/netinet/in.h: Likewise.
49636 * include/pthread.h: Likewise.
49637 * include/pwd.h: Likewise.
49638 * include/regex.h: Likewise.
49639 * include/sched.h: Likewise.
49640 * include/search.h: Likewise.
49641 * include/setjmp.h: Likewise.
49642 * include/signal.h: Likewise.
49643 * include/stdio.h: Likewise.
49644 * include/stdlib.h: Likewise.
49645 * include/string.h: Likewise.
49646 * include/sys/cdefs.h: Likewise.
49647 * include/sys/mman.h: Likewise.
49648 * include/sys/msg.h: Likewise.
49649 * include/sys/resource.h: Likewise.
49650 * include/sys/select.h: Likewise.
49651 * include/sys/socket.h: Likewise.
49652 * include/sys/stat.h: Likewise.
49653 * include/sys/statvfs.h: Likewise.
49654 * include/sys/time.h: Likewise.
49655 * include/sys/times.h: Likewise.
49656 * include/sys/uio.h: Likewise.
49657 * include/sys/utsname.h: Likewise.
49658 * include/sys/wait.h: Likewise.
49659 * include/termios.h: Likewise.
49660 * include/time.h: Likewise.
49661 * include/ulimit.h: Likewise.
49662 * include/unistd.h: Likewise.
49663 * include/utime.h: Likewise.
49664 * include/wchar.h: Likewise.
49665 * include/wctype.h: Likewise.
49666 * include/wordexp.h: Likewise.
49667
49668 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49669
7a270350
UD
49670 * time/time.h: TIME_UTC must be a macro.
49671 Make timespec_get available for ISO C11 only as well.
49672
7724defc
UD
496732012-02-24 Ulrich Drepper <drepper@gmail.com>
49674
49675 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49676 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49677
6b1d1d46
JM
496782012-02-24 Joseph Myers <joseph@codesourcery.com>
49679
49680 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 49681
0f8bbd69
JM
496822012-02-24 Joseph Myers <joseph@codesourcery.com>
49683
49684 * manual/texinfo.tex: Update to version 2012-01-19.16.
49685
66ab80bc
JM
496862012-02-24 Joseph Myers <joseph@codesourcery.com>
49687
49688 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49689
74981cc5
RM
496902012-02-24 Roland McGrath <roland@hack.frob.com>
49691
ee968201
RM
49692 [BZ #13738]
49693 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49694 * manual/fdl-1.3.texi: New file.
49695 * manual/fdl-1.1.texi: File removed.
49696
74981cc5
RM
49697 [BZ #13738]
49698 * manual/libc.texinfo (FDL_VERSION): New @set.
49699 Use it for mention of FDL in cover text.
49700 (Documentation License): Use it in @include file name.
49701
7bb764bc
JM
497022012-02-22 Joseph Myers <joseph@codesourcery.com>
49703 Roland McGrath <roland@hack.frob.com>
49704
49705 [BZ #5461]
57f41c40
AS
49706 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49707 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
49708 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49709 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49710 name.
49711 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49712
6cbeae47
JM
497132012-02-22 Joseph Myers <joseph@codesourcery.com>
49714
49715 [BZ #2547]
49716 [BZ #11365]
49717 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49718 manipulate bits before adding and subtracting TWO23[sx].
49719 * math/libm-test.inc (nearbyint_test): Add more tests.
49720
fe45ce09
JM
497212012-02-22 Joseph Myers <joseph@codesourcery.com>
49722
49723 [BZ #2548]
49724 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49725 bits before adding and subtracting TWO23[sx].
49726 * math/libm-test.inc (rint_test): Add more tests.
49727 (rint_test_tonearest): Likewise.
49728 (rint_test_towardzero): Likewise.
49729 (rint_test_downward): Likewise.
49730 (rint_test_upward: Likewise.
49731
ff3b3d82
JM
497322012-02-22 Joseph Myers <joseph@codesourcery.com>
49733
49734 [BZ #10110]
49735 * include/stdc-predef.h: New file. Extracted from features.h.
49736 * include/features.h: Include stdc-predef.h.
49737 * Makefile (headers): Add stdc-predef.h.
49738 * CONFORMANCE (Compiler limitations): Update.
49739
ef0aab35
JM
497402012-02-22 Joseph Myers <joseph@codesourcery.com>
49741
49742 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49743
58639409
DM
497442012-02-21 David S. Miller <davem@davemloft.net>
49745
49746 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49747 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49748
c0e70b25
DM
497492012-02-20 David S. Miller <davem@davemloft.net>
49750
49751 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49752 using a normal save/restore sequence, rather than allocating a
49753 dummy stack frame just to store a frame pointer and restore.
49754 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49755
fb06851d
JM
497562012-02-21 Joseph Myers <joseph@codesourcery.com>
49757
49758 * manual/install.texi: Fix stray word in line-wrapped comment.
49759
7a8b71c3
DM
497602012-02-20 David S. Miller <davem@davemloft.net>
49761
d510c123
DM
49762 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49763 both binutils and gcc support GOTDATA.
49764
0722d7c2
DM
49765 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49766 "rd %pc" in the PIC register setup sequences.
49767
3d2b3019
DM
49768 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49769 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49770 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49771 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49772 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49773 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49774 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49775 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49776 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49777 (SYSCALL_ERROR_HANDLER): Likewise.
49778 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49779 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49780 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49781 (SYSCALL_ERROR_HANDLER): Likewise.
49782
c80098a9
DM
49783 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49784 (HAVE_GCC_GOTDATA): New.
49785 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49786 relocation support in both binutils and gcc.
49787 * sysdeps/sparc/elf/configure: Regenerate.
49788
3a2545a0
DM
49789 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49790 * sysdeps/sparc/sparc32/elf/configure: Delete.
49791 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49792 * sysdeps/sparc/sparc64/elf/configure: Delete.
49793 * sysdeps/sparc/elf/configure.in: New file.
49794 * sysdeps/sparc/elf/configure: Generate.
49795
7a8b71c3
DM
49796 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49797 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49798 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49799 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49800 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49801
f1e86fca
JM
498022012-02-21 Joseph Myers <joseph@codesourcery.com>
49803
49804 * manual/install.texi: Do not mention specific glibc version
49805 numbers.
49806 * manual/libc.texinfo (VERSION, UPDATED): Update.
49807 (@copying): Use @copyright{} and range of years.
49808
0e7dfaef
JM
498092012-02-21 Joseph Myers <joseph@codesourcery.com>
49810
49811 [BZ #13695]
49812 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49813 [crti.S not in sysdirs] (generated): Do not append.
49814 [crti.S not in sysdirs] (omit-deps): Likewise.
49815 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49816 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49817 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49818 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49819 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49820 Likewise.
49821 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49822 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49823 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49824 * csu/defs.awk: Remove file.
49825 * sysdeps/generic/initfini.c: Likewise.
49826 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49827 variable.
49828 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49829 Likewise.
49830
599af3ca
JM
498312012-02-20 Joseph Myers <joseph@codesourcery.com>
49832
49833 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49834 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49835 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49836 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49837 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49838 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49839 <bits/epoll.h>.
49840 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49841 (__EPOLL_PACKED): Define to empty if not defined by
49842 <bits/epoll.h>.
49843 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49845 bits/epoll.h.
49846
0e499750
JM
498472012-02-20 Joseph Myers <joseph@codesourcery.com>
49848
49849 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49850 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49851 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49852 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49853 <bits/timerfd.h>.
49854 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49856 bits/timerfd.h.
49857
5ad91f6e
JM
498582012-02-20 Joseph Myers <joseph@codesourcery.com>
49859
49860 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49861 in C locale.
49862 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49863 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49864 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49866
06b99b02
AJ
498672012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49868
49869 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49870 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49871
7638c0fd
AS
498722012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49873
49874 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49875 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49876 defined.
49877 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49878 Likewise.
49879 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49880 entry for 2.16.
49881
92221550
AJ
498822012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49883
49884 * math/w_acos.c: Use non-signaling floating-point comparisons.
49885 * math/w_acosf.c: Likewise.
49886 * math/w_acosh.c: Likewise.
49887 * math/w_acoshf.c: Likewise.
49888 * math/w_acoshl.c: Likewise.
49889 * math/w_acosl.c: Likewise.
49890 * math/w_asin.c: Likewise.
49891 * math/w_asinf.c: Likewise.
49892 * math/w_asinl.c: Likewise.
49893 * math/w_atanh.c: Likewise.
49894 * math/w_atanhf.c: Likewise.
49895 * math/w_atanhl.c: Likewise.
49896 * math/w_exp2.c: Likewise.
49897 * math/w_exp2f.c: Likewise.
49898 * math/w_exp2l.c: Likewise.
49899 * math/w_j0.c: Likewise.
49900 * math/w_j0f.c: Likewise.
49901 * math/w_j0l.c: Likewise.
49902 * math/w_j1.c: Likewise.
49903 * math/w_j1f.c: Likewise.
49904 * math/w_j1l.c: Likewise.
49905 * math/w_jn.c: Likewise.
49906 * math/w_jnf.c: Likewise.
49907 * math/w_log.c: Likewise.
49908 * math/w_log10.c: Likewise.
49909 * math/w_log10f.c: Likewise.
49910 * math/w_log10l.c: Likewise.
49911 * math/w_log2.c: Likewise.
49912 * math/w_log2f.c: Likewise.
49913 * math/w_log2l.c: Likewise.
49914 * math/w_logf.c: Likewise.
49915 * math/w_logl.c: Likewise.
49916 * math/w_sqrt.c: Likewise.
49917 * math/w_sqrtf.c: Likewise.
49918 * math/w_sqrtl.c: Likewise.
49919 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49920 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49921 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49922 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49923 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49924
ebaf36eb
JM
499252012-02-19 Joseph Myers <joseph@codesourcery.com>
49926
49927 [BZ #9739]
49928 * manual/string.texi (strnlen): Use correct parameter name in
49929 equivalent expression.
49930
71c254a6
JM
499312012-02-19 Joseph Myers <joseph@codesourcery.com>
49932
49933 [BZ #11174]
49934 * manual/users.texi (seteuid): Consistently use neweuid for
49935 argument name.
49936
16d2c631
JM
499372012-02-19 Joseph Myers <joseph@codesourcery.com>
49938
49939 [BZ #13704]
49940 * manual/nss.texi (Services in the NSS configuration): Correct
49941 list of services in example configuration file.
49942
cd837b09
NB
499432012-02-19 Nick Bowler <nbowler@draconx.ca>
49944
49945 [BZ #11322]
49946 * manual/arith.texi: Remove statements about negative zero
49947 behaving identically to zero.
49948
02c4bbad
JM
499492012-02-18 Joseph Myers <joseph@codesourcery.com>
49950
49951 [BZ #5993]
49952 * manual/install.texi: Do not document upgrading from libc5.
49953
366842e7
JM
499542012-02-18 Joseph Myers <joseph@codesourcery.com>
49955
49956 [BZ #4596]
49957 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49958
dd54084d
DM
499592012-02-18 David S. Miller <davem@davemloft.net>
49960
49961 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49962 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49963 %o7 across the call.
49964 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49965 instead.
49966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49967 SETUP_PIC_REG_LEAF.
49968 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49969 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49970 * sysdeps/sparc/crtn.S: Likewise.
49971
2bcc53a3
UD
499722012-02-17 Ulrich Drepper <drepper@gmail.com>
49973
49974 * aout/Makefile: Remove.
49975
09c093b5
RK
499762012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49977
49978 [BZ #13058]
49979 * manual/examples/argp-ex1.c (main): Format definition in GNU
49980 style.
49981 * manual/examples/argp-ex2.c (main): Likewise.
49982 * manual/examples/argp-ex3.c (main): Likewise.
49983 * manual/examples/argp-ex4.c (main): Likewise.
49984 * manual/examples/longopt.c (main): Use new-style prototype
49985 definition.
49986 * manual/examples/strncat.c (main): Specify return type and use
49987 (void) for arguments.
49988 * manual/examples/subopt.c (main): Use char **argv argument.
49989
2ee633a2
JM
499902012-02-17 Joseph Myers <joseph@codesourcery.com>
49991
49992 [BZ #5077]
49993 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49994 rounding modes.
49995
0520adde
FB
499962012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49997
49998 [BZ #6907]
49999 * manual/string.texi (strchr): Change when strchrnul is
50000 recommended.
50001
3f4081cd
DGM
500022012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50003
50004 [BZ #174]
50005 * manual/locale.texi (setlocale): Document LOCPATH.
50006
d1b10e78
JM
500072012-02-17 Joseph Myers <joseph@codesourcery.com>
50008
50009 [BZ #10210]
50010 * manual/process.texi (execle): Move @dots{} before last argument.
50011
79c6869c
PB
500122012-02-17 Paul Bolle <pebolle@tiscali.nl>
50013
50014 [BZ #12047]
50015 * manual/charset.texi (Generic Charset Conversion): Fix typo
50016 (LC_TYPE -> LC_CTYPE).
50017
cc6e48bc
NB
500182012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50019
50020 [BZ #5805]
50021 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50022 (scalbnf): Likewise.
50023 (scalbnl): Likewise.
50024 (scalbln): Likewise.
50025 (scalblnf): Likewise.
50026 (scalblnl): Likewise.
50027 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50028 (vwarnx): Likewise.
50029 (verr): Likewise.
50030 (verrx): Likewise.
50031 * manual/filesys.texi (telldir): Use braces around return type.
50032 * manual/llio.texi (mmap): Add space after comma.
50033 (mmap64): Likewise.
50034 * manual/math.texi (jn): Use @var{} on parameter names.
50035 (jnf): Likewise.
50036 (jnl): Likewise.
50037 (yn): Likewise.
50038 (ynf): Likewise.
50039 (ynl): Likewise.
50040 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50041 line.
50042 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50043 "...".
50044 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50045 (sched_get_priority_max): Likewise.
50046 * manual/signal.texi (sigvec): Add space after comma.
50047 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50048 names.
50049 (if_indextoname): Likewise.
50050 (if_freenameindex): Likewise.
50051 (sendto): Use ',' instead of '.' in prototype.
50052 * manual/startup.texi (syscall): Use @dots{} instead of literal
50053 "...".
50054 * manual/stdio.texi (__fpending): Separate initial words of
50055 paragraph from @deftypefun line.
50056 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50057 "...".
50058 (vsyslog): Use @var{} on parameter names.
50059 * manual/terminal.texi (stty): Use @var{} on parameter names.
50060 * manual/users.texi (getutmp): Use @var{} on parameter names.
50061 (getutmpx): Likewise.
50062
5b23062f
JM
500632012-02-17 Joseph Myers <joseph@codesourcery.com>
50064
50065 [BZ #6884]
50066 * manual/stdio.texi (fopen): Fix typos in description of
50067 ",ccs=STRING".
50068
8dee4833
AJ
500692012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50070
50071 [BZ #4026]
50072 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50073 get clock_id definition.
50074
9078ce93
TS
500752012-02-17 Thomas Schwinge <thomas@schwinge.name>
50076
50077 [BZ #4822]
50078 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50079 (madvise): Cast every argument to void on its own.
50080
3835c55f
JM
500812012-02-17 Joseph Myers <joseph@codesourcery.com>
50082
50083 [BZ #9902]
50084 * manual/startup.texi (Exit Status): Fix typo.
50085
35c47e37
JM
500862012-02-17 Joseph Myers <joseph@codesourcery.com>
50087
50088 [BZ #10140]
50089 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50090 * manual/examples/argp-ex2.c: Likewise.
50091 * manual/examples/argp-ex3.c: Likewise.
50092
e3b69ca7
RH
500932012-02-16 Richard Henderson <rth@redhat.com>
50094
50095 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50096 * sysdeps/s390/s390-32/initfini.c: Remove.
50097 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50098 * sysdeps/s390/s390-64/initfini.c: Remove.
50099
df83af67
KK
501002012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50101
50102 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50103 compiler output for sysdeps/generic/initfini.c.
50104 * sysdeps/sh/elf/initfini.c: Remove file.
50105
f63f3380
DM
501062012-02-16 David S. Miller <davem@davemloft.net>
50107
fb59b3a4
DM
50108 [BZ #11494]
50109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50110
f63f3380
DM
50111 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50112 * sysdeps/sparc/crti.S: New file.
50113 * sysdeps/sparc/crtn.S: New file.
50114 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50115 * sysdeps/sparc/sparc64/Makefile: Likewise.
50116
df6a4a4a
MF
501172012-02-15 Mike Frysinger <vapier@gentoo.org>
50118
6dd8f3dc 50119 [BZ #3335]
df6a4a4a
MF
50120 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50121
1cac7236
RM
501222012-02-15 Roland McGrath <roland@hack.frob.com>
50123
d2c736f8
RM
50124 [BZ #4822]
50125 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50126
1cac7236
RM
50127 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50128 (write, read, close): Likewise.
50129 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50130
8e475601
JM
501312012-02-15 Joseph Myers <joseph@codesourcery.com>
50132
50133 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50134 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50135 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50136 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50137 <bits/signalfd.h>.
50138 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50140 bits/signalfd.h.
50141
ed656b40
MP
501422012-02-14 Marek Polacek <polacek@redhat.com>
50143
50144 * sysdeps/x86_64/crti.S: New file.
50145 * sysdeps/x86_64/crtn.S: New file.
50146 * sysdeps/x86_64/elf/initfini.c: Remove file.
50147
2a979d3a
JM
501482012-02-13 Joseph Myers <joseph@codesourcery.com>
50149
50150 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50151 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50152 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50153 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50154 <bits/inotify.h>.
50155 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50157 bits/inotify.h.
50158
2a418ac3
JM
501592012-02-13 Joseph Myers <joseph@codesourcery.com>
50160
50161 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50162 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50163 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50164 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50165 <bits/eventfd.h>.
50166 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50167 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50168 bits/eventfd.h.
50169
fb779be7
TS
501702012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50171
e19e83c5
RM
50172 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50173 __feraiseexcept instead of feraiseexcept.
7c35ffed 50174
fb779be7
TS
50175 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50176 nanosleep invocations.
50177 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50178 strings, and add error checking for a nanosleep invocations.
50179
59ba27a6
PE
501802012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50181
50182 Replace FSF snail mail address with URLs, as per GNU coding standards.
50183 Most of the snail mail addresses were wrong anyway, and omitting
50184 them makes the source code easier to maintain. Almost all of the
50185 changes are to license notices and to locale LC_IDENTIFICATION
50186 addresses, except for this one:
50187 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50188 not its snail mail address.
50189
57b957eb
RH
501902012-02-09 Richard Henderson <rth@twiddle.net>
50191
af850b1c
RH
50192 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50193 of kernel-features.h.
50194
57b957eb
RH
50195 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50196
6b73181a
MP
501972012-02-08 Marek Polacek <polacek@redhat.com>
50198
50199 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50200 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50201 * sysdeps/gnu/_G_config.h: Likewise.
50202 * sysdeps/generic/_G_config.h: Likewise.
50203
26ecc33a
AS
502042012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50205
6c6dbc63
AS
50206 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50207 tests.
50208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50209
e216c012
AS
50210 * sysdeps/powerpc/powerpc32/crti.S: New file.
50211 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50212 * sysdeps/powerpc/powerpc64/crti.S: New file.
50213 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50214
26ecc33a
AS
50215 * Makeconfig (have-initfini): Don't set.
50216 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50217 * configure.in (nopic_initfini): Don't substitute.
50218 * config.h.in (HAVE_INITFINI): Don't #undef.
50219 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50220 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50221
3add8e13
JM
502222012-02-08 Joseph Myers <joseph@codesourcery.com>
50223
50224 Support crti.S and crtn.S provided directly by architectures.
50225 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50226 [crti.S in sysdirs] (omit-deps): Likewise.
50227 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50228 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50229 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50230 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50231 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50232 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50233 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50234 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50235 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50236 compiler output for sysdeps/generic/initfini.c.
50237 * sysdeps/i386/elf/Makefile: Remove file.
50238 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50239
a22f12b4
MP
502402012-02-07 Marek Polacek <polacek@redhat.com>
50241
50242 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50243 * sysdeps/gnu/_G_config.h: Likewise.
50244 * sysdeps/mach/hurd/_G_config.h: Likewise.
50245
148cf100
MP
502462012-02-07 Marek Polacek <polacek@redhat.com>
50247
50248 * math/Makefile (tests): Add tst-CMPLX2.
50249 * math/tst-CMPLX2.c: New file.
50250
cfdc0dd7
AS
502512012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50252
84ba42c4
AS
50253 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50254
cfdc0dd7
AS
50255 * math/libm-test.inc (jn_test): Add missing L suffix.
50256
622c86f4
MP
502572012-02-06 Marek Polacek <polacek@redhat.com>
50258
50259 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50260 * sysdeps/i386/fpu/e_powf.S: Likewise.
50261 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50262 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50263 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50264 * sysdeps/i386/fpu/e_pow.S: Likewise.
50265 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50266 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50267 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50268 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50269 * sysdeps/i386/fpu/e_log2.S: Likewise.
50270 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50271 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50272 * sysdeps/i386/fpu/e_powl.S: Likewise.
50273 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50274 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50275 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50276 * sysdeps/i386/fpu/e_logl.S: Likewise.
50277 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50278 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50279 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50280 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50281 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50282 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50283 * sysdeps/i386/fpu/e_log.S: Likewise.
50284 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50285 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50286 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50287 * sysdeps/i386/fpu/e_logf.S: Likewise.
50288 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50289 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50290 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50291 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50292 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50293 * sysdeps/i386/fpu/e_log10.S: Likewise.
50294 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50295 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50296 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50297 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50298 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50299 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50300 * sysdeps/i386/asm-syntax.h: Likewise.
50301 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50302 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50303 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50304 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50305 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50306 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50307 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50308 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50309 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50310 * sysdeps/powerpc/sysdep.h: Likewise.
50311 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50312 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50313
d4a54ac6
JM
503142012-02-06 Joseph Myers <joseph@codesourcery.com>
50315
50316 [BZ #411]
50317 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50318
314054ea
JM
503192012-02-06 Joseph Myers <joseph@codesourcery.com>
50320
50321 * sysdeps/i386/sysdep.h: Include <features.h>.
50322 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50323 version.
50324
d8e0ca50
JM
503252012-02-05 Joseph Myers <joseph@codesourcery.com>
50326
50327 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50328 Define.
50329 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50330 LOAD_PIC_REG_STR.
50331
b1da7dd9
JM
503322012-02-03 Joseph Myers <joseph@codesourcery.com>
50333
50334 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50335 (SETUP_PIC_REG): Use GET_PC_THUNK.
50336 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50337 macro.
50338
9a1d9254
JM
503392012-02-03 Joseph Myers <joseph@codesourcery.com>
50340
50341 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50342 for non-PIC compilation.
50343 (SETUP_PIC_REG): Add .p2align directive.
50344 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50345 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50346 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50347 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50348 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50349 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50350 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50351 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50352 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50353 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50354 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50355 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50356 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50357 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50358 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50359 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50360 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50361 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50362 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50363 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50364 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50365 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50366 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50367 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50368 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50370 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50371 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50372 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50373 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50374 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50375 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50376 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50377 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50378 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50379 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50380 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50381 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50382 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50383 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50384 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50385
65dc3b75
JM
503862012-02-03 Joseph Myers <joseph@codesourcery.com>
50387
50388 * math/tst-CMPLX.c: Include <stdio.h>.
50389
d55bf177
JM
503902012-01-31 Joseph Myers <joseph@codesourcery.com>
50391
50392 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50393 float.
50394 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50395 * sysdeps/sparc/bits/mathdef.h: Likewise.
50396
69db4f8f
MP
503972012-01-31 Marek Polacek <polacek@redhat.com>
50398
50399 * libio/libio.h: Don't define _PARAMS.
50400 * locale/programs/config.h: Don't define PARAMS.
50401 * stdlib/strtol_l.c: Likewise.
50402 (__strtol_l): Remove PARAMS from the prototype.
50403
41b81892
UD
504042012-01-31 Ulrich Drepper <drepper@gmail.com>
50405
3b49edc0
UD
50406 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50407 names. Just use the correct names. Remove unnecessary wrapper
50408 functions.
50409 * malloc/arena.c: Likewise.
50410 * malloc/hooks.c: Likewise.
50411
41b81892
UD
50412 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50413 ARENA_TEST says not to. Simplify test for creation of a new arena.
50414 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50415
27a25b6e
UD
504162012-01-30 Ulrich Drepper <drepper@gmail.com>
50417
50418 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50419 into tail calls.
50420 (update_get_addr): New function.
50421 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50422 GET_ADDR_MODULE parameter.
50423
c8a89e7d
JM
504242012-01-30 Joseph Myers <joseph@codesourcery.com>
50425
50426 * crypt/cert.c: Remove __STDC__ conditionals.
50427 * crypt/crypt-entry.c: Likewise.
50428 * crypt/crypt_util.c: Likewise.
50429 * libio/filedoalloc.c: Likewise.
50430 * libio/fileops.c: Likewise.
50431 * libio/genops.c: Likewise.
50432 * libio/iofclose.c: Likewise.
50433 * libio/iofdopen.c: Likewise.
50434 * libio/iofopen.c: Likewise.
50435 * libio/iofopen64.c: Likewise.
50436 * libio/iogetdelim.c: Likewise.
50437 * libio/iopopen.c: Likewise.
50438 * libio/obprintf.c: Likewise.
50439 * libio/oldfileops.c: Likewise.
50440 * libio/oldiofclose.c: Likewise.
50441 * libio/oldiofdopen.c: Likewise.
50442 * libio/oldiofopen.c: Likewise.
50443 * libio/oldiopopen.c: Likewise.
50444 * libio/wfiledoalloc.c: Likewise.
50445 * libio/wgenops.c: Likewise.
50446 * locale/programs/xmalloc.c: Likewise.
50447 * misc/syslog.c: Likewise.
50448 * stdio-common/xbug.c: Likewise.
50449 * string/memchr.c: Likewise.
50450 * string/memcmp.c: Likewise.
50451 * string/memrchr.c: Likewise.
50452 * string/rawmemchr.c: Likewise.
50453 * sysdeps/posix/getcwd.c: Likewise.
50454 * time/strftime_l.c: Likewise.
50455
3b100462
JM
504562012-01-30 Joseph Myers <joseph@codesourcery.com>
50457
50458 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50459 * config.make.in (config-cflags-sse2avx): Define.
50460 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50461 Fix typo.
50462
607998af
CM
504632012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50464
50465 * scripts/config.guess: Update from upstream config git repository.
50466 * scripts/config.sub: Likewise.
50467
3601428f
CM
504682012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50469
3ac8b282
CM
50470 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50471 (EM_NUM): Update.
50472 (R_TILEPRO_*, R_TILEGX_*): New macros.
50473
e034841e
CM
50474 * scripts/firstversions.awk: Fix bug in version range handling.
50475
540d7568
CM
50476 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50477
3601428f
CM
50478 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50479
463de862
CM
50480 * include/sys/epoll.h: New file.
50481 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50482 libc_hidden_def.
50483
73139a76
UD
504842012-01-28 Ulrich Drepper <drepper@gmail.com>
50485
96bc5b45
UD
50486 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50487 Avoid unnecessary __WORDSIZE == 64 test.
50488 (fmaxf): Use VEX format if possible.
50489 (fmax): Likewise.
50490 (fminf): Likewise.
50491 (fmin): Likewise.
50492
56f6f6a2
UD
50493 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50494 * math/math_private.h: Remove libc_fegetround* and
50495 libc_fesetround*.
50496 * sysdeps/i386/configure.in: Check for -msse2avx.
50497 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50498 also if SSE2AVX is defined.
50499 Remove libc_fegetround* and libc_fesetround*.
50500 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50501 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50502 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50503 of HAS_YMM_USABLE.
50504 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50505 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50506 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50507 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50508 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50509
73139a76
UD
50510 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50511
d73f93a4
AZ
505122012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50513
50514 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50515 size is not set.
50516 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50517
6ee65ed6
UD
505182012-01-27 Ulrich Drepper <drepper@gmail.com>
50519
50520 [BZ #13618]
50521 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50522 relocation.
50523 * Makeconfig (libm): Define.
50524 * elf/Makefile: Add rules to build and run tst-relsort1.
50525 * elf/tst-relsort1.c: New file.
50526 * elf/tst-relsort1mod1.c: New file.
50527 * elf/tst-relsort1mod2.c: New file.
50528
8db21882
JM
505292012-01-27 Joseph Myers <joseph@codesourcery.com>
50530
50531 * math/s_ldexp.c: Remove __STDC__ conditionals.
50532 * math/s_ldexpf.c: Likewise.
50533 * math/s_ldexpl.c: Likewise.
50534 * math/s_nextafter.c: Likewise.
50535 * math/s_nexttowardf.c: Likewise.
50536 * math/s_significand.c: Likewise.
50537 * math/s_significandf.c: Likewise.
50538 * math/s_significandl.c: Likewise.
50539 * math/w_jnl.c: Likewise.
50540 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50541 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50542 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50543 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50544 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50545 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50546 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50547 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50548 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50549 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50550 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50551 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50552 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50553 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50554 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50555 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50556 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50557 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50558 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50559 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50560 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50561 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50562 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50563 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50564 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50565 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50566 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50567 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50568 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50569 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50570 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50571 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50572 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50573 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50574 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50575 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50576 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50577 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50578 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50579 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50580 * sysdeps/ieee754/k_standard.c: Likewise.
50581 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50582 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50583 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50584 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50585 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50586 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50587 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50588 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50589 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50590 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50591 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50592 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50593 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50594 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50595 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50596 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50597 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50598 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50599 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50600 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50601 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50602 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50603 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50604 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50605 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50606 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50607 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50608 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50609 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50610 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50611 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50612 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50613 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50614 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50615 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50616 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50617 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50618 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50619 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50620 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50621 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50622 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50623 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50624 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50625 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50626 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50627 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50628 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50629 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50630 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50631 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50632 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50633 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50634 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50635 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50636 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50637 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50638 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50639 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50640 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50641 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50642 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50643 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50644 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50645 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50646 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50647 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50648 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50649 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50650 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50651 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50652 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50653 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50654 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50655 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50656 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50657 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50658 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50659 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50660 * sysdeps/ieee754/s_matherr.c: Likewise.
50661 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50662 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50663 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50664 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50665
965a54a4
JM
506662012-01-26 Joseph Myers <joseph@codesourcery.com>
50667
50668 * crypt/md5.h: Remove __STDC__ conditionals.
50669 * libio/libioP.h: Likewise.
50670 * locale/programs/config.h: Likewise.
50671 * sysdeps/generic/sysdep.h: Likewise.
50672 * sysdeps/i386/asm-syntax.h: Likewise.
50673 * sysdeps/s390/asm-syntax.h: Likewise.
50674 * sysdeps/unix/sysdep.h: Likewise.
50675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50677
7071ad79
JM
506782012-01-26 Joseph Myers <joseph@codesourcery.com>
50679
50680 * libio/libio.h: Remove __STDC__ conditionals.
50681 * malloc/obstack.h: Likewise.
50682 * math/complex.h: Likewise.
50683 * math/math.h: Likewise.
50684 * sysdeps/generic/_G_config.h: Likewise.
50685 * sysdeps/gnu/_G_config.h: Likewise.
50686 * sysdeps/mach/hurd/_G_config.h: Likewise.
50687 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50688 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50689 * sysdeps/sparc/bits/mathdef.h: Likewise.
50690
afc5ed09
UD
506912012-01-26 Ulrich Drepper <drepper@gmail.com>
50692
50693 [BZ #13583]
50694 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 50695 Clean up HAS_* macros.
afc5ed09 50696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
50697 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50698 possible.
50699 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50700 HAS_AVX.
50701 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50702 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50703 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50704 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50705 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 50706
bdb6de1d
JM
507072012-01-25 Joseph Myers <joseph@codesourcery.com>
50708
50709 * elf/tst-unique3.cc (gets): Remove declaration.
50710 * elf/tst-unique3lib.cc (gets): Likewise.
50711 * elf/tst-unique3lib2.cc (gets): Likewise.
50712 * elf/tst-unique4.cc (gets): Likewise.
50713
b15549e6
UD
507142012-01-24 Ulrich Drepper <drepper@gmail.com>
50715
50716 * include/stdio.h: Add C++ protection. Add gets declarations and
50717 definitions.
50718 * debug/tst-chk1.c: Don't declare gets here.
50719 * stdio-common/tst-gets.c: Likewise.
50720
a037381f
JM
507212012-01-24 Joseph Myers <joseph@codesourcery.com>
50722
50723 * posix/glob: Remove directory.
50724
f1d4aa75
JM
507252012-01-24 Joseph Myers <joseph@codesourcery.com>
50726
50727 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50728
81c0c964
PT
507292012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50730
50731 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50732 of the non-standard EPFNOSUPPORT.
50733
0ea698ae
ST
507342011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50735
50736 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50737 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50738 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50739
d220b117
UD
507402012-01-21 Ulrich Drepper <drepper@gmail.com>
50741
50742 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50743
3e1aa84e
UD
507442012-01-20 Ulrich Drepper <drepper@gmail.com>
50745
50746 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50747 transient errors.
50748 * nscd/grpcache.c (cache_addgr): Likewise.
50749 * nscd/hstcache.c (cache_addhst): Likewise.
50750 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50751 * nscd/pwdcache.c (cache_addpw): Likewise.
50752 * nscd/servicescache.c (cache_addserv): Likewise.
50753
400aa020
UD
507542012-01-16 Ulrich Drepper <drepper@gmail.com>
50755
d77e7869
UD
50756 * malloc/malloc.c: Various cleanups.
50757 * malloc/hooks.c: Likewise.
50758
400aa020
UD
50759 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50760 * stdlib/bug-fmtmsg1.c: New file.
50761
50762 * stdlib/fmtmsg.c (init): Add missing unlock.
50763 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50764
e0a309cf
MP
507652012-01-12 Marek Polacek <polacek@redhat.com>
50766
50767 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50768 and _GNU_SOURCE.
50769
929d11c7
WS
507702012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50771
50772 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50773 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50774 macro to ensure uniqueness of label name.
50775 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50776 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50777
41d0e869
UD
507782012-01-11 Ulrich Drepper <drepper@gmail.com>
50779
0cc5ed3b
UD
50780 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50781
41d0e869
UD
50782 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50783 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50784 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50785 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50786
a47a831a
UD
507872012-01-10 Ulrich Drepper <drepper@gmail.com>
50788
daa891c0
UD
50789 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50790
50791 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50792 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50793 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50794
e58ef0f2
UD
50795 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50796
a47a831a 50797 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
50798 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50799 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 50800 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
50801
50802 * math/bits/math-finite.h: Add ldexp support.
50803
a0bfc9c7
MP
508042012-01-10 Marek Polacek <polacek@redhat.com>
50805
50806 * locale/programs/localedef.h (show_archive_content): Add noreturn
50807 attribute.
50808
d6e97a1d
UD
508092012-01-09 Ulrich Drepper <drepper@gmail.com>
50810
50811 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50812
d5835c26
UD
508132012-01-08 Ulrich Drepper <drepper@gmail.com>
50814
e5f484c6
UD
50815 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50816
d5835c26
UD
50817 * io/Makefile (headers): Add bits/poll2.h.
50818
d1f741e9
WS
508192011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50820
50821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50822 typo #include statement.
50823
ec09c1c4
UD
508242012-01-08 Ulrich Drepper <drepper@gmail.com>
50825
50826 * include/sys/cdefs.h: Define __attribute_alloc_size.
50827 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50828 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50829 * elf/pldd.c: Likewise.
50830 * iconv/iconv_charmap.c: Likewise.
50831 * iconv/iconvconfig.c: Likewise.
50832 * iconv/strtab.c: Likewise.
50833 * locale/programs/locale.c: Likewise.
50834 * locale/programs/localedef.h: Likewise.
50835 * locale/programs/simple-hash.c: Likewise.
50836 * nscd/nscd.h: Likewise.
50837 * nss/makedb.c: Likewise.
50838 * sysdeps/generic/ldconfig.h: Likewise.
50839 * locale/programs/localedef.c: Remove xmalloc prototype.
50840 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50841
20b38e03
PP
508422012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50843
50844 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50845 appropriate.
50846
a0da5fe1
UD
508472012-01-08 Ulrich Drepper <drepper@gmail.com>
50848
1d5a644a 50849 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50850 * math/tst-CMPLX.c: New file.
1d5a644a 50851
8784a6db
UD
50852 * math/complex.h (CMPLXL): Fix typo.
50853
d9a216c0
UD
50854 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50855 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50856 GLIBC_2.16.
50857 * debug/tst-chk1.c: Add poll and ppoll tests.
50858 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50859 * include/sys/poll.h: Add hidden proto for ppoll.
50860 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50861 * sysdeps/mach/hurd/ppoll.c: Likewise.
50862 * io/ppoll.c: Likewise.
50863 * debug/poll_chk.c: New file.
50864 * debug/ppoll_chk.c: New file.
50865 * include/bits/poll2.h: New file.
50866 * io/bits/poll2.h: New file.
50867
ac097f5c
UD
50868 [BZ #1350]
50869 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50870
2119dcfa
UD
50871 * configure.in: static is always set to yes. Remove.
50872 * config.make.in: Don't set build-static.
50873 * Makeconfig: Remove use of build-static.
50874 * dlfcn/Makefile: Likewise.
50875 * elf/Makefile: Likewise.
50876 * math/Makefile: Likewise.
50877 * misc/Makefile: Likewise.
50878 * nptl/Makefile: Likewise.
50879 * sysdeps/mach/hurd/Makefile: Likewise.
50880
121766a9
UD
50881 * configure.in: PWD_P is not used anymore.
50882 * config.make.in: Remove PWD_P entry.
50883
51a1d39c 50884 * configure.in: Remove last remnants of RANLIB.
8720d066 50885 No need to check for signed size_t anymore.
215f4bdc
UD
50886 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50887 and IA-64.
3857022a 50888 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50889 * aclocal.m4: Likewise.
50890
d3ed7225
UD
50891 * wcsmbs/mbrtoc16.c: Implement using towc function.
50892 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50893 * wcsmbs/wcsmbsload.c: Likewise.
50894 * iconv/gconv_simple.c: Likewise.
50895 * iconv/gconv_int.h: Likewise.
50896 * iconv/gconv_builtin.h: Likewise.
50897 * iconv/iconv_prog.c: Remove CHAR16 handling.
50898
50899 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50900
50901 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50902
a0da5fe1
UD
50903 * configure.in: Remove --with-elf and --enable-bounded options.
50904 Dont set base_machine for ia64. More non-ELF conditions removed.
50905 Remove testing and setting of leading underscore information.
50906 * config.make.in (build-bounded): Set to no.
50907 * config.h.in: Remove NO_UNDERSCORES entry.
50908 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50909 them.
50910 * csu/start.c: Remove !NO_UNDERSCORE code.
50911 * locale/localeinfo.h: Likewise.
50912 * sysdeps/generic/machine-gmon.h: Likewise.
50913 * sysdeps/generic/sysdep.h: Likewise.
50914 * sysdeps/i386/sysdep.h: Likewise.
50915 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50916 * sysdeps/mach/sysdep.h: Likewise.
50917 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50918 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50919 * sysdeps/sh/sysdep.h: Likewise.
50920 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50921 * sysdeps/unix/i386/sysdep.S: Likewise.
50922 * sysdeps/unix/sparc/start.c: Likewise.
50923 * sysdeps/unix/sparc/sysdep.S: Likewise.
50924 * sysdeps/unix/sparc/sysdep.h: Likewise.
50925 * sysdeps/unix/start.c: Likewise.
50926 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50927 * sysdeps/x86_64/sysdep.h: Likewise.
50928
df78418a
UD
509292012-01-07 Ulrich Drepper <drepper@gmail.com>
50930
a784e502
UD
50931 [BZ #13553]
50932 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50933 for non-gcc.
50934 * argp/argp-fmtstream.h: Use const instead __const.
50935 * argp/argp.h: Likewise.
50936 * assert/assert.h: Likewise.
50937 * bits/fenv.h: Likewise.
50938 * bits/sched.h: Likewise.
50939 * bits/sigset.h: Likewise.
50940 * bits/sigthread.h: Likewise.
50941 * catgets/nl_types.h: Likewise.
50942 * conform/data/pthread.h-data: Likewise.
50943 * crypt/crypt-private.h: Likewise.
50944 * crypt/crypt.h: Likewise.
50945 * crypt/crypt_util.c: Likewise.
50946 * ctype/ctype.h: Likewise.
50947 * debug/execinfo.h: Likewise.
50948 * debug/mbsnrtowcs_chk.c: Likewise.
50949 * debug/mbsrtowcs_chk.c: Likewise.
50950 * debug/wcsnrtombs_chk.c: Likewise.
50951 * debug/wcsrtombs_chk.c: Likewise.
50952 * debug/wcstombs_chk.c: Likewise.
50953 * dirent/dirent.h: Likewise.
50954 * dlfcn/dlfcn.h: Likewise.
50955 * elf/neededtest4.c: Likewise.
50956 * grp/grp.h: Likewise.
50957 * gshadow/gshadow.h: Likewise.
50958 * iconv/gconv.h: Likewise.
50959 * iconv/gconv_int.h: Likewise.
50960 * iconv/gconv_simple.c: Likewise.
50961 * iconv/iconv.h: Likewise.
50962 * iconv/loop.c: Likewise.
50963 * iconv/skeleton.c: Likewise.
50964 * include/aio.h: Likewise.
50965 * include/aliases.h: Likewise.
50966 * include/argz.h: Likewise.
50967 * include/arpa/inet.h: Likewise.
50968 * include/assert.h: Likewise.
50969 * include/dirent.h: Likewise.
50970 * include/dlfcn.h: Likewise.
50971 * include/execinfo.h: Likewise.
50972 * include/fcntl.h: Likewise.
50973 * include/fenv.h: Likewise.
50974 * include/glob.h: Likewise.
50975 * include/grp.h: Likewise.
50976 * include/libintl.h: Likewise.
50977 * include/mntent.h: Likewise.
50978 * include/netdb.h: Likewise.
50979 * include/pwd.h: Likewise.
50980 * include/rpc/netdb.h: Likewise.
50981 * include/sched.h: Likewise.
50982 * include/search.h: Likewise.
50983 * include/shadow.h: Likewise.
50984 * include/signal.h: Likewise.
50985 * include/stdio.h: Likewise.
50986 * include/stdlib.h: Likewise.
50987 * include/string.h: Likewise.
50988 * include/sys/socket.h: Likewise.
50989 * include/sys/stat.h: Likewise.
50990 * include/sys/statfs.h: Likewise.
50991 * include/sys/statvfs.h: Likewise.
50992 * include/sys/syslog.h: Likewise.
50993 * include/sys/time.h: Likewise.
50994 * include/sys/uio.h: Likewise.
50995 * include/time.h: Likewise.
50996 * include/unistd.h: Likewise.
50997 * include/utmp.h: Likewise.
50998 * include/wchar.h: Likewise.
50999 * include/wctype.h: Likewise.
51000 * inet/aliases.h: Likewise.
51001 * inet/arpa/inet.h: Likewise.
51002 * inet/netinet/ether.h: Likewise.
51003 * inet/netinet/in.h: Likewise.
51004 * intl/libintl.h: Likewise.
51005 * io/bits/fcntl2.h: Likewise.
51006 * io/fcntl.h: Likewise.
51007 * io/ftw.h: Likewise.
51008 * io/sys/poll.h: Likewise.
51009 * io/sys/stat.h: Likewise.
51010 * io/sys/statfs.h: Likewise.
51011 * io/sys/statvfs.h: Likewise.
51012 * io/utime.h: Likewise.
51013 * libio/bits/stdio.h: Likewise.
51014 * libio/bits/stdio2.h: Likewise.
51015 * libio/libio.h: Likewise.
51016 * libio/libioP.h: Likewise.
51017 * libio/stdio.h: Likewise.
51018 * locale/lc-ctype.c: Likewise.
51019 * locale/locale.h: Likewise.
51020 * login/utmp.h: Likewise.
51021 * malloc/arena.c: Likewise.
51022 * malloc/malloc.c: Likewise.
51023 * malloc/malloc.h: Likewise.
51024 * malloc/mcheck.c: Likewise.
51025 * malloc/mtrace.c: Likewise.
51026 * math/bits/mathcalls.h: Likewise.
51027 * math/fenv.h: Likewise.
51028 * math/math_private.h: Likewise.
51029 * misc/bits/error.h: Likewise.
51030 * misc/bits/syslog.h: Likewise.
51031 * misc/err.h: Likewise.
51032 * misc/error.h: Likewise.
51033 * misc/fstab.h: Likewise.
51034 * misc/mntent.h: Likewise.
51035 * misc/regexp.h: Likewise.
51036 * misc/search.h: Likewise.
51037 * misc/sgtty.h: Likewise.
51038 * misc/sys/mman.h: Likewise.
51039 * misc/sys/syslog.h: Likewise.
51040 * misc/sys/uio.h: Likewise.
51041 * misc/sys/xattr.h: Likewise.
51042 * misc/ttyent.h: Likewise.
51043 * nis/rpcsvc/ypclnt.h: Likewise.
51044 * nss/nss.h: Likewise.
51045 * posix/bits/unistd.h: Likewise.
51046 * posix/fnmatch.h: Likewise.
51047 * posix/glob.h: Likewise.
51048 * posix/sched.h: Likewise.
51049 * posix/spawn.h: Likewise.
51050 * posix/sys/wait.h: Likewise.
51051 * posix/unistd.h: Likewise.
51052 * posix/wordexp.h: Likewise.
51053 * pwd/pwd.h: Likewise.
51054 * resolv/netdb.h: Likewise.
51055 * resource/sys/resource.h: Likewise.
51056 * rt/aio.h: Likewise.
51057 * rt/bits/mqueue2.h: Likewise.
51058 * rt/mqueue.h: Likewise.
51059 * shadow/shadow.h: Likewise.
51060 * signal/signal.h: Likewise.
51061 * socket/send.c: Likewise.
51062 * socket/sendto.c: Likewise.
51063 * socket/sys/socket.h: Likewise.
51064 * stdio-common/printf.h: Likewise.
51065 * stdlib/bits/stdlib.h: Likewise.
51066 * stdlib/fmtmsg.h: Likewise.
51067 * stdlib/monetary.h: Likewise.
51068 * stdlib/stdlib.h: Likewise.
51069 * stdlib/ucontext.h: Likewise.
51070 * streams/stropts.h: Likewise.
51071 * string/argz.h: Likewise.
51072 * string/bits/string2.h: Likewise.
51073 * string/string.h: Likewise.
51074 * string/strings.h: Likewise.
51075 * sunrpc/rpc/auth.h: Likewise.
51076 * sunrpc/rpc/auth_des.h: Likewise.
51077 * sunrpc/rpc/clnt.h: Likewise.
51078 * sunrpc/rpc/netdb.h: Likewise.
51079 * sunrpc/rpc/pmap_clnt.h: Likewise.
51080 * sunrpc/rpc/xdr.h: Likewise.
51081 * sysdeps/generic/inttypes.h: Likewise.
51082 * sysdeps/generic/net/if.h: Likewise.
51083 * sysdeps/generic/sys/swap.h: Likewise.
51084 * sysdeps/gnu/net/if.h: Likewise.
51085 * sysdeps/gnu/utmpx.h: Likewise.
51086 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51087 * sysdeps/i386/i486/bits/string.h: Likewise.
51088 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51089 * sysdeps/s390/bits/string.h: Likewise.
51090 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51091 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51092 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51093 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51094 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51095 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51096 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51097 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51098 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51099 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51100 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51101 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51102 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51103 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51104 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51105 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51106 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51108 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51109 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51110 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51111 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51112 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51113 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51114 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51115 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51116 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51117 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51118 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51119 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51120 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51121 * sysvipc/sys/ipc.h: Likewise.
51122 * sysvipc/sys/msg.h: Likewise.
51123 * sysvipc/sys/sem.h: Likewise.
51124 * sysvipc/sys/shm.h: Likewise.
51125 * termios/termios.h: Likewise.
51126 * time/sys/time.h: Likewise.
51127 * time/time.h: Likewise.
51128 * wcsmbs/bits/wchar2.h: Likewise.
51129 * wcsmbs/uchar.h: Likewise.
51130 * wcsmbs/wchar.h: Likewise.
51131 * wctype/wctype.h: Likewise.
51132
0269750c
UD
51133 [BZ #13551]
51134 * Makeconfig: Remove all but ELF support including AIX support.
51135 * Makerules: Likewise.
51136 * config.h.in: Likewise.
51137 * config.make.in: Likewise.
51138 * configure: Likewise.
51139 * configure.in: Likewise.
51140 * csu/Makefile: Likewise.
51141 * csu/version.c: Likewise.
51142 * debug/Makefile: Likewise.
51143 * dlfcn/Makefile: Likewise.
51144 * elf/Makefile: Likewise.
51145 * extra-lib.mk: Likewise.
51146 * iconv/Makefile: Likewise.
51147 * include/libc-symbols.h: Likewise.
51148 * include/shlib-compat.h: Likewise.
51149 * resolv/Makefile: Likewise.
51150 * resolv/res_libc.c: Likewise.
51151 * rt/Makefile: Likewise.
51152 * sysdeps/i386/asm-syntax.h: Likewise.
51153 * sysdeps/i386/sysdep.h: Likewise.
51154 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51155 * sysdeps/mach/sysdep.h: Likewise.
51156 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51157 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51158 * sysdeps/s390/asm-syntax.h: Likewise.
51159 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51160 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51161 * sysdeps/sh/sysdep.h: Likewise.
51162 * sysdeps/unix/sparc/sysdep.h: Likewise.
51163 * sysdeps/wordsize-32/divdi3.c: Likewise.
51164 * sysdeps/x86_64/sysdep.h: Likewise.
51165
00bbd29b
UD
51166 * argp/Versions: Remove _argp_unlock_xxx.
51167
51168 [BZ #13559]
51169 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51170 * abilist/libBrokenLocale.abilist: Likewise.
51171 * abilist/libanl.abilist: Likewise.
51172 * abilist/libc.abilist: Likewise.
51173 * abilist/libcrypt.abilist: Likewise.
51174 * abilist/libdl.abilist: Likewise.
51175 * abilist/libm.abilist: Likewise.
51176 * abilist/libnsl.abilist: Likewise.
51177 * abilist/libpthread.abilist: Likewise.
51178 * abilist/libresolv.abilist: Likewise.
51179 * abilist/librt.abilist: Likewise.
51180 * abilist/libthread_db.abilist: Likewise.
51181 * abilist/libutil.abilist: Likewise.
51182 * abilist/libnss_db.abilist: New file.
51183
51184 * scripts/abilist.awk: Add support for indirect functions.
51185
a2693a0e
UD
51186 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51187
3f05895f
UD
51188 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51189
ecb6fb48
UD
51190 * shlib-versions: Remove entries for ports architectures.
51191
664f8cb9
UD
51192 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51193 files in ports.
51194 * elf/stackguard-macros.h: Remove support for IA-64.
51195 * elf/tst-auditmod1.c: Likewise.
51196 * sysdeps/generic/ldsodefs.h: Likewise.
51197
7ae81d88
UD
51198 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51199 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51200 configure files.
51201
bdeba135
UD
51202 [BZ #13552]
51203 * configure.in: Remove --enable-omitfp support.
51204 * FAQ.in: Adjust.
51205 * config.make.in: Likewise.
51206 * Makeconfig: Likewise.
51207 * manual/install.texi: Likewise.
51208
d75a0a62
UD
51209 In case anyone cares, the IA-64 architecture could move to ports.
51210 * sysdeps/ia64/*: Removed.
51211 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 51212 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 51213
dcc9756b
UD
51214 [BZ #13555]
51215 * configure.in: Remove entries for unsupported architectures.
51216
d3761ebc 51217 [BZ #13533]
9954432e
UD
51218 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51219 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51220 routines.
51221 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51222 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51223 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51224 fall back to using wcrtomb.
51225 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51226 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51227 renaming.
51228 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51229 * wcsmbs/tst-c16c32-1.c: New file.
51230
51231 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51232 local variable.
51233
c3a87236
UD
51234 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51235
28926a1b
UD
51236 * elf/tst-unique3.cc: Add explicit declaration of gets.
51237 * elf/tst-unique3lib.cc: Likewise.
51238 * elf/tst-unique3lib2.cc: Likewise.
51239 * elf/tst-unique4.cc: Likewise.
51240
df78418a
UD
51241 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51242
8ecd6b2a
JM
512432012-01-06 Joseph Myers <joseph@codesourcery.com>
51244
51245 [BZ #13566]
51246 * assert/assert.h (static_assert): Don't define for C++.
51247 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51248 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51249
9f115170
UD
512502012-01-03 Ulrich Drepper <drepper@gmail.com>
51251
5e0d0300
UD
51252 * iconv/loop.c (single loop): Fix assertion in storing of
51253 remaining bytes.
51254
9f115170
UD
51255 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51256
81fb02b0
UD
512572012-01-01 Ulrich Drepper <drepper@gmail.com>
51258
51259 * posix/getconf.c: Update copyright year.
51260 * nss/getent.c: Likewise.
a316c1f6 51261 * nss/makedb.c: Likewise.
81fb02b0
UD
51262 * iconv/iconvconfig.c: Likewise.
51263 * iconv/iconv_prog.c: Likewise.
51264 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51265 * elf/pldd.c: Likewise.
51266 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51267 * catgets/gencat.c: Likewise.
51268 * csu/version.c: Likewise.
51269 * elf/ldd.bash.in: Likewise.
51270 * elf/sprof.c (print_version): Likewise.
51271 * locale/programs/locale.c: Likewise.
51272 * locale/programs/localedef.c: Likewise.
a316c1f6 51273 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51274 * nscd/nscd.c (print_version): Likewise.
51275 * debug/xtrace.sh: Likewise.
51276 * malloc/memusage.sh: Likewise.
51277 * malloc/mtrace.pl: Likewise.
51278 * debug/catchsegv.sh: Likewise.
51279
2ba92745
JJ
512802011-12-30 Jakub Jelinek <jakub@redhat.com>
51281
51282 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51283 pure attribute.
51284
dadebdae
UD
512852011-12-24 Ulrich Drepper <drepper@gmail.com>
51286
d3761ebc 51287 [BZ #13533]
db6af3eb
UD
51288 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51289 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51290 transformations.
51291 * iconv/gconv_int.h: Likewise.
51292 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51293 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51294 from libc for GLIBC_2.16.
51295 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51296 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51297 * wcsmbs/uchar.h: Really define mbstate_t.
51298 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51299 * wcsmbs/c16rtomb.c: New file.
51300 * wcsmbs/mbrtoc16.c: New file.
51301 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51302 for C/POSIX locale.
51303 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51304 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51305
dadebdae
UD
51306 * wcsmbs/wchar.h: Add missing __restrict.
51307
67371b56
UD
513082011-12-23 Ulrich Drepper <drepper@gmail.com>
51309
74033a25
UD
51310 [BZ #13532]
51311 * time/Makefile (routines): Add timespec_get.
51312 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51313 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51314 timespec for ISO C11.
51315 * time/timespec_get.c: New file.
51316 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51317 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51318
380d7e87
UD
51319 [BZ #13531]
51320 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51321 * stdlib/stdlib.h: Declare aligned_alloc.
51322 * Versions.def: Add GLIBC_2.16 for libc.
51323 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51324
4e9e7a35
UD
51325 [BZ 13527]
51326 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51327 ISO C11.
51328
380d7e87 51329 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51330 code.
51331
03a71829
UD
51332 [BZ #13528]
51333 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51334
839e283e
UD
51335 [BZ #13529]
51336 * assert/assert.h (static_assert): Define.
51337
ce5294e2 51338 * version.h: Update for 2.16 development version.
90fa7312 51339
8d44e150 51340 [BZ #13526]
d7809905
UD
51341 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51342 _ISOC11_SOURCE.
51343
c0da14cd
UD
51344 * version.h (RELEASE): Bump for 2.15 release.
51345 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51346
530a3249
MP
51347 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51348 Patch by Marek Polacek <mpolacek@redhat.com>.
51349
67371b56
UD
51350 * bits/byteswap.h: Protect long long constants with __extension__.
51351 * sysdeps/i386/bits/byteswap.h: Likewise.
51352 * sysdeps/ia64/bits/byteswap.h: Likewise.
51353 * sysdeps/s390/bits/byteswap.h: Likewise.
51354 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51355
15db4de1
LD
513562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51357
51358 [BZ #13540]
bbe315ea
LD
51359 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51360 destination buffer.
15db4de1
LD
51361 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51362
2b2596b1
MP
513632011-12-23 Marek Polacek <polacek@redhat.com>
51364
51365 * elf/dl-addr.c (determine_info): Add inline keyword.
51366 * elf/tst-auditmod4b.c (check_avx): Likewise.
51367 * elf/tst-auditmod6b.c (check_avx): Likewise.
51368 * elf/tst-auditmod6c.c (check_avx): Likewise.
51369 * elf/tst-auditmod7b.c (check_avx): Likewise.
51370
70c6c246
UD
513712011-12-23 Ulrich Drepper <drepper@gmail.com>
51372
51373 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51374 !__SSE_MATH__.
51375
c044cf14
LD
513762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51377
15db4de1 51378 [BZ #13540]
c044cf14
LD
51379 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51380 processing for last bytes.
51381
6b13d9d9
BH
513822011-08-06 Bruno Haible <bruno@clisp.org>
51383
d455f537
BH
51384 [BZ #13061]
51385 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51386 U+0385, not to U+1FEE.
51387
6b13d9d9
BH
51388 [BZ #13062]
51389 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51390 entry for U+00A5 U+0301.
51391
db910efd
UD
513922011-12-22 Ulrich Drepper <drepper@gmail.com>
51393
27deeafc
UD
51394 [BZ #13166]
51395 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51396 buffer for the output is too small.
51397
aed9d171
UD
51398 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51399 optimization.
51400
db910efd
UD
51401 [BZ #13185]
51402 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51403 SSE flags if possible.
51404
2bd779ae
LD
514052011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51406
e7f9dac3 51407 [BZ #13540]
2bd779ae
LD
51408 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51409 processing for last bytes.
51410
154bfc16
JM
514112011-12-22 Joseph Myers <joseph@codesourcery.com>
51412
51413 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51414 (syscall-list-default-options, syscall-list-default-condition)
51415 (syscall-list-includes): Define.
51416 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51417 list of ABIs and options and #if conditions for each ABI. Do not
51418 handle common syscalls between ABIs specially.
51419 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51420 Remove.
51421 (syscall-list-variants, syscall-list-32bit-options)
51422 (syscall-list-32bit-condition, syscall-list-64bit-options)
51423 (syscall-list-64bit-condition): Define.
51424 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51425 (syscall-list-variants, syscall-list-32bit-options)
51426 (syscall-list-32bit-condition, syscall-list-64bit-options)
51427 (syscall-list-64bit-condition): Define.
51428 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51429 Remove.
51430 (syscall-list-variants, syscall-list-32bit-options)
51431 (syscall-list-32bit-condition, syscall-list-64bit-options)
51432 (syscall-list-64bit-condition): Define.
51433 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51434 Remove.
51435 (syscall-list-variants, syscall-list-32bit-options)
51436 (syscall-list-32bit-condition, syscall-list-64bit-options)
51437 (syscall-list-64bit-condition): Define.
51438
21eaf3a5
UD
514392011-12-22 Ulrich Drepper <drepper@gmail.com>
51440
16c6f992
UD
51441 * locale/iso-639.def: Add brx entry.
51442
41043168
UD
51443 [BZ #13328]
51444 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51445 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51446
21eaf3a5
UD
51447 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51448 __feraiseexcept_renamed.
51449
e3a851a2
UD
514502011-12-21 Ulrich Drepper <drepper@gmail.com>
51451
4920765e
UD
51452 [BZ #13538]
51453 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51454 EPOLLET with unsigned values.
51455 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51456 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51457
e3a851a2
UD
51458 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51459 to large cancellation.
51460 * math/s_cacoshf.c: Likewise.
51461 * math/s_cacoshl.c: Likewise.
51462
b27e24b8
RK
514632011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51464
51465 [BZ #13305]
aebefeee 51466 [BZ #12786]
b27e24b8
RK
51467 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51468 * math/s_cacoshf.c: Likewise.
51469 * math/s_cacoshl.c: Likewise.
51470
ee190f67
UD
514712011-12-21 Ulrich Drepper <drepper@gmail.com>
51472
51473 [BZ #13439]
51474 * iconv/gconv.h: Define __GCONV_SWAP.
51475 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51476 * iconvdata/utf-16.c: Likewise.
51477 * iconvdata/utf-32.c: Likewise.
51478
707f25df
AS
514792011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51480
51481 [BZ #13524]
51482 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51483 numerator after shifting it by one limb.
51484
d2daaa1e
RÁE
514852011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51486
51487 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51488 under [__USE_EXTERN_INLINES].
51489
a4647e72
UD
514902011-12-17 Ulrich Drepper <drepper@gmail.com>
51491
51492 [BZ #13446]
51493 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51494
f0b264f1
AZ
514952011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51496
51497 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51498 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51499 optimized code.
51500 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51501 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51502 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51503 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51504 for strncasecmp/strncasecmp_l compilation.
51505 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51506 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51507
8ef4f244
MP
515082011-12-08 Marek Polacek <mpolacek@redhat.com>
51509
51510 [BZ #13484]
51511 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51512 of __asm__.
51513
97ac2654
UD
515142011-12-17 Ulrich Drepper <drepper@gmail.com>
51515
51516 [BZ #13506]
51517 * time/tzfile.c (__tzfile_read): Check values from file header.
51518
91d2a845
WS
515192011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51520
51521 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51522 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51523 * powerpc/powerpc32/dl-start.S: Likewise.
51524 * powerpc/powerpc32/elf/start.S: Likewise.
51525 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51526 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51527 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51528 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51529 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51530 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51531 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51532 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51533 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51534 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51535 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51536 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51537 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51538 * powerpc/powerpc32/memset.S: Likewise.
51539 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51540 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51541 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51542 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51543 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51544 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51545 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51546 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51547 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51548 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51549 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51550 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51551 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51552
a1267ba1
AZ
515532011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51554
51555 * math/libm-test.inc: Added more nearbyint tests.
51556 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51557 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51558 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51559 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51560
ad8ac1bd
RL
515612011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51562
51563 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51564 FD_CLOEXEC.
51565
1d3e4b61
UD
515662011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51567
51568 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51569 Add wcscpy-ssse3 wcscpy-c.
51570 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51571 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51572 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51573 * sysdeps/x86_64/wcschr.S: New file.
51574 * sysdeps/x86_64/wcsrchr.S: New file.
51575 * string/test-strcmp.c: Remove checking of wcscmp function for
51576 wrong alignments.
51577 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51578 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51579 wcsrchr-sse2 wcsrchr-c.
51580 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51581 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51582 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51583 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51584 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51585 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51586 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51587 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51588 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51589 * wcsmbc/wcschr.c (WCSCHR): New macro.
51590
5b330a2d
UD
515912011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51592
51593 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51594 * wcsmbs/test-wcsrchr.c: New file.
51595 * string/test-strrchr.c: Add wcsrchr support.
51596 (WIDE): New macro.
51597 * wcsmbs/test-wcscpy.c: New file.
51598 * string/test-strcpy.c: Add wcscpy support.
51599 (WIDE): New macro.
26428b7c 51600
f039c043
UD
516012011-12-10 Ulrich Drepper <drepper@gmail.com>
51602
51603 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51604 the inner loop.
51605
850fb039
AS
516062011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51607
51608 [BZ #13472]
51609 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51610
4efbd5cb
UD
516112011-12-04 Ulrich Drepper <drepper@gmail.com>
51612
52ff5dd0 51613 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 51614 Minor optimizations.
52ff5dd0 51615
4efbd5cb
UD
51616 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51617 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51618 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51619
8a426e12
UD
516202011-12-03 Ulrich Drepper <drepper@gmail.com>
51621
aff2453d
UD
51622 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51623 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51624 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51625 for gcc to avoid warnings.
51626 * inet/Makefile (tests): Add tst-checks.
51627 * inet/tst-checks.c: New file.
51628
51629 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51630 warning.
51631
51632 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51633 __wmemcmp_sse2.
51634
51635 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51636 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51637
8a426e12
UD
51638 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51639
9bea3473
UD
516402011-12-02 Ulrich Drepper <drepper@gmail.com>
51641
3a965496
UD
51642 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51643 problem.
51644
9bea3473
UD
51645 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51646
f101631b
UD
516472011-11-29 Joseph Myers <joseph@codesourcery.com>
51648
51649 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51650 conditional on GCC version.
51651 (__arch_compare_and_exchange_val_8_acq)
51652 (__arch_compare_and_exchange_val_16_acq)
51653 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51654 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51655 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51656
a98275aa
UD
516572011-12-02 Joseph Myers <joseph@codesourcery.com>
51658
51659 * sysdeps/sh/backtrace.c: New file.
51660
d4cc29a2
AS
516612011-12-02 Andreas Schwab <schwab@redhat.com>
51662
51663 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51664 parenthesis.
51665
6257af2d
AS
516662011-12-01 Andreas Schwab <schwab@redhat.com>
51667
51668 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51669 falling back to utime.
51670
b5f44c1a
AS
516712011-11-30 Andreas Schwab <schwab@redhat.com>
51672
51673 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51674 expectations for float.
51675
f3a6cc0a
AS
516762011-11-29 Andreas Schwab <schwab@redhat.com>
51677
51678 * locale/weight.h (findidx): Add parameter len.
51679 * locale/weightwc.h (findidx): Likewise.
51680 * posix/fnmatch_loop.c (FCT): Adjust caller.
51681 * posix/regcomp.c (build_equiv_class): Likewise.
51682 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51683 * posix/regexec.c (check_node_accept_bytes): Likewise.
51684 * string/strcoll_l.c (STRCOLL): Likewise.
51685 * string/strxfrm_l.c (STRXFRM): Likewise.
51686
9d65ea3a
UD
516872011-11-17 Ulrich Drepper <drepper@gmail.com>
51688
51689 * Makefile.in: Remove CVSOPT handling.
51690 * configure.in: Remove use of AC_REVISION.
51691 * iconvdata/Makefile (distribute): No need to filter out CVS.
51692 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51693 handling.
51694
5583a086
AS
516952011-11-16 Andreas Schwab <schwab@redhat.com>
51696
51697 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51698 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51699 [USE_AS_STRNCASECMP_L]: Likewise.
51700 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51701 NO_TLS_DIRECT_SEG_REFS.
51702 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51703 Fix argument offsets for non-PIC.
51704 [USE_AS_STRNCASECMP_L]: Likewise.
51705 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51706 NO_TLS_DIRECT_SEG_REFS.
51707
d62a8200
UD
517082011-11-15 Ulrich Drepper <drepper@gmail.com>
51709
9d65ea3a 51710 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
51711 O_CLOEXEC.
51712 * locale/loadlocale.c (_nl_load_locale): Likewise.
51713
09f93bd3
AS
517142011-11-15 Andreas Schwab <schwab@redhat.com>
51715
446514f9
AS
51716 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51717 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51718 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51719 (SYSCALL_GETTIME): Set errno on error.
51720
09f93bd3
AS
51721 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51722 count references to noai6ai_cached.
51723
312be3f9
UD
517242011-11-15 Ulrich Drepper <drepper@gmail.com>
51725
51726 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51727
51728 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51729 FD_CLOEXEC for /proc/self/maps.
51730
51731 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51732 FD_CLOEXEC for /proc/meminfo.
51733
51734 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51735 gai.conf.
51736
51737 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51738 FD_CLOEXEC for given file.
51739
51740 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51741
51742 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51743 FD_CLOEXEC for /etc/hosts.
51744 (_gethtent): Likewise.
51745
51746 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51747
51748 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51749 cancellation and set FD_CLOEXEC for /etc/netgroup.
51750
51751 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51752 reading /etc/publickey.
51753
51754 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51755 allow cancellation when reading /etc/group.
51756
51757 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51758 cancellation.
51759 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51760
51761 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51762 when using data file.
51763
51764 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51765
51766 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51767 (write_nis_obj): Use "c" and "e" in fopen.
51768
51769 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51770
51771 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51772
51773 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51774
51775 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51776
51777 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51778 locale.alias.
51779
51780 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51781
51782 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51783
51784 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51785
51786 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51787 file parsing and set FD_CLOEXEC.
51788
82af0fa8
UD
517892011-11-14 Ulrich Drepper <drepper@gmail.com>
51790
51791 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51792
a5fb313c
AS
517932011-11-14 Andreas Schwab <schwab@redhat.com>
51794
51795 * malloc/arena.c (arena_get2): Don't call reused_arena when
51796 _int_new_arena failed.
51797
6abf3465
UD
517982011-11-14 Ulrich Drepper <drepper@gmail.com>
51799
51800 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51801 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51802 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51803 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51804 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51805 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51806 to compile strcasecmp and strncasecmp.
51807 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51808 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51809
51810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51811
76e3966e
UD
518122011-11-13 Ulrich Drepper <drepper@gmail.com>
51813
51814 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51815 locale-defines.sym to gen-as-const-headers.
51816 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51817 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51818 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51819 to compile strcasecmp and strncasecmp.
51820 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51821 strcasecmp_l and strncasecmp_l.
51822 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51823 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51824 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51825 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51826 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51827 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51828 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51829 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51830 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51831 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51832 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51833
ab26144e
UD
518342011-11-12 Ulrich Drepper <drepper@gmail.com>
51835
7edb22ef
UD
51836 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51837 result of SYSDEP_GETTIME_CPU to retval.
51838 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51839 parameter list to macro. Remove trailing semicolon. Adjust users.
51840
9694fc44
UD
51841 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51842 variable.
51843
8ad89ef8
UD
51844 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51845 mantissa words.
51846 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51847
0c822ef9
UD
51848 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51849 from unused variable.
51850
874e0564
UD
51851 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51852 DWARF definitions.
51853 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51854 for assembling.
51855
3a2edc79
UD
51856 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51857 over namespaces.
51858
f3c2577f
UD
51859 * sunrpc/rpc_prot.c (rejected): Fix case value.
51860
294ce126
UD
51861 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51862 unsigned long long int to avoid warnings in shift.
51863
5e2b63c6
UD
51864 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51865 of use of trans.
51866 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51867 variable tmp.
51868
e7f4b08e
UD
51869 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51870 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51871 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51872
ab26144e
UD
51873 * nis/nis_table.c (nis_list): Use variable of correct type for
51874 result of __follow_path call.
51875
8a6d5255
AZ
518762011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51877
51878 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51879 of math functions ceil, trunc, floor, round, and sqrt, when
51880 avaliable on the platform.
51881 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51882 name clash.
51883 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51884 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51885 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51886
aaddc98c
MP
518872011-10-30 Marek Polacek <mpolacek@redhat.com>
51888
51889 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51890 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51891
95b7042b
RM
518922011-11-11 Roland McGrath <roland@hack.frob.com>
51893
51894 * include/unistd.h: Fix __readlink return type.
51895 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51896
57769839
UD
518972011-11-11 Ulrich Drepper <drepper@gmail.com>
51898
51899 * stdlib/ucontext.h: Undo last change for makecontext.
51900
edc5984d
AS
519012011-11-11 Andreas Schwab <schwab@redhat.com>
51902
98591e58
AS
51903 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51904
edc5984d
AS
51905 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51906 * setjmp/setjmp.h: Mark functions as non-leaf.
51907 * setjmp/bits/setjmp2.h: Likewise.
51908 * stdlib/ucontext.h: Likewise.
51909
77cdc054
AS
519102011-11-10 Andreas Schwab <schwab@redhat.com>
51911
51912 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51913 (reused_arena): Don't check arena limit.
51914 (arena_get2): Atomically check arena limit.
51915
fe72eebd
UD
519162011-11-08 Ulrich Drepper <drepper@gmail.com>
51917
5f078c32
UD
51918 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51919 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51920
fe72eebd
UD
51921 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51922 instructions.
51923
ae1bc2fa
AS
519242011-11-07 Andreas Schwab <schwab@redhat.com>
51925
7583a88d
AS
51926 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51927 handler when locking.
51928
ae1bc2fa
AS
51929 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51930 Fix size of allocated buffer.
51931
10fb0bfa
AS
519322011-11-04 Andreas Schwab <schwab@redhat.com>
51933
998832a4
AS
51934 [BZ #10103]
51935 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51936 declarations for long double functions.
51937 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51938
10fb0bfa
AS
51939 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51940
3d7ba52b
AS
519412011-11-03 Andreas Schwab <schwab@redhat.com>
51942
a9ae54a1
AS
51943 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51944 installed.
51945
3d7ba52b
AS
51946 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51947 is disabled.
51948
bc8db248
ST
519492011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51950
51951 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51952
45b96dd6
AS
519532011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51954
647776f6
AS
51955 * include/alloca.h (stackinfo_alloca_round): Define.
51956 (extend_alloca): Use it.
51957 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51958 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51959 here.
51960
d91a8b93
AS
51961 * scripts/check-local-headers.sh: Ignore libaudit.h.
51962
45b96dd6
AS
51963 * nscd/Makefile (extra-objs): Make recursively expanded.
51964
432d41ce
UD
519652011-11-01 Ulrich Drepper <drepper@gmail.com>
51966
34372fc6
UD
51967 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51968 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51969
fadb59f8
UD
51970 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51971 * posix/tst-rfc3484-2.c: Likewise.
51972 * posix/tst-rfc3484-3.c: Likewise.
51973
78239589
UD
51974 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51975 process_vm_writev.
51976 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51977 process_vm_writev.
51978 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51979 process_vm_writev from libc using GLIBC_2.15 version.
51980
432d41ce
UD
51981 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51982
02f9c6cf
PP
519832011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51984
51985 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51986 stack usage.
51987
3a2c0242
UD
519882011-10-31 Ulrich Drepper <drepper@gmail.com>
51989
f4ec4833
UD
51990 [BZ #13367]
51991 * nss/getent.c (initgroups_keys): Show error message in case no group
51992 names are given.
51993
3a2c0242
UD
51994 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51995 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51996 __bump_nl_timestamp.
51997 * nscd/connections (nscd_init): When host database is served open
51998 netlink socket and request notification about configuration changes.
51999 (main_loop_poll): Track netlink file descriptor and bump timestamp
52000 in case data becomes available.
52001 (main_loop_epoll): Likewise.
52002 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52003 (database_pers_head): Add extra_data fileds.
52004 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52005 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52006 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52007 Adjust caller.
52008 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52009 in6ai data, call __free_in6ai.
52010 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52011 Add -DHAVE_NETLINK.
52012 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52013 interface information. Reuse previous data if netlink timestamp
52014 is not changed.
52015 (__bump_nl_timestamp): New function.
52016 (__free_in6ai): New function.
52017
636064eb
UD
520182011-10-30 Ulrich Drepper <drepper@gmail.com>
52019
52020 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52021 close_not_cancel_no_status here.
52022 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52023
9beb2334
UD
520242011-10-29 Ulrich Drepper <drepper@gmail.com>
52025
6ef76f3b
UD
52026 [BZ #13276]
52027 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52028 return value.
52029
0ffc4f3e 52030 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
52031 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52032 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52033
cb95113e
UD
520342011-07-03 Andreas Jaeger <aj@suse.de>
52035
52036 [BZ #10709]
52037 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52038 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52039 * math/libm-test.inc (sin_test): Add test case.
52040
a1b560ff
UD
520412011-10-29 Ulrich Drepper <drepper@gmail.com>
52042
c9aaface
UD
52043 [BZ #13337]
52044 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52045 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52046
d272e7f1
UD
52047 * elf/chroot_canon.c (chroot_canon): Cleanups.
52048
1bc33071
UD
52049 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52050
1760874d
TJ
52051 [BZ #13335]
52052 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52053 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52054
51d91b18
UD
52055 * string/test-strchr.c: Make usable for strchrnul testing.
52056 * string/test-strchrnul.c: New file.
52057 * string/Makefile (strop-tests): Add strchrnul.
52058
a1b560ff 52059 * po/it.po: Update from translation team.
b611fb81 52060 * po/es.po: Likewise.
a1b560ff 52061
a5b81e1f
UD
520622011-10-28 Ulrich Drepper <drepper@gmail.com>
52063
fd52bc6d
UD
52064 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52065 the three constants needed as parameters. Drop the others.
52066 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52067 __m128i_strloadu_tolower.
52e4b9eb
UD
52068 Create and initialize variable zero and use it in all the places
52069 where _mm_setzero_si128 was used.
fd52bc6d 52070
a5b81e1f
UD
52071 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52072 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52073 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52074 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52075 anymore.
52076 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52077 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52078 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52079 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52080 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52081 __mpranred, __mptan.
52082 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52083 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52084 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52085 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52086 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52087 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52088 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52089 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52090 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52091
b4343346
AS
520922011-10-28 Andreas Schwab <schwab@redhat.com>
52093
0c92d8a8
AS
52094 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52095 redefine if SHARED.
52096 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52097
b4343346
AS
52098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52099 wide char related routines to wcsmbs subdir.
52100
3871f58f
AS
521012011-10-27 Andreas Schwab <schwab@redhat.com>
52102
52103 [BZ #13344]
52104 * misc/sys/cdefs.h (__THROWNL): Define.
52105 * posix/unistd.h: Use __THREADNL instead of __THREAD
52106 for memory synchronization functions.
52107
94d44d9f
RM
521082011-10-26 Roland McGrath <roland@hack.frob.com>
52109
21b64b15 52110 [BZ #13349]
94d44d9f
RM
52111 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52112 doesn't exist.
52113 * manual/stdio.texi (Obstack Streams): Node removed.
52114
f6ce9294
AS
521152011-10-26 Andreas Schwab <schwab@redhat.com>
52116
80479147
AS
52117 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52118 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52119 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52120
f6ce9294
AS
52121 * math/math_private.h (math_force_eval): Allow non-addressable
52122 arguments.
52123 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52124
618280a1
UD
521252011-10-25 Ulrich Drepper <drepper@gmail.com>
52126
e0016b11
UD
52127 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52128 file is not needed.
52129
52130 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52131 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52132 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52133 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52134 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52135 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52136 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52137 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52138 Add AVX variants.
52139 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52140 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52141 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52142 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52143 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52144 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52145 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52146 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52147 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52148 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52149 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52150 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52151 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52152 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52153 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52154 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52155 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52156 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52157 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52158
52159 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52160 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52161
618280a1
UD
52162 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52163 place. Use VEX encoding when compiling for AVX.
52164
37822576
AS
521652011-10-25 Andreas Schwab <schwab@redhat.com>
52166
1f1e1947
AS
52167 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52168 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52169
37822576
AS
52170 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52171
31ea014d
UD
521722011-10-25 Ulrich Drepper <drepper@gmail.com>
52173
d7826aa1 52174 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 52175 useless if() expression.
d7826aa1
UD
52176 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52177 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52178 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52179 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52180 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52181 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52182 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52183 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52184 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52185 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52186 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52187 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52188 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52189 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52190 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52191 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52192 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52193 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52194 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52195
31ea014d
UD
52196 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52197
16437fec
AS
521982011-10-25 Andreas Schwab <schwab@redhat.com>
52199
52200 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52201 condition.
52202 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52203
31d3cc00
UD
522042011-10-25 Ulrich Drepper <drepper@gmail.com>
52205
52206 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52207 .text section. Avoid duplicate constants.
52208 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52209 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52210 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52212 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52213 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52214 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52215 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52216 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52217 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52218 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52219 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52220 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52221 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52222 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52223 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52224 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52225 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52226 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52227 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52228 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52229 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52230 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52231 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52232 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52233 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52234 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52235 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52236 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52237 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52238 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52239 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52240 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52241 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52242 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52243 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52244 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52245 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52246 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52247 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52248 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52249 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52250 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52251 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52252 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52253
58985aa9
UD
522542011-10-24 Ulrich Drepper <drepper@gmail.com>
52255
202c9deb
UD
52256 * sysdeps/x86_64/dla.h: Move to ...
52257 * sysdeps/x86_64/fpu/dla.h: ...here.
52258 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52259 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52260
af968f62
UD
52261 * config.make.in: Add have-mfma4 entry.
52262 * configure.in: Substitute libc_cv_cc_fma4.
52263 * math/Makefile (dbl-only-routines): Add sincostab.
52264 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52265 Use __sincostab not sincos.
52266 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52267 name is a macro.
52268 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52269 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52270 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52272 using __copysign.
52273 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52274 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52275 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52276 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52277 and __inv.
52278 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52279 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52280 __copysign.
52281 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52282 define aliases when function name is a macro.
52283 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52284 sysdeps/ieee754/dbl-64/sincos.tbl.
52285 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52286 fma4-enabled routines.
52287 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52288 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52289 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52290 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52291 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52292 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52293 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52294 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52295 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52296 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52297 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52298 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52299 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52300 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52301 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52302 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52303 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52304 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52305 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52306 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52307 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52308 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52309 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52310 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52311 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52312 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52313 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52314 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52315 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52316 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52317
58985aa9
UD
52318 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52319 rename.
52320 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52321 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52322 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52323 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52324 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52325 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52326 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52327 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52328
a201fbcf
AS
523292011-10-24 Andreas Schwab <schwab@redhat.com>
52330
52331 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52332
fc2ee42a
LD
523332011-10-23 Ulrich Drepper <drepper@gmail.com>
52334
bb3129bd
UD
52335 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52336
0275fff8
UD
52337 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52338 prediction.
52339 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52340
2fa2ae85
UD
52341 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52342 Remove unused variable magic_bits.
52343 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52344
fc2ee42a
LD
52345 * string/strnlen.c: Define and use STRNLEN macro.
52346 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52347 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52348 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52349 * wcsmbs/wcslen.c: Define and use WCSLEN.
52350 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52351 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52352 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52353 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52354 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52355 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52356 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52357
ce7dd29f
LD
523582011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52359
52360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52361 strnlen-sse2-no-bsf.
52362 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52363 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52364 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52365 Add strnlen support.
52366 (USE_AS_STRNLEN): New macro.
52367 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52368 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52369 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52370 * sysdeps/x86_64/wcslen.S: New file.
52371
979c70a3
MZ
523722011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52373
52374 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52375 XMM-moves are used for copying on small sizes.
52376
2d09f82f
LD
523772011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52378
52379 * wcsmbs/Makefile (strop-tests): Add wcschr.
52380 * wcsmbs/test-wcschr.c: New file.
52381 * string/test-strchr.c: Update.
52382 Add wcschr support.
52383 (WIDE): New macro.
52384
619fccca
LD
523852011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52386
2d09f82f 52387 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52388 * wcsmbs/test-wcslen.c: New file.
52389 * string/test-strlen.c: Update.
52390 Add wcslen support.
52391 (WIDE): New macro.
52392
09f699ea
UD
523932011-10-23 Ulrich Drepper <drepper@gmail.com>
52394
52395 * po/it.po: Update from translation team.
52396
95584d3b
LD
523972011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52398
52399 * sysdeps/x86_64/wcscmp.S: Update.
52400 Fix wrong comparison semantics.
52401 wcscmp shall use signed comparison not unsigned.
52402 Don't use substraction to avoid overflow bug.
52403 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52404 * wcsmbc/wcscmp.c: Likewise.
52405 * string/test-strcmp.c: Likewise.
52406 Add new tests to check cases with negative values.
52407
c8b3296b
UD
524082011-10-23 Ulrich Drepper <drepper@gmail.com>
52409
52410 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52411 * sysdeps/x86_64/dla.h: ...here. New file.
52412 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52413 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52414 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52416 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52417 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52418 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52419 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52420 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52421
246ad57a
AS
524222011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52423
52424 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52425 __ynl_finite aliases.
52426
a1a87169
UD
524272011-10-22 Ulrich Drepper <drepper@gmail.com>
52428
0d355eb7
UD
52429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52430
a1a87169
UD
52431 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52432 define DLA_FMA.
52433 [DLA_FMA] (EMULV): Use DLA_FMA.
52434 [DLA_FMA] (MUL12): Use EMULV.
52435 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52436 that are not needed.
52437 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52439 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52440 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52441 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52442 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52443 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52444
ee2aafe0
AS
524452011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52446
52447 * math/s_nan.c: Undef __nan.
52448 * math/s_nanf.c: Undef __nanf.
52449 * math/s_nanl.c: Undef __nanl.
52450 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52451 "math_private.h".
52452
bc62c2fb
UD
524532011-10-22 Ulrich Drepper <drepper@gmail.com>
52454
77425c63
UD
52455 * math/s_catan.c: Add branch predictions.
52456 * math/s_catanf.c: Likewise.
52457 * math/s_catanh.c: Likewise.
52458 * math/s_catanhf.c: Likewise.
52459 * math/s_catanhl.c: Likewise.
52460 * math/s_catanl.c: Likewise.
52461 * math/s_cexp.c: Likewise.
52462 * math/s_cexpf.c: Likewise.
52463 * math/s_cexpl.c: Likewise.
52464 * math/s_clog.c: Likewise.
52465 * math/s_clog10.c: Likewise.
52466 * math/s_clog10f.c: Likewise.
52467 * math/s_clog10l.c: Likewise.
52468 * math/s_clogf.c: Likewise.
52469 * math/s_clogl.c: Likewise.
52470 * math/s_csqrt.c: Likewise.
52471 * math/s_csqrtf.c: Likewise.
52472 * math/s_csqrtl.c: Likewise.
52473 * math/s_ctanf.c: Likewise.
52474 * math/s_ctanh.c: Likewise.
52475 * math/s_ctanhf.c: Likewise.
52476 * math/s_ctanhl.c: Likewise.
52477 * math/s_ctanl.c: Likewise.
52478
bc62c2fb
UD
52479 * math/math_private.h: Define __nan, __nanf, __nanl.
52480 * math/s_cacosh.c: Include <math_private.h>.
52481 * math/s_cacoshl.c: Likewise.
52482 * math/s_casinh.c: Likewise.
52483 * math/s_casinhf.c: Likewise.
52484 * math/s_casinhl.c: Likewise.
52485 * math/s_ccos.c: Rely entire on ccosh.
52486 * math/s_ccosf.c: Rely entire on ccoshf.
52487 * math/s_ccosl.c: Rely entirely on ccoshl.
52488 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52489 Remove tests for FE_INVALID.
52490 * math/s_ccoshf.c: Likewise.
52491 * math/s_ccoshl.c: Likewise.
52492 * math/s_csin.c: Likewise.
52493 * math/s_csinf.c: Likewise.
52494 * math/s_csinh.c Likewise.
52495 * math/s_csinhf.c: Likewise.
52496 * math/s_csinhl.c: Likewise.
52497 * math/s_csinl.c: Likewise.
52498 * math/s_ctan.c: Likewise.
52499 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52500 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52501 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52502
8ec250a4
UD
525032011-10-21 Ulrich Drepper <drepper@gmail.com>
52504
c196fed8
UD
52505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52506 compilation problems.
52507
8ec250a4
UD
52508 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52509 __builtin_expect.
52510
8d4f46c6
UD
525112011-10-20 Ulrich Drepper <drepper@gmail.com>
52512
ed72b654
UD
52513 * sysdeps/i386/configure.in: Test for -mfma4 option.
52514 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52515 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52516 COMMON_CPUID_INDEX_80000001.
52517 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52518 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52519 use it if FMA3 is not supported.
52520 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52521
8d4f46c6
UD
52522 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52523 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52524
d45c60c2
AS
525252011-10-20 Andreas Schwab <schwab@redhat.com>
52526
52527 [BZ #12892]
52528 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52529 it would create a cycle with a link time dependency.
52530
d9a4d2ab
UD
525312011-10-19 Ulrich Drepper <drepper@gmail.com>
52532
855d1560
UD
52533 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52534 instruction.
52535 * string/Makefile (strop-tests): Add rawmemchr.
52536 * string/test-rawmemchr.c: New file.
52537
d9a4d2ab
UD
52538 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52539 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52540 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52541 when compiling str{,n}casecmp and when AVX is available. Hook up
52542 new optimized code in initializers.
52543
8f3b1ffe
AS
525442011-10-19 Andreas Schwab <schwab@redhat.com>
52545
52546 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52547 __feraiseexcept instead of feraiseexcept.
52548
d38f1dba
UD
525492011-10-18 Ulrich Drepper <drepper@gmail.com>
52550
d9a8d0ab
UD
52551 * math/math_private.h: Define defaults for libc_fetestexcept and
52552 libc_feupdateenv.
52553 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52554 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52555 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52556 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52557 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52558 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52559 libc_fetestexcept and libc_feupdateenv.
52560
4855e3dd
UD
52561 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52562 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52563 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52564 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52565 libc_feholdexcept_setround.
52566
581d30e3
UD
52567 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52568 Add s_nearbyint-c and s_nearbyintf-c.
52569 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52570 nearbyintf inlines.
52571 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52572 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52573 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52574 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52575
d38f1dba
UD
52576 * math/math_private.h: Define defaults for libc_fegetround,
52577 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52578 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52579 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52580 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52581 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52582 standard functions.
52583 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52584 Remove comments and hacks for old compiler versions.
52585 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52586 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52587 libc_feholdexceptl.
52588
caa6c9d8
AS
525892011-10-18 Andreas Schwab <schwab@redhat.com>
52590
52591 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
52592 (__feraiseexcept_renamed): Add __NTH.
52593 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
52594 namespace violations.
52595
97c066e6
UD
525962011-10-17 Ulrich Drepper <drepper@gmail.com>
52597
99ce7b04
UD
52598 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52599
1004d182
UD
52600 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52601
228a984d
UD
52602 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52603 recently added interfaces.
52604 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52605
c8553a6a
UD
52606 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52607 about macro parameter expansion.
52608
ed22dcf6
UD
52609 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52610 __NO_MATH_INLINES is defined. Cleanups.
52611
52612 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52613 and __floorf is target has SSE4.1.
52614 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52615 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52616 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52617 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52618
b171c137
UD
52619 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52620 name.
52621 (floorf): Likewise.
52622
97c066e6
UD
52623 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52624
629f62ef
AS
526252011-10-17 Andreas Schwab <schwab@redhat.com>
52626
49a43d80
AS
52627 * misc/sys/cdefs.h: Fix last change.
52628
629f62ef
AS
52629 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52630 database lookup.
52631
e453f6cd
UD
526322011-10-16 Ulrich Drepper <drepper@gmail.com>
52633
aa78043a
UD
52634 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52635
ad0f5cad
UD
52636 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52637 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52638 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52639 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52640 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52641 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52642 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52643 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52644 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52645 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52646 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52647 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52648 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52649 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52650 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52651 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52652 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52653 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52654 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52655 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52656 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52657 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52658
52659 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52660 ceil, ceilf, floor, floorf.
52661
52662 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52663 Perform IRELATIVE relocations last.
52664
e453f6cd
UD
52665 * elf/do-rel.h: Add another parameter nrelative, replacing the
52666 local variable with the same name. Change name of the function
52667 to end in Rel or Rela (uppercase).
52668 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52669 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52670 elf_dynamic_do_##reloc function.
52671
fd5bdc09
UD
526722011-10-15 Ulrich Drepper <drepper@gmail.com>
52673
79b195b5
UD
52674 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52675 is sufficient, at least on modern CPUs.
52676
d4a28569
UD
52677 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52678
b61099b5
UD
52679 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52680 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52681
bcf01e6d
UD
52682 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52683 __expl_finite.
52684 * math/bits/math-finite.h: Add entries for exp.
52685 * math/e_expl.c: Add __*_finite alias.
52686 * sysdeps/i386/fpu/e_exp.S: Likewise.
52687 * sysdeps/i386/fpu/e_expf.S: Likewise.
52688 * sysdeps/i386/fpu/e_expl.c: Likewise.
52689 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52690 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52691 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52692 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52693 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52694 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52695 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52696
ba1a0d59
UD
52697 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52698 is sufficient, at least on modern CPUs.
52699
fd5bdc09
UD
52700 * ctype/ctype-info.c (__ctype_init): Define.
52701 * include/ctype.h (__ctype_init): Declare.
52702 (__ctype_b_loc): The variable is always initialized.
52703 (__ctype_toupper_loc): Likewise.
52704 (__ctype_tolower_loc): Likewise.
52705 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52706 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52707
7872cfb0
AS
527082011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52709
b468825a
AS
52710 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52711
7872cfb0
AS
52712 * configure.in: Also look in $cxxmachine/include for C++ system
52713 headers.
52714
be13f7bf
LD
527152011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52716
52717 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52718 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52719 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52720 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52721 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52722 (USE_AS_WMEMCMP): New macro.
52723 Fixing indents.
52724 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52725 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52726 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52727 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52729 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52730 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52731 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52732 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52733 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52734 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52735 (USE_AS_WMEMCMP): New macro.
52736 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52737 * sysdeps/string/test-memcmp.c: Update.
52738 Fix simple_wmemcmp.
52739 Add new tests.
52740 * wcsmbs/wmemcmp.c: Update.
52741 (WMEMCMP): New macro.
52742 Fix overflow bug.
52743
556a2007
AJ
527442011-10-12 Andreas Jaeger <aj@suse.de>
52745
52746 [BZ #13268]
52747 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52748
538faaa7
UD
527492011-10-15 Ulrich Drepper <drepper@gmail.com>
52750
ab6737ff
UD
52751 * libio/iofwide.c (do_length): Avoid warning.
52752
538faaa7
UD
52753 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52754
396a21b1
UD
527552011-10-14 Ulrich Drepper <drepper@gmail.com>
52756
cdf2901f
UD
52757 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52758
38ad40ce
UD
52759 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52760 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52761 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52762 * sysdeps/i386/i686/fpu/e_log.S: New file.
52763 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52764 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52765
396a21b1
UD
52766 * ctype/ctype.h: Add support for inlined isXXX functions when
52767 compiling C++ code.
52768
6b1f68c9
AS
527692011-10-14 Andreas Schwab <schwab@redhat.com>
52770
349290c0
AS
52771 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52772
6b1f68c9
AS
52773 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52774
f2282d42
RM
527752011-10-13 Roland McGrath <roland@hack.frob.com>
52776
52777 [BZ #13291]
52778 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52779
5298ffa8
AS
527802011-10-13 Andreas Schwab <schwab@redhat.com>
52781
714fad23
AS
52782 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52783 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52784 feraiseexcept.
52785
81dcc7fb
AS
52786 * sysdeps/x86_64/memrchr.S: Check for zero size.
52787
5298ffa8
AS
52788 * string/stratcliff.c: Add memrchr tests.
52789
951fbcec
LD
527902011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52791
52792 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52793 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52794 rawmemchr-sse2 rawmemchr-sse2-bsf.
52795 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52796 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52797 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52798 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52799 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52800 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52801 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52802 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52803 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52804 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52805 * string/memrchr.c (MEMRCHR): New macro.
52806
0ac5ae23
UD
528072011-10-12 Ulrich Drepper <drepper@gmail.com>
52808
52809 Add integration with gcc's -ffinite-math-only and optimize wrapper
52810 functions in libm.
52811 * Versions.def: Define GLIBC_2.15 version for libm.
52812 * math/Makefile (headers): Add bits/math-finite.h.
52813 * math/bits/math-finite.h: New file.
52814 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52815 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52816 * math/e_acoshl.c: Add __*_finite alias.
52817 * math/e_acosl.c: Likewise.
52818 * math/e_asinl.c: Likewise.
52819 * math/e_atan2l.c: Likewise.
52820 * math/e_atanhl.c: Likewise.
52821 * math/e_coshl.c: Likewise.
52822 * math/e_exp10.c: Likewise.
52823 * math/e_exp10f.c: Likewise.
52824 * math/e_exp10l.c: Likewise.
52825 * math/e_exp2l.c: Likewise.
52826 * math/e_fmodl.c: Likewise.
52827 * math/e_gammal_r.c: Likewise.
52828 * math/e_hypotl.c: Likewise.
52829 * math/e_j0l.c: Likewise.
52830 * math/e_j1l.c: Likewise.
52831 * math/e_jnl.c: Likewise.
52832 * math/e_lgammal_r.c: Likewise.
52833 * math/e_log10l.c: Likewise.
52834 * math/e_log2l.c: Likewise.
52835 * math/e_logl.c: Likewise.
52836 * math/e_powl.c: Likewise.
52837 * math/e_sinhl.c: Likewise.
52838 * math/e_sqrtl.c: Likewise.
52839 * math/e_scalb.c: Completely rewritten and optimized.
52840 * math/e_scalbf.c: Likewise.
52841 * math/e_scalbl.c: Likewise.
52842 * math/w_acos.c: Likewise.
52843 * math/w_acosf.c: Likewise.
52844 * math/w_acosl.c: Likewise.
52845 * math/w_acosh.c: Likewise.
52846 * math/w_acoshf.c: Likewise.
52847 * math/w_acoshl.c: Likewise.
52848 * math/w_asin.c: Likewise.
52849 * math/w_asinf.c: Likewise.
52850 * math/w_asinl.c: Likewise.
52851 * math/w_atan2.c: Likewise.
52852 * math/w_atan2f.c: Likewise.
52853 * math/w_atan2l.c: Likewise.
52854 * math/w_atanh.c: Likewise.
52855 * math/w_atanhf.c: Likewise.
52856 * math/w_atanhl.c: Likewise.
52857 * math/w_exp10.c: Likewise.
52858 * math/w_exp10f.c: Likewise.
52859 * math/w_exp10l.c: Likewise.
52860 * math/w_fmod.c: Likewise.
52861 * math/w_fmodf.c: Likewise.
52862 * math/w_fmodl.c: Likewise.
52863 * math/w_j0.c: Likewise.
52864 * math/w_j0f.c: Likewise.
52865 * math/w_j0l.c: Likewise.
52866 * math/w_j1.c: Likewise.
52867 * math/w_j1f.c: Likewise.
52868 * math/w_j1l.c: Likewise.
52869 * math/w_jn.c: Likewise.
52870 * math/w_jnf.c: Likewise.
52871 * math/w_log.c: Likewise.
52872 * math/w_logf.c: Likewise.
52873 * math/w_logl.c: Likewise.
52874 * math/w_log10.c: Likewise.
52875 * math/w_log10f.c: Likewise.
52876 * math/w_log10l.c: Likewise.
52877 * math/w_log2.c: Likewise.
52878 * math/w_log2f.c: Likewise.
52879 * math/w_log2l.c: Likewise.
52880 * math/w_pow.c: Likewise.
52881 * math/w_powf.c: Likewise.
52882 * math/w_powl.c: Likewise.
52883 * math/w_remainder.c: Likewise.
52884 * math/w_remainderf.c: Likewise.
52885 * math/w_remainderl.c: Likewise.
52886 * math/w_scalb.c: Likewise.
52887 * math/w_scalbf.c: Likewise.
52888 * math/w_scalbl.c: Likewise.
52889 * math/w_sqrt.c: Likewise.
52890 * math/w_sqrtf.c: Likewise.
52891 * math/w_sqrtl.c: Likewise.
52892 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52893 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52894 used.
52895 * math/math_private.h: Declare __kernel_standard_f.
52896 * math/w_cosh.c: Remove cruft and optimize a bit.
52897 * math/w_coshf.c: Likewise.
52898 * math/w_coshl.c: Likewise.
52899 * math/w_exp2.c: Likewise.
52900 * math/w_exp2f.c: Likewise.
52901 * math/w_exp2l.c: Likewise.
52902 * math/w_hypot.c: Likewise.
52903 * math/w_hypotf.c: Likewise.
52904 * math/w_hypotl.c: Likewise.
52905 * math/w_lgamma.c: Likewise.
52906 * math/w_lgamma_r.c: Likewise.
52907 * math/w_lgammaf.c: Likewise.
52908 * math/w_lgammaf_r.c: Likewise.
52909 * math/w_lgammal.c: Likewise.
52910 * math/w_lgammal_r.c: Likewise.
52911 * math/w_sinh.c: Likewise.
52912 * math/w_sinhf.c: Likewise.
52913 * math/w_sinhl.c: Likewise.
52914 * math/w_tgamma.c: Likewise.
52915 * math/w_tgammaf.c: Likewise.
52916 * math/w_tgammal.c: Likewise.
52917 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52918 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52919 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52920 Minor optimizations. Pretty printing. Remove cruft.
52921 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52922 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52923 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52924 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52925 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52926 * sysdeps/i386/fpu/e_asin.S: Likewise.
52927 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52928 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52929 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52930 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52931 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52932 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52933 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52934 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52935 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52936 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52937 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52938 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52939 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52940 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52941 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52942 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52943 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52944 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52945 * sysdeps/i386/fpu/e_log.S: Likewise.
52946 * sysdeps/i386/fpu/e_log10.S: Likewise.
52947 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52948 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52949 * sysdeps/i386/fpu/e_log2.S: Likewise.
52950 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52951 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52952 * sysdeps/i386/fpu/e_logf.S: Likewise.
52953 * sysdeps/i386/fpu/e_logl.S: Likewise.
52954 * sysdeps/i386/fpu/e_pow.S: Likewise.
52955 * sysdeps/i386/fpu/e_powf.S: Likewise.
52956 * sysdeps/i386/fpu/e_powl.S: Likewise.
52957 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52958 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52959 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52960 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52961 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52962 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52963 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52964 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52965 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52966 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52967 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52968 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52969 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52970 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52971 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52972 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52973 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52974 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52975 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52976 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52977 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52978 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52979 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52980 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52981 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52982 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52983 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52984 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52985 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52986 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52987 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52988 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52989 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52990 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52991 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52992 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52993 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52994 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52995 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52996 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52997 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52998 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52999 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53000 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53001 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53002 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53003 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53004 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53005 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53006 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53007 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53008 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53009 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53010 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53011 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53012 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53013 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53014 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53015 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53016 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53017 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53018 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53019 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53020 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53021 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53022 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53023 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53024 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53025 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53026 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53027 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53028 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53029 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53030 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53031 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53032 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53033 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53034 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53035 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53036 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53037 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53038 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53039 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53040 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53041 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53042 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53043 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53044 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53045 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53046 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53047 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53048 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53049 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53050 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53051 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53052 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53053 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53054 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53055 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53056 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53057 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53058 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53059 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53060 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53061 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53062 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53063 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53064 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53065 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53066 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53067 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53068 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53069 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53070 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53071 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53072 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53073 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53074 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53075 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53076 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53077 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53078 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53079 (__isnanf): Likewise.
53080 (__isinf_ns): Likewise.
53081 (__isinf_nsf): Likewise.
53082 (__finite): Likewise.
53083 (__finitef): Likewise.
53084 (__ieee754_sqrt): Define as macro.
53085 (__ieee754_sqrtf): Define as macro.
53086 (__ieee754_sqrtl): Define as macro.
53087 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53088 inlined copy.
53089 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53090 __FINITE_MATH_ONLY__ consistent.
53091 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53092
12cc2fcd
AS
530932011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53094
a843a204
AS
53095 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53096 of rawmemchr.
53097
12cc2fcd
AS
53098 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53099
c853acd5
UD
531002011-10-09 Ulrich Drepper <drepper@gmail.com>
53101
53102 * po/ja.po: Update from translation team.
53103
c658d255
RM
531042011-10-08 Roland McGrath <roland@hack.frob.com>
53105
110946e4
RM
53106 * locale/programs/locarchive.c (prepare_address_space): New function.
53107 (create_archive, enlarge_archive, open_archive): Use it.
53108
50604220
RM
53109 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53110 inside [SHARED], where it is used.
53111
c658d255
RM
53112 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53113
53114 * nss/getent.c (netgroup_keys): Remove unused variable.
53115 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53116
6a621eb7
UD
531172011-10-08 Ulrich Drepper <drepper@gmail.com>
53118
7edb55ce
UD
53119 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53120 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53121 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53122 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53123 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53124 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53125 * math/Makefile (libm-calls): Add s_isinf_ns.
53126 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53127 * math/multc3.c: Likewise.
53128 * math/s_casin.c: Likewise.
53129 * math/s_casinf.c: Likewise.
53130 * math/s_casinl.c: Likewise.
53131 * math/s_ccos.c: Likewise.
53132 * math/s_ccosf.c: Likewise.
53133 * math/s_ccosl.c: Likewise.
53134 * math/s_ctan.c: Likewise.
53135 * math/s_ctanf.c: Likewise.
53136 * math/s_ctanh.c: Likewise.
53137 * math/s_ctanhf.c: Likewise.
53138 * math/s_ctanhl.c: Likewise.
53139 * math/s_ctanl.c: Likewise.
53140 * math/w_fmod.c: Likewise.
53141 * math/w_fmodf.c: Likewise.
53142 * math/w_fmodl.c: Likewise.
53143 * math/w_remainder.c: Likewise.
53144 * math/w_remainderf.c: Likewise.
53145 * math/w_remainderl.c: Likewise.
53146 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53147 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53148 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53149 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53150 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53151 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53152 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53153 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53154
187da0ae
UD
53155 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53156 of the number.
53157 * stdio-common/printf_fphex.c: Likewise.
53158 * stdio-common/printf_size.c: Likewise.
53159
9277c064
UD
53160 * math/e_exp10.c: Include math_private.h using <...> not "...".
53161 * math/e_exp10f.c: Likewise.
53162 * math/e_exp10l.c: Likewise.
53163 * math/e_exp2l.c: Likewise.
53164 * math/e_j0l.c: Likewise.
53165 * math/e_j1l.c: Likewise.
53166 * math/e_jnl.c: Likewise.
53167 * math/e_lgammal_r.c: Likewise.
53168 * math/e_rem_pio2l.c: Likewise.
53169 * math/e_scalb.c: Likewise.
53170 * math/e_scalbf.c: Likewise.
53171 * math/e_scalbl.c: Likewise.
53172 * math/k_cosl.c: Likewise.
53173 * math/k_sinl.c: Likewise.
53174 * math/k_tanl.c: Likewise.
53175 * math/s_cacoshf.c: Likewise.
53176 * math/s_catan.c: Likewise.
53177 * math/s_catanf.c: Likewise.
53178 * math/s_catanh.c: Likewise.
53179 * math/s_catanhf.c: Likewise.
53180 * math/s_catanhl.c: Likewise.
53181 * math/s_catanl.c: Likewise.
53182 * math/s_ccosh.c: Likewise.
53183 * math/s_ccoshf.c: Likewise.
53184 * math/s_ccoshl.c: Likewise.
53185 * math/s_cexp.c: Likewise.
53186 * math/s_cexpf.c: Likewise.
53187 * math/s_cexpl.c: Likewise.
53188 * math/s_clog.c: Likewise.
53189 * math/s_clog10.c: Likewise.
53190 * math/s_clog10f.c: Likewise.
53191 * math/s_clog10l.c: Likewise.
53192 * math/s_clogf.c: Likewise.
53193 * math/s_clogl.c: Likewise.
53194 * math/s_csin.c: Likewise.
53195 * math/s_csinf.c: Likewise.
53196 * math/s_csinh.c: Likewise.
53197 * math/s_csinhf.c: Likewise.
53198 * math/s_csinhl.c: Likewise.
53199 * math/s_csinl.c: Likewise.
53200 * math/s_csqrt.c: Likewise.
53201 * math/s_csqrtf.c: Likewise.
53202 * math/s_csqrtl.c: Likewise.
53203 * math/s_ctan.c: Likewise.
53204 * math/s_ctanf.c: Likewise.
53205 * math/s_ctanh.c: Likewise.
53206 * math/s_ctanhf.c: Likewise.
53207 * math/s_ctanhl.c: Likewise.
53208 * math/s_ctanl.c: Likewise.
53209 * math/s_ldexp.c: Likewise.
53210 * math/s_ldexpf.c: Likewise.
53211 * math/s_ldexpl.c: Likewise.
53212 * math/s_significand.c: Likewise.
53213 * math/s_significandf.c: Likewise.
53214 * math/s_significandl.c: Likewise.
53215 * math/w_acos.c: Likewise.
53216 * math/w_acosf.c: Likewise.
53217 * math/w_acosh.c: Likewise.
53218 * math/w_acoshf.c: Likewise.
53219 * math/w_acoshl.c: Likewise.
53220 * math/w_acosl.c: Likewise.
53221 * math/w_asin.c: Likewise.
53222 * math/w_asinf.c: Likewise.
53223 * math/w_asinl.c: Likewise.
53224 * math/w_atan2.c: Likewise.
53225 * math/w_atan2f.c: Likewise.
53226 * math/w_atan2l.c: Likewise.
53227 * math/w_atanh.c: Likewise.
53228 * math/w_atanhf.c: Likewise.
53229 * math/w_atanhl.c: Likewise.
53230 * math/w_cosh.c: Likewise.
53231 * math/w_coshf.c: Likewise.
53232 * math/w_coshl.c: Likewise.
53233 * math/w_dremf.c: Likewise.
53234 * math/w_exp10.c: Likewise.
53235 * math/w_exp10f.c: Likewise.
53236 * math/w_exp10l.c: Likewise.
53237 * math/w_exp2.c: Likewise.
53238 * math/w_exp2f.c: Likewise.
53239 * math/w_fmod.c: Likewise.
53240 * math/w_fmodf.c: Likewise.
53241 * math/w_fmodl.c: Likewise.
53242 * math/w_hypot.c: Likewise.
53243 * math/w_hypotf.c: Likewise.
53244 * math/w_hypotl.c: Likewise.
53245 * math/w_j0.c: Likewise.
53246 * math/w_j0f.c: Likewise.
53247 * math/w_j0l.c: Likewise.
53248 * math/w_j1.c: Likewise.
53249 * math/w_j1f.c: Likewise.
53250 * math/w_j1l.c: Likewise.
53251 * math/w_jn.c: Likewise.
53252 * math/w_jnf.c: Likewise.
53253 * math/w_jnl.c: Likewise.
53254 * math/w_lgamma.c: Likewise.
53255 * math/w_lgamma_r.c: Likewise.
53256 * math/w_lgammaf.c: Likewise.
53257 * math/w_lgammaf_r.c: Likewise.
53258 * math/w_lgammal.c: Likewise.
53259 * math/w_lgammal_r.c: Likewise.
53260 * math/w_log.c: Likewise.
53261 * math/w_log10.c: Likewise.
53262 * math/w_log10f.c: Likewise.
53263 * math/w_log10l.c: Likewise.
53264 * math/w_log2.c: Likewise.
53265 * math/w_log2f.c: Likewise.
53266 * math/w_log2l.c: Likewise.
53267 * math/w_logf.c: Likewise.
53268 * math/w_logl.c: Likewise.
53269 * math/w_pow.c: Likewise.
53270 * math/w_powf.c: Likewise.
53271 * math/w_powl.c: Likewise.
53272 * math/w_remainder.c: Likewise.
53273 * math/w_remainderf.c: Likewise.
53274 * math/w_remainderl.c: Likewise.
53275 * math/w_scalb.c: Likewise.
53276 * math/w_scalbf.c: Likewise.
53277 * math/w_scalbl.c: Likewise.
53278 * math/w_sinh.c: Likewise.
53279 * math/w_sinhf.c: Likewise.
53280 * math/w_sinhl.c: Likewise.
53281 * math/w_sqrt.c: Likewise.
53282 * math/w_sqrtf.c: Likewise.
53283 * math/w_sqrtl.c: Likewise.
53284 * math/w_tgamma.c: Likewise.
53285 * math/w_tgammaf.c: Likewise.
53286 * math/w_tgammal.c: Likewise.
53287
6a621eb7
UD
53288 * po/ja.po: Update from translation team.
53289
bf582445
AJ
532902011-09-29 Andreas Jaeger <aj@suse.de>
53291
f9efbf3a
AJ
53292 [BZ #13179]
53293 * sunrpc/netname.c (netname2host): Fix logic.
53294
bf582445
AJ
53295 [BZ #6779]
53296 [BZ #6783]
53297 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53298 correctly.
53299 * math/w_remainder.c (__remainder): Likewise.
53300 * math/w_remainderf.c (__remainderf): Likewise.
53301 * math/libm-test.inc (remainder_test): Add test cases.
53302
48693bea
AK
533032011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53304
53305 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53306 sdiv_qrnnd.
53307
42622229
LD
533082011-10-07 Ulrich Drepper <drepper@gmail.com>
53309
53310 * string/test-memcmp.c: Avoid unncessary #defines.
53311 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53312
093ecf92
LD
533132011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53314
53315 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53316 Use new sse2 version for core i3 - i7 as it's faster
53317 than sse42 version.
53318 (bit_Prefer_PMINUB_for_stringop): New.
53319 * sysdeps/x86_64/rawmemchr.S: Update.
53320 Replace with faster SSE2 version.
53321 * sysdeps/x86_64/memrchr.S: New file.
53322 * sysdeps/x86_64/memchr.S: Update.
53323 Replace with faster SSE2 version.
53324
fde56e5c
MP
533252011-09-12 Marek Polacek <mpolacek@redhat.com>
53326
53327 * elf/dl-load.c (lose): Add cast to avoid warning.
53328
21fd49a9
UD
533292011-10-07 Ulrich Drepper <drepper@gmail.com>
53330
5a06e643
UD
53331 * po/ca.po: Update from translation team.
53332
684ae515
UD
53333 * inet/getnetgrent_r.c: Hook up nscd.
53334 * nscd/Makefile (routines): Add nscd_netgroup.
53335 (nscd-modules): Add netgroupcache.
53336 (CFLAGS-netgroupcache.c): Define.
53337 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53338 (cache_search): Add const to second parameter.
53339 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53340 INNETGR.
53341 (dbs): Add netgrdb entry.
53342 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53343 (verify_persistent_db): Handle netgrdb.
53344 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53345 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53346 GETFDNETGR.
53347 (netgroup_response_header): Define.
53348 (innetgroup_response_header): Define.
53349 (datahead): Add netgroup_response_header and innetgroup_response_header
53350 elements.
53351 * nscd/nscd.conf: Add entries for netgroup cache.
53352 * nscd/nscd.h (dbtype): Add netgrdb.
53353 (_PATH_NSCD_NETGROUP_DB): Define.
53354 (netgroup_iov_disabled): Declare.
53355 (xmalloc, xcalloc, xrealloc): Move declarations here.
53356 (cache_search): Adjust prototype.
53357 Add netgroup-related prototypes.
53358 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53359 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53360 (__nscd_innetgr): Declare.
53361 * nscd/selinux.c (perms): Use access_vector_t as element type and
53362 add netgroup-related initializers.
53363 * nscd/netgroupcache.c: New file.
53364 * nscd/nscd_netgroup.c: New file.
53365 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53366 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53367 For four parameters use innetgr.
53368 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53369 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53370 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53371 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53372
21fd49a9
UD
53373 * nscd/connections.c (register_traced_file): Don't register file
53374 for disabled databases.
53375
054c0457
UD
533762011-10-06 Ulrich Drepper <drepper@gmail.com>
53377
32b63198
UD
53378 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53379
054c0457
UD
53380 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53381 from tree and freeing node.
53382
64031225
JO
533832011-09-25 Jiri Olsa <jolsa@redhat.com>
53384
53385 * nss/nsswitch.c (__nss_database_lookup): Handle
53386 nss_parse_service_list out of memory case.
53387
0490345c
JO
533882011-09-15 Jiri Olsa <jolsa@redhat.com>
53389
53390 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53391 out of memory case.
53392
3a62d00d
AS
533932011-10-04 Andreas Schwab <schwab@redhat.com>
53394
53395 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53396 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53397 pass it down.
53398 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53399 elf_machine_rela, elf_machine_lazy_rel.
53400 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53401 (ELF_DYNAMIC_DO_REL): Likewise.
53402 (ELF_DYNAMIC_DO_RELA): Likewise.
53403 (ELF_DYNAMIC_RELOCATE): Likewise.
53404 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53405 to ELF_DYNAMIC_DO_REL.
53406 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53407 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53408 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53409 elf_machine_rela.
53410 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53411 skip_ifunc, don't call ifunc function if non-zero.
53412 (elf_machine_rela): Likewise.
53413 (elf_machine_lazy_rel): Likewise.
53414 (elf_machine_lazy_rela): Likewise.
53415 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53416 (elf_machine_lazy_rel): Likewise.
53417 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53418 Likewise.
53419 (elf_machine_lazy_rel): Likewise.
53420 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53421 Likewise.
53422 (elf_machine_lazy_rel): Likewise.
53423 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53424 (elf_machine_lazy_rel): Likewise.
53425 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53426 (elf_machine_lazy_rel): Likewise.
53427 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53428 (elf_machine_lazy_rel): Likewise.
53429 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53430 (elf_machine_lazy_rel): Likewise.
53431 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53432 (elf_machine_lazy_rel): Likewise.
53433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53434 (elf_machine_lazy_rel): Likewise.
53435
68577918
UD
534362011-09-28 Ulrich Drepper <drepper@gmail.com>
53437
53438 * nss/nss_files/files-init.c (_nss_files_init): Use static
53439 initialization for all the *_traced_file variables.
53440
68822d74
AS
534412011-09-28 Andreas Schwab <schwab@redhat.com>
53442
53443 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53444
2056100b
RM
534452011-09-27 Roland McGrath <roland@hack.frob.com>
53446
53447 [BZ #13226]
53448 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53449
32c76b63
AS
534502011-09-27 Andreas Schwab <schwab@redhat.com>
53451
53452 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53453 Reread the line before reparsing it.
53454
bf972c9d
AS
534552011-09-26 Andreas Schwab <schwab@redhat.com>
53456
53457 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53458
e057a1b5
JM
534592011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53460 Maxim Kuvyrkov <maxim@codesourcery.com>
53461 Joseph Myers <joseph@codesourcery.com>
53462
53463 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53464 if needed for __stack_chk_guard.
53465
bc7e1c36
RM
534662011-09-19 Roland McGrath <roland@hack.frob.com>
53467
ecb1482f
RM
53468 * sysdeps/posix/spawni.c (script_execute): Always define it.
53469 It will be optimized away if unused.
53470 (maybe_script_execute): New function.
53471 (__spawni): Call it.
53472
bc7e1c36
RM
53473 * Makerules: Don't include tls.make.
53474 (config-tls): Always set to thread.
53475 * tls.make.c: File removed.
53476
1c3b002b
MF
534772011-09-19 Mike Frysinger <vapier@gentoo.org>
53478
53479 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53480 * config.make.in (CPPFLAGS-config): New substituted variable.
53481
2840865d
UD
534822011-09-15 Ulrich Drepper <drepper@gmail.com>
53483
88738eb6
UD
53484 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53485
cbf645a6 53486 [BZ #13192]
2840865d
UD
53487 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53488 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53489
b402e91a
RM
534902011-09-15 Roland McGrath <roland@hack.frob.com>
53491
53492 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53493 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53494 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53495 (CALL_FAIL): Likewise.
53496 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53497 (CALL_FAIL): Macro removed.
53498 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53499
4c1a1f71
UD
535002011-09-15 Ulrich Drepper <drepper@gmail.com>
53501
53502 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53503 for __FINITE_MATH_ONLY__ == 1.
53504
edc121be
AS
535052011-09-15 Andreas Schwab <schwab@redhat.com>
53506
53507 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53508 __ieee754_sqrt instead of sqrt.
53509 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53510 __ieee754_sqrtf instead of sqrtf.
53511 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53512 __floorf instead of floorf.
53513 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53514 __floorf, __truncf instead of floorf, truncf.
53515
cd205654
UD
535162011-09-14 Ulrich Drepper <drepper@gmail.com>
53517
ee4d0315
UD
53518 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53519
cd205654
UD
53520 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53521 __extern_always_inline.
53522 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53523 32-bit.
53524
48b67d71
AS
535252011-09-14 Andreas Schwab <schwab@redhat.com>
53526
53527 * elf/rtld.c (dl_main): Also relocate in dependency order when
53528 doing symbol dependency testing.
53529
1ae12c75
AS
535302011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53531
53532 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53533 Always define `refsym'.
53534
995a80df
AS
535352011-09-13 Andreas Schwab <schwab@redhat.com>
53536
e529793b
AS
53537 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53538 (__FD_ELT): Renamed from __FDELT.
53539 * misc/bits/select2.h (__FD_ELT): Likewise.
53540 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53541 __FD_MASK instead of __FDELT, __FDMASK.
53542 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53543 Likewise.
53544 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53545 Likewise.
53546
52d4fef8
AS
53547 * elf/Makefile (gen-ldd): Fix pattern.
53548
995a80df
AS
53549 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53550 (init_tls): Likewise.
53551
8682f8b0
UD
535522011-09-12 Ulrich Drepper <drepper@gmail.com>
53553
53554 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53555
de82006d
AS
535562011-09-12 Andreas Schwab <schwab@redhat.com>
53557
a7c8e6a1
AS
53558 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53559 `struct cmsghdr *' instead of `void *'.
53560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53561 Likewise.
53562
0f31fe77
AS
535632011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53564
53565 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53566 if non-absolute.
53567 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53568 ldd_rewrite_script.
0f31fe77 53569
32b4c839
UD
535702011-09-11 Ulrich Drepper <drepper@gmail.com>
53571
83cd1420
UD
53572 * configure.in: Remove --with-tls option.
53573 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53574 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53575 out in case it is missing.
53576 * sysdeps/ia64/elf/configure.in: Likewise.
53577 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53578 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53579 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53580 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53581 * sysdeps/sh/elf/configure.in: Likewise.
53582 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53583 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53584 * sysdeps/x86_64/elf/configure.in: Likewise.
53585 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53586 * sysdeps/mach/hurd/tls.h: Likewise.
53587
633f745d
UD
53588 [BZ #13067]
53589 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53590
f318beb8
UD
53591 [BZ #13090]
53592 * configure.in: Fix use of AC_INIT.
53593
32b4c839
UD
53594 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53595
3ce1f295
UD
535962011-09-10 Ulrich Drepper <drepper@gmail.com>
53597
bb016596
UD
53598 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53599 __set_errno.
8e58439c
UD
53600 * malloc/hooks.c: Likewise.
53601
aebae053 53602 [BZ #11929]
02d46fc4
UD
53603 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53604 variables statically.
53605 (narenas): Initialize.
53606 (list_lock): Initialize.
bb016596
UD
53607 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53608 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
53609 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53610 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53611 Add initializers to main_arena and mp_.
53612 (malloc_state): Remove pagesize member. Change all users to use
53613 GLRO(dl_pagesize).
53614
53615 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53616 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53617 is always initialized.
53618
22a89187
UD
53619 * malloc/malloc.c: Removed unused configurations and dead code.
53620 * malloc/arena.c: Likewise.
53621 * malloc/hooks.c: Likewise.
02d46fc4 53622 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 53623
d063d164
UD
53624 * include/tls.h: Removed. USE___THREAD must always be defined.
53625 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53626 * elf/dl-libc.c: Likewise.
53627 * elf/dl-tsd.c: Likewise.
53628 * include/errno.h: Likewise.
53629 * include/netdb.h: Likewise.
53630 * include/resolv.h: Likewise.
53631 * inet/herrno-loc.c: Likewise.
53632 * inet/herrno.c: Likewise.
53633 * malloc/arena.c: Likewise.
53634 * malloc/hooks.c: Likewise.
53635 * malloc/malloc.c: Likewise.
53636 * resolv/res-state.c: Likewise.
53637 * resolv/res_libc.c: Likewise.
53638 * sysdeps/i386/dl-machine.h: Likewise.
53639 * sysdeps/ia64/dl-machine.h: Likewise.
53640 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53641 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53642 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53643 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53644 * sysdeps/sh/dl-machine.h: Likewise.
53645 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53646 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53647 * sysdeps/unix/i386/sysdep.S: Likewise.
53648 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53649 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53650 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53651 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53652 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53653 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53654 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53655 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53656 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53657 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53658 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53659 * sysdeps/x86_64/dl-machine.h: Likewise.
53660 * tls.make.c: Likewise.
53661
3ce1f295
UD
53662 * configure.in: Remove --with-__thread option. Make tests for
53663 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53664 tls_model attribute fail if no support is available. Remove
53665 USE_IN_LIBIO.
53666 * Makeconfig: Adjust for dropped configure option. All features are
53667 now mandatory.
53668 * Makerules: Likewise.
53669 * Versions.def: Likewise.
53670 * argp/argp-fmtstream.c: Likewise.
53671 * argp/argp-fmtstream.h: Likewise.
53672 * argp/argp-help.c: Likewise.
53673 * assert/assert.c: Likewise.
53674 * config.h.in: Likewise.
53675 * config.make.in: Likewise.
53676 * configure: Likewise.
53677 * configure.in: Likewise.
53678 * csu/Versions: Likewise.
53679 * csu/init.c: Likewise.
53680 * elf/tst-audit2.c: Likewise.
53681 * elf/tst-tls10.c: Likewise.
53682 * elf/tst-tls10.h: Likewise.
53683 * elf/tst-tls11.c: Likewise.
53684 * elf/tst-tls12.c: Likewise.
53685 * elf/tst-tls14.c: Likewise.
53686 * elf/tst-tlsmod11.c: Likewise.
53687 * elf/tst-tlsmod12.c: Likewise.
53688 * elf/tst-tlsmod13.c: Likewise.
53689 * elf/tst-tlsmod13a.c: Likewise.
53690 * elf/tst-tlsmod14a.c: Likewise.
53691 * elf/tst-tlsmod15b.c: Likewise.
53692 * elf/tst-tlsmod16a.c: Likewise.
53693 * elf/tst-tlsmod16b.c: Likewise.
53694 * elf/tst-tlsmod7.c: Likewise.
53695 * elf/tst-tlsmod8.c: Likewise.
53696 * elf/tst-tlsmod9.c: Likewise.
53697 * gmon/gmon.c: Likewise.
53698 * grp/fgetgrent_r.c: Likewise.
53699 * grp/putgrent.c: Likewise.
53700 * hurd/fopenport.c: Likewise.
53701 * include/libc-symbols.h: Likewise.
53702 * include/tls.h: Likewise.
53703 * intl/gettextP.h: Likewise.
53704 * intl/loadinfo.h: Likewise.
53705 * locale/global-locale.c: Likewise.
53706 * locale/localeinfo.h: Likewise.
53707 * mach/devstream.c: Likewise.
53708 * malloc/arena.c: Likewise.
53709 * malloc/set-freeres.c: Likewise.
53710 * misc/err.c: Likewise.
53711 * misc/getttyent.c: Likewise.
53712 * misc/mntent_r.c: Likewise.
53713 * posix/getopt.c: Likewise.
53714 * posix/wordexp.c: Likewise.
53715 * pwd/fgetpwent_r.c: Likewise.
53716 * resolv/Versions: Likewise.
53717 * resolv/res_hconf.c: Likewise.
53718 * shadow/fgetspent_r.c: Likewise.
53719 * shadow/putspent.c: Likewise.
53720 * stdio-common/printf_fphex.c: Likewise.
53721 * stdio-common/tmpfile.c: Likewise.
53722 * stdlib/abort.c: Likewise.
53723 * stdlib/fmtmsg.c: Likewise.
53724 * sunrpc/auth_unix.c: Likewise.
53725 * sunrpc/clnt_perr.c: Likewise.
53726 * sunrpc/clnt_tcp.c: Likewise.
53727 * sunrpc/clnt_udp.c: Likewise.
53728 * sunrpc/clnt_unix.c: Likewise.
53729 * sunrpc/openchild.c: Likewise.
53730 * sunrpc/svc_simple.c: Likewise.
53731 * sunrpc/svc_tcp.c: Likewise.
53732 * sunrpc/svc_udp.c: Likewise.
53733 * sunrpc/svc_unix.c: Likewise.
53734 * sunrpc/xdr.c: Likewise.
53735 * sunrpc/xdr_array.c: Likewise.
53736 * sunrpc/xdr_rec.c: Likewise.
53737 * sunrpc/xdr_ref.c: Likewise.
53738 * sunrpc/xdr_stdio.c: Likewise.
53739
1248c1c4
PB
537402011-09-09 Ulrich Drepper <drepper@gmail.com>
53741
53742 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53743
537442011-07-03 Andreas Jaeger <aj@suse.de>
53745
53746 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53747 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53748 regenerate with gen-libm-tests.pl.
53749
537502010-05-12 Petr Baudis <pasky@suse.cz>
53751
53752 [BZ #11589]
53753 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53754 around j0() zero points by switching to j1().
53755 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53756 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53757 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53758 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53759
f22e1074
UD
537602011-09-09 Ulrich Drepper <drepper@gmail.com>
53761
f19009c1
UD
53762 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53763 instead of 0.
53764 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 53765 instead of 0.
f19009c1
UD
53766 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53767 Patch in part by Pavel Roskin <proski@gnu.org>.
53768
3f8cc204
UD
53769 [BZ #13138]
53770 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53771 realloc.
53772 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53773 Free memory block if necessary.
53774
f22e1074
UD
53775 [BZ #12847]
53776 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53777 be NULL. Don't lock in this case.
53778
0a2349f9
RM
537792011-09-09 Roland McGrath <roland@hack.frob.com>
53780
53781 * elf/elf.h (ELFOSABI_GNU): New macro.
53782 (ELFOSABI_LINUX): Define to that.
53783
f3cdd467
DZ
537842011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53785
53786 * string/strncat.c (strncat): Undef the symbol in case it has been
53787 defined in bits/string.h.
53788
74718d13
UD
537892011-09-09 Ulrich Drepper <drepper@gmail.com>
53790
633e9e0f
UD
53791 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53792
0a2349f9 53793 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
53794 link map.
53795
f9924780
AJ
537962011-08-17 Andreas Jaeger <aj@suse.de>
53797
53798 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53799
7f5517aa
PP
538002011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53801 Ian Lance Taylor <iant@google.com>
53802
53803 * math/libm-test.inc (lround_test): New testcase.
53804 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53805
762011fe
UD
538062011-09-08 Ulrich Drepper <drepper@gmail.com>
53807
92963737
UD
53808 * Makefile: Remove support for automatic cvs check-ins.
53809 * Makerules: Likewise.
53810 * config.make.in: Likewise.
53811 * configure.in: Likewise.
53812 * intl/Makefile: Likewise.
53813 * locale/Makefile: Likewise.
53814 * po/Makefile: Likewise.
53815 * posix/Makefile: Likewise.
53816 * sysdeps/gnu/Makefile: Likewise.
53817 * sysdeps/mach/hurd/Makefile: Likewise.
53818 * sysdeps/sparc/sparc32/Makefile: Likewise.
53819
b0727fd8
JS
53820 [BZ #13118]
53821 * posix/Makefile (bug-regex32-ENV): Define.
53822 Patch by John Stanley <jpsinthemix@verizon.net>.
53823
a0f33f99
UD
53824 * misc/Makefile (headers): Add bits/select2.h.
53825 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53826 * misc/bits/select2.h: New file.
53827 * include/bits/select2.h: New file.
53828 * debug/Makefile (routines): Add fdelt_chk.
53829 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53830 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53831 FD_ISSET.
53832 * debug/fdelt_chk.c: New file.
53833
762011fe
UD
53834 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53835 * wcsmbs/test-wmemcmp.c: Likewise.
53836 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53837 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53838
538392011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53840
53841 * string/Makefile (strop-tests): Add memcmp.
53842 * string/test-wmemcmp.c: New file.
53843 * string/test-memcmp.c: Add wmemcmp support.
53844
7f513ec8
RM
538452011-09-08 Roland McGrath <roland@hack.frob.com>
53846
0442afb4
RM
53847 [BZ #13153]
53848 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53849 2011-07-19 change.
53850
7f513ec8
RM
53851 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53852 garbage value in a __mach_port_mod_refs call in the cases of the
53853 task-self and thread-self ports.
53854
a12b2239
ST
538552011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53856
53857 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53858
610f9ab4
AS
538592011-09-08 Andreas Schwab <schwab@redhat.com>
53860
7f513ec8 53861 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53862
48882a1a
LD
538632011-09-07 Ulrich Drepper <drepper@gmail.com>
53864
b49865be
UD
53865 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53866
fdc86bc9
UD
53867 * elf/dl-libc.c (dlerror_run): Pass back error code from
53868 dl_catch_error.
53869
c966526a
UD
53870 [BZ #13123]
53871 * elf/dl-load.c (lose): Free l_origin if it is valid.
53872
48882a1a
LD
53873 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53874 names.
53875 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53876 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53877 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53878 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53879 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53880 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53881
77a2a8b4
AZ
538822011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53883
53884 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53885 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53886 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53887 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53888 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53889 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53890 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53891 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53892 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53893 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53894
24f579d8
AM
538952011-08-15 Alan Modra <amodra@gmail.com>
53896
53897 [BZ #13092]
53898 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53899 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53900 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53901 ppc_mcount to static-only-routines.
53902 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53903 __mcount_internal.
53904 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53905 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53906
3d4837df
UD
539072011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53908
53909 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53910 for finite and infinity parameters.
53911
22700377
WS
539122011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53913
53914 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53915 and add nop instructions for throughput optimization.
53916 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53917
5025581e
WS
539182011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53919
53920 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53921 aligned copy for power7 with vector-scalar instructions.
53922 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53923
08a300c9
L
539242011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53925
53926 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53927 AVX check.
53928
59178ef9
AS
539292011-09-07 Andreas Schwab <schwab@redhat.com>
53930
53931 [BZ #13144]
53932 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53933 last change.
53934
e38ba7ab
UD
539352011-09-07 Ulrich Drepper <drepper@gmail.com>
53936
53937 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53938 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53939 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53940 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53941 clock_gettime.
53942
d53a73ac
UD
539432011-09-06 Ulrich Drepper <drepper@gmail.com>
53944
fc8bffcc
UD
53945 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53946 Forgot to demangle the pointer.
53947
ceaa0c5d
UD
53948 * sysdeps/i386/sysdep.h: Define atom_text_section.
53949 * sysdeps/x86_64/sysdep.h: Likewise.
53950 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53951 section with atom_text_section.
53952 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53953 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53954 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53955 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53956 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53957
a77d3c17
UD
53958 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53959 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53960 already be defined. Change to take two parameters and don't assign
53961 result to variable. Adjust all users.
53962 Define INTERNAL_GETTIME if not already defined.
53963 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53964 call.
53965 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53966 HAVE_CLOCK_GETTIME_VSYSCALL.
53967 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53968
d53a73ac
UD
53969 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53970 gettimeofday vsyscall, just use time.
53971
a8f84144
AS
539722011-09-06 Andreas Schwab <schwab@redhat.com>
53973
53974 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53975 <errno.h>.
53976
ef606249
UD
539772011-09-06 Ulrich Drepper <drepper@gmail.com>
53978
53979 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53980 syscall on x86-64.
53981 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53982 syscall.
53983 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53984 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53985 syscall if possible.
53986
6585cb60
UD
539872011-09-05 Ulrich Drepper <drepper@gmail.com>
53988
53989 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53990 e_ident. Don't pass to find_mapsXX.
53991 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53992
a5f524e4
LD
539932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53994
53995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53996 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53997 * sysdeps/x86_64/multiarch/strchr.S: Update.
53998 Check bit_slow_BSF bit.
53999 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54000 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54001 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54002
554881ef
UD
540032011-09-05 Ulrich Drepper <drepper@gmail.com>
54004
d96de963
UD
54005 [BZ #13134]
54006 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54007 before glibc 2.15.
54008 (tryshell): Define.
54009 (__spawni): Change last parameter to be flag. Test
54010 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54011 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54012 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54013 * posix/spawni.c: Likewise.
54014 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54015 * posix/spawnp.c: Likewise. Change normal version to use
54016 SPAWN_XFLAGS_USE_PATH.
54017 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54018 SPAWN_XFLAGS_TRY_SHELL.
54019
d48e5868
UD
54020 [BZ #13150]
54021 * posix/glob.h: Remove gcc 1.x support.
54022
554881ef
UD
54023 [BZ #13068]
54024 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54025
693fb948
LD
540262011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54027
54028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54029 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54030 strrchr-sse2-bsf
54031 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54032 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54033 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54034 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54035 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54036 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54037
1b48c537
UD
540382011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54039
49d42c37
UD
54040 * sysdeps/x86_64/wcscmp.S: New file.
54041
1b48c537
UD
54042 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54043 wcscmp-c wcscmp-sse2
54044 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54045 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54046 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54047 * wcsmbs/wcscmp.c: Allow renaming.
54048
15c95c5d
DM
540492011-09-05 David S. Miller <davem@davemloft.net>
54050
54051 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54052 stack slot, rather than the struct return pointer slot.
54053 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54054 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54056 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54057
2f0ad8f3
UD
540582011-09-05 Ulrich Drepper <drepper@gmail.com>
54059
d88ae418
UD
54060 * po/ja.po: Update from translation team.
54061
2f0ad8f3
UD
54062 [BZ #13144]
54063 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54064 kernel in 64-bit binaries.
54065
5f4318d1
DM
540662011-09-01 David S. Miller <davem@davemloft.net>
54067
54068 * elf/elf.h (HWCAP_SPARC_*): Move to..
54069 * sysdeps/sparc/sysdep.h: this new file and add new values.
54070 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54071 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54072 _DL_HWCAP_COUNT to 24.
54073 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54074 entries.
54075 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54076 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54077 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54078 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54079 instead of magic constants.
54080 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54081
3ba57516
DM
540822011-08-31 David S. Miller <davem@davemloft.net>
54083
54084 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54085 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54086 Reimplement to do errno handling inline.
54087 (SYSCALL_ERROR_HANDLER): New macro.
54088 (__SYSCALL_STRING): Do not do errno handling in asm.
54089 (__CLONE_SYSCALL_STRING): Delete.
54090 (__INTERNAL_SYSCALL_STRING): Delete.
54091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54092 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54093 (PSEUDO): Reimplement to do errno handling inline.
54094 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54095 (SYSCALL_ERROR_HANDLER): New macro.
54096 (__SYSCALL_STRING): Do not do errno handling in asm.
54097 (__CLONE_SYSCALL_STRING): Delete.
54098 (__INTERNAL_SYSCALL_STRING): Delete.
54099 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54100 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54101 i386.
54102 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54103 (inline_syscall*): Add 'err' argument.
54104 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54105 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54106 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54107 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54108
54109 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54110 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54111
2bc17433
AS
541122011-08-30 Andreas Schwab <schwab@redhat.com>
54113
54114 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54115
fbeb5f4d
JO
541162011-08-29 Jiri Olsa <jolsa@redhat.com>
54117
54118 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54119 directive.
54120
ad69cc26
DM
541212011-08-24 David S. Miller <davem@davemloft.net>
54122
54123 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54124
39dd69df
AS
541252011-08-24 Andreas Schwab <schwab@redhat.com>
54126
54127 * elf/Makefile: Add rules to build and run unload8 test.
54128 * elf/unload8.c: New file.
54129 * elf/unload8mod1.c: New file.
54130 * elf/unload8mod1x.c: New file.
54131 * elf/unload8mod2.c: New file.
54132 * elf/unload8mod3.c: New file.
54133
54134 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54135 it wasn't used.
54136
2c0b250a
DM
541372011-08-23 David S. Miller <davem@davemloft.net>
54138
54139 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54140 subtract stack bias.
54141 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54142 %sp not %fp in calculations.
54143 (_JMPBUF_UNWINDS_ADJ): Likewise.
54144
22044b48
DM
54145 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54146 (aio_suspend): Call it to force an exception region around the
54147 AIO_MISC_WAIT() invocation.
54148
2cae4995
AS
541492011-08-23 Andreas Schwab <schwab@redhat.com>
54150
54151 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54152 backslash.
54153
873a772e
AJ
541542011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54155
54156 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54157 protection macro.
54158 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54159 and <dl-machine.h>.
54160 (Elf64_FuncDesc): Remove.
54161
25ad0df1
DM
541622011-08-22 David S. Miller <davem@davemloft.net>
54163
54164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54165 sigaltstack check, add missing cfi directives.
54166 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54167 missing cfi directives, and sigaltstack handling.
54168
e888bcbe
AS
541692011-08-16 Andreas Schwab <schwab@redhat.com>
54170
54171 [BZ #11724]
54172 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54173 object is seen twice.
54174 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54175
54176 * elf/Makefile (distribute): Add tst-initorder2.c.
54177 (tests): Add tst-initorder2.
54178 (modules-names): Add tst-initorder2a tst-initorder2b
54179 tst-initorder2c tst-initorder2d. Add rules to build them.
54180 ($(objpfx)tst-initorder2.out): New rule.
54181 * elf/tst-initorder2.c: New file.
54182 * elf/tst-initorder2.exp: New file.
54183
87162f46
AS
541842011-08-22 Andreas Schwab <schwab@redhat.com>
54185
70538b7f
AS
54186 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54187
f55ffe58
AS
54188 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54189 dependencies back to end of function.
54190
87162f46
AS
54191 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54192 $(elfobjdir)/ld.so.
54193
91b392a4
UD
541942011-08-21 Ulrich Drepper <drepper@gmail.com>
54195
54196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54197 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54198 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54199 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54200 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54201 of __vdso_gettimeofday.
54202 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54203 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54204 attribute_hidden.
54205 (_libc_vdso_platform_setup): Remove initialization of
54206 __vdso_gettimeofday and __vdso_time.
54207
5c43483f
UD
542082011-08-20 Ulrich Drepper <drepper@gmail.com>
54209
775a77e7
UD
54210 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54211 and fgetc_unlocked.
54212 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54213 getc_unlocked.
89f447ed 54214
49c74ba9
UD
54215 * elf/dl-open.c (add_to_global): Report additions to the global scope
54216 for LD_DEBUG=scopes.
54217 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 54218 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 54219
5c43483f
UD
54220 [BZ #13114]
54221 * stdio-common/Makefile (tests): Add bug24.
54222 * stdio-common/bug24.c: New file.
54223
a101b025
AJ
542242011-08-19 Andreas Jaeger <aj@suse.de>
54225
54226 [BZ #13114]
54227 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54228 non-existant file when using close-on-exec mode.
54229
c88f1766
UD
542302011-08-20 Ulrich Drepper <drepper@gmail.com>
54231
0276a718
UD
54232 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54233 the very first instruction.
54234
c88f1766
UD
54235 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54236 the CFI state in the end.
54237 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54238 inclusion of dl-trampoline.h.
54239 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54240
51ccffa0
AS
542412011-08-19 Andreas Schwab <schwab@redhat.com>
54242
94d7165f
AS
54243 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54244 expectations for long double.
54245
51ccffa0
AS
54246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54247 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54248
fd708658 542492011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54250
54251 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54252 artificual limit depends upon the system page size.
54253
44f0a71e
UD
542542011-08-17 Ulrich Drepper <drepper@gmail.com>
54255
54256 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54257 * resolv/Makefile: Define CFLAGS-libresolv.
54258
8de79a24
AS
542592011-08-17 Andreas Schwab <schwab@redhat.com>
54260
54261 * nss/makedb.c (compute_tables): Make variables used in nested
54262 function static.
54263
27724598
UD
542642011-08-17 Ulrich Drepper <drepper@gmail.com>
54265
c5305d88
UD
54266 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54267 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54268 if buffer was too small.
54269
27724598
UD
54270 * elf/pldd.c (main): Attach to all threads in the process.
54271 Rewrite /proc handling to use *at functions.
54272
076fe015
UD
542732011-08-16 Ulrich Drepper <drepper@gmail.com>
54274
174baab3
UD
54275 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54276 specifies first scope to show.
54277 (dl_open_worker): Update callers. Move printing scope of new
54278 object to before the relocation.
44f0a71e 54279 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
54280 * sysdeps/generic/ldsodefs.h: Update declaration.
54281
076fe015
UD
54282 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54283 string for the scope number.
54284
a60df2c3
UD
542852011-08-14 Ulrich Drepper <drepper@gmail.com>
54286
54287 * nscd/servicescache.c (cache_addserv): Make sure written is always
54288 initialized.
54289
5e4287d1
RM
542902011-08-14 Roland McGrath <roland@hack.frob.com>
54291
85ae0589
RM
54292 * sysdeps/i386/i486/bits/atomic.h
54293 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54294 statement expression, so as to suppress "set but not used" warning.
54295 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54296
69f63097
RM
54297 * string/strncat.c (STRNCAT): Use prototype definition.
54298
675456ef
RM
54299 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54300 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54301 -Iprograms here.
54302 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54303 (localedef-modules): Add localedef.
54304 (locale-modules): Add locale.
54305
5e4287d1
RM
54306 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54307 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54308 to avoid a warning.
54309
9c96ff23
DM
543102011-08-14 David S. Miller <davem@davemloft.net>
54311
54312 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54313 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54314
f9ddf089
UD
543152011-08-13 Ulrich Drepper <drepper@gmail.com>
54316
44f0a71e 54317 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54318 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54319 * elf/rtld.c (dl_main): Set l_name of vDSO.
54320 Call _dl_show_scope when DL_DEBUG_SCOPES.
54321 (process_dl_debug): Recognize scopes flag and also set it for all.
54322 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54323 Declare _dl_show_scope.
54324
1dc27704
UD
54325 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54326 (do_dlopen): Pass caller_dlopen to dl_open.
54327 (__libc_dlopen_mode): Initialize caller_dlopen.
54328
f9ddf089
UD
54329 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54330 of libc. Make tolower call locale-independent. Optimize a bit by
54331 using isdigit instead of isalnum.
54332 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54333
9ac533d3
UD
543342011-08-12 Ulrich Drepper <drepper@gmail.com>
54335
54336 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54337 was a dependency or dynamically loaded.
54338
89edf2e9
UD
543392011-08-11 Ulrich Drepper <drepper@gmail.com>
54340
8e999d29
UD
54341 * intl/l10nflist.c: Allow architecture-specific pop function.
54342 * sysdeps/x86_64/l10nflist.c: New file.
54343
89edf2e9
UD
54344 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54345 classification.
54346
14d96785
AS
543472011-08-10 Andreas Schwab <schwab@redhat.com>
54348
54349 * include/dirent.h: Add libc_hidden_proto for scandirat and
54350 scandirat64. Don't declare __scandirat64.
54351 * dirent/scandirat.c: Add libc_hidden_def.
54352 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54353 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54354
6761ac04
DM
543552011-08-10 David S. Miller <davem@davemloft.net>
54356
54357 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54358 enum.
54359 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54360 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54361 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54362
c55fbd1e
UD
543632011-08-09 Ulrich Drepper <drepper@gmail.com>
54364
54365 * Versions.def [libc]: Add GLIBC_2.15.
54366 * dirent/Makefile (routines): Add scandirat and scandirat64.
54367 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54368 GLIBC_2.15.
54369 * dirent/dirent.h: Declare scandirat and scandirat64.
54370 * dirent/scandirat.c: New file.
54371 * dirent/scandirat64.c: New file.
54372 * sysdeps/wordsize-64/scandirat.c: New file.
54373 * sysdeps/wordsize-64/scandirat64.c: New file.
54374 * dirent/opendir.c: Define opendirat.
54375 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54376 using scandirat.
54377 * dirent/scandir64.c: Adjust for scandir.c change.
54378 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54379 __scandirat64, and __scandir_cancel_handler.
54380 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54381 additional parameter and use openat instead of open (outside of ld.so).
54382 Add new __opendir as wrapper around __opendirat.
54383 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54384 here without requiring old scandirat implementation.
54385
879165f2
UD
543862011-08-08 Ulrich Drepper <drepper@gmail.com>
54387
54388 * dirent/scandir.c (cancel_handler): Renamed to
54389 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54390 defined. Adjust users.
54391 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54392 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54393
cb7e923b
UD
543942011-08-04 Ulrich Drepper <drepper@gmail.com>
54395
16292edd
UD
54396 * string/test-string.h (IMPL): Use __STRING to expand name and then
54397 stringify it.
54398
cb7e923b
UD
54399 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54400 of cleanups.
54401
cff82933
LD
544022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54403
54404 * string/Makefile: Update.
54405 (strop-tests): Append strncat.
54406 * string/test-wcscmp.c: New file.
54407 New comprehensive test for wcscmp.
54408 * string/test-strcmp.c: Update.
54409 (WIDE): New define.
54410
9be9bfcc
AS
544112011-07-22 Andreas Schwab <schwab@redhat.com>
54412
54413 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54414 line.
54415
2e96f1c7
AS
544162011-07-26 Andreas Schwab <schwab@redhat.com>
54417
54418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54419 encoding to ACE if AI_IDN.
54420
85188888
JJ
544212011-08-01 Jakub Jelinek <jakub@redhat.com>
54422
54423 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54424 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54425
5fa16e9b
LD
544262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54427
54428 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54429 Fix overflow bug in strncat.
54430 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54431
54432 * string/test-strncat.c: Update.
54433 Add new tests for checking overflow bugs.
54434
544352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54436
54437 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54438 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54439 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54440 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54441 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54442 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54443 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54444 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54445 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54446
54447 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54448 (USE_AS_STRCAT): Define.
54449 Add strcat and strncat support.
54450 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54451
8c1a459f
AS
544522011-07-25 Andreas Schwab <schwab@redhat.com>
54453
54454 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54455 __n bigger than INT_MAX+1.
54456 (__strncmp_g): Likewise.
54457
bba33c28
UD
544582011-07-23 Ulrich Drepper <drepper@gmail.com>
54459
798be72d
UD
54460 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54461 * libio/stido.h: Likewise.
54462
8accd4dc
UD
54463 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54464 (AF_NFC): Define.
54465 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54466 (AF_NFC): Define.
54467
cbff0d96
UD
54468 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54469 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54470 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54471 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54472 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54473
9191c04a
UD
54474 [BZ #13021]
54475 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54476 installed.
54477
bba33c28
UD
54478 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54479 typo.
54480 (_dl_x86_64_save_sse): Likewise.
54481
90f139dd
UD
544822011-07-22 Ulrich Drepper <drepper@gmail.com>
54483
1aae088a
UD
54484 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54485 OSXSAVE.
54486 (_dl_x86_64_save_sse): Likewise.
54487
8e2045f5
UD
54488 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54489
90f139dd
UD
54490 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54491
1d002f25
AS
544922011-07-21 Andreas Schwab <schwab@redhat.com>
54493
54494 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54495 change.
54496 (_dl_x86_64_save_sse): Use correct AVX check.
54497
21137f89
UD
544982011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54499
54500 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54501 bug in strncpy/strncat.
54502 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54503
a65c0b7a
UD
545042011-07-21 Ulrich Drepper <drepper@gmail.com>
54505
54506 * string/tester.c (test_strcat): Add tests for different alignments
54507 of source and destination.
54508 (test_strncat): Likewise.
54509
6986b98a
UD
545102011-07-20 Ulrich Drepper <drepper@gmail.com>
54511
90bb2039
UD
54512 [BZ #12852]
54513 * posix/glob.c (glob): Check passed in values before using them in
54514 expressions to avoid some overflows.
54515 (glob_in_dir): Likewise.
54516
5644ef54
UD
54517 [BZ #13007]
54518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54519 check for AVX enablement so that we don't crash with old kernels and
54520 new hardware.
54521 * elf/tst-audit4.c: Add same checks here.
54522 * elf/tst-audit6.c: Likewise.
54523
54524 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 54525
bfc9dc9b
AS
545262011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54527
54528 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54529
702e64bb
UD
545302011-07-20 Ulrich Drepper <drepper@gmail.com>
54531
54532 * po/cs.po: Update from translation team.
54533 * po/bg.po: Likewise.
54534
295e904f
MP
545352011-07-12 Marek Polacek <mpolacek@redhat.com>
54536
54537 * misc/sys/cdefs.h: Add support for const attribute.
54538 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54539 to gnu_dev_{major,minor,makedev} functions.
54540
3ff94596
MP
545412011-07-20 Marek Polacek <mpolacek@redhat.com>
54542
54543 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54544
28b59fca
AS
545452011-07-20 Andreas Schwab <schwab@redhat.com>
54546
54547 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54548 strlen results.
54549
19df733e
AK
545502011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54551
54552 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54553 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54554 register in order to avoid conflicts with the soft frame pointer
54555 being held in r11 when necessary.
54556 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54557 (INTERNAL_VSYSCALL_NCS): Likewise.
54558
c8835729
MP
545592011-07-14 Marek Polacek <mpolacek@redhat.com>
54560
54561 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54562 * elf/dl-fini.c (_dl_fini): Adjust caller.
54563 * elf/dl-close.c (_dl_close_worker): Likewise.
54564 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54565
b902330c
MP
545662011-07-15 Marek Polacek <mpolacek@redhat.com>
54567
8991e135
MP
54568 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54569 "aux_cache->nlibs < 0".
54570
b902330c
MP
54571 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54572 in the reload-count case.
54573
99710781
LD
545742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54575
54576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54577 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54578 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54579 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54580 * sysdeps/x86_64/multiarch/strcat.S: New file.
54581 * sysdeps/x86_64/multiarch/strncat.S: New file.
54582 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54583 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54584 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54585 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54586 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54587 (USE_AS_STRCAT): Define.
54588 Add strcat and strncat support.
54589 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54590 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54591 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54592 * string/strncat.c: Update.
54593 (USE_AS_STRNCAT): Define.
54594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54595 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54596 and i7.
54597 * sysdeps/x86_64/multiarch/init-arch.h
54598 (bit_Prefer_PMINUB_for_stringop): New.
54599 (index_Prefer_PMINUB_for_stringop): Likewise.
54600 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54601 bit_Prefer_PMINUB_for_stringop.
54602
7dc6bd90
UD
546032011-07-19 Ulrich Drepper <drepper@gmail.com>
54604
54605 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54606 buffer64.
54607 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54608 of casting of buffer.
54609 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54610 buffer32 and buffer64.
54611 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54612 writes instead of casting of buffer.
54613 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54614 buffer32.
54615 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54616 casting of buffer.
54617
e0e72284
AS
546182011-07-19 Andreas Schwab <schwab@redhat.com>
54619
54620 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54621
feb1eb0b
UD
546222011-07-19 Ulrich Drepper <drepper@gmail.com>
54623
54624 * nscd/nscd.c (termination_handler): Don't do anything for a database
54625 if it has not yet been initialized.
54626
298711ff
UD
546272011-07-18 Ulrich Drepper <drepper@gmail.com>
54628
54629 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54630
546312011-07-15 Marek Polacek <mpolacek@redhat.com>
54632
54633 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54634
f9d68389
UD
546352011-07-18 Ulrich Drepper <drepper@gmail.com>
54636
54637 * po/nl.po: Update from translation team.
54638 * po/sv.po: Likewise.
54639
db290cf5
RM
546402011-07-16 Roland McGrath <roland@hack.frob.com>
54641
54642 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54643 now disallowed by GCC.
5c550700 54644
fd5e21c7
RM
54645 * configure.in (use-default-link): Default to yes if a test -shared
54646 link meets our qualifications.
54647 * configure: Regenerated.
54648
5c550700
RM
54649 * config.make.in (output-format): New variable.
54650 * configure.in: Check for ld --print-output-format support.
54651 * configure: Regenerated.
54652 * Makerules ($(common-objpfx)format.lds)
54653 [$(output-format) != unknown]: Just use $(output-format),
54654 instead of the linker-script munging.
54655
9fa2c032
RM
546562011-07-14 Roland McGrath <roland@hack.frob.com>
54657
a6928d51
RM
54658 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54659 of $(common-objpfx)shlib.lds.
54660 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54661
661607b3
RM
54662 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54663 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54664
9fa2c032
RM
54665 * configure.in (-z relro check): Adjust test code to add a large
54666 writable data section after it.
54667 * configure: Regenerated.
54668
defe9061
RM
546692011-07-11 Roland McGrath <roland@hack.frob.com>
54670
54671 * configure.in (-z relro check): Fix test code to make the variable
54672 truly const.
54673 * configure: Regenerated.
54674
319b9ad4
UD
546752011-07-11 Ulrich Drepper <drepper@gmail.com>
54676
54677 * nscd/nscd.h (struct traced_file): Define.
54678 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54679 elements. Add traced_files.
54680 (inotify_fd): Declare.
54681 (register_traced_file): Declare.
54682 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54683 (inotify_fd): Export.
54684 (resolv_conf_descr): Remove.
54685 (nscd_init): Move inotify descriptor creation to main.
54686 Don't register files for notification here.
54687 (register_traced_file): New function.
54688 (invalidate_cache): Don't use reset_res to determine whether to call
54689 res_init, go through the list of registered files.
54690 (main_loop_poll): The inotify descriptors are now stored in the
54691 structures for the traced files.
54692 (main_loop_epoll): Likewise
54693 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54694 to __nss_disable_nscd.
54695 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54696 for a database anymore. Check the records for all the registered
54697 files instead.
54698 * nss/Makefile (libnss_files-routines): Add files-init.
54699 (libnss_db-routines): Add db-init.
54700 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54701 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54702 * nss/nss_db/db-init.c: New file.
54703 * nss/nss_files/files-init.c: New file.
54704 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54705 __nss_lookup_function.
54706 (__nss_lookup_function): Call nss_load_library.
54707 (nss_load_all_libraries): New function.
54708 (__nss_disable_nscd): Take parameter with callback function for files
54709 to register. Set is_nscd. Load all the DSOs for the NSS modules
54710 used for the cached services.
54711 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54712 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54713 options for features to all the files in nscd.
54714
54715 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54716
23bee3e8
RM
547172011-07-10 Roland McGrath <roland@hack.frob.com>
54718
54719 * csu/elf-init.c (__libc_csu_init): Comment typo.
54720
46a5b7f0
UD
547212011-07-09 Ulrich Drepper <drepper@gmail.com>
54722
54723 * po/pl.po: Update from translation team.
54724 * po/ja.po: Likewise.
54725 * po/ru.po: Likewise.
54726 * po/ko.po: Likewise.
54727 * po/fr.po: Likewise.
54728
d30cf5bb
RM
547292011-07-09 Roland McGrath <roland@hack.frob.com>
54730
113ddea4
RM
54731 * configure.in (.ctors/.dtors header and trailer check):
54732 Use an empirical test on a built program.
54733 * configure: Regenerated.
54734
574920b4
RM
54735 * configure.in (-z relro check): Use an empirical test on a built DSO.
54736 Detect, but do not require, on ia64.
54737 * configure: Regenerated.
54738
d30cf5bb
RM
54739 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54740 Update tests that use readelf to use $READELF instead.
54741 * configure: Regenerated.
54742
8538fdb3
UD
547432011-07-08 Ulrich Drepper <drepper@gmail.com>
54744
54745 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54746 if the result is not used.
54747
04d08991
AJ
547482011-07-05 Andreas Jaeger <aj@suse.de>
54749
54750 [BZ#9696]
54751 * stdlib/tst-strtod.c: Add testcase.
54752
de283087
AD
547532011-07-07 Ulrich Drepper <drepper@gmail.com>
54754
4e5f31c8 54755 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 54756 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
54757 The latter has a higher limit. Take additional parameter to pass to
54758 the new function.
54759 (__pathconf): Pass file to __statfs_link_max.
54760 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54761 __statfs_link_max.
54762 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54763 __statfs_link_max.
54764
de283087
AD
54765 [BZ #12868]
54766 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54767 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54768 Handle Lustre.
54769 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54770 (__statfs_filesize_max): Likewise.
54771 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54772
c75fa153
AJ
547732011-07-05 Andreas Jaeger <aj@suse.de>
54774
54775 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54776
1a544854
UD
547772011-07-06 Marek Polacek <mpolacek@redhat.com>
54778
54779 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54780 `status' variable.
54781 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54782 Likewise.
54783
6f0eec67
UD
547842011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54785
54786 * Makefile (strop-tests): Add strncat.
54787 * string/test-strncat.c: New file.
54788
aae30307
UD
547892011-06-30 Marek Polacek <mpolacek@redhat.com>
54790
54791 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54792
c0cfb5eb
UD
547932011-06-21 Andreas Jaeger <aj@suse.de>
54794
54795 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54796 Copy rule from iconvdata/Makefile.
54797
01636b21
UD
547982011-07-06 Ulrich Drepper <drepper@gmail.com>
54799
54800 [BZ #12922]
54801 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54802 but no long options are defined, just return 'W'.
54803
9895c8bc
UD
548042011-06-22 Marek Polacek <mpolacek@redhat.com>
54805
54806 [BZ #9696]
54807 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54808
5d4cf042
UD
548092011-07-06 Ulrich Drepper <drepper@gmail.com>
54810
54811 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54812 netgroups to read.
960e5535 54813 (innetgr): Likewise.
5d4cf042 54814
751eb97e
RM
548152011-07-05 Roland McGrath <roland@hack.frob.com>
54816
54817 * config.make.in (install_root): Default to $(DESTDIR).
54818
f15f1e45
UD
548192011-07-05 Ulrich Drepper <drepper@gmail.com>
54820
54821 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54822
4e34ac6a
RM
548232011-07-02 Roland McGrath <roland@hack.frob.com>
54824
5e9b6af4
RM
54825 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54826
84f9ea0f
RM
54827 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54828 containing directory rather than embedding absolute directory names.
54829
ea5ee9f7
RM
54830 * scripts/check-local-headers.sh: Rewritten using awk.
54831 Match by word, not by line. Print error messages for matches.
54832 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54833
1b74661a
RM
54834 * Makerules [shlib-lds-flags empty]:
54835 ($(common-objpfx)libc_pic.opts): New target.
54836 ($(common-objpfx)libc_pic.os.clean): New target.
54837 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54838
54839 * config.make.in (OBJCOPY): New variable.
54840 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54841 * configure: Regenerated.
54842
f781ef40
RM
54843 * config.make.in (use-default-link): New variable.
54844 * configure.in (use_default_link): Grok --with-default-link to set it.
54845 * configure: Regenerated.
54846 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54847 (shlib-lds, shlib-lds-flags): Define to empty.
54848
2d4fa81e
RM
54849 * Makerules (shlib-lds): New variable.
54850 (shlib-lds-flags): New variable.
54851 (build-shlib, build-moduile, build-module-asneeded): Use it.
54852 ($(common-objpfx)libc.so): Use $(shlib-lds).
54853 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54854 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54855
31fffa6b
RM
54856 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54857 DT_FLAGS/DT_FLAGS_1 with zero flags.
54858
4e34ac6a
RM
54859 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54860 linker script munging.
54861
fcfc776b
UD
548622011-07-02 Ulrich Drepper <drepper@gmail.com>
54863
54864 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54865 as 128-bit value.
54866 * crypt/sha512.c (sha512_process_block): Perform total addition using
54867 128-bit if possible.
54868 (__sha512_finish_ctx): Likewise.
54869 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54870 as 64-bit value.
54871 * crypt/sha256.c (SWAP64): Define.
54872 (sha256_process_block): Perform total addition using 64-bit if
54873 possible.
54874 (__sha256_finish_ctx): Likewise.
54875
99231d9a
UD
548762011-07-01 Ulrich Drepper <drepper@gmail.com>
54877
54878 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54879 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54880 * nscd/hstcache.c (cache_addhst): Likewise.
54881 * nscd/grpcache.c (cache_addgr): Likewise.
54882 * nscd/aicache.c (addhstaiX): Likewise
54883 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54884
445b4a53
TK
548852011-07-01 Thorsten Kukuk <kukuk@suse.de>
54886
54887 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54888 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54889 * nscd/hstcache.c (cache_addhst): Likewise.
54890 * nscd/grpcache.c (cache_addgr): Likewise.
54891 * nscd/aicache.c (addhstaiX): Likewise
54892
6d4d8e8e
AS
548932011-07-01 Andreas Schwab <schwab@redhat.com>
54894
54895 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54896 domain only when needed.
54897
89f654c5
AS
548982011-06-30 Andreas Schwab <schwab@redhat.com>
54899
54900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54901 is always restored.
54902
cf3b23ff
UD
549032011-06-29 Ulrich Drepper <drepper@gmail.com>
54904
54905 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54906 are re-adding the entry.
54907 * nscd/servicescache.c (cache_addserv): Likewise.
54908
751626f9
AJ
549092011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54910
54911 * sysdeps/generic/dl-irel.h: fix protection against multiple
54912 inclusions.
54913 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54914
9113ea1f
UD
549152011-06-28 Ulrich Drepper <drepper@gmail.com>
54916
5c0b8d90
UD
54917 [BZ #12935]
54918 * malloc/memusage.sh: Fix quoting in message.
54919 * debug/xtrace.sh: Likewise.
54920
9113ea1f
UD
54921 * configure.in: Remove support for --experimental-malloc option, make
54922 it the default.
54923 * config.make.in: Likewise.
54924 * malloc/Makefile: Likewise.
54925
a4172181
AS
549262011-06-27 Andreas Schwab <schwab@redhat.com>
54927
54928 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54929 two-byte characters.
54930
78a7eee7
RM
549312011-06-27 Roland McGrath <roland@hack.frob.com>
54932
62bede13
RM
54933 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54934 AC_CACHE_CHECK invocation.
54935 * configure: Regenerated.
54936
78a7eee7
RM
54937 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54938
5ce33a62
UD
549392011-06-27 Ulrich Drepper <drepper@gmail.com>
54940
034807a9
UD
54941 [BZ #12350]
54942 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54943 bit from old_res_options.
54944
4902da17
UD
54945 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54946
5ce33a62
UD
54947 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54948 value type for setfct.
54949
c2344f56
L
549502011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54951
54952 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54953 __gettimeofday instead of gettimeofday.
54954
68468076
UD
549552011-06-26 Ulrich Drepper <drepper@gmail.com>
54956
54957 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54958
acb0d739
L
549592011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54960
54961 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54962
54963 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54964 info.
54965
8912479f
L
549662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54967
54968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54969 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54970 strcpy-sse2-unaligned strncpy-sse2-unaligned
54971 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54972 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54973 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54974 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54975 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54976 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54977 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54978 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54979 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54980 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54981 (STRCPY): Support SSE2 and SSSE3 versions.
54982
d5495a11
UD
549832011-06-24 Ulrich Drepper <drepper@gmail.com>
54984
54985 [BZ #12874]
54986 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54987 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54988 kernels which artificially limit size of requests.
54989
0b1cbaae
L
549902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54991
54992 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54993 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54994 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54995 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54996 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54997 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54998 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54999 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55000 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55001 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55002 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55003 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55004 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55005 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55006 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55008 Enable unaligned load optimization for Intel Core i3, i5 and i7
55009 processors.
55010 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55011 Define.
55012 (index_Fast_Unaligned_Load): Define.
55013 (HAS_FAST_UNALIGNED_LOAD): Define.
55014
07f494a0
MP
550152011-06-23 Marek Polacek <mpolacek@redhat.com>
55016
55017 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55018
fa3fc0fe
UD
550192011-06-22 Ulrich Drepper <drepper@gmail.com>
55020
55021 [BZ #12907]
55022 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55023 until it is clear that the information is realy needed.
55024 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55025
e12df166
AS
550262011-06-22 Andreas Schwab <schwab@redhat.com>
55027
55028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55029
852eb34d
UD
550302011-06-22 Ulrich Drepper <drepper@gmail.com>
55031
84e2a551
UD
55032 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55033 /sys/devices/system/cpu/online if it is usable.
55034
852eb34d
UD
55035 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55036 reading the information from the /proc filesystem to once a second.
55037
6e502e19
UD
550382011-06-21 Andreas Jaeger <aj@suse.de>
55039
55040 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55041 NULL after inclusion of kernel headers.
55042
75d39ff2
UD
550432011-06-21 Ulrich Drepper <drepper@gmail.com>
55044
51f9aa6a
UD
55045 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55046 calls to internal_setent.
55047
c0244a9d
UD
55048 [BZ #12885]
55049 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55050 addresses using gethostbyname4_r ignore IPv4 addresses.
55051
c5e3c2ae
UD
55052 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55053 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55054
75d39ff2
UD
55055 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55056
42675c6f
DM
550572011-06-20 David S. Miller <davem@davemloft.net>
55058
55059 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55060 inclusions.
55061 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55062
55063 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55064 (elf_irel): Use it.
55065 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55066 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55067 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55068 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55069 * sysdeps/x86_64/dl-irel.h: Likewise.
55070
55071 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55072 * elf/dl-sym.c: Likewise.
55073
57912a71
UD
550742011-06-15 Ulrich Drepper <drepper@gmail.com>
55075
55076 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55077 need to dereference resplen2.
55078
ee22793d
AS
550792011-06-14 Andreas Schwab <schwab@redhat.com>
55080
55081 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55082
a9e836b0
UD
550832011-06-15 Ulrich Drepper <drepper@gmail.com>
55084
77fb9117
UD
55085 * Makeconfig: Define vardbdir and inst_vardbdir.
55086 * nss/Makefile: Add rules to install db-Makefile.
55087
40c1b22c
UD
55088 * nss/nss_db/db-XXX.c: Cleanup.
55089
9f2da732
UD
55090 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55091 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55092 GLIBC_PRIVATE.
55093 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55094 * nss/makedb.c: Implement -g option to specify that value strings
55095 are generated and should not be added to table iterated over for
55096 get*ent calls.
55097 * nss/nss_db/db-initgroups.c: New file.
55098
82e9a1f7
UD
55099 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55100 interface.
55101
c41af17e
UD
55102 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55103 (internal_getgrouplist): Adjust to name change.
55104 Update use_initgroups_entry if this is not the first call.
55105 * nss/databases.def: Add initgroups entry.
55106
a9e836b0
UD
55107 * nss/makedb.c (compute_tables): Check result of multiple hash table
55108 sizes to minimize maximum chain length.
55109
2666d441
UD
551102011-06-14 Ulrich Drepper <drepper@gmail.com>
55111
55112 * Versions.def: Add entry for libnss_db.
55113 * shlib-versions: Likewise.
55114 * nss/Makefile: Add rules to build libnss_db.
55115 * nss/Versions: Add libnss_db information. Organize libnss_files
55116 entries better.
55117 * nss/db-Makefile: Add gshadow support. Change rules for the new
55118 makedb progra. Some minor improvements to generate smaller files.
55119 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55120 here from...
55121 * nss/makedb.c: ...here.
55122 Improve database format to be smaller and require less memory at
55123 runtime.
55124 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55125 db anymore.
55126 * nss/nss_db/db-netgrp.c: Likewise.
55127 * nss/nss_db/db-open.c: Likewise.
55128 * nss/nss_files/flies-XXX.x: Adjust comments.
55129 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55130 * nss/nss_files/files-grp.c: Likewise.
55131 * nss/nss_files/files-hosts.c: Likewise.
55132 * nss/nss_files/files-network.c: Likewise.
55133 * nss/nss_files/files-proto.c: Likewise.
55134 * nss/nss_files/files-pwd.c: Likewise.
55135 * nss/nss_files/files-rpc.c: Likewise.
55136 * nss/nss_files/files-service.c: Likewise.
55137 * nss/nss_files/files-sgrp.c: Likewise.
55138 * nss/nss_files/files-spwd.c: Likewise.
55139 * nss/nss_db/db-alias.c: Removed.
55140 * nss/nss_db/dummy-db.h: Removed.
55141
9ee76b5a
UD
551422011-06-02 Ulrich Drepper <drepper@gmail.com>
55143
55144 * nss/makedb.c: Rewritten to not use database library.
55145 * nss/Makefile: Update to build new makedb program.
55146
c71ca1f8
AJ
551472011-06-14 Andreas Jaeger <aj@suse.de>
55148
55149 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55150 memset declaration.
55151
3154bfb8
UD
551522011-06-10 Andreas Schwab <schwab@redhat.com>
55153
55154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55155 tmpbuf.
55156
b350afab
RM
551572011-06-10 Roland McGrath <roland@hack.frob.com>
55158
decd4e50
RM
55159 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55160 * elf/Makefile ($(objpfx)ld.so): Likewise.
55161
5615eaf2
RM
55162 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55163 Don't list ld.so twice in dependencies.
55164
55165 * posix/bug-regex31.c: Include <stdlib.h>.
55166
55167 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55168
55169 * nis/nss_compat/compat-spwd.c
55170 (getspent_next_nss_netgr): Remove unused variable.
55171 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55172
55173 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55174 nonmembers" output to use the right array.
55175
55176 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55177
55178 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55179
55180 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55181 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55182 * catgets/gencat.c (read_input_file): Likewise.
55183 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55184
55185 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55186 variable definition inside #if's controlling its use.
55187
55188 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55189
55190 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55191
55192 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55193
55194 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55195 unreachable code.
55196
55197 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55198
b68e08db
RM
55199 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55200 * configure: Regenerated.
55201
b350afab
RM
55202 * Makerules: Revert last change.
55203 * elf/Makefile: Likewise.
55204
28368601
RM
552052011-06-09 Roland McGrath <roland@hack.frob.com>
55206
55207 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55208 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55209 (reloc-link): Likewise.
55210
11988f8f
UD
552112011-06-09 Ulrich Drepper <drepper@gmail.com>
55212
55213 * elf/Makefile: Add rules to build pldd.
55214 * elf/pldd.c: New file.
55215 * elf/pldd-xx.c: New file.
55216
e80fab37
UD
552172011-06-07 Ulrich Drepper <drepper@gmail.com>
55218
55219 * version.h: Update for 2.15 development version.
55220
9b849836
DM
552212011-06-07 David S. Miller <davem@davemloft.net>
55222
55223 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55224 ifuncs.
55225 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55226 elf_machine_lazy_rel): Likewise.
55227 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55228 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55229 elf_machine_lazy_rel): Likewise.
55230 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55231 dl_hwcap via passed in argument.
55232 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55233 Likewise.
55234
5a31b283
AK
552352011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55236
55237 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55238
069e52f8
RM
552392011-06-06 Roland McGrath <roland@hack.frob.com>
55240
55241 [BZ #12849]
55242 * manual/fdl-1.1.texi: New file, verbatim from:
55243 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55244 * manual/lgpl-2.1.texi: New file, verbatim from:
55245 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55246 * manual/Makefile (licenses): New variable, list those new file names.
55247 (texis): Use it.
55248 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55249
55250 * manual/fdl.texi: File removed.
55251 * manual/lesser.texi: File removed.
55252 * manual/libc.texinfo (Copying, Documentation License):
55253 Use new @include file names, put @appendix directive before @include.
55254
f16846a5
JJ
552552011-06-04 Jakub Jelinek <jakub@redhat.com>
55256
55257 [BZ #12841]
55258 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55259 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55260 (mq_open): Add __NTH.
55261
3d29045b
L
552622011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55263
55264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55265 Assume Intel Core i3/i5/i7 processor if AVX is available.
55266
8c297311
UD
552672011-05-31 Ulrich Drepper <drepper@gmail.com>
55268
55269 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55270 typo.
55271
c8fc0c91
UD
552722011-05-31 Andreas Schwab <schwab@redhat.com>
55273
55274 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55275 memory. Use alloca_account. Fix memory leak when retrying.
55276
5b27a807
UD
552772011-05-31 Ulrich Drepper <drepper@gmail.com>
55278
356f8bc6
UD
55279 * version.h (RELEASE): Bump for 2.14 release.
55280 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55281
5b27a807
UD
55282 * config.make.in (RANLIB): Remove entry.
55283
01f16ab0
UD
552842011-05-30 Ulrich Drepper <drepper@gmail.com>
55285
41fce8bd
UD
55286 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55287 (libc.pot): Work around missing support for .ksh extension in xgettext.
55288
4769ae77
UD
55289 [BZ #12684]
55290 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55291 if both request failed.
55292 (send_dg): In case of server errors clear resplen or *resplen2.
55293
6b1e7d19
UD
55294 [BZ #12454]
55295 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55296 when there are multiple maps.
55297 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55298 (_dl_fini): Remove test here.
55299
01f16ab0
UD
55300 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55301
b1ebd700
UD
553022011-05-29 Ulrich Drepper <drepper@gmail.com>
55303
7ae22829
UD
55304 [BZ #12350]
55305 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55306 bit from old_res_options.
55307 (gaih_inet): Likewise.
55308
553149f6 55309 [BZ #11099]
18a84741 55310 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55311 as signed.
55312
652ffab1
UD
55313 * resolv/res_init.c (res_setoptions): Make the code more compact.
55314
16985fd0
UD
55315 [BZ #11558]
55316 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55317 set RES_USEVC.
55318
0464f746
UD
55319 [BZ #11634]
55320 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55321
7d17596c
UD
55322 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55323
cf6bbbd7
UD
55324 [BZ #11781]
55325 * malloc/malloc.h: Declare malloc hook variables as volatile.
55326
13f1ab36
UD
55327 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55328 in last patch.
55329
b1ebd700
UD
55330 [BZ #11799]
55331 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55332 raise in the comment.
80e2212d
UD
55333 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55334 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55335 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55336
ce67228d
UD
553372011-05-28 Ulrich Drepper <drepper@gmail.com>
55338
8887a920
UD
55339 [BZ #12811]
55340 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55341 grow the buffers more if it already has to be sufficient.
55342 (build_wcs_upper_buffer): Likewise.
55343 * posix/regexec.c (check_matching): Likewise.
55344 (clean_state_log_if_needed): Likewise.
55345 (extend_buffers): Don't enlarge buffers beyond size of the input
55346 buffer.
55347 Patches mostly by Emil Wojak <emil@wojak.eu>.
55348 * posix/bug-regex32.c: New file.
55349 * posix/Makefile (tests): Add bug-regex32.
55350
4f031072
UD
55351 * locale/findlocale.c (_nl_find_locale): Return right away if
55352 _nl_explode_name failed.
55353 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55354
d0478f0c
UD
55355 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55356
de81b246
UD
55357 * debug/xtrace.sh: Unify messages.
55358 * malloc/memusage.sh: Likewise.
55359
c738465a
UD
55360 [BZ #12813]
55361 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55362 time symbol from vDSO. Substitute with vsyscall if not available.
55363 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55364 __vdso_time.
55365
f1f929d7
UD
55366 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55367 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55368 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55369 Add sendmmsg and internal_sendmmsg.
55370 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55371 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55372 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55373
ce67228d
UD
55374 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55375 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55376 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55377
e57420c6
UD
553782011-05-27 Ulrich Drepper <drepper@gmail.com>
55379
a8509ca5
UD
55380 [BZ #12813]
55381 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55382 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55383 available.
55384 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55385 __vdso_getcpu.
55386
e57420c6
UD
55387 [BZ #12814]
55388 * iconvdata/Makefile (tests): Add bug-iconv9.
55389 * iconvdata/bug-iconv9.c: New file.
55390
4d07db15
AS
553912011-05-27 Andreas Schwab <schwab@redhat.com>
55392
55393 [BZ #12814]
55394 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55395
ea486f69
JJ
553962011-05-25 Jakub Jelinek <jakub@redhat.com>
55397
55398 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55399 (struct user_regs_struct): Change intcs field back to cs.
55400
6f038433
UD
554012011-05-25 Ulrich Drepper <drepper@gmail.com>
55402
55403 * po/ja.po: Update from translation team.
55404
67f86a25
UD
554052011-05-23 Ulrich Drepper <drepper@gmail.com>
55406
55407 [BZ #12795]
55408 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55409 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55410
def7fbd6
AS
554112011-05-20 Andreas Schwab <schwab@redhat.com>
55412
55413 * stdlib/longlong.h: Update from GCC.
55414
f50ef8f1
AS
554152011-05-23 Andreas Schwab <schwab@redhat.com>
55416
55417 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55418 parameter name.
55419 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55420 Add parameter name.
55421 (__sysconf): Pass it down.
55422
de7ce8f1
UD
554232011-05-22 Ulrich Drepper <drepper@gmail.com>
55424
f2962a71
UD
55425 [BZ #12671]
55426 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55427 some situations.
55428 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55429 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55430 add in in __libc_use_alloca calls. Adjust callers.
55431 (glob): Use malloc in some situations.
55432
de7ce8f1
UD
55433 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55434 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55435 pltexit.
55436
aec84f53
UD
554372011-05-21 Ulrich Drepper <drepper@gmail.com>
55438
05bb4a68
UD
55439 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55440 and CLOCK_BOOTTIME_ALARM.
55441
7ea72f99
UD
55442 [BZ #12782]
55443 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55444 is returned.
55445
7e4afad5
UD
55446 * string/_strerror.c (__strerror_r): Print negative errors as signed
55447 numbers.
55448
8e211fec
UD
55449 [BZ #12777]
55450 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55451 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55452 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55453
f7d82dc9
UD
55454 * configure.in: Fix typo in redirection and correct removal of test
55455 files in two cases.
55456
cc9e536d
UD
55457 [BZ #12788]
55458 * locale/setlocale.c (new_composite_name): Fix test to check for
55459 identical name of all categories.
55460
aec84f53
UD
55461 [BZ #12792]
55462 * libio/filedoalloc.c (local_isatty): New function.
55463 (_IO_file_doallocate): Use local_isatty.
55464 * stdio-common/perror.c (perror): In case a new stream is used
55465 forward the stream error.
55466 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55467 error flag.
55468
78e64fdc
RT
554692011-05-20 Ulrich Drepper <drepper@gmail.com>
55470
34a9094f
UD
55471 [BZ #11869]
55472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55473 alloca.
55474 * include/alloca.h (extend_alloca_account): Define.
55475
78e64fdc
RT
55476 [BZ #11857]
55477 * posix/regex.h: Fix comments with documentation of user-accessible
55478 fields after compilation and describe correct free'ing of pattern
55479 after re_compile_pattern.
55480 Patch by Reuben Thomas <rrt@sc3d.org>.
55481
457bddfc
RA
554822011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55483
55484 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55485 and -mno-altivec to prevent the compiler from using Altivec and/or
55486 VSX instructions when the corresponding registers are not available.
55487
a4527b51
AS
554882011-05-19 Andreas Schwab <schwab@redhat.com>
55489
55490 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55491
ed690b2f
UD
554922011-05-19 Ulrich Drepper <drepper@gmail.com>
55493
55494 * libio/freopen.c (freopen): Use __dup2, not dup2.
55495 * libio/freopen64.c (freopen64): Likewise.
55496
8db73634
L
554972011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55498
55499 [BZ #12775]
55500 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55501 * math/Makefile (tests): Add test-powl.
55502 (CFLAGS-test-powl.c): Define.
55503 * math/test-powl.c: New file.
55504
0a197a9d
L
555052011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55506
55507 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55508
ee30c380
UD
555092011-05-17 Ulrich Drepper <drepper@gmail.com>
55510
55511 [BZ #11837]
55512 * iconvdata/gb18030.c: Update to GB18020-2005.
55513
6ce75379
UD
555142011-05-16 Ulrich Drepper <drepper@gmail.com>
55515
a4b89fd8
AR
55516 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55517 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55518 Patch by Aharon Robbins <arnold@skeeve.com>.
55519
ea389b12
UD
55520 [BZ #11892]
55521 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55522 on the stack.
55523
68a3f91f
UD
55524 [BZ #11895]
55525 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55526 through underflows.
55527
15cc7dd1
UD
55528 [BZ #12766]
55529 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55530 point to strings before performing equality test for error_one_per_line
55531 mode.
55532
f3799213
UD
55533 [BZ #11697]
55534 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55535
d79a9c94
UD
55536 [BZ #11820]
55537 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55538 (struct user_fpregs_struct): Avoid __uint*_t types.
55539
56e5eb46
UD
55540 [BZ #6420]
55541 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55542 symbol info. Use it instead of calling _dl_addr locally.
55543 (lock_and_info): New function.
55544 (tr_freehook): Call lock_and_info and pass symbol info as additional
55545 parameter to tr_where.
55546 (tr_mallochook): Likewise.
55547 (tr_reallochook): Likewise.
55548 (tr_memalignhook): Likewise.
55549
6ce75379
UD
55550 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55551 used and couldn't be at all thread-safe.
55552
f8a3b5bf
UD
555532011-05-15 Ulrich Drepper <drepper@gmail.com>
55554
94b7cc37
UD
55555 * libio/freopen.c (freopen): Don't close old file descriptor
55556 before the new one is opened. Instead dup the new file descriptor
55557 to the old one after the new stream is created.
55558 * libio/freopen64.c (freopen64): Likewise.
55559 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55560 * libio/fileops.c (_IO_new_file_close_it): Handle new
55561 _IO_FLAGS2_NOCLOSE flag.
55562 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55563 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55564 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55565 _IO_FLAGS2_NOCLOSE flag.
55566 * include/unistd.h: Add hidden_proto for dup3.
55567 Define __have_dup3.
55568 * io/dup3.c: Define hidden symbol.
55569 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55570
bd25564e
UD
55571 [BZ #7101]
55572 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55573 when an incomplete long option is used.
55574 * posix/tst-getopt_long1.c: New file.
55575 * posix/Makefile (tests): Add tst-getopt_long1.
55576
c84cfef4
UD
55577 [BZ #10138]
55578 * scripts/config.guess: Update from autoconf-2.68.
55579 * scripts/config.sub: Likewise.
55580
3b85df27
UD
55581 [BZ #10157]
55582 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55583 tests into ...
55584 (has_cpuclock): ...this. New function.
55585 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55586 macro here based on has_cpuclock code.
55587
15a856b1
UD
55588 [BZ #10149]
55589 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55590 First byte (not low byte) is now always NUL.
55591 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55592
05f399e6
UD
55593 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55594 Use non-cancelable interfaces.
55595
10a52685 55596 [BZ #9809]
94ecc67d
UD
55597 * locale/iso-639.def: Add entry for Sorani.
55598
f8a3b5bf
UD
55599 [BZ #11901]
55600 * include/stdlib.h: Move include protection to the right place.
55601 Define abort_msg_s. Declare __abort_msg with it.
55602 * stdlib/abort.c (__abort_msg): Adjust type.
55603 * assert/assert.c (__assert_fail_base): New function. Majority
55604 of code from __assert_fail. Allocate memory for __abort_msg with
55605 mmap.
55606 (__assert_fail): Now call __assert_fail_base.
55607 * assert/assert-perr.c: Remove bulk of implementation. Use
55608 __assert_fail_base.
55609 * include/assert.hL Declare __assert_fail_base.
55610 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55611 mmap.
55612 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55613
1af4e298
UD
556142011-05-14 Ulrich Drepper <drepper@gmail.com>
55615
f8a3b5bf 55616 [BZ #11952]
d26dfc60
MG
55617 [BZ #12453]
55618 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55619 until all modules are registered in the DTV.
55620 * elf/Makefile: Add rules to build and run tst-tls19.
55621 * elf/tst-tls19.c: New file.
55622 * elf/tst-tls19mod1.c: New file.
55623 * elf/tst-tls19mod2.c: New file.
55624 * elf/tst-tls19mod3.c: New file.
55625 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55626
2fc54d6f
UD
55627 [BZ #12083]
55628 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55629 correctly.
55630
98d76b46
UD
55631 [BZ #12601]
55632 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55633 two-byte sequence errors.
55634 * iconvdata/Makefile (tests): Add bug-iconv8.
55635 * iconvdata/bug-iconv8.c: New file.
55636
da3c19ef
UD
55637 [BZ #12626]
55638 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55639 buf2 definition.
55640
ca408c15
UD
55641 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55642
d6f67f7d
UD
55643 [BZ #12432]
55644 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55645 (dummy_getcfa): New function.
55646 (init): Get _Unwind_GetCFA address, use dummy if not found.
55647 (backtrace_helper): In recursion check, also check whether CFA changes.
55648 (__backtrace): Completely initialize arg.
55649
1af4e298 55650 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
55651 storing incomplete byte sequence in state object. Avoid testing for
55652 guaranteed too small input if we know there is enough data available.
1af4e298 55653
da62f81b
AS
556542011-05-11 Andreas Schwab <schwab@redhat.com>
55655
55656 * Makeconfig (+link-pie): Indent.
55657 * Rules (binaries-pie): Define if $(have-fpie) and
55658 $(build-shared).
55659 (binaries-shared): Also filter out $(binaries-pie).
55660 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55661 * nscd/Makefile (others-pie): Add nscd.
55662 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55663 ($(objpfx)nscd): Remove command override.
55664 * login/Makefile (others-pie): Add pt_chown.
55665 ($(objpfx)pt_chown): Remove command override.
55666 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55667 remove command overrides.
55668
fcabc0f8
UD
556692011-05-13 Ulrich Drepper <drepper@gmail.com>
55670
20030ae6
UD
55671 * libio/tst_putwc.c: Fix error messages.
55672
fcabc0f8
UD
55673 [BZ #12724]
55674 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55675 currently writing and seek to current position when not.
55676 * libio/Makefile (tests): Add bug-fclose1.
55677 * libio/bug-fclose1.c: New file.
55678
320a5dc0
PB
556792011-05-12 Ulrich Drepper <drepper@gmail.com>
55680
55681 [BZ #12511]
55682 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55683 don't set DF_1_NODELETE here.
55684 (do_lookup_x): When entering new entry test for copy relocation
55685 and if necessary set DF_1_NODELETE flag.
55686 * elf/tst-unique4.cc: New file.
55687 * elf/tst-unique4.h: New file.
55688 * elf/tst-unique4lib.cc: New file.
55689 * elf/Makefile: Add rules to build and run tst-unique4.
55690 Patch by Piotr Bury <pbury@goahead.com>.
55691
22836f52
UD
556922011-05-11 Ulrich Drepper <drepper@gmail.com>
55693
f574184a
UD
55694 [BZ #12052]
55695 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55696
e1fb097f
UD
55697 [BZ #12625]
55698 * misc/mntent_r.c (addmntent): Flush the stream after the output
55699
22836f52
UD
55700 [BZ #12393]
55701 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55702 (is_trusted_path_normalize): Skip initial colon. Append slash
55703 to empty buffer. Duplicate is_trusted_path code but allow
55704 constructed patch to be prefix.
55705 (is_dst): Allow $ORIGIN followed by /.
55706 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55707 Correct testing of result of is_trusted_path_normalize
55708 (decompose_rpath): Fix warning.
55709
7b3b0b2a
UD
557102011-05-10 Ulrich Drepper <drepper@gmail.com>
55711
55712 [BZ #11257]
55713 * grp/initgroups.c (internal_getgrouplist): When we found the service
55714 list through the initgroups entry in nsswitch.conf do not always
55715 continue on a successful lookup. Don't always use the
eac80ce2 55716 __nss_group_database value if it is set.
7b3b0b2a
UD
55717 * nss/nsswitch.conf (initgroups): Change action for successful db
55718 lookup to continue for compatibility.
55719
2a81eaa5
UD
557202011-05-09 Ulrich Drepper <drepper@gmail.com>
55721
be97a69e
UD
55722 [BZ #11532]
55723 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55724 and CP774 modules.
55725 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55726 and CP774 modules.
55727 * iconvdata/tst-tables.sh: Likewise.
55728 * iconvdata/cp770.c: New file.
55729 * iconvdata/cp771.c: New file.
55730 * iconvdata/cp772.c: New file.
55731 * iconvdata/cp773.c: New file.
55732 * iconvdata/cp774.c: New file.
55733 * iconvdata/testdata/CP770: New file.
55734 * iconvdata/testdata/CP770..UTF8: New file.
55735 * iconvdata/testdata/CP771: New file.
55736 * iconvdata/testdata/CP771..UTF8: New file.
55737 * iconvdata/testdata/CP772: New file.
55738 * iconvdata/testdata/CP772..UTF8: New file.
55739 * iconvdata/testdata/CP773: New file.
55740 * iconvdata/testdata/CP773..UTF8: New file.
55741 * iconvdata/testdata/CP774: New file.
55742 * iconvdata/testdata/CP774..UTF8: New file.
55743
55744 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55745 END CHARMAP line.
55746 * iconvdata/gen-8bit-gap.sh: Likewise.
55747 * iconvdata/gen-8bit.sh: Likewise.
55748
c1e9e399
UD
55749 * locale/iso-639.def: Add ary entry.
55750
24c55fb3 55751 [BZ #11258]
96b4b1b0
UD
55752 * locale/C-translit.h.in: Add U20A1 transliteration.
55753
bdc2f971
KB
55754 [BZ #12178]
55755 * locale/iso-639.def: Add wae entry.
55756 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55757
2952b117
UD
55758 [BZ #12545]
55759 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55760 for n.
55761
2a81eaa5
UD
55762 [BZ #12711]
55763 * locale/C-translit.h.in: Add entry for U20B9.
55764 Patch by pravin.d.s@gmail.com.
55765
28377d1b
UD
557662011-05-08 Ulrich Drepper <drepper@gmail.com>
55767
7fb90fb8
UD
55768 [BZ #12713]
55769 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55770 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
55771 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55772 in rtld. Use *stat64.
7fb90fb8 55773 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 55774 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 55775 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
55776 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55777 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55778 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55779 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55780 __fstatat64 macros.
7fb90fb8
UD
55781 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55782 * dirent/rewinddir.c: Add libc_hidden_def.
55783 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 55784 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 55785
28377d1b
UD
55786 * include/dirent.h (__alloc_dir): Add flags parameter.
55787 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55788 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55789 __alloc_dir.
55790 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55791 from fdopendir if O_CLOEXEC is already set.
55792
66bdbaa4
AM
557932011-03-15 Alan Modra <amodra@gmail.com>
55794
55795 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55796 l_tls_firstbyte_offset non-zero. Save padding offset in
55797 l_tls_firstbyte_offset for later use.
55798 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55799 freeing static tls block.
55800
95721191
JN
558012011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55802
55803 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55804 where #ifdef was intended. The intent is to prevent ARG_MAX from
55805 being defined by the kernel headers.
55806
f87dfb1f
UD
558072011-05-07 Ulrich Drepper <drepper@gmail.com>
55808
55809 [BZ #12734]
55810 * resolv/resolv.h: Define RES_NOTLDQUERY.
55811 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55812 no-tld-query and set RES_NOTLDQUERY.
55813 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55814 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55815 modern BIND to search name as TLD unless forbidden.
55816
47c3cd7a
UD
558172011-05-07 Petr Baudis <pasky@suse.cz>
55818 Ulrich Drepper <drepper@gmail.com>
55819
55820 [BZ #12393]
55821 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55822 (is_trusted_path): ...to here.
c1e9ea35 55823 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 55824 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 55825 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 55826
8a35c912
PP
558272011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55828
55829 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55830 __BEGIN/__END_DECLS.
55831
acd41f47
UD
558322011-05-06 Ulrich Drepper <drepper@gmail.com>
55833
55834 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55835 NSS_STATUS_NOTFOUND if no record was found.
55836
597df647
AS
558372011-05-05 Andreas Schwab <schwab@redhat.com>
55838
55839 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55840 (headers-not-in-tirpc): Remove rpc/netdb.h
55841 * resolv/netdb.h: Revert last change.
55842
b9af1301
PP
558432011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55844
55845 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55846 circular dependency between libgcc.a and libc.a.
55847
4e34d5f5
AS
558482011-05-05 Andreas Schwab <schwab@redhat.com>
55849
55850 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55851 * nis/Makefile: Don't install rpcsvc/*.
55852 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55853 instead of <rpc/types.h>.
55854 (MAXHOSTNAMELEN): Define.
55855
00ee369c
AS
558562011-05-03 Andreas Schwab <schwab@redhat.com>
55857
55858 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55859
0b592a30
MB
558602011-04-28 Maciej Babinski <mbabinski@google.com>
55861
55862 [BZ #12714]
55863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55864 gethostbyname4_r when IPv6 results are possible.
55865
6e04cbbe
UD
558662011-05-02 Ulrich Drepper <drepper@gmail.com>
55867
55868 [BZ #12723]
55869 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55870 _PC_PIPE_BUF handling.
55871
e4ecafe0
BH
558722011-04-30 Bruno Haible <bruno@clisp.org>
55873
55874 [BZ #12717]
55875 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55876 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55877 to 'int'.
55878 * inet/getnameinfo.c (getnameinfo): Likewise.
55879
125ee683
UD
558802011-04-29 Ulrich Drepper <drepper@gmail.com>
55881
55882 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55883 to groups setting in database lookup.
55884 * nss/nsswitch.conf: Add initgroups entry.
55885
b722481a
EB
558862011-04-22 Ulrich Drepper <drepper@gmail.com>
55887
55888 [BZ #12685]
55889 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55890 mode string.
55891 Patch by Eric Blake <eblake@redhat.com>.
55892
4df46dbd
L
558932011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55894
55895 * sunrpc/Makefile (need-export-routines): Add svc_run.
55896 (routines): Remove svc_run.
55897 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55898 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55899 * sunrpc/svc_run.c (svc_run): Likewise.
55900 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55901
e84142d2
UD
559022011-04-21 Ulrich Drepper <drepper@gmail.com>
55903
55904 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55905 problem in reallocation in last patch.
55906
877175d8
UD
559072011-04-20 Ulrich Drepper <drepper@gmail.com>
55908
55909 * sunrpc/Makefile: Move inclusion of Rules.
55910
ab8eed78
UD
559112011-04-19 Ulrich Drepper <drepper@gmail.com>
55912
55913 * nss/nss_files/files-initgroups.c: New file.
55914 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55915 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55916 _nss_files_initgroups_dyn.
55917
e3d8f584
RS
559182011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55919
55920 * elf/elf.h (R_ARM_IRELATIVE): Define.
55921
af190f45
UD
559222011-04-19 Ulrich Drepper <drepper@gmail.com>
55923
55924 * po/ru.po: Update from translation team.
55925
53cf59ef
UD
559262011-04-17 Ulrich Drepper <drepper@gmail.com>
55927
55928 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55929 dependencies.
55930
4c559bcd
MF
559312011-02-06 Mike Frysinger <vapier@gentoo.org>
55932
55933 [BZ #12653]
55934 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55935 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55936 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55937 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55938 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55939
4420675c
AS
559402011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55941
55942 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55943 differing bytes.
55944 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55945 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55946 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55947
75ea32ab
UD
559482011-04-17 Ulrich Drepper <drepper@gmail.com>
55949
55950 [BZ #12420]
55951 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55952 storing it.
55953 * stdlib/bug-getcontext.c: New file.
55954 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55955
27390476
AK
559562011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55957
55958 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55959 instructions into .machine "z9-109".
55960 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55961 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55962
10442705
AK
559632011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55964
55965 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55966 between environment variables and auxiliary vector.
55967
7b57bfe5
UD
559682011-04-16 Ulrich Drepper <drepper@gmail.com>
55969
55970 * Makefile: Add rules to build linkobj/libc.so.
55971 * include/libc-symbols.h: Define libc_hidden_nolink.
55972 * include/rpc/auth.h: Mark functions which are to be hidden.
55973 * include/rpc/auth_des.h: Likewise.
55974 * include/rpc/auth_unix.h: Likewise.
55975 * include/rpc/clnt.h: Likewise.
55976 * include/rpc/des_crypt.h: Likewise.
55977 * include/rpc/key_prot.h: Likewise.
55978 * include/rpc/pmap_clnt.h: Likewise.
55979 * include/rpc/pmap_prot.h: Likewise.
55980 * include/rpc/pmap_rmt.h: Likewise.
55981 * include/rpc/rpc_msg.h: Likewise.
55982 * include/rpc/svc.h: Likewise.
55983 * include/rpc/svc_auth.h: Likewise.
55984 * include/rpc/xdr.h: Likewise.
55985 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55986 * nss/Makefile: Likewise.
55987 * sunrpc/Makefile: Don't install headers. Build library with normal
55988 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55989 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55990 for the compat linking library. Remove use of INTDEF/INTUSE.
55991 * sunrpc/auth_none.c: Likewise.
55992 * sunrpc/auth_unix.c: Likewise.
55993 * sunrpc/authdes_prot.c: Likewise.
55994 * sunrpc/authuxprot.c: Likewise.
55995 * sunrpc/clnt_gen.c: Likewise.
55996 * sunrpc/clnt_perr.c: Likewise.
55997 * sunrpc/clnt_raw.c: Likewise.
55998 * sunrpc/clnt_simp.c: Likewise.
55999 * sunrpc/clnt_tcp.c: Likewise.
56000 * sunrpc/clnt_udp.c: Likewise.
56001 * sunrpc/clnt_unix.c: Likewise.
56002 * sunrpc/des_crypt.c: Likewise.
56003 * sunrpc/des_soft.c: Likewise.
56004 * sunrpc/get_myaddr.c: Likewise.
56005 * sunrpc/key_call.c: Likewise.
56006 * sunrpc/key_prot.c: Likewise.
56007 * sunrpc/netname.c: Likewise.
56008 * sunrpc/pm_getmaps.c: Likewise.
56009 * sunrpc/pm_getport.c: Likewise.
56010 * sunrpc/pmap_clnt.c: Likewise.
56011 * sunrpc/pmap_prot.c: Likewise.
56012 * sunrpc/pmap_prot2.c: Likewise.
56013 * sunrpc/pmap_rmt.c: Likewise.
56014 * sunrpc/publickey.c: Likewise.
56015 * sunrpc/rpc_cmsg.c: Likewise.
56016 * sunrpc/rpc_common.c: Likewise.
56017 * sunrpc/rpc_dtable.c: Likewise.
56018 * sunrpc/rpc_prot.c: Likewise.
56019 * sunrpc/rpc_thread.c: Likewise.
56020 * sunrpc/rtime.c: Likewise.
56021 * sunrpc/svc.c: Likewise.
56022 * sunrpc/svc_auth.c: Likewise.
56023 * sunrpc/svc_authux.c: Likewise.
56024 * sunrpc/svc_raw.c: Likewise.
56025 * sunrpc/svc_run.c: Likewise.
56026 * sunrpc/svc_simple.c: Likewise.
56027 * sunrpc/svc_tcp.c: Likewise.
56028 * sunrpc/svc_udp.c: Likewise.
56029 * sunrpc/svc_unix.c: Likewise.
56030 * sunrpc/svcauth_des.c: Likewise.
56031 * sunrpc/xcrypt.c: Likewise.
56032 * sunrpc/xdr.c: Likewise.
56033 * sunrpc/xdr_array.c: Likewise.
56034 * sunrpc/xdr_float.c: Likewise.
56035 * sunrpc/xdr_intXX_t.c: Likewise.
56036 * sunrpc/xdr_mem.c: Likewise.
56037 * sunrpc/xdr_rec.c: Likewise.
56038 * sunrpc/xdr_ref.c: Likewise.
56039 * sunrpc/xdr_sizeof.c: Likewise.
56040 * sunrpc/xdr_stdio.c: Likewise.
56041
e6c61494
UD
560422011-04-10 Ulrich Drepper <drepper@gmail.com>
56043
56044 [BZ #12650]
56045 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56046 * sysdeps/ia64/dl-tls.h: Likewise.
56047 * sysdeps/powerpc/dl-tls.h: Likewise.
56048 * sysdeps/s390/dl-tls.h: Likewise.
56049 * sysdeps/sh/dl-tls.h: Likewise.
56050 * sysdeps/sparc/dl-tls.h: Likewise.
56051 * sysdeps/x86_64/dl-tls.h: Likewise.
56052 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56053
34fe483e
AS
560542011-03-14 Andreas Schwab <schwab@redhat.com>
56055
56056 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56057 rpath element also skip the following colon.
56058 (expand_dynamic_string_token): Add is_path parameter and pass
56059 down to DL_DST_REQUIRED and _dl_dst_substitute.
56060 (decompose_rpath): Call expand_dynamic_string_token with
56061 non-zero is_path. Ignore empty rpaths.
56062 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56063 with zero is_path.
56064
f12a32e6
AS
560652011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56066
56067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56068 Make cancelable.
56069
38a7d692
UD
560702011-04-09 Ulrich Drepper <drepper@gmail.com>
56071
56072 [BZ #12655]
56073 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56074 Patch by Filipe David Manana <fdmanana@apache.org>.
56075
e451d22b
AS
560762011-04-07 Andreas Schwab <schwab@redhat.com>
56077
56078 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56079 Maintain aligned stack.
56080 (CHECK_RSP): Remove unused macro.
56081
dedc7c7b
UD
560822011-04-03 Ulrich Drepper <drepper@gmail.com>
56083
56084 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56085 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56086
94521213
UD
560872011-04-02 Ulrich Drepper <drepper@gmail.com>
56088
56089 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56090
8cb700c0 56091 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 56092
0354e355
L
560932011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56094
56095 [BZ #12518]
56096 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56097 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56098 * sysdeps/x86_64/memmove.c: New file.
56099 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56100 (memcpy): Renamed to ...
56101 (__new_memcpy): This.
56102 (memcpy): Provide GLIBC_2_14 memcpy.
56103 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56104 (memcpy): Provide GLIBC_2_2_5 memcpy.
56105
8593482f
UD
561062011-04-01 Ulrich Drepper <drepper@gmail.com>
56107
56108 [BZ #12631]
56109 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56110
81a5726b
AS
561112011-03-30 Andreas Schwab <schwab@redhat.com>
56112
56113 * misc/syncfs.c: New file.
56114 * misc/Makefile (routines): Add syncfs.
56115 * posix/unistd.h: Declare syncfs.
56116 * sysdeps/unix/syscalls.list: Add syncfs.
56117
00e5419f
AS
561182011-04-01 Andreas Schwab <schwab@redhat.com>
56119
56120 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56121 open_by_handle_at.
56122 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56123 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56124 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56125 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56126 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56127 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56128 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56129
748876bf
UD
561302011-04-01 Ulrich Drepper <drepper@gmail.com>
56131
658e451d
UD
56132 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56133 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56134 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56135 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56136 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56137 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56138 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56139
748876bf
UD
56140 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56141 sync_file_range.c with -fexceptions.
56142 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56143 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56144 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56145 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56146 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56147 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56148 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
56149 sync_file_range as cancellation point
56150 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56151 now a wrapper around __call_sync_file_range with cancellation handling.
56152 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56153 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56154 function name to __call_sync_file_range.
56155 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56156 Add call_sync_file_range.
748876bf 56157
6e63d5e1
AS
561582011-04-01 Andreas Schwab <schwab@redhat.com>
56159
56160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 56161 bits/timex.h.
6e63d5e1 56162
46998f74
UD
561632011-04-01 Ulrich Drepper <drepper@gmail.com>
56164
4c1423ed
UD
56165 * iconv/iconv.h: Fix typo in comment.
56166 * io/fcntl.h: Likewise.
56167 * libio/stdio.h: Likewise.
56168 * posix/spawn.h: Likewise.
56169 * posix/unistd.h: Likewise.
56170 * stdlib/stdlib.h: Likewise.
56171 * time/time.h: Likewise.
56172 * wcsmbs/wchar.h: Likewise.
56173
158648c0
UD
56174 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56175 open_by_handle): Add.
56176 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56177 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56178 Augment a few comments.
56179 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56180 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56181 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56182 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56183 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56184 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56185 open_by_handle.
56186
46998f74
UD
56187 * io/fcntl.h (AT_EMPTY_PATH): Define.
56188
83fe108b
UD
561892011-03-30 Ulrich Drepper <drepper@gmail.com>
56190
56191 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56192 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56193 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56194 to...
56195 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
56196 * Versions.def: Add GLIBC_2.14.
56197 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56198 Export.
83fe108b 56199
bb242059
UD
562002011-03-22 Ulrich Drepper <drepper@gmail.com>
56201
56202 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56203 round counter.
56204 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56205
c97a1282
L
562062011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56207
56208 [BZ #12597]
56209 * string/test-strncmp.c (do_page_test): New function.
56210 (check2): Likewise.
56211 (test_main): Call check2.
56212 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56213
2a115601
UD
562142011-03-20 Ulrich Drepper <drepper@gmail.com>
56215
56216 [BZ #12587]
56217 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56218 Handle cache information in CPU leaf 4.
56219 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56220
8126d904
UD
562212011-03-18 Ulrich Drepper <drepper@gmail.com>
56222
042c49c6 56223 [BZ #12583]
8126d904
UD
56224 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56225 character representation.
56226 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56227
ccfe366e
RA
562282011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56229
56230 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56231 END(__isnan) to END(__isnanf) to match function entry point/label
56232 EALIGN(__isnanf,...).
56233
c6e13027
JJ
562342011-03-10 Jakub Jelinek <jakub@redhat.com>
56235
56236 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56237
33f85a3f
UD
562382011-03-10 Ulrich Drepper <drepper@gmail.com>
56239
028478fa
UD
56240 [BZ #12510]
56241 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56242 copy from the symbol referenced in the relocation to initialize the
56243 used variable.
56244 Patch by Piotr Bury <pbury@goahead.com>.
56245 * elf/Makefile: Add rules to build and tst-unique3.
56246 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56247 * elf/tst-unique3.cc: New file.
56248 * elf/tst-unique3.h: New file.
56249 * elf/tst-unique3lib.cc: New file.
56250 * elf/tst-unique3lib2.cc: New file.
56251
33f85a3f
UD
56252 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56253
03592fc7
MF
562542011-03-10 Mike Frysinger <vapier@gentoo.org>
56255
56256 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56257 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56258 to _start.
03592fc7 56259
6a5ee102
UD
562602011-03-06 Ulrich Drepper <drepper@gmail.com>
56261
56262 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56263 to-be-loaded object along a path to loader is ld.so.
56264
7e4ba49c
HJ
562652011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56266 Ulrich Drepper <drepper@gmail.com>
56267
56268 * sysdeps/x86_64/memset.S: After aligning destination, code
56269 branches to different locations depending on the value of
56270 misalignment, when multiarch is enabled. Fix this.
56271
562722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56273
56274 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56275 Set _x86_64_preferred_memory_instruction for AMD processsors.
56276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56277 Set bit_Prefer_SSE_for_memop for AMD processors.
56278
13a804de
UD
562792011-03-04 Ulrich Drepper <drepper@gmail.com>
56280
56281 * libio/fmemopen.c (fmemopen): Optimize a bit.
56282
9d25c392
AS
562832011-03-03 Andreas Schwab <schwab@redhat.com>
56284
56285 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56286
a5543c6a
RM
562872011-03-03 Roland McGrath <roland@redhat.com>
56288
56289 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56290
012d35f7
DM
562912011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56292
7e4ba49c 56293 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
56294 __bzero_ultra1 instead of __memset_ultra1.
56295
4bff6e01
AS
562962011-02-23 Andreas Schwab <schwab@redhat.com>
56297 Ulrich Drepper <drepper@gmail.com>
56298
56299 [BZ #12509]
56300 * include/link.h (struct link_map): Add l_orig_initfini.
56301 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56302 returning unsuccessfully.
56303 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56304 close of a file loaded at startup, restore the original l_initfini
56305 list.
56306 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56307 list, store the pointer.
56308 * elf/Makefile ($(objpfx)noload-mem): New rule.
56309 (noload-ENV): Define.
56310 (tests): Add $(objpfx)noload-mem.
56311 * elf/noload.c: Include <memcheck.h>.
56312 (main): Call mtrace. Close all opened handles.
56313
f2092faf
AS
563142011-02-17 Andreas Schwab <schwab@redhat.com>
56315
56316 [BZ #12454]
56317 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56318 dependencies are missing.
56319
6c8a2e88
ST
563202011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56321
f2092faf 56322 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56323 Hurd needs munmap.
56324 * sysdeps/mach/hurd/ifreq.h: New file.
56325
84a42118
PB
563262011-01-27 Petr Baudis <pasky@suse.cz>
56327 Ulrich Drepper <drepper@gmail.com>
56328
071f805e 56329 [BZ 12445]#
84a42118
PB
56330 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56331 to extend_alloca().
56332 * stdio-common/bug23.c: New file.
56333 * stdio-common/Makefile (tests): Add bug23.
56334
e23fe25b
AS
563352010-09-28 Andreas Schwab <schwab@redhat.com>
56336 Ulrich Drepper <drepper@gmail.com>
56337
56338 [BZ #12489]
56339 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56340 before performing relro protection. At old place add assertion
56341 to make sure nothing changed.
56342
d3f02e10
NS
563432011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56344 Glauber de Oliveira Costa <glommer@gmail.com>
56345
56346 * elf/elf.h: Add new ARM TLS relocs.
56347
d55fd7a5
RA
563482011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56349
56350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56351 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56352 cast from r3.
56353 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56354 'tests' variable.
56355 * sysdeps/wordsize-64/tst-writev.c: New file.
56356
2206397e
RA
563572011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56358
56359 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56360 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56361 insns in _dl_start to prevent a TOC reference before relocs are
56362 resolved.
56363
e9433893
UD
563642011-02-15 Ulrich Drepper <drepper@gmail.com>
56365
56366 [BZ #12469]
56367 * Makeconfig: Remove RANLIB definition.
56368 * Makerules: Don't use RANLIB.
56369 * aclocal.m4: Remove ranlib test.
56370 * configure.in: No need to check for ranlib.
56371 * elf/rtld-Rules: Don't use RANLIB.
56372
f75286c6
ST
563732011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56374
8e31c82d
ST
56375 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56376 protection macro.
56377 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56378 inclusion protection macro.
56379
f75286c6
ST
56380 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56381 SIGRTMIN and SIGRTMAX and print information in that case only when
56382 SIGRTMIN is defined.
56383
c1d0e639
JJ
563842011-02-11 Jakub Jelinek <jakub@redhat.com>
56385
56386 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56387 arginfo fn returning -1.
56388
56389 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56390 and thousands string is zero terminated.
56391
edf9294e
AS
563922011-02-03 Andreas Schwab <schwab@redhat.com>
56393
56394 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56395 sysdeps/unix/sysv/linux/bits/socket.h.
56396
2b7e92df
ST
563972011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56398
edf9294e
AS
56399 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56400 (__CPU_COUNT): Remove old macros.
56401 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56402 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56403 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56404 (__sched_cpualloc, __sched_cpufree): Add declarations.
56405
a4c7ea7b
UD
564062011-02-05 Ulrich Drepper <drepper@gmail.com>
56407
56408 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56409 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56410 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56411 (readdhstai): Return value of addhstaiX call.
56412 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56413 (addgrbyX): Return value returned by cache_addgr.
56414 (readdgrbyname): Return value returned by addgrbyX.
56415 (readdgrbygid): Likewise.
56416 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56417 (addpwbyX): Return value returned by cache_addpw.
56418 (readdpwbyname): Return value returned by addhstbyX.
56419 (readdpwbyuid): Likewise.
56420 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56421 (addservbyX): Return value returned by cache_addserv.
56422 (readdservbyname): Return value returned by addservbyX:
56423 (readdservbyport): Likewise.
56424 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56425 (addhstbyX): Return value returned by cache_addhst.
56426 (readdhstbyname): Return value returned by addhstbyX.
56427 (readdhstbyaddr): Likewise.
56428 (readdhstbynamev6): Likewise.
56429 (readdhstbyaddrv6): Likewise.
56430 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56431 (readdinitgroups): Return value returned by addinitgroupsX.
56432 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56433 (prune_cache): Keep track of timeout value of re-added entries.
56434 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56435 * nscd/nscd.h: Adjust prototypes of readd* functions.
56436
a0bf67cc
RM
564372011-02-04 Roland McGrath <roland@redhat.com>
56438
56439 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56440 (nis_stats): Likewise.
56441 * nis/nis_modify.c (nis_modify): Likewise.
56442 * nis/nis_remove.c (nis_remove): Likewise.
56443 * nis/nis_add.c (nis_add): Likewise.
56444
56445 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56446
56447 * posix/fnmatch_loop.c: Add some consts.
56448
56449 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56450
435b95eb
L
564512011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56452
56453 [BZ #12460]
56454 * config.make.in (config-cflags-novzeroupper): Define.
56455 * configure.in: Substitute libc_cv_cc_novzeroupper.
56456 * elf/Makefile (AVX-CFLAGS): Define.
56457 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56458 (CFLAGS-tst-auditmod4a.c): Likewise.
56459 (CFLAGS-tst-auditmod4b.c): Likewise.
56460 (CFLAGS-tst-auditmod6b.c): Likewise.
56461 (CFLAGS-tst-auditmod6c.c): Likewise.
56462 (CFLAGS-tst-auditmod7b.c): Likewise.
56463 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56464
8517b15e
UD
564652011-02-02 Ulrich Drepper <drepper@gmail.com>
56466
56467 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56468 function to the callback.
56469 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56470
10a656fe
AS
564712011-02-02 Andreas Schwab <schwab@redhat.com>
56472
56473 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56474 of errno.
56475
968dad0a
UD
564762011-01-19 Ulrich Drepper <drepper@gmail.com>
56477
9f94d2ea 56478 [BZ #11724]
968dad0a
UD
56479 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56480 of constructors.
56481 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56482 of destructors.
56483 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56484
56485 [BZ #11724]
56486 * elf/Makefile: Add rules to build and run new test.
56487 * elf/tst-initorder.c: New file.
56488 * elf/tst-initorder.exp: New file.
56489 * elf/tst-initordera1.c: New file.
56490 * elf/tst-initordera2.c: New file.
56491 * elf/tst-initordera3.c: New file.
56492 * elf/tst-initordera4.c: New file.
56493 * elf/tst-initorderb1.c: New file.
56494 * elf/tst-initorderb2.c: New file.
56495 * elf/tst-order-a1.c: New file.
56496 * elf/tst-order-a2.c: New file.
56497 * elf/tst-order-a3.c: New file.
56498 * elf/tst-order-a4.c: New file.
56499 * elf/tst-order-b1.c: New file.
56500 * elf/tst-order-b2.c: New file.
56501 * elf/tst-order-main.c: New file.
56502 New test case by George Gensure <werkt0@gmail.com>.
56503
86e92359
UD
565042010-10-01 Andreas Schwab <schwab@redhat.com>
56505
56506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56507 decoding ACE if AI_CANONIDN.
56508
5d5732b0
UD
565092011-01-18 Ulrich Drepper <drepper@gmail.com>
56510
56511 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56512
a77e8cbc
UD
565132011-01-17 Ulrich Drepper <drepper@gmail.com>
56514
6392473f
UD
56515 * version.h (RELEASE): Bump for 2.13 release.
56516 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56517
620a0529
UD
56518 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56519
18ba70a5
UD
56520 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56521 MADV_NOHUGEPAGE.
32465c3e
UD
56522 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56523 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56524 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56525 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56526 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56527 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56528
c0dafcf1
UD
56529 * posix/getconf.c: Update copyright year.
56530 * catgets/gencat.c: Likewise.
56531 * csu/version.c: Likewise.
56532 * debug/catchsegv.sh: Likewise.
56533 * debug/xtrace.sh: Likewise.
56534 * elf/ldconfig.c: Likewise.
56535 * elf/ldd.bash.in: Likewise.
56536 * elf/sprof.c (print_version): Likewise.
56537 * iconv/iconv_prog.c: Likewise.
56538 * iconv/iconvconfig.c: Likewise.
56539 * locale/programs/locale.c: Likewise.
56540 * locale/programs/localedef.c: Likewise.
56541 * malloc/memusage.sh: Likewise.
56542 * malloc/mtrace.pl: Likewise.
56543 * nscd/nscd.c (print_version): Likewise.
56544 * nss/getent.c: Likewise.
56545
a77e8cbc
UD
56546 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56547 PF_CAIF, and PF_ALG.
56548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56549
77e8bddf
AS
565502011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56551
1f20b93a
AS
56552 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56553 (modules-names): Use them.
56554 (ifunc-test-modules, ifunc-pie-tests): Define.
56555 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56556 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56557 (test-extras): Likewise.
56558 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56559 $(compile-command.c).
56560 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56561 (all-built-dso): Define.
56562 (check-textrel.out, check-execstack.out): Depend on it.
56563
77e8bddf
AS
56564 * configure.in: Don't override --enable-multi-arch.
56565
bc425b33
UD
565662011-01-15 Ulrich Drepper <drepper@gmail.com>
56567
56568 [BZ #6812]
56569 * nscd/hstcache.c (tryagain): Define.
56570 (cache_addhst): Return tryagain not notfound for temporary errors.
56571 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56572 failed.
56573
794c3ad3
UD
565742011-01-14 Ulrich Drepper <drepper@gmail.com>
56575
70181fdd
UD
56576 [BZ #10563]
56577 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56578 to make the syscall.
56579 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56580
794c3ad3
UD
56581 [BZ #12378]
56582 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56583 and fall back to matching as normal character if the string ends before
56584 the matching ']' is found. This is what POSIX requires.
56585 * posix/testfnm.c: Adjust test result.
56586 * posix/globtest.sh: Adjust test result. Add new test.
56587 * posix/tst-fnmatch.input: Likewise.
56588 * posix/tst-fnmatch2.c: Add new test.
56589
68dc9497
AS
565902010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56591
56592 * elf/Makefile (check-execstack): Revert last change. Depend on
56593 check-execstack.h.
56594 (check-execstack.h): New target.
56595 (generated): Add check-execstack.h.
56596 * elf/check-execstack.c: Include "check-execstack.h".
56597 (main): Revert last change.
56598 (handle_file): Return zero if GNU_STACK is absent and
56599 DEFAULT_STACK_PERMS doesn't include PF_X.
56600
451f001b
UD
566012011-01-13 Ulrich Drepper <drepper@gmail.com>
56602
cfa28e56
UD
56603 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56604 in child fails because the descriptor is already closed.
8cf8ce17
UD
56605 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56606 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56607 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 56608
1086d70d
UD
56609 [BZ #12397]
56610 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56611 syscall.
56612
451f001b
UD
56613 [BZ #10484]
56614 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56615 temporary buffer used to handle multi lookups locally.
a85b5cb4 56616 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 56617
08769175
UD
566182011-01-12 Ulrich Drepper <drepper@gmail.com>
56619
56620 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56621 loader is ld.so.
56622
5e49c52e
UD
566232011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56624
56625 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56626 alignment for SSE2.
56627
60522a5f
UD
566282011-01-12 Ulrich Drepper <drepper@gmail.com>
56629
56630 [BZ #12394]
56631 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56632 characters. When rounding increased number of integer digits recompute
56633 number of groups.
56634 * stdio-common/tst-grouping.c: New file.
56635 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56636
f257bbd7
UD
566372011-01-09 Ulrich Drepper <drepper@gmail.com>
56638
56639 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56640 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56641
56642 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56643 void.
56644 * bits/select.h: Likewise.
56645
fa9c15cb
UD
566462011-01-08 Ulrich Drepper <drepper@gmail.com>
56647
56648 * po/ja.po: Update from translation team.
56649
16c2895f
DM
566502011-01-04 David S. Miller <davem@sunset.davemloft.net>
56651
56652 [BZ #11155]
56653 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56654 implementation just like for lxstat, fxstatat, et al.
56655
2543fef2
JM
566562010-12-27 Jim Meyering <meyering@redhat.com>
56657
56658 [BZ #12348]
56659 * posix/regexec.c (build_trtable): Return failure indication upon
56660 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56661
98727dbe
UD
566622010-12-25 Ulrich Drepper <drepper@gmail.com>
56663
5bd6dc5c
UD
56664 [BZ #12201]
56665 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56666 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56667 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56668 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56669
97983464
UD
56670 [BZ #12207]
56671 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56672
98727dbe
UD
56673 [BZ #12204]
56674 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56675 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56676
4a531bb0
L
566772010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56678
56679 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56680 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56681 script has SORT_BY_INIT_PRIORITY.
56682 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56683 NO_CTORS_DTORS_SECTIONS is defined.
56684 * elf/soinit.c: Likewise.
56685 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56686 NO_CTORS_DTORS_SECTIONS is defined.
56687 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56688 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56689 * sysdeps/sh/init-first.c: Likewise.
56690 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56691
07eb4b71
UD
566922010-12-24 Ulrich Drepper <drepper@gmail.com>
56693
56694 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56695 always use the slow path.
56696
30950a5f
RA
566972010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56698
56699 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56700 similar rule which adds the sysdep directories to the header search in
56701 order to pick up the correct platform stackinfo.h.
56702 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56703 perform test if it is, otherwise return successfully without testing.
56704 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56705 DEFAULT_STACK_PERMS define in stackinfo.h.
56706 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56707 defined in stackinfo.h.
56708 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56709 DEFAULT_STACK_PERMS defined in stackinfo.h.
56710 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56711 * sysdeps/ia64/stackinfo.h: Likewise.
56712 * sysdeps/s390/stackinfo.h: Likewise.
56713 * sysdeps/sh/stackinfo.h: Likewise.
56714 * sysdeps/sparc/stackinfo.h: Likewise.
56715 * sysdeps/x86_64/stackinfo.h: Likewise.
56716 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56717 PF_X for powerpc64. Retain PF_X for powerpc32.
56718
db753e2c
UD
567192010-12-19 Ulrich Drepper <drepper@gmail.com>
56720
14b697f7
UD
56721 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56722 accurately.
db753e2c
UD
56723 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56724 GETDENTS_64BIT_ALIGNED.
56725
28300719
UD
567262010-12-14 Ulrich Drepper <dreper@gmail.com>
56727
14b697f7 56728 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 56729
4f197237
AS
567302010-12-10 Andreas Schwab <schwab@redhat.com>
56731
dbb0472f
AS
56732 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56733 _GNU_SOURCE.
56734
4f197237
AS
56735 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56736 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56737 Remove __restrict.
56738 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56739 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56740
fb88ac72
UD
567412010-12-09 Ulrich Drepper <drepper@gmail.com>
56742
56743 [BZ #11655]
56744 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56745 are initialized.
56746
42acbb92
JJ
567472010-12-09 Jakub Jelinek <jakub@redhat.com>
56748
56749 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56750
c038d98d
UD
567512010-12-03 Ulrich Drepper <drepper@gmail.com>
56752
56753 * po/it.po: Update from translation team.
56754
3a4a2499
L
567552010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56756
56757 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56758 unused codes.
56759
1e24cf6e
UD
567602010-11-30 Ulrich Drepper <drepper@gmail.com>
56761
56762 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56763
a7690819
AS
567642010-11-24 Andreas Schwab <schwab@redhat.com>
56765
56766 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56767 specially.
56768 (gaih_getanswer_slice): Likewise.
56769
3bf8d1b1
JJ
567702010-10-20 Jakub Jelinek <jakub@redhat.com>
56771
56772 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56773
6db52fbb
PB
567742010-05-31 Petr Baudis <pasky@suse.cz>
56775
56776 [BZ #11149]
56777 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56778 silently even in the chroot mode.
56779
eaca7569
UD
567802010-11-22 Ulrich Drepper <drepper@gmail.com>
56781
56782 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56783 last patch a bit. Pretty printing
56784
3056dcdb
UD
567852010-05-31 Petr Baudis <pasky@suse.cz>
56786
56787 [BZ #10085]
56788 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56789 initialization of skip_initgroups_dyn.
56790
cf7c9078
UD
567912010-11-19 Ulrich Drepper <drepper@gmail.com>
56792
56793 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56794 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56795
a1fb5e3e
UD
567962010-11-16 Ulrich Drepper <drepper@gmail.com>
56797
56798 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56799
3540d66b
AS
568002010-11-11 Andreas Schwab <schwab@redhat.com>
56801
56802 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56803 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56804 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56805 ($(objpfx)tst-fnmatch-mem): New rule.
56806 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56807 * posix/tst-fnmatch.c (main): Call mtrace.
56808
13b69574
L
568092010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56810
56811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56812 Support Intel processor model 6 and model 0x2c.
56813
da93d214
LM
568142010-11-10 Luis Machado <luisgpm@br.ibm.com>
56815
56816 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56817 signed comparison.
56818
8ca52c6e
L
568192010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56820
56821 [BZ #12205]
56822 * string/test-strncasecmp.c (check_result): New function.
56823 (do_one_test): Use it.
56824 (check1): New function.
56825 (test_main): Use it.
56826 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56827 Support strcasecmp and strncasecmp.
56828
69da074d
UD
568292010-11-08 Ulrich Drepper <drepper@gmail.com>
56830
56831 [BZ #12194]
56832 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56833 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56834
ff02d528
L
568352010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56836
56837 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56838 IFUNC support.
56839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56840 memset-x86-64.
56841 * sysdeps/x86_64/multiarch/bzero.S: New file.
56842 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56843 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56844 * sysdeps/x86_64/multiarch/memset.S: New file.
56845 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56847 Set bit_Prefer_SSE_for_memop for Intel processors.
56848 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56849 Define.
56850 (index_Prefer_SSE_for_memop): Define.
56851 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56852
344d0b54
LM
568532010-11-04 Luis Machado <luisgpm@br.ibm.com>
56854
56855 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56856 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56857
c0dde15b
UD
568582010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56859
56860 [BZ #12191]
56861 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56862 (__x86_64_raw_data_cache_size_half): Likewise.
56863 (__x86_64_raw_shared_cache_size): Likewise.
56864 (__x86_64_raw_shared_cache_size_half): Likewise.
56865
56866 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56867 (__x86_64_raw_data_cache_size_half): Likewise.
56868 (__x86_64_raw_shared_cache_size): Likewise.
56869 (__x86_64_raw_shared_cache_size_half): Likewise.
56870 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56871 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56872 and __x86_64_raw_shared_cache_size_half. Round
56873 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56874 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56875 to multiple of 256 bytes.
56876
0e516e0e
MS
568772010-11-03 Ulrich Drepper <drepper@gmail.com>
56878
56879 [BZ #12167]
56880 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56881 of inacessible symlinks. Verify result of symlink before returning it.
56882 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56883 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56884
0e012e87
ER
568852010-10-28 Erich Ritz <erichritz@gmail.com>
56886
56887 * math/math.h (isinf): Fix typo in comment.
56888
de0ff7bc
UD
568892010-11-01 Ulrich Drepper <drepper@gmail.com>
56890
56891 * po/da.po: Update from translation team.
56892
fa41c84d
UD
568932010-10-26 Ulrich Drepper <drepper@gmail.com>
56894
56895 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56896 is added to the list.
56897
f0967738
AK
568982010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56899 Ulrich Drepper <drepper@gmail.com>
56900
56901 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56902 the global list here. Move code to...
56903 (_dl_add_to_namespace_list): ...here. New function.
56904 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56905 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56906 * elf/dl-load.c (lose): Don't remove the element from the list.
56907 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56908 (_dl_map_object): Likewise.
56909
569102010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56911
56912 [BZ #12159]
56913 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56914 into all bytes of SSE register.
56915 Patch by Richard Li <richardpku@gmail.com>.
56916
f0967738 569172010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56918
56919 [BZ #12140]
56920 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56921 perturbing.
56922
d0b9e94f
MB
569232010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56924
56925 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56926 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56927 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56928 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56930 submachine.
56931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56932
8e9f92e9
AS
569332010-10-22 Andreas Schwab <schwab@redhat.com>
56934
56935 * include/dlfcn.h (__RTLD_SECURE): Define.
56936 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56937 mode & __RTLD_SECURE instead.
56938 (open_path): Rename preloaded parameter to secure.
56939 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56940 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56941 * elf/dl-deps.c (openaux): Likewise.
56942 * elf/rtld.c (struct map_args): Remove is_preloaded.
56943 (map_doit): Don't use it.
56944 (dl_main): Likewise.
56945 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56946 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56947
bc96fbda
AS
569482010-09-09 Andreas Schwab <schwab@redhat.com>
56949
56950 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56951 (sysd-rules-targets): Remove duplicates.
56952 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56953 rtld-%.$o dependency.
56954
22cd1c9b
AS
569552010-10-18 Andreas Schwab <schwab@redhat.com>
56956
56957 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56958 _dl_map_object do it.
56959
18edac48
UD
569602010-10-19 Ulrich Drepper <drepper@gmail.com>
56961
56962 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56963 fast fma builtins, define the macros in the C99 standard.
56964 (FP_FAST_FMAF): Likewise.
56965 (FP_FAST_FMAL): Likewise.
56966 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56967
56968 * bits/mathdef.h: Update copyright year.
56969 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56970
d2050124
MM
569712010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56972
56973 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56974 builtins, define the macros in the C99 standard.
56975 (FP_FAST_FMAF): Likewise.
56976 (FP_FAST_FMAL): Likewise.
56977 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56978 multiply/add.
56979 (FP_FAST_FMAF): Likewise.
56980
475facd1
JJ
569812010-10-15 Jakub Jelinek <jakub@redhat.com>
56982
56983 [BZ #3268]
56984 * math/libm-test.inc (fma_test): Some new testcases.
56985 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56986 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56987 y and infinite z. Do multiplication by C already in long double.
56988 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56990 y and infinite z. Do bitwise or of inexact bit into u.d.
56991 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56992 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56993 * sysdeps/i386/fpu/s_fma.S: Removed.
56994 * sysdeps/i386/fpu/s_fmal.S: Removed.
56995
7c08a05c
JJ
569962010-10-16 Jakub Jelinek <jakub@redhat.com>
56997
56998 [BZ #3268]
56999 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57000 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57001 computation is not scheduled after fetestexcept. Fix value
57002 of minimum denormal long double.
57003
f3f7372d
JJ
570042010-10-14 Jakub Jelinek <jakub@redhat.com>
57005
57006 [BZ #3268]
57007 * math/libm-test.inc (fma_test): Add some more tests.
57008 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57009 correctly.
57010
14d43591
AS
570112010-10-15 Andreas Schwab <schwab@redhat.com>
57012
57013 * scripts/data/localplt-s390-linux-gnu.data: New file.
57014 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57015
5e908464
JJ
570162010-10-13 Jakub Jelinek <jakub@redhat.com>
57017
57018 [BZ #3268]
57019 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57020 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57021 instead of dbl-64.
57022 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57023 inlines.
57024 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57026 if one of x and y is very large and the other is subnormal.
57027 * sysdeps/s390/fpu/s_fmaf.c: New file.
57028 * sysdeps/s390/fpu/s_fma.c: New file.
57029 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57030 * sysdeps/powerpc/fpu/s_fma.S: New file.
57031 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57032 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57033 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57034
570352010-10-12 Jakub Jelinek <jakub@redhat.com>
57036
57037 [BZ #3268]
57038 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57039 fma tests.
57040 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57041 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57042 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57043 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57044 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57045 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57046 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57047
b833d51f
UD
570482010-10-12 Ulrich Drepper <drepper@redhat.com>
57049
57050 [BZ #12078]
57051 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57052 * posix/bug-regex31.input: Add test case.
57053
1751705d
UD
570542010-10-11 Ulrich Drepper <drepper@gmail.com>
57055
e9b9cbf5
UD
57056 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57057 * posix/bug-regex31.input: New file.
57058
57059 [BZ #12078]
57060 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57061 (parse_sub_exp): Fix last change, use postorder.
57062
ef06edbe
UD
57063 * posix/bug-regex31.c: New file.
57064 * posix/Makefile: Add rules to build and run bug-regex31.
57065
a129c80d
UD
57066 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57067
57068 [BZ #12078]
57069 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57070
b76b818e
UD
57071 [BZ #12108]
57072 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57073 to have entries in sys_siglist.
57074
1751705d
UD
57075 [BZ #12093]
57076 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57077 be NULL.
57078
9ff8d36f
JJ
570792010-10-07 Jakub Jelinek <jakub@redhat.com>
57080
57081 [BZ #3268]
57082 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57083 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57084 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57085 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57086 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57087 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57088 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57089 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57090 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57091 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57092 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57093 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57094 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57095 * math/ftestexcept.c (fetestexcept): Likewise.
57096 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57097 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57098 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57099 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57100 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57101 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57102 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57103
af325969
UD
571042010-10-11 Ulrich Drepper <drepper@gmail.com>
57105
c579b202 57106 [BZ #12107]
af325969
UD
57107 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57108 newline.
57109
67a67b95
UD
571102010-10-06 Ulrich Drepper <drepper@gmail.com>
57111
57112 * string/bug-strstr1.c: New file.
57113 * string/Makefile: Add rules to build and run bug-strstr1.
57114
5fb308bc
EB
571152010-10-05 Eric Blake <eblake@redhat.com>
57116
57117 [BZ #12092]
57118 * string/str-two-way.h (two_way_long_needle): Always clear memory
57119 when skipping input due to the shift table.
57120
45db99c7
UD
571212010-10-03 Ulrich Drepper <drepper@gmail.com>
57122
3b111893
UD
57123 [BZ #12005]
57124 * malloc/mcheck.c: Handle large requests.
57125
45db99c7
UD
57126 [BZ #12077]
57127 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57128 for strncmp and strncasecmp.
57129 * string/stratcliff.c: Add tests for strcmp and strncmp.
57130 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57131
cf7a1eb8
NI
571322010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57133
57134 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57135 __set_fpscr.
57136
6484ba5e
AJ
571372010-09-30 Andreas Jaeger <aj@suse.de>
57138
57139 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57140 (CGROUP_SUPER_MAGIC): Define.
57141 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57142 Handle btrfs and cgroup file systems.
57143 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57144 Likewise.
57145
91c42559
LM
571462010-09-27 Luis Machado <luisgpm@br.ibm.com>
57147
57148 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57149 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57150
87a97932
AK
571512010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57152
57153 [BZ #12067]
57154 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57155 trying to locate the ELF header.
57156
c21cc9bc
AS
571572010-09-27 Andreas Schwab <schwab@redhat.com>
57158
57159 [BZ #11611]
57160 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57161 Mask out sign-bit copies when constructing f_fsid.
57162
315970f6
PB
571632010-09-24 Petr Baudis <pasky@suse.cz>
57164
57165 * debug/stack_chk_fail_local.c: Add missing licence exception.
57166 * debug/warning-nop.c: Likewise.
57167
1ac7a2c7
JM
571682010-09-15 Joseph Myers <joseph@codesourcery.com>
57169
57170 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57171 implementing getdents64 using getdents syscall, set d_type if
57172 __ASSUME_GETDENTS32_D_TYPE.
57173
56801c50
AS
571742010-09-16 Andreas Schwab <schwab@redhat.com>
57175
57176 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57177 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57178
dda51327
UD
571792010-09-21 Ulrich Drepper <drepper@redhat.com>
57180
57181 [BZ #12037]
57182 * posix/unistd.h: Undo change of feature selection for ftruncate from
57183 2010-01-11.
57184
8ffcee4a
UD
571852010-09-20 Ulrich Drepper <drepper@redhat.com>
57186
a545ecd9 57187 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
57188 detection.
57189
e24f0a8b
AS
571902010-09-20 Andreas Schwab <schwab@redhat.com>
57191
57192 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57193 fanotify_mark.
57194 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57195
7291c56f
AS
571962010-09-14 Andreas Schwab <schwab@redhat.com>
57197
57198 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57199 variables after CHECK_SP call.
57200 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57201
bc5fb037
AS
572022010-09-13 Andreas Schwab <schwab@redhat.com>
57203 Ulrich Drepper <drepper@redhat.com>
57204
57205 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57206 re-relocationg ld.so.
57207 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57208 _dl_init_paths call.
57209 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57210 here anymore.
57211
e66e7419
UD
572122010-09-14 Ulrich Drepper <drepper@redhat.com>
57213
57214 * resolv/res_init.c (__res_vinit): Count the default server we added.
57215
c044aa75
CLT
572162010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57217 Ulrich Drepper <drepper@redhat.com>
57218
57219 [BZ #11968]
57220 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57221 (____longjmp_chk): Use %ebx for saving value across system call.
57222 Add unwind info.
57223
32cf4069
AS
572242010-09-06 Andreas Schwab <schwab@redhat.com>
57225
57226 * manual/Makefile: Don't mix pattern rules with normal rules.
57227
817328ee
AS
572282010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57229
57230 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57231 operation.
57232 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57233 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57234 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57235 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57236 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57237 Likewise.
57238
29fddf61
UD
572392010-09-04 Ulrich Drepper <drepper@redhat.com>
57240
57241 [BZ #11979]
57242 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57243 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57244
0959ffc9
UD
572452010-09-02 Ulrich Drepper <drepper@redhat.com>
57246
57247 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57248 * sysdeps/x86_64/addmul_1.S: Likewise.
57249 * sysdeps/x86_64/lshift.S: Likewise.
57250 * sysdeps/x86_64/mul_1.S: Likewise.
57251 * sysdeps/x86_64/rshift.S: Likewise.
57252 * sysdeps/x86_64/sub_n.S: Likewise.
57253 * sysdeps/x86_64/submul_1.S: Likewise.
57254
ece29840
ST
572552010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57256
0959ffc9
UD
57257 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57258 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57259 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57260 * bits/sched.h [__need_schedparam]
ece29840 57261 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57262 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57263 (__defined_schedparam): Define to 1.
ece29840
ST
57264 (__sched_param): New structure, identical to sched_param.
57265 (__need_schedparam): Undefine.
57266
e53a31fe
MF
572672010-08-31 Mike Frysinger <vapier@gentoo.org>
57268
fdc0c10d
MF
57269 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57270 (epoll_create1): Declare.
57271
e53a31fe
MF
57272 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57273
a726d796
AS
572742010-08-31 Andreas Schwab <schwab@redhat.com>
57275
57276 [BZ #7066]
57277 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57278 shifting retval into place.
57279
2f3e3dc7
UD
572802010-09-01 Ulrich Drepper <drepper@redhat.com>
57281
f2933da9
UD
57282 * nis/rpcsvc/nis.h: Update copyright notice.
57283 * nis/rpcsvc/nis.x: Likewise.
57284 * nis/rpcsvc/nis_callback.h: Likewise.
57285 * nis/rpcsvc/nis_callback.x: Likewise.
57286 * nis/rpcsvc/nis_object.x: Likewise.
57287 * nis/rpcsvc/nis_tags.h: Likewise.
57288 * nis/rpcsvc/yp.h: Likewise.
57289 * nis/rpcsvc/yp.x: Likewise.
57290 * nis/rpcsvc/ypupd.h: Likewise.
57291 * nis/yp_xdr.c: Likewise.
57292 * nis/ypupdate_xdr.c: Likewise.
57293
2f3e3dc7
UD
57294 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57295 mainly the body of pmap_getport. Add parameters to specify timeouts.
57296 (pmap_getport): Use __libc_rpc_getport.
57297 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57298 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57299 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57300
f3dcc2f9
AS
573012010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57302
57303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57304 fanotify_mark.
57305
6d34eb5b
RM
573062010-08-27 Roland McGrath <roland@redhat.com>
57307
57308 * sysdeps/i386/i686/multiarch/Makefile
57309 (CFLAGS-varshift.c): New variable.
57310
9ea3de11
UD
573112010-08-27 Ulrich Drepper <drepper@redhat.com>
57312
c96d23fc
UD
57313 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57314 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57315
9ea3de11
UD
57316 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57317
57318 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57319
623aac7f
L
573202010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57321
57322 * sysdeps/x86_64/strlen.S: Unroll the loop.
57323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57324 strlen-sse2 strlen-sse2-bsf.
57325 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57326 __strlen_no_bsf if bit_Slow_BSF is set.
57327 (__strlen_sse42): Removed.
57328 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57329 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57330
8b2b7715
RM
573312010-08-25 Roland McGrath <roland@redhat.com>
57332
57333 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57334 * sysdeps/x86_64/multiarch/varshift.c: New file.
57335 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57336 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57337 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57338 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57339
e73015f2
L
573402010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57341
57342 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57343 strlen-sse2 strlen-sse2-bsf.
57344 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57345 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57346 (__strlen_sse2): Removed.
57347 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57348 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57350 bit_Slow_BSF for Atom.
57351 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57352 (index_Slow_BSF): Define.
57353 (HAS_SLOW_BSF): Define.
57354
df24a73e
UD
573552010-08-25 Ulrich Drepper <drepper@redhat.com>
57356
57357 [BZ #10851]
57358 * resolv/res_init.c (__res_vinit): When no server address at all
57359 is given default to loopback.
57360
f2ac4868
RM
573612010-08-24 Roland McGrath <roland@redhat.com>
57362
09055553
RM
57363 * configure.in: Remove config-name.h generation.
57364 * configure: Regenerated.
57365 * config-name.in: File removed.
57366 * scripts/config-uname.sh: New file.
57367 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57368 ($(objdir)config-name.h): New target.
57369
f2ac4868
RM
57370 * sunrpc/rpc_parse.h: Avoid nested comment.
57371
73f27d5e
RH
573722010-08-24 Richard Henderson <rth@redhat.com>
57373 Ulrich Drepper <drepper@redhat.com>
57374 H.J. Lu <hongjiu.lu@intel.com>
57375
57376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57378 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57379 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57380 _mm_alignr_epi8 with _mm_loadu_si128.
57381 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57382 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57383 (__m128i_shift_right): Removed.
57384 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57385 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57386 * sysdeps/x86_64/multiarch/varshift.h: New file.
57387 * sysdeps/x86_64/multiarch/varshift.S: New file.
57388
84b9230c
MF
573892010-08-21 Mike Frysinger <vapier@gentoo.org>
57390
57391 * configure.in: Move assembler checks to before sysdep dir checking.
57392
9bbd0ddc
PB
573932010-08-20 Petr Baudis <pasky@suse.cz>
57394
57395 * LICENSES: Sync the sunrpc license.
57396
9da4bb31
UD
573972010-08-19 Ulrich Drepper <drepper@redhat.com>
57398
a7ab6ec8
UD
57399 * sunrpc/auth_des.c: Update copyright notice once again.
57400 * sunrpc/auth_none.c: Likewise.
57401 * sunrpc/auth_unix.c: Likewise.
57402 * sunrpc/authdes_prot.c: Likewise.
57403 * sunrpc/authuxprot.c: Likewise.
57404 * sunrpc/bindrsvprt.c: Likewise.
57405 * sunrpc/clnt_gen.c: Likewise.
57406 * sunrpc/clnt_perr.c: Likewise.
57407 * sunrpc/clnt_raw.c: Likewise.
57408 * sunrpc/clnt_simp.c: Likewise.
57409 * sunrpc/clnt_tcp.c: Likewise.
57410 * sunrpc/clnt_udp.c: Likewise.
57411 * sunrpc/clnt_unix.c: Likewise.
57412 * sunrpc/des_crypt.c: Likewise.
57413 * sunrpc/des_soft.c: Likewise.
57414 * sunrpc/get_myaddr.c: Likewise.
57415 * sunrpc/getrpcport.c: Likewise.
57416 * sunrpc/key_call.c: Likewise.
57417 * sunrpc/key_prot.c: Likewise.
57418 * sunrpc/openchild.c: Likewise.
57419 * sunrpc/pm_getmaps.c: Likewise.
57420 * sunrpc/pm_getport.c: Likewise.
57421 * sunrpc/pmap_clnt.c: Likewise.
57422 * sunrpc/pmap_prot.c: Likewise.
57423 * sunrpc/pmap_prot2.c: Likewise.
57424 * sunrpc/pmap_rmt.c: Likewise.
57425 * sunrpc/rpc/auth.h: Likewise.
57426 * sunrpc/rpc/auth_unix.h: Likewise.
57427 * sunrpc/rpc/clnt.h: Likewise.
57428 * sunrpc/rpc/des_crypt.h: Likewise.
57429 * sunrpc/rpc/key_prot.h: Likewise.
57430 * sunrpc/rpc/netdb.h: Likewise.
57431 * sunrpc/rpc/pmap_clnt.h: Likewise.
57432 * sunrpc/rpc/pmap_prot.h: Likewise.
57433 * sunrpc/rpc/pmap_rmt.h: Likewise.
57434 * sunrpc/rpc/rpc.h: Likewise.
57435 * sunrpc/rpc/rpc_des.h: Likewise.
57436 * sunrpc/rpc/rpc_msg.h: Likewise.
57437 * sunrpc/rpc/svc.h: Likewise.
57438 * sunrpc/rpc/svc_auth.h: Likewise.
57439 * sunrpc/rpc/types.h: Likewise.
57440 * sunrpc/rpc/xdr.h: Likewise.
57441 * sunrpc/rpc_clntout.c: Likewise.
57442 * sunrpc/rpc_cmsg.c: Likewise.
57443 * sunrpc/rpc_common.c: Likewise.
57444 * sunrpc/rpc_cout.c: Likewise.
57445 * sunrpc/rpc_dtable.c: Likewise.
57446 * sunrpc/rpc_hout.c: Likewise.
57447 * sunrpc/rpc_main.c: Likewise.
57448 * sunrpc/rpc_parse.c: Likewise.
57449 * sunrpc/rpc_parse.h: Likewise.
57450 * sunrpc/rpc_prot.c: Likewise.
57451 * sunrpc/rpc_sample.c: Likewise.
57452 * sunrpc/rpc_scan.c: Likewise.
57453 * sunrpc/rpc_scan.h: Likewise.
57454 * sunrpc/rpc_svcout.c: Likewise.
57455 * sunrpc/rpc_tblout.c: Likewise.
57456 * sunrpc/rpc_util.c: Likewise.
57457 * sunrpc/rpc_util.h: Likewise.
57458 * sunrpc/rpcinfo.c: Likewise.
57459 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57460 * sunrpc/rpcsvc/key_prot.x: Likewise.
57461 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57462 * sunrpc/rpcsvc/mount.x: Likewise.
57463 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57464 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57465 * sunrpc/rpcsvc/rex.x: Likewise.
57466 * sunrpc/rpcsvc/rstat.x: Likewise.
57467 * sunrpc/rpcsvc/rusers.x: Likewise.
57468 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57469 * sunrpc/rpcsvc/spray.x: Likewise.
57470 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57471 * sunrpc/rtime.c: Likewise.
57472 * sunrpc/svc.c: Likewise.
57473 * sunrpc/svc_auth.c: Likewise.
57474 * sunrpc/svc_authux.c: Likewise.
57475 * sunrpc/svc_raw.c: Likewise.
57476 * sunrpc/svc_run.c: Likewise.
57477 * sunrpc/svc_simple.c: Likewise.
57478 * sunrpc/svc_tcp.c: Likewise.
57479 * sunrpc/svc_udp.c: Likewise.
57480 * sunrpc/svc_unix.c: Likewise.
57481 * sunrpc/svcauth_des.c: Likewise.
57482 * sunrpc/xcrypt.c: Likewise.
57483 * sunrpc/xdr.c: Likewise.
57484 * sunrpc/xdr_array.c: Likewise.
57485 * sunrpc/xdr_float.c: Likewise.
57486 * sunrpc/xdr_mem.c: Likewise.
57487 * sunrpc/xdr_rec.c: Likewise.
57488 * sunrpc/xdr_ref.c: Likewise.
57489 * sunrpc/xdr_sizeof.c: Likewise.
57490 * sunrpc/xdr_stdio.c: Likewise.
57491
9da4bb31
UD
57492 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57493 handling.
57494
bdaa77bc
AS
574952010-08-19 Andreas Schwab <schwab@redhat.com>
57496
57497 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57498
fe2f79db
LM
574992010-08-19 Luis Machado <luisgpm@br.ibm.com>
57500
57501 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57502 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57503 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57504 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57505 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57506 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57507 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57508 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57509 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57510 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57511 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57512 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57513 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57514 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57515
b9b42ee0
AB
575162010-07-26 Anton Blanchard <anton@samba.org>
57517
57518 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57519 * malloc/arena.c (heap_trim): Likewise.
57520
1c06ba31
UD
575212010-08-16 Ulrich Drepper <drepper@redhat.com>
57522
57523 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57524 here. Not...
57525 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57526 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57527
f8392f40
L
575282010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57529
57530 * sysdeps/i386/elf/Makefile: New file.
57531
3162f12e
AS
575322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57533
57534 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57535 from fanotify_init.
57536 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57537 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57538
28c90b2c
UD
575392010-08-15 Ulrich Drepper <drepper@redhat.com>
57540
57541 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57542 of strncasecmp_l.
1feccb6c 57543 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 57544
ca6bb004
UD
575452010-08-14 Ulrich Drepper <drepper@redhat.com>
57546
e9f82e0d
UD
57547 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57548 strncase_l-nonascii.
57549 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57550 Add strncase_l-ssse3.
57551 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57552 * sysdeps/x86_64/strcmp.S: Likewise.
57553 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57554 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57555 * sysdeps/x86_64/strncase.S: New file.
57556 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57557 * sysdeps/x86_64/strncase_l.S: New file.
57558 * string/Makefile (strop-tests): Add strncasecmp.
57559 * string/test-strncasecmp.c: New file.
57560
57561 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57562 warning.
57563
ca6bb004
UD
57564 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57565 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57566
052fa7b3
AS
575672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57568
57569 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57570
962dba78
UD
575712010-08-12 Ulrich Drepper <drepper@redhat.com>
57572
57573 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57574 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57575 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57576
bebff237
AM
575772010-05-01 Alan Modra <amodra@gmail.com>
57578
57579 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57580 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57581 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57582 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57583 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57584 tidying. Don't tail-call __sigjmp_save for static lib.
57585 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57586 save location.
57587 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57588 (CALL_MCOUNT): Add eh info, and nop after bl.
57589 (TAIL_CALL_SYSCALL_ERROR): New macro.
57590 (PSEUDO_RET): Use it.
57591 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57592 Correct save location of integer regs and cr.
57593 (_dl_profile_resolve): Correct cr save location. Delete nops
57594 after bl when SHARED. Reduce cfi size a little by better
57595 placement of cfi directives.
57596 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57597 make a stack frame. Instead use parm save area as a temp.
57598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57599 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57601 Don't make a stack frame for parent, use parm save area.
57602 Increase child stack frame to 112 bytes. Don't save unused reg,
57603 and adjust reg usage. Set up cfi on error recovery and
57604 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57606 (__makecontext): Add dummy nop after jump to exit.
57607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57608 Use correct parm save area and cr save, reduce stack frame.
57609 Correct cfi for possible PSEUDO_RET frame setup.
57610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57611 Branch to local label emitted by PSEUDO_RET rather than
57612 __syscall_error.
57613
02637374
AS
576142010-08-12 Andreas Schwab <schwab@redhat.com>
57615
57616 [BZ #11904]
57617 * locale/programs/locale.c (print_assignment): New function.
57618 (show_locale_vars): Use it.
57619
c3e2f19b
UD
576202010-08-11 Ulrich Drepper <drepper@redhat.com>
57621
3cdaa6ad
UD
57622 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57623 field.
57624 (struct statfs64): Likewise.
57625 (_STATFS_F_FLAGS): Define.
57626 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57627 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57628 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57629 (ST_VALID): Define locally.
57630 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57631 __statvfs_getflags, use the provided value.
57632 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57633 __ASSUME_STATFS_F_FLAGS.
57634
754f7da3
UD
57635 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57636
10b3bedc
UD
57637 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57638 Add sys/fanotify.h.
57639 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57640 fanotify_mask for GLIBC_2.13.
57641 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57642 fanotify_init and fanotify_mark.
57643 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57644 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57645
c08fb0d7
UD
57646 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57647 Add prlimit.
57648 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57649 prlimit64 for GLIBC_2.13.
57650 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57651 prlimit64.
57652 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57653 syscall.
57654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57655 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57656 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57657 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57658 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57659 add prlimit alias.
57660 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57661
15bac72b
UD
57662 [BZ #11903]
57663 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57664 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57665
c3e2f19b
UD
57666 * nss/Makefile: Add rules to build and run tst-nss-test1.
57667 * shlib-versions: Add entry for libnss_test1.
57668 * nss/nss_test1.c: New file.
57669 * nss/tst-nss-test1.c: New file.
57670
57671 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57672 (__nss_configure_lookup): Set appropriate entry in
57673 __nss_configure_lookup to true.
57674 * nss/nsswitch.h: Define enum with indeces of databases in
57675 databases and __nss_database_custom arrays. Declare
57676 __nss_database_custom.
57677 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57678 to avoid using nscd when custom rules are installed.
57679 * nss/getXXbyYY_r.c: Likewise.
57680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57681
57682 * nss/nss_files/files-parse.c: Whitespace fixes.
57683
f15ce4d8
UD
576842010-08-09 Ulrich Drepper <drepper@redhat.com>
57685
57686 [BZ #11883]
57687 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57688 * posix/fnmatch_loop.c: Likewise.
57689
d22e4cc9
AK
576902010-07-17 Andi Kleen <ak@linux.intel.com>
57691
57692 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57693 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57694 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57695 * Versions.def [GLIBC_2.13]: Add.
57696
805bc17d
UD
576972010-08-06 Ulrich Drepper <drepper@redhat.com>
57698
57699 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57700 Also fail if tpwd after pwuid call is NULL.
57701
5a42321d
ST
577022010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57703
57704 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57705 when converting to ms.
57706
fd3ebeda
ST
577072010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57708
57709 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57710 EOPNOTSUPP errors with ENOTTY.
57711 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57712 EOPNOTSUPP errors with ENOTTY.
57713
73507d3a
UD
577142010-07-31 Ulrich Drepper <drepper@redhat.com>
57715
57716 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57717 Add strcasecmp_l-ssse3.
57718 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57719 strcasecmp.
57720 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57721 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57722 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57723
fe36dd02
UD
577242010-07-30 Ulrich Drepper <drepper@redhat.com>
57725
66f6765a
UD
57726 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57727
42e08a54
UD
57728 * string/Makefile (strop-tests): Add strcasecmp.
57729 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57730 strcasecmp_l-nonascii.
57731 (gen-as-const-headers): Add locale-defines.sym.
57732 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57733 * sysdeps/x86_64/strcasecmp.S: New file.
57734 * sysdeps/x86_64/strcasecmp_l.S: New file.
57735 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57736 * sysdeps/x86_64/locale-defines.sym: New file.
57737 * string/test-strcasecmp.c: New file.
57738
fe36dd02
UD
57739 * string/test-strcasestr.c: Test both ends of the range of characters.
57740 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57741
48cbc0d6
RM
577422010-07-29 Roland McGrath <roland@redhat.com>
57743
76e6d6bc 57744 [BZ #11856]
48cbc0d6
RM
57745 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57746
880113d9
UD
577472010-07-27 Ulrich Drepper <drepper@redhat.com>
57748
57749 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57750 for ld.so.
57751
deb9cabb
AS
577522010-07-27 Andreas Schwab <schwab@redhat.com>
57753
57754 * manual/memory.texi (Malloc Tunable Parameters): Document
57755 M_PERTURB.
57756
1c7570ff
RM
577572010-07-26 Roland McGrath <roland@redhat.com>
57758
57759 [BZ #11840]
57760 * configure.in (-fgnu89-inline check): Set and substitute
57761 gnu89_inline, not libc_cv_gnu89_inline.
57762 * configure: Regenerated.
57763 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57764
24fb0f88
UD
577652010-07-26 Ulrich Drepper <drepper@redhat.com>
57766
57767 * string/test-strnlen.c: New file.
57768 * string/Makefile (strop-tests): Add strnlen.
57769 * string/tester.c (test_strnlen): Add a few more test cases.
57770 * string/tst-strlen.c: Better error reporting.
57771
57772 * sysdeps/x86_64/strnlen.S: New file.
57773
8e96b93a
UD
577742010-07-24 Ulrich Drepper <drepper@redhat.com>
57775
57776 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57777 lower-latency instructions.
57778
dbc676d4
UD
577792010-07-23 Ulrich Drepper <drepper@redhat.com>
57780
57781 * string/test-strcasestr.c: New file.
57782 * string/test-strstr.c: New file.
57783 * string/Makefile (strop-tests): Add strstr and strcasestr.
57784 * string/str-two-way.h: Don't undefine MAX.
57785 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57786
f6a31e0e
AS
577872010-07-21 Andreas Schwab <schwab@redhat.com>
57788
57789 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57790 strcasestr-nonascii.
57791 (CFLAGS-strcasestr-nonascii.c): Define.
57792 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57793 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57794 Remove unused attribute.
57795
5dbc3b6c
RM
577962010-07-20 Roland McGrath <roland@redhat.com>
57797
57798 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57799 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57800 ld.so.cache was broken. With it, there is no way to disable dsocaps
57801 like LD_HWCAP_MASK can disable hwcaps.
57802
23d101d8
EPM
578032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57804
57805 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57806
cc9f2e47
UD
578072010-07-16 Ulrich Drepper <drepper@redhat.com>
57808
57809 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57810 call in strcasestr.
57811 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57812 __strcasestr_sse42_nonascii.
57813 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57814 strcasestr-nonascii.c.
57815 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57816
77c1b069
LM
578172010-06-15 Luis Machado <luisgpm@br.ibm.com>
57818
57819 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57820 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57821 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57822 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57823
440566c3
UD
578242010-07-09 Ulrich Drepper <drepper@redhat.com>
57825
57826 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57827 fcntl.
57828
5be9d05d
AS
578292010-07-06 Andreas Schwab <schwab@redhat.com>
57830
c30b7ee2 57831 [BZ #11577]
5be9d05d
AS
57832 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57833 dl_signal_cerror.
57834
8a492a67
UD
578352010-07-06 Ulrich Drepper <drepper@redhat.com>
57836
57837 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57838 _PC_PIPE_BUF using F_GETPIPE_SZ.
57839
713df3d5
RM
578402010-07-05 Roland McGrath <roland@redhat.com>
57841
57842 * manual/arith.texi (Rounding Functions): Fix rint description
57843 implicit in round description.
57844
702e8f14
UD
578452010-07-02 Ulrich Drepper <drepper@redhat.com>
57846
57847 * elf/Makefile: Fix linking for a few tests to make recent linker
57848 happy.
57849
52ed8be9
AS
578502010-06-30 Andreas Schwab <schwab@redhat.com>
57851
57852 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57853 $(common-objpfx)libc_nonshared.a.
57854
f47c9a11
LM
578552010-06-21 Luis Machado <luisgpm@br.ibm.com>
57856
57857 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57858 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57859 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57860 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57861 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57862 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57863 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57864 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57879 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57880 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57881 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57882 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57883 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57884 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57885 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57886 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57887 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57888 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57889 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57890 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57905
6fb8cbcb
L
579062010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57907
57908 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57909 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57910 * string/memmove.c (memmove): Renamed to ...
57911 (MEMMOVE): ...this. Default to memmove.
57912 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57913 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57914 (END_CHK): Define.
57915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57916 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57917 mempcpy-ssse3-back memmove-ssse3-back.
57918 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57919 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57920 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57921 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57922 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57923 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57924 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57925 * sysdeps/x86_64/multiarch/memmove.c: New file.
57926 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57927 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57928 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57929 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57930 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57931 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57932 Define.
57933 (index_Fast_Copy_Backward): Define.
57934 (HAS_ARCH_FEATURE): Define.
57935 (HAS_FAST_REP_STRING): Define.
57936 (HAS_FAST_COPY_BACKWARD): Define.
57937
4e733bac 579382010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57939
57940 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57941 Restore proper fallback handling.
57942
63c4ed22
UD
579432010-06-19 Ulrich Drepper <drepper@redhat.com>
57944
ac2b484c
UD
57945 [BZ #11701]
57946 * posix/group_member.c (__group_member): Correct checking loop.
57947
63c4ed22
UD
57948 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57949 OOM in getpwuid_r correctly. Return error number when the caller
57950 should return, otherwise -1.
57951 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57952 call returning > 0 value.
57953 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57954
765ade4b
AS
579552010-06-07 Andreas Schwab <schwab@redhat.com>
57956
57957 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57958 libc_nonshared.a from targets in modules-names.
57959
80da2e09
KS
579602010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57961
57962 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57963 requires it.
57964
158db122
LM
579652010-06-10 Luis Machado <luisgpm@br.ibm.com>
57966
57967 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57968 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57969 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57970 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57971
caa78cf8
AS
579722010-06-02 Andreas Schwab <schwab@redhat.com>
57973
57974 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57975
b2ef2c01
UD
579762010-06-14 Ulrich Drepper <drepper@redhat.com>
57977
57978 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57979 and F_GETPIPE_SZ.
57980 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57981 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57982 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57984 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57985 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57986
fbd643b6
RM
579872010-06-14 Roland McGrath <roland@redhat.com>
57988
57989 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57990
f32f2869
JJ
579912010-06-07 Jakub Jelinek <jakub@redhat.com>
57992
57993 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57994 __REDIRECT followed by __THROW.
57995 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57996 * posix/getopt.h (getopt): Likewise.
57997
2a50c078
EPM
579982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57999
58000 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58001 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58002 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58003 in AT_FLAGS.
58004 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58005 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58006
eb5ad2eb
LM
580072010-05-28 Luis Machado <luisgpm@br.ibm.com>
58008
58009 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58010
3c88fe1e
L
580112010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58012
58013 [BZ #11640]
58014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58015 Properly check family and model.
58016
d2f73151
TY
580172010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58018
58019 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58020
ebd2e13d
LM
580212010-05-24 Luis Machado <luisgpm@br.ibm.com>
58022
58023 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58024
b32b8b45
UD
580252010-05-21 Ulrich Drepper <drepper@redhat.com>
58026
58027 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58028 symbol reference.
58029
9acbe24d
AS
580302010-05-19 Andreas Schwab <schwab@redhat.com>
58031
58032 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58033 symbol reference.
58034
f0ccf6ea
AS
580352010-05-21 Andreas Schwab <schwab@redhat.com>
58036
3d04ff3a
AS
58037 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58038 and internal_recvmmsg.
58039 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58040 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58041 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58042 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58043
f0ccf6ea
AS
58044 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58045 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58046 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58047
5b08ac57
AS
580482010-05-20 Andreas Schwab <schwab@redhat.com>
58049
58050 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58051
4828935d
LM
580522010-05-17 Luis Machado <luisgpm@br.ibm.com>
58053
58054 POWER7 optimizations.
58055 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58056 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58057
373d545e
UD
580582010-05-19 Ulrich Drepper <drepper@redhat.com>
58059
58060 * version.h: Update for 2.13 development version.
58061
21a2b1ae
AS
580622010-05-12 Andrew Stubbs <ams@codesourcery.com>
58063
58064 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58065 exceptions. Return 0.
58066
3f7dcb2b
RM
580672010-05-07 Roland McGrath <roland@redhat.com>
58068
58069 * elf/ldconfig.c (main): Add a const.
58070
5f24d53a 580712010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 58072
a160f8d8
UD
58073 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58074 (args_options): Add no-idn option.
58075 (ahosts_keys_int): Add idn_flags to ai_flags.
58076 (parse_option): Handle 'i' option to clear idn_flags.
58077
5f24d53a
UD
58078 * malloc/malloc.c (_int_free): Possible race in the most recently
58079 added check. Only act on the data if no current modification
58080 happened.
265bb1ce
UD
58081
58082See ChangeLog.17 for earlier changes.
This page took 8.635654 seconds and 5 git commands to generate.