]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
nscd_getgr_r: Use struct scratch_buffer instead of extend_alloca
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7b8399f4
FW
12015-04-08 Florian Weimer <fweimer@redhat.com>
2
3 * elf/pldd.c (main): Rewrite to use struct
4 scratch_buffer instead of extend_alloca.
5 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
6 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7 <alloca.h>.
8 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
9 scratch_buffer instead of extend_alloca.
10 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
11 grp/compat-initgroups.c.
794a74af
FW
12 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 14 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 15 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 16
ae63c7eb
JM
172015-04-08 Joseph Myers <joseph@codesourcery.com>
18
da0cf658
JM
19 * math/auto-libm-test-in: Add more tests of cbrt.
20 * math/auto-libm-test-out: Regenerated.
21 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22
80352c01
JM
23 * math/auto-libm-test-in: Add more tests of cabs.
24 * math/auto-libm-test-out: Regenerated.
25 * sysdeps/i386/fpu/libm-test-ulps: Update.
26 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27
8431838d
JM
28 [BZ #18210]
29 [BZ #18211]
30 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
31 (__ieee754_atan2): Set FE_TONEAREST mode for internal
32 computations.
33 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
34 clog10.
35 * math/auto-libm-test-out: Regenerated.
36 * sysdeps/i386/fpu/libm-test-ulps: Update.
37 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38
ae63c7eb
JM
39 [BZ #18197]
40 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
41 (atan): Set FE_TONEAREST mode for internal computations.
42 * math/auto-libm-test-in: Add more tests of atan.
43 * math/auto-libm-test-out: Regenerated.
44
d5856d06
JC
452015-04-07 James Cowgill <james410@cowgill.org.uk>
46
47 [BZ #17930]
48 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
49
72301304
FW
502015-04-07 Florian Weimer <fweimer@redhat.com>
51
52 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
53
cfcfd461
FW
542015-04-07 Florian Weimer <fweimer@redhat.com>
55
56 * include/scratch_buffer.h: New file.
57 * malloc/scratch_buffer_grow.c: Likewise.
58 * malloc/scratch_buffer_grow_preserve.c: Likewise.
59 * malloc/scratch_buffer_set_array_size.c: Likewise.
60 * malloc/tst-scratch_buffer.c: Likewise.
61 * malloc/Makefile (routines): Add scratch_buffer_grow.
62 (tests): Add test case.
63 * malloc/Versions (GLIBC_PRIVATE): Export
64 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
65 __libc_scratch_buffer_set_array_size.
66
cc47c824
RH
672015-04-06 Richard Henderson <rth@redhat.com>
68
69 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 70 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 71
9e8c0381
RH
72 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
73 unsigned int before printing.
74
9781a370
OB
752015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
76
77 [BZ #17596]
78 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
79 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
80
37d60d97
FW
812015-04-02 Florian Weimer <fweimer@redhat.com>
82
83 * include/libc-internal.h (libc_max_align_t): Define.
84
b763f6ae
AS
852015-04-02 Andreas Schwab <schwab@suse.de>
86
87 [BZ #16850]
88 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
89
c26efef9
MG
902015-04-02 Mel Gorman <mgorman@suse.de>
91
92 [BZ #17195]
93 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
94 as well as the main arena.
95
a3d9ab50
L
962015-03-31 H.J. Lu <hongjiu.lu@intel.com>
97
98 [BZ #18185]
99 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
100 sharing L2 cache to 2 for Silvermont/Knights Landing.
101
83569fb8
L
1022015-03-31 H.J. Lu <hongjiu.lu@intel.com>
103
104 [BZ #17711]
105 * config.make.in (have-protected-data): New.
106 * configure.ac: Check linker support for protected data symbol.
107 * configure: Regenerated.
108 * elf/Makefile (modules-names): Add tst-protected1moda and
109 tst-protected1modb if $(have-protected-data) is yes.
110 (tests): Add tst-protected1a and tst-protected1b if
111 $(have-protected-data) is yes.
112 ($(objpfx)tst-protected1a): New.
113 ($(objpfx)tst-protected1b): Likewise.
114 (tst-protected1modb.so-no-z-defs): Likewise.
115 * elf/tst-protected1a.c: New file.
116 * elf/tst-protected1b.c: Likewise.
117 * elf/tst-protected1mod.h: Likewise.
118 * elf/tst-protected1moda.c: Likewise.
119 * elf/tst-protected1modb.c: Likewise.
120
62da1e3b
L
1212015-03-31 H.J. Lu <hongjiu.lu@intel.com>
122
123 [BZ #17711]
124 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
125 indicates it is called from do_lookup_x on relocation against
126 protected data, skip the data definion in the executable from
127 copy reloc.
128 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
129 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
130 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
131 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
132 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
133 otherwise to 0.
134 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
135 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
136 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
137 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
138 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
139 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
140
675ddb71
MG
1412015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
142
143 * sysdeps/nptl/pthread.h: Remove duplicate definition of
144 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
145
4d611e12
MG
1462015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
147
148 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
149 THREAD_SETMEM_NC.
150 * sysdeps/x86_64/nptl/tls.h: Ditto.
151
7285eb53
RM
1522015-03-27 Roland McGrath <roland@hack.frob.com>
153
154 * dlfcn/tststatic.c (main): Converted to ...
155 (do_test): ... this.
156 (TEST_FUNCTION): New macro.
157 Include test-skeleton.c.
158
19a6a3ac
AM
1592015-03-26 Alan Modra <amodra@gmail.com>
160
161 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
162 Don't segfault if ifunc resolver returns a NULL. Do set plt to
163 zero for undefined weak.
164 (elf_machine_plt_conflict): Similarly.
165
a9fe4c5a
JM
1662015-03-25 Joseph Myers <joseph@codesourcery.com>
167
efd5b641
JM
168 * math/auto-libm-test-in: Add more tests of acosh, asinh and
169 atanh.
170 * math/auto-libm-test-out: Regenerated.
171 * sysdeps/i386/fpu/libm-test-ulps: Update.
172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
173
e9b10151
JM
174 * math/auto-libm-test-in: Add another test of asin.
175 * math/auto-libm-test-out: Regenerated.
176 * sysdeps/i386/fpu/libm-test-ulps: Update.
177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
178
9fa55373
JM
179 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
180 Remove macro.
181 (LLL_EBX_REG): Likewise.
182 (LLL_ENTER_KERNEL): Likewise.
183
38755f14
JM
184 * math/auto-libm-test-in: Add more tests of asin.
185 * math/auto-libm-test-out: Regenerated.
186 * sysdeps/i386/fpu/libm-test-ulps: Update.
187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
188
a9fe4c5a
JM
189 [BZ #18138]
190 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
191 libc_do_syscall_args): New structure.
192 (INTERNAL_SYSCALL_MAIN_0): New macro.
193 (INTERNAL_SYSCALL_MAIN_1): Likewise.
194 (INTERNAL_SYSCALL_MAIN_2): Likewise.
195 (INTERNAL_SYSCALL_MAIN_3): Likewise.
196 (INTERNAL_SYSCALL_MAIN_4): Likewise.
197 (INTERNAL_SYSCALL_MAIN_5): Likewise.
198 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
199 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
200 Replace conditional definitions by conditional definitions of ....
201 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
202 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
203 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
204 (libpthread-sysdep_routines): Add libc-do-syscall.
205 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
206 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
207 to __NR_futex not 240.
208
afcd9480
AM
2092015-03-25 Alan Modra <amodra@gmail.com>
210
211 * NEWS: Advertise TLS optimization.
212 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
213 (DT_PPC_NUM): Increment.
214 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
215 (CHECK_STATIC_TLS): Use here.
216 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
217 TLS descriptors.
218 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
219 * sysdeps/powerpc/dl-tls.c: New file.
220 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
221 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
222 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
223 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
227
da9f3334
AM
2282015-03-25 Alan Modra <amodra@gmail.com>
229
230 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
231 for overlapping .opd entries" to "support...".
232 * sysdeps/powerpc/powerpc64/configure: Regenerate
233
bc899ea0
JM
2342015-03-25 Joseph Myers <joseph@codesourcery.com>
235
8d643971
JM
236 * math/auto-libm-test-in: Add more tests of acos.
237 * math/auto-libm-test-out: Regenerated.
238 * sysdeps/i386/fpu/libm-test-ulps: Update.
239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
240
bc899ea0
JM
241 * math/auto-libm-test-in: Add more tests of expm1.
242 * math/auto-libm-test-out: Regenerated.
243 * sysdeps/i386/fpu/libm-test-ulps: Update.
244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
245
7c84a504
JM
2462015-03-24 Joseph Myers <joseph@codesourcery.com>
247
239ed6f3
JM
248 * math/auto-libm-test-in: Add more tests of cosh and sinh.
249 * math/auto-libm-test-out: Regenerated.
250 * sysdeps/i386/fpu/libm-test-ulps: Update.
251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
252
a737e826
JM
253 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
255
7c84a504
JM
256 * math/auto-libm-test-in: Add more tests of log2.
257 * math/auto-libm-test-out: Regenerated.
258 * sysdeps/i386/fpu/libm-test-ulps: Update.
259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
260
7e9c7b9b
RM
2612015-03-23 Roland McGrath <roland@hack.frob.com>
262
263 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
264 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
265 _IO_IS_APPENDING bit in READ_WRITE instead.
266
98734cc5
FW
2672015-03-23 Florian Weimer <fweimer@redhat.com>
268
269 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
270 (__determine_cpumask_size): Replace extend_alloca with a
271 variable-length array. Do not treat res == 0 as an error.
272
2b028564
FW
2732015-03-23 Florian Weimer <fweimer@redhat.com>
274
275 [BZ #18100]
276 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
277 and integer overflow.
278 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
279 (main): Add integer overflow tests.
280 * manual/pattern.texi (Calling Wordexp): Document additional use
281 for WRDE_SYNTAX.
282
59261ad3
AM
2832015-03-23 Alan Modra <amodra@gmail.com>
284
285 * config.h.in: Remove HAVE_ASM_PPC_REL16.
286 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
287 and false branch of conditional.
288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
289 Likewise.
290
d583531a
ST
2912015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
292
293 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
294 libc-modules.h
868df0f9
ST
295 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
296 unused declaration of _hurd_intr_rpc_msg_in_trap.
297 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
298 defined instead of whether it is non-zero.
299 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
300 input constraint instead of both input and output constraint. Use ecx
301 clobber instead of %ecx.
302 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
303 mutex_unlock): Use a statement expression instead of an expression list.
304 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
305 type to vm_size_t instead of vm_address_t.
306 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
307 defined instead of whether it is non-zero.
308 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
309 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
310 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
311 comparisons with mapaddr.
312 * nscd/nscd-client.h: Include <time.h>.
313 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
314 9th parameter to __vm_region instead of int.
661a7dba 315 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
316 * scripts/check-local-headers.sh (exclude): Add device/,
317 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
318 cthreads.h.
d583531a 319
298e5d56
RM
3202015-03-19 Roland McGrath <roland@hack.frob.com>
321
322 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
323 to account for alignment padding.
324 * sysdeps/arm/memmove.S: Likewise.
325
becb26b8
CM
3262015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
327
328 * sysdeps/unix/sysv/linux/generic/README: New file.
329
c2f5813a
JM
3302015-03-18 Joseph Myers <joseph@codesourcery.com>
331
332 [BZ #18138]
333 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
334 (futex_abstimed_wait)
335 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
336 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
337 of lll_futex_timed_wait.
338
ed6b0fe7
BH
3392015-03-18 Brad Hubbard <bhubbard@redhat.com>
340
341 [BZ #17542]
342 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
343
f8aeae34
AO
3442015-03-17 Alexandre Oliva <aoliva@redhat.com>
345
346 [BZ #17090]
347 [BZ #17620]
348 [BZ #17621]
349 [BZ #17628]
350 * NEWS: Update.
351 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
352 entries with Static TLS too. Skip entries past the end of the
353 allocated DTV, from Alan Modra.
354 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
355 Static TLS DTV entry set up from...
356 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
357 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
358 * nptl/allocatestack.c (init_one_static_tls): ... and here...
359 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
360 for Static TLS.
361 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
362 that the slot we find is associated with the given map before
363 using its generation count.
364 * nptl_db/db_info.c: Include ldsodefs.h.
365 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
366 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
367 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
368 (link_map::l_tls_offset): New struct field.
369 (dtv_t::counter): Likewise.
370 (rtld_global): New struct.
371 (_rtld_global): New rtld variable.
372 (dl_tls_dtv_slotinfo_list): New rtld global field.
373 (dtv_slotinfo_list): New struct.
374 (dtv_slotinfo): Likewise.
375 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
376 (td_lookup): Rename to...
377 (td_mod_lookup): ... this. Use new mod parameter instead of
378 LIBPTHREAD_SO.
379 * nptl_db/td_thr_tlsbase.c: Include link.h.
380 (dtv_slotinfo_list, dtv_slotinfo): New functions.
381 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
382 addresses even if the DTV is out of date or missing them.
383 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
384 index zero-length arrays.
385 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
386 (td_lookup): Make it a macro implemented in terms of...
387 (td_mod_lookup): ... this declaration.
388 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
389 (DB_MAIN_VARIABLE): Likewise.
390
b97eb2bd
L
3912015-03-16 H.J. Lu <hongjiu.lu@intel.com>
392
393 [BZ #18134]
394 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
395
cb219290
PE
3962015-03-15 Paul Eggert <eggert@cs.ucla.edu>
397
398 * stdlib/setenv.c (__add_to_environ): Revert previous change.
399
a3905fd9
AS
4002015-03-14 Andreas Schwab <schwab@linux-m68k.org>
401
402 [BZ #18128]
403 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
404 (atomic_add, atomic_increment_and_test)
405 (atomic_decrement_and_test): Fix 64-bit arithmetic.
406
2ecccaed
PE
4072015-03-13 Paul Eggert <eggert@cs.ucla.edu>
408
409 * stdlib/setenv.c (__add_to_environ):
410 Dump core quickly if setenv (..., NULL, ...) is called.
411
cdaf79d0
RM
4122015-03-13 Roland McGrath <roland@hack.frob.com>
413
414 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
415 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
416 all the necessary asm magic in one place.
417 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
418 using those.
419
cf9313e7
CD
4202015-03-13 Carlos O'Donell <carlos@redhat.com>
421
422 [BZ #14906]
423 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
424 traced file mtime. Use consistent log message.
425 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
426 (register_traced_file): Call install_watches. Always set mtime.
427 (invalidate_cache): Iterate over all trace files. Call install_watches.
428 (inotify_check_files): Don't inline. Handle watching parent
429 directories and configuration file movement in and out.
430 (handle_inotify_events): New function.
431 (main_loop_poll): Call handle_inotify_events.
432 (main_loop_epoll): Likewise.
433 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
434 (struct traced_file): Use array of inotify fds. Add parent directory,
435 and basename.
436 (struct database_dyn): Remove unused file_mtime.
437 (init_traced_file): New inline function.
438 (define_traced_file): New macro.
439 * nss/nss_db/db-init.c: Use define_traced_file.
440 (_nss_db_init): Use init_traced_file.
441 * nss/nss_files/files-init.c: Use define_traced_file.
442 (_nss_files_init): Use init_traced_file.
443
7d67a196
JM
4442015-03-12 Joseph Myers <joseph@codesourcery.com>
445
446 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
447 [_LIBC]: Do not include <stdlib.h>.
448 [!_LIBC] (abort): Remove declaration.
449 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
450 _FP_STATIC_ASSERT instead of conditionally calling abort.
451 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
452 (_FP_EXTEND_CNAN): Likewise.
453 (FP_TRUNC): Likewise.
454 (__FP_CLZ): Likewise.
455 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
456
af85ebcd
YS
4572015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
458
459 * manual/string.texi (XPG basename): Fix prototype.
460
2e807f29
SL
4612015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
462
463 [BZ #18080]
464 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
465 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
466 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
467 (__setcontext): Likewise.
468 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
469 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
470 Call rt_sigprocmask syscall one time to set new signal mask
471 and retrieve the current signal mask instead of two calls.
472 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
473 (__swapcontext): Likewise.
474 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
475 * stdlib/tst-setcontext2.c: New file.
476
1b2bebe6
SL
4772015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
478
479 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
480
6a1cf708
AJ
4812015-03-11 Aurelien Jarno <aurelien@aurel32.net>
482
483 [BZ #18093]
484 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
485 the wrong size.
486
a2d4cf72
PP
4872015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
488
489 [BZ #18043]
490 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
491
5ca10a0c
AZ
4922015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
493
494 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
495 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
496 Remove define.
497 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
498 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
499 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
500 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
501 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
502 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
503 define.
504 * nptl_db/td_symbol_list.c (td_lookup): Remove
505 HAVE_ASM_GLOBAL_DOT_NAME code.
506 * sysdeps/powerpc/powerpc64/configure.ac: Remove
507 HAVE_ASM_GLOBAL_DOT_NAME check.
508 * sysdeps/powerpc/powerpc64/configure: Regenerate.
509 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
510 (DOT_LABEL): Remove define.
511 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
512 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
513 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
514 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
515 (__TLS_GET_ADDR): Likewise.
516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
517 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
518
e4363cfb
CD
5192015-03-11 Carlos O'Donell <carlos@redhat.com>
520
521 [BZ #18111]
522 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
523 (_FPU_SETCW): Initialize cw from fpsr before storing.
524 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
525 (fesetexceptflag): Rewrite using fpu_control.h.
526 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
527
fae1aa8d
JDA
5282015-03-11 John David Anglin <danglin@gcc.gnu.org>
529
530 [BZ #18110]
531 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
532 asms.
533 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
534
068a6274
JM
5352015-03-11 Joseph Myers <joseph@codesourcery.com>
536
537 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
538 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
539 abort.
540 (_FP_FMA): Likewise.
541 (_FP_DIV): Likewise.
542
d3821ab0
RM
5432015-03-10 Roland McGrath <roland@hack.frob.com>
544
44a6213c
RM
545 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
546 with 0 in that case.
547 * Makefile (summarize-tests): New canned sequence, factored out of
548 commands for targets tests and xtests. Display summary lines that
549 don't start with PASS: or XFAIL: rather than ones that do start with
550 ERROR: or FAIL:. Make the commands fail if any summary lines fail
551 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
552 do start with ERROR: or FAIL:.
553 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
554 (except for [$(build-shared) = yes]).
555 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
556 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
557 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
558 * nptl/Makefile: Revert 2015-03-04 changes.
559 [$(CXX) empty] (tests-unsupported): New variable.
560 * debug/Makefile: Likewise.
561
d3821ab0
RM
562 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
563 gnulib file. Replace __attribute with __attribute__ throughout.
564
85ca85ae
CD
5652015-03-10 Carlos O'Donell <carlos@redhat.com>
566
567 * sysdeps/hppa/fpu/libm-test-ulps: Update.
568
6411f81d
JM
5692015-03-10 Joseph Myers <joseph@codesourcery.com>
570
571 [BZ #18104]
572 * math/auto-libm-test-in: Add another test of pow.
573 * math/auto-libm-test-out: Regenerated.
574
d421868b
AZ
5752015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
576
577 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
578 $(config-cflags-nofma).
579
a2f8be9c
JM
5802015-03-10 Joseph Myers <joseph@codesourcery.com>
581
582 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
583 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
584 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
585 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
586 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
587 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
588 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
589 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
590 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
591 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
592 Add comment on closing #endif.
593
01d032e0
PP
5942015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
595
596 * posix/wordexp.c (CHAR_IN_SET): New macro.
597 (parse_param): Use it.
598
d439bc56
AZ
5992015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
600
601 * sysdeps/powerpc/fpu/libm-test-ulps: update.
602
5f85a4bf
PP
6032015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
604
605 [BZ #18043]
606 * posix/wordexp.c (parse_param): Fix buffer overflow.
607 * posix/wordexp-test.c (test_case): Add test case.
608
f8ba70e9
PP
6092015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
610
611 [BZ #18042]
612 * posix/wordexp.c (parse_backtick): Fix off-by-one.
613 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
614
36103ba2
PP
6152015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
616
617 [BZ #18043]
618 * posix/wordexp-test.c (test_case): Add test for BZ #18043
619 (do_bz18043): Delete.
620 (at_page_end): New.
621 (testit): Refactor to have words at the edge of unreadable page.
622
18d26750
PP
6232015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
624
625 [BZ #16734]
626 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
627 Cleanup read-only streams as well.
628 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
629
9f95dc5d
ST
6302015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
631
632 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
633 <bits/libc-lockP.h>
634
b838844b
JM
6352015-03-07 Joseph Myers <joseph@codesourcery.com>
636
637 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
638 on [__KERNEL__].
639 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
640 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
641 * soft-fp/op-common.h (_FP_DECL): Likewise.
642
e0ed2fb4
L
6432015-03-06 H.J. Lu <hongjiu.lu@intel.com>
644
645 * elf/ifuncdep2.c (global): Replace
646 __attribute__((visibility("protected"))) with
647 asm (".protected global").
648 * elf/ifuncmod1.c (global): Likewise.
649 * elf/ifuncmod5.c (global): Likewise.
650
fa9dda64
JM
6512015-03-06 Joseph Myers <joseph@codesourcery.com>
652
653 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
654 <asm/sfp-machine.h> instead of <sfp-machine.h>.
655
4acc27ed
RM
6562015-03-06 Roland McGrath <roland@hack.frob.com>
657
658 * manual/install.texi (Configuring and compiling):
659 Document test-wrapper-env-only.
660 * INSTALL: Regenerated.
661
895c30cb
PP
6622015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
663
664 [BZ #18043]
665 * posix/wordexp.c (parse_param): Fix buffer overflow.
666 * posix/wordexp-test.c (do_bz18043): Add test case.
667
5df56c7e
VB
6682015-03-06 Vincent Bernat <vincent@bernat.im>
669
670 * time/tst-strptime2.c (do_test): Ensure failing tests are
671 reported correctly.
672 * time/tst-strptime3.c (do_test): Likewise.
673
1cdf2ea1
ST
6742015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
675
676 Fix aio_error thread-safety.
1cdf2ea1
ST
677 * sysdeps/pthread/aio_error.c: New file
678 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
679 synchronization.
680
d176a41a
FW
6812015-03-06 Florian Weimer <fweimer@redhat.com>
682
683 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
684 (group_number, vfprintf): Use it.
1597b744
FW
685 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
686 (JUMP, REF): Use it.
687 (WORK_BUFFER_SIZE): New enum constant.
688 (process_arg, vfprintf): Use it.
d176a41a 689
7e7af349
RJ
6902015-03-06 Rical Jasan <ricaljasan@pacific.net>
691
692 * manual/errno.texi (Error Messages): Complete example function
693 by adding missing #define.
694 (program_invocation_name): Add statement indicating GNU
695 extension and reference which header file declares the variable.
696 (program_invocation_short_name): Likewise.
697
4ca8ddfb
MF
6982015-03-06 Mike Frysinger <vapier@gentoo.org>
699
700 * manual/errno.texi (Error Messages): Delete strerror ISO C89
701 compatibility note.
702
9162c01d
RM
7032015-03-05 Roland McGrath <roland@hack.frob.com>
704
705 * Makeconfig (test-wrapper-env-only): New variable.
706 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
707 then use that with $(test-wrapper-env-only) rather than using
708 $(test-wrapper-env) $(run-program-env) $($*-ENV).
709
209826bc
L
7102015-03-05 H.J. Lu <hongjiu.lu@intel.com>
711
712 [BZ #18082]
713 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
714 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
715 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
716 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
717 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
718 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
719 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
720 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
721 Likewise.
722 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
723 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
724 Likewise.
725 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
726 Likewise.
727 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
728 Likewise.
729 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
730 Likewise.
731 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
732 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
733 Likewise.
734 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
735 Likewise.
736 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
737 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
738
2cfe32bc
RM
7392015-03-04 Roland McGrath <roland@hack.frob.com>
740
8bff5aab
RM
741 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
742 (ETH_ALEN): New macro.
743 (struct ether_addr): Use it for length of ether_addr_octet.
744
2752f338
RM
745 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
746 (setdb): Don't call __nss_configure_lookup for "rpc".
747 (do_test): Don't call test_rpc.
748 (output_rpcent, test_rpc): Functions moved ...
749 * sunrpc/test-rpcent.c: ... to this new file.
750 * sunrpc/Makefile (tests): Add it.
751
2cfe32bc
RM
752 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
753 __xpg_sigpause.
754 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
755 * nptl/tst-signal6.c: Likewise.
756 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
757 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
758
e4693aa7
RM
759 * configure.ac (libc_cv_cxx_link_ok): New check.
760 Reset CXX to empty if it fails to link.
761 * configure: Regenerated.
762 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
763 bug-atexit3-lib only if $(CXX) is nonempty.
764 * nptl/Makefile (tests): Likewise for tst-cancel24.
765 (tests, tests-static): Likewise for tst-cancel24-static.
766 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
767 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
768 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
769 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 770
8e2e833a
AS
7712015-03-04 Andreas Schwab <schwab@suse.de>
772
773 [BZ #17631]
774 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
775 for non-GCC compilers.
776 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
777 Likewise.
778
85b29045
AZ
7792015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
780
781 [BZ #17776]
782 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
783 integer before bitwise and assembly operations.
784 (feclearexcept): Likewise.
785 * math/test-fenvinline.c: New file.
786 * math/Makefile: Add test-fenvinline test.
787
a0af371c
AM
7882015-03-03 Alan Modra <amodra@gmail.com>
789
790 [BZ #16512]
791 * scripts/localplt.awk: Strip off symbol version.
792 * NEWS: Mention bug fix.
793
47465629
RM
7942015-03-02 Roland McGrath <roland@hack.frob.com>
795
796 * sysdeps/pthread/timer_routines.c
797 (timer_free_list, thread_free_list, thread_active_list): Make static.
798
6d08b022
JM
7992015-03-02 Joseph Myers <joseph@codesourcery.com>
800
801 [BZ #17779]
802 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
803 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
804 Undefine.
805 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
806 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
807 Likewise.
808 * sysdeps/unix/sysv/linux/sh/kernel-features.h
809 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
810 Likewise.
811
c2c6d39f
PP
8122015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
813
814 [BZ #18036]
815 * posix/fnmatch_loop.c (END): Detect invalid pattern.
816 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
817
e8b6be00
AS
8182015-03-02 Andreas Schwab <schwab@suse.de>
819
820 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
821 variable name.
822
1a2d98af
FW
8232015-03-02 Florian Weimer <fweimer@redhat.com>
824
825 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
826 Return error status.
827
e7f07af5
AO
8282015-02-27 Alexandre Oliva <aoliva@redhat.com>
829
830 [BZ #15969]
831 * locale/findlocale.c (_nl_find_locale): Introduce const
832 version of loc_name and drop unsafe type casts.
833
c7b19ca9
RM
8342015-02-27 Roland McGrath <roland@hack.frob.com>
835
836 * dlfcn/tststatic2.c (main): Converted to ...
837 (do_test): ... this.
838 (TEST_FUNCTION): New macro.
839 Include test-skeleton.c.
840
ef4ad06f
L
8412015-02-27 H.J. Lu <hongjiu.lu@intel.com>
842
843 [BZ #17711]
844 * elf/Makefile (tests): Add vismain only if PIE is enabled.
845 (tests-pie): Add vismain.
846 (CFLAGS-vismain.c): New.
847 * elf/vismain.c: Add comments for PIE requirement.
848
2ca725c5
JM
8492015-02-27 Joseph Myers <joseph@codesourcery.com>
850
851 [BZ #18046]
852 [BZ #18047]
853 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
854 0x1p-56L as threshold for just returning the argument.
855 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
856 0x1p-32L as threshold for just returning the argument.
857 * math/auto-libm-test-in: Add more tests of atanh.
858 * math/auto-libm-test-out: Regenerated.
859 * sysdeps/i386/fpu/libm-test-ulps: Update.
860 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
861
af96be34
WD
8622015-02-27 Wilco Dijkstra wdijkstr@arm.com
863
864 * string/bcopy.c (bcopy): Call memmove for performance.
865
ddcf6798
WD
8662015-02-27 Wilco Dijkstra wdijkstr@arm.com
867
868 * string/bzero.c (__bzero): Call memset for performance.
869
49f476f4
JDA
8702015-02-27 John David Anglin <dave.anglin@bell.net>
871
b42e14ff 872 [BZ #18068]
49f476f4
JDA
873 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
874 to 00100000.
875
f8ab5d38
JM
8762015-02-27 Joseph Myers <joseph@codesourcery.com>
877
878 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
879
380bd0fd
JM
8802015-02-26 Joseph Myers <joseph@codesourcery.com>
881
31331a07
JM
882 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
883 (__kernel_standard): Use CSTR macro when setting exc.name.
884 * sysdeps/ieee754/Makefile [$(subdir) = math]
885 (CFLAGS-k_standard.c): Remove variable.
886
09220e66
JM
887 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
888 setting p and q from "else if" to "else".
889 (qzero): Likewise.
890 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
891 (qone): Likewise.
892 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
893 (qzerof): Likewise.
894 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
895 (qonef): Likewise.
896 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
897 (qzero): Likewise.
898 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
899 (qone): Likewise.
900
1d9ab20c
JM
901 [BZ #18038]
902 [BZ #18039]
903 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
904 return pi/2 for arguments below 0x1p-113L.
905 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
906 return pi/2 for arguments below 0x1p-106L.
907 * math/auto-libm-test-in: Add more tests of acos.
908 * math/auto-libm-test-out: Regenerated.
909
ec0ce0d3
JM
910 [BZ #16351]
911 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
912 (MO): New macro.
913 (__ieee754_asin): Force underflow exception for results with small
914 absolute value.
915 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
916 (MO): New macro.
917 (__ieee754_asinf): Force underflow exception for results with
918 small absolute value.
919 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
920 (__ieee754_asin): Force underflow exception for results with small
921 absolute value.
922 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
923 (__ieee754_asinf): Force underflow exception for results with
924 small absolute value.
925 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
926 (__ieee754_asinl): Force underflow exception for results with
927 small absolute value.
928 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
929 (__ieee754_asinl): Force underflow exception for results with
930 small absolute value.
931 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
932 (__ieee754_asinl): Force underflow exception for results with
933 small absolute value.
934 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
935 Include <math.h>.
936 * math/auto-libm-test-in: Do not mark underflow exceptions as
937 possibly missing for bug 16351.
938 * math/auto-libm-test-out: Regenerated.
939
380bd0fd
JM
940 [BZ #18030]
941 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
942 of power of 2 down when low part has opposite sign.
943 * math/libm-test.inc (logb_test_data): Add more tests.
944
4a28f4d5
AS
9452015-02-26 Andreas Schwab <schwab@suse.de>
946
947 [BZ #18032]
948 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
949 over collating symbol inside a bracket expression. Minor cleanup.
950 * posix/tst-fnmatch3.c (do_test): Add test case.
951
524ae9ea
JM
9522015-02-26 Joseph Myers <joseph@codesourcery.com>
953
954 [BZ #18029]
955 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
956 Adjust exponent of power of 2 down when low part has opposite
957 sign.
958 * math/libm-test.inc (ilogb_test_data): Add more tests.
959
23d43090
AO
9602015-02-26 Alexandre Oliva <aoliva@redhat.com>
961
962 [BZ #15969]
963 * locale/findlocale.c (_nl_find_locale): Fix constness error in
964 the previous change.
0d822a01
AO
965
966 [BZ #15969]
967 * locale/findlocale.c (_nl_find_locale): Retry archive search
968 after alias expansion.
969
d19df6ac
RM
9702015-02-25 Roland McGrath <roland@hack.frob.com>
971
ca681b7b
RM
972 * iconv/tst-iconv3.c (main): Converted to ...
973 (do_test): ... this.
974 (TEST_FUNCTION): New macro.
975 Include test-skeleton.c.
976
fd1f2f1c
RM
977 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
978 (convert): Make function static.
979 (test_unalign): Likewise. Add const to argument pointee types.
980 (main): Replace with static function do_test.
981 Print "Succeeded." only if RET is zero.
982 (TEST_FUNCTION): New macro.
983 Include test-skeleton.c.
984
d19df6ac
RM
985 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
986 returns a null pointer.
987
115e0de7
AZ
9882015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
989
990 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
991 to __memcpy_ppc only for static builds.
992
137cef7d
JM
9932015-02-25 Joseph Myers <joseph@codesourcery.com>
994
995 [BZ #18020]
996 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
997 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
998 * math/auto-libm-test-in: Add more tests of asinh.
999 * math/auto-libm-test-out: Regenerated.
1000 * sysdeps/i386/fpu/libm-test-ulps: Update.
1001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1002
cb43bb0d
CW
10032015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1004
1005 [BZ #15850]
1006 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1007 and ip6_mtuinfo definitions here.
1008 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1009 in this define too. Update comment.
1010
9be1052b
BS
10112015-02-24 Benno Schulenberg <bensberg@justemail.net>
1012
1013 * elf/sprof.c (load_shobj): Tweak error message to match others.
1014
6807b1db
KE
10152015-02-24 Kevin Easton <kevin@guarana.org>
1016
1017 [BZ #16145] (partial fix)
1018 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1019 to reduce lock contention.
1020
b433df00
ML
10212015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1022
1023 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1024 (struct timex): Update time comment.
1025 (ADJ_SETOFFSET): Define.
1026
440169d6
JM
10272015-02-24 Joseph Myers <joseph@codesourcery.com>
1028
1029 [BZ #18019]
1030 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1031 2**56 not 2**28 as threshold for log (2x) formula.
1032 * math/auto-libm-test-in: Add more tests of acosh.
1033 * math/auto-libm-test-out: Regenerated.
1034 * sysdeps/i386/fpu/libm-test-ulps: Update.
1035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1036
ba7d2c54
MF
10372015-02-24 Mike Frysinger <vapier@gentoo.org>
1038
1039 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1040 parenthesis around the buf assignment.
1041 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1042
9438b237
JM
10432015-02-24 Joseph Myers <joseph@codesourcery.com>
1044
1045 [BZ #16783]
1046 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1047 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1048 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1049 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1050 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1051 * math/libm-test.inc (scalb_test_data): Add more tests.
1052
6909d276
PP
10532015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1054
1055 [BZ #17916]
1056 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1057 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1058
65f6f938
ER
10592015-02-24 Eric Rannaud <e@nanocritical.com>
1060
1061 [BZ #17523]
1062 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1063 * io/bits/fcntl2.h (open): Use it.
1064 (openat): Likewise.
1065 * io/open.c (__libc_open): Likewise.
1066 * io/open64.c (__libc_open64): Likewise.
1067 * io/open64_2.c (__open64_2): Likewise.
1068 * io/open_2.c (__open_2): Likewise.
1069 * io/openat.c (__openat): Likewise.
1070 * io/openat64.c (__openat64): Likewise.
1071 * io/openat64_2.c (__openat64_2): Likewise.
1072 * io/openat_2.c (__openat_2): Likewise.
1073 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1074 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1075 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1076 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1077 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1078 (__open_nocancel): Likewise.
1079 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1080 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1081 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1082
3e3002ff
SP
10832015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1084
1085 [BZ #14841]
1086 * resolv/gethnamaddr.c (getanswer): Skip logging if
1087 RES_USE_DNSSEC is set.
1088 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1089
9813dd58
MF
10902015-02-24 Mike Frysinger <vapier@gentoo.org>
1091
1092 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1093
7b1ec6a0
AO
10942015-02-23 Alexandre Oliva <aoliva@redhat.com>
1095
1096 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1097 201304L, for Unicode 7.
1098
d49499c1
L
10992015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1100
1101 [BZ #17836]
1102 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1103 shared library. Add gmon-start.os otherwise.
1104 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1105 $(objpfx)gmon-start.os if builing shared library.
1106 ($(objpfx)g$(static-start-installed-name)): Likewise.
1107
51225803
AS
11082015-02-23 Andreas Schwab <schwab@suse.de>
1109
1110 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1111
bdf1ff05
PP
11122015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1113
1114 [BZ #17269]
1115 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1116 (enlarge_userbuf): Likewise.
1117
95296112
CLT
11182015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1119
1120 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1121 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1122 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1123 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1124
e4a399dc
JM
11252015-02-20 Joseph Myers <joseph@codesourcery.com>
1126
1127 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1128 expression inside statement expression.
1129
7133957f
SL
11302015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1131
1132 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1133 <sysdeps/nptl/lowlevellock.h> and remove macros and
1134 functions that are now defined there.
1135 (SYS_futex): Remove.
1136 (lll_compare_and_swap): Remove.
1137 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1138
40176158
JM
11392015-02-19 Joseph Myers <joseph@codesourcery.com>
1140
1141 [BZ #17999]
1142 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1143 instead of scandirat.
1144 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1145 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1146 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1147 __scandirat.
1148 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1149 (__scandirat): Declare. Use libc_hidden_proto.
1150 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1151 Remove variable.
1152 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1153
4629c866
JM
11542015-02-18 Joseph Myers <joseph@codesourcery.com>
1155
1156 [BZ #15319]
1157 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1158 (MO): New macro.
1159 (__ieee754_atan2): For results with small absolute value, force
1160 underflow exception and remove excess range and precision from
1161 return value.
1162 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1163 (MO): New macro.
1164 (__ieee754_atan2f): For results with small absolute value, force
1165 underflow exception and remove excess range and precision from
1166 return value.
1167 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1168 (MO): New macro.
1169 (__atan): For results with small absolute value, force underflow
1170 exception and remove excess range and precision from return value.
1171 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1172 (MO): New macro.
1173 (__atanf): For results with small absolute value, force underflow
1174 exception and remove excess range and precision from return value.
1175 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1176 <math.h>.
1177 (__ieee754_atan2): Force underflow exception for results with
1178 small absolute value.
1179 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1180 <math_private.h>.
1181 (atan): Force underflow exception for results with small absolute
1182 value.
1183 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1184 (__atanf): Force underflow exception for results with small
1185 absolute value.
1186 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1187 <math.h>.
1188 (__atanl): Force underflow exception for results with small
1189 absolute value.
1190 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1191 (__atanl): Force underflow exception for results with small
1192 absolute value.
1193 * sysdeps/x86/fpu/bits/mathinline.h
1194 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1195 (__ieee754_atan2): Only define inline for long double.
1196 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1197 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1198 * math/auto-libm-test-in: Do not mark underflow exceptions as
1199 possibly missing for bug 15319. Add more tests of atan2.
1200 * math/auto-libm-test-out: Regenerated.
1201 * math/libm-test.inc (casin_test_data): Do not mark underflow
1202 exceptions as possibly missing for bug 15319.
1203 (casinh_test_data): Likewise.
1204 * sysdeps/i386/fpu/libm-test-ulps: Update.
1205
9ee16d8b
SE
12062015-02-18 Steve Ellcey <sellcey@imgtec.com>
1207
1208 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1209 * sysdeps/mips/bits/endian.h: Fix comments.
1210
4ffb1771
JM
12112015-02-18 Joseph Myers <joseph@codesourcery.com>
1212
1213 [BZ #17996]
1214 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1215 (hdestroy_r): Likewise.
1216 (hsearch_r): Likewise.
1217 (__hcreate_r): Declare and use libc_hidden_proto.
1218 (__hdestroy_r): Likewise.
1219 (__hsearch_r): Likewise.
1220 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1221 (hcreate): Call __hcreate_r instead of hcreate_r.
1222 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1223 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1224 as weak alias of __hcreate_r.
1225 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1226 __hdestroy_r.
1227 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1228 __hsearch_r.
1229 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1230 Remove variable.
1231 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1232 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1233 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1234 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1235
94c5a52a
SP
12362015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1237
1238 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1239 arena_lock into a single arena_get.
1240
8a35c3fe
CD
12412015-02-17 Carlos O'Donell <carlos@redhat.com>
1242
1243 * dl-reloc.c: Inlucde libc-internal.h.
1244 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1245 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1246 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1247 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1248 (grow_heap): Likewise.
1249 * malloc/malloc.c: Include libc-internal.h.
1250 (do_check_malloc): Call powerof2.
1251 (sysmalloc): Use pagesize. Call ALIGN_UP.
1252 (systrim): Use pagesize.
1253 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1254 (__libc_valloc): Use pagesize.
1255 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1256
1a2325c0
JM
12572015-02-17 Joseph Myers <joseph@codesourcery.com>
1258
1259 [BZ #17991]
1260 * include/sys/resource.h (__getrlimit64): Declare. Use
1261 libc_hidden_proto.
1262 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1263 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1264 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1265 getrlimit64.
1266 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1267 __getrlimit64.
1268 [!getrlimit64] (getrlimit64): Define as weak alias of
1269 __getrlimit64. Use libc_hidden_weak.
1270 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1271 using __getrlimit64 not __new_getrlimit64.
1272 (__GI_getrlimit64): Likewise.
1273 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1274 Likewise.
1275 (__GI_getrlimit64): Likewise.
1276 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1278 (getrlimit): Add __getrlimit64 alias.
1279 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1280 Likewise.
1281 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1282 Remove variable.
1283 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1284 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1285
8ae4bb5a
PP
12862015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1287
1288 * libio/fileops.c: Add missing sys/mman.h
1289 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1290
18a218b7
JM
12912015-02-17 Joseph Myers <joseph@codesourcery.com>
1292
1293 * manual/math.texi (Errors in Math Functions): Clarify goals
1294 regarding inexact and underflow exceptions.
1295
e72ad0ef
SE
12962015-02-17 Steve Ellcey <sellcey@imgtec.com>
1297
1298 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1299 * sysdeps/mips/memset.S: Ditto.
1300
2caa4099
SE
13012015-02-17 Steve Ellcey <sellcey@imgtec.com>
1302
1303 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1304
f20bfc9b
SL
13052015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1306
1307 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1308 (__v1longjmp): Remove versioned symbol.
1309 (__v1siglongjmp): Remove alias and versioned symbol.
1310 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1311 (__v2siglongjmp): Likewise.
1312
71c06b69
TR
13132015-02-16 Torvald Riegel <triegel@redhat.com>
1314
1315 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1316
a9a05adb
MF
13172015-02-16 Mike Frysinger <vapier@gentoo.org>
1318
1319 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1320
ce8fc784
JM
13212015-02-16 Joseph Myers <joseph@codesourcery.com>
1322
1323 [BZ #17987]
1324 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1325 zero result does not depend on the sign resulting from
1326 subtraction.
1327 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1328 Likewise.
1329 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1330 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1331 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1332 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1333 * math/libm-test.inc (remquo_test_data): Add more tests.
1334
0d7036bd
PE
13352015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1336
1337 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1338 Problem reported by J William Piggott.
1339
86c56b16
JM
13402015-02-16 Joseph Myers <joseph@codesourcery.com>
1341
a820f9b3
JM
1342 [BZ #17978]
1343 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1344 products 4 * y and 2 * y where those would overflow.
1345 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1346 Likewise.
1347 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1348 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1349 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1350 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1351 * math/libm-test.inc (remquo_test_data): Add more tests.
1352
be802953
JM
1353 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1354
e5e72fe9
JM
1355 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1356 [defined _COMPILING_NEWLIB].
1357 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1358 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1359
86c56b16
JM
1360 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1361 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1362
35264d14
TR
13632015-02-16 Torvald Riegel <triegel@redhat.com>
1364
1365 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1366 acquired.
1367
6f49e32a
MF
13682015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1369
1370 [BZ #17792]
1371 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1372 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1373 HOST_STACK_END_ADDR): Likewise.
1374
e525154e
SE
13752015-02-13 Steve Ellcey <sellcey@imgtec.com>
1376
1377 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1378 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1379 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1380
4ab770b7
RM
13812015-02-13 Roland McGrath <roland@hack.frob.com>
1382
1383 * sysdeps/generic/c++-types.data: New file.
1384 * sysdeps/generic/ld.abilist: New file.
1385 * sysdeps/generic/libBrokenLocale.abilist: New file.
1386 * sysdeps/generic/libanl.abilist: New file.
1387 * sysdeps/generic/libc.abilist: New file.
1388 * sysdeps/generic/libcrypt.abilist: New file.
1389 * sysdeps/generic/libdl.abilist: New file.
1390 * sysdeps/generic/libm.abilist: New file.
1391 * sysdeps/generic/libpthread.abilist: New file.
1392 * sysdeps/generic/libresolv.abilist: New file.
1393 * sysdeps/generic/librt.abilist: New file.
1394
d9afe48d
JM
13952015-02-13 Joseph Myers <joseph@codesourcery.com>
1396
1397 [BZ #17569]
1398 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1399 Compute absolute value of x as modified by fmod, not original
1400 value of x.
1401 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1402 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1403 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1404 RUN_TEST_ffI_f1_mod8.
1405 (remquo_test_data): Add more tests.
1406
3846188b
RM
14072015-02-13 Roland McGrath <roland@hack.frob.com>
1408
1409 * sysdeps/init_array/pt-crti.S: New file.
1410
95c26233
JM
14112015-02-13 Joseph Myers <joseph@codesourcery.com>
1412
1413 [BZ #17967]
1414 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1415 __builtin_fmaf instead of relying on contraction of a * b + c.
1416
3f293d61
WP
14172015-02-12 J William Piggott <elseifthen@gmx.com>
1418
1419 [BZ #17969]
1420 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1421 node.
1422
e8bd5286
JM
14232015-02-12 Joseph Myers <joseph@codesourcery.com>
1424
1425 [BZ #17964]
1426 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1427 __builtin_fma instead of relying on contraction of a * b + c.
1428
04f5a636
RM
14292015-02-12 Roland McGrath <roland@hack.frob.com>
1430
96a15749
RM
1431 * Makeconfig (ASFLAGS): Add -Werror=undef.
1432 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1433 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1434 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1435
04f5a636
RM
1436 * Makeconfig (after-link): New variable.
1437 (+link-pie, +link-pie-tests): Use it.
1438 (+link-static, +link-static-tests): Likewise.
1439 (+link, +link-tests): Likewise.
1440 * Makerules (build-module, build-module-asneeded): Likewise.
1441 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1442 Likewise.
1443 * elf/Makefile ($(objpfx)ld.so): Likewise.
1444
87a629c5
RS
14452015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1446
1447 [BZ #17965]
1448 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1449 both struct timeval and struct timespec.
1450
03d95bd4
JM
14512015-02-12 Joseph Myers <joseph@codesourcery.com>
1452
1453 [BZ #16560]
1454 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1455 and redefine.
1456 (__ieee754_exp2l): Do not multiply small fractional parts by
1457 M_LN2l.
1458 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1459 small argument.
1460 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1461 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1462 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1463 * math/auto-libm-test-in: Add more tests of exp2.
1464 * math/auto-libm-test-out: Regenerated.
1465
98408b95
RS
14662015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1467
1468 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1469 unaligned path.
1470
6f741503
AZ
14712015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1472
1473 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1474 little endian.
1475
2868e070
AS
14762015-02-12 Andreas Schwab <schwab@suse.de>
1477
1478 [BZ #15790]
1479 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1480 Filter out elision flags from value returned in kind.
1481 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1482 * nptl/tst-pthread-mutexattr.c: New file.
1483
ebf27d12
ST
14842015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1485
1486 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1487 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1488 into gnu-gnu, and update comment to refer to abi-tags.
1489
d435569c
JM
14902015-02-11 Joseph Myers <joseph@codesourcery.com>
1491
1492 [BZ #15467]
1493 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1494 (__sincos): Set errno to EDOM for infinite argument.
1495 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1496 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1497 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1498 (__sincosl): Set errno to EDOM for infinite argument.
1499 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1500 (__sincosl): Set errno to EDOM for infinite argument.
1501 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1502 (__sincosl): Set errno to EDOM for infinite argument.
1503 * math/libm-test.inc (sincos_test_data): Test errno setting.
1504
d35273f2
LH
15052015-02-11 Leonhard Holz <leonhard.holz@web.de>
1506
1507 * string/strxfrm_l.c: Remove #define STRCMP.
1508 * string/strcoll_l.c: Remove #define STRLEN.
1509 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1510 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1511
306bc0d1
JM
15122015-02-10 Joseph Myers <joseph@codesourcery.com>
1513
1514 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1515 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1516 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1517 * sysdeps/mips/mips64/Makefile: ... here.
1518 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1519 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1520 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1521 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1522 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1523 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1524 * sysdeps/mips/mips64/n64/Implies: Likewise.
1525
92b67e8d
RM
15262015-02-10 Roland McGrath <roland@hack.frob.com>
1527
1528 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1529 <sys/time.h>, <string.h>, and <errno.h>.
1530 (dest_offset, dest_address, value, zero): Remove unused variables.
1531 (ldouble): Remove typedef.
1532 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1533 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1534 1). Fix code style.
1535 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1536 (check): Function removed.
1537 (CHECK): New macro.
1538 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1539 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1540 Don't call set_sigaction_FP and remove_sigaction_FP here.
1541 (ldouble_test): Just use 'long double' as macro argument, no need for
1542 the 'ldouble' typedef.
1543 (do_test): Set up SIGFPE handler at start, using plain signal rather
1544 than sigaction. Fix code style.
1545
132a1328
EF
15462015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1547
1548 [BZ #17949]
1549 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1550 jump label.
1551
3001e54c
AZ
15522015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1553
bc0cdc49
AZ
1554 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1555 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1556
83658961
AZ
1557 * sysdeps/powerpc/configure.ac: Remove file.
1558 * sysdeps/powerpc/configure: Likewise.
1559
10169938
AZ
1560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1561 [sysdep_routines]: Remove wordcopy-power6 object.
1562 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1563 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1564 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1565 (__memmove_ppc32): Likewise.
1566 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1567 file.
1568 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1569 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1570 Remove preprocessor.
1571
8548a53d
AZ
1572 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1573 [sysdep_routines]: Remove wide chars objects.
1574 [wcsmbs]: New rule for wide char objects.
1575
b2692114
AZ
1576 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1577 Remove wordcopy-power6 obejct.
1578 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1579 Use local call for wordcopy and memcpy symbols.
1580 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1581 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1582 implementation for loader.
1583 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1584
18e270aa
AZ
1585 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1586 Remove wordcopy-power7 object.
1587 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1588 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1589 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1590 (_wordcopy_fwd_dest_aligned): Likewise.
1591 (_wordcopy_bwd_aligned): Likewise.
1592 (_wordcopy_bwd_dest_aligned): Likewise.
1593
6f0993a6
AZ
1594 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1595 Rewrite to call __memmove_ppc instead of include default
1596 implementation.
1597
3001e54c
AZ
1598 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1599 Remove wide chars objects.
1600 [wcsmbs]: New rule for wide char objects.
1601
59b61c82
AS
16022015-02-09 Andreas Schwab <schwab@suse.de>
1603
1604 [BZ #17912]
1605 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1606 in terms of __O_DIRECTORY.
1607
ebd7aede
ST
16082015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1609
1610 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
1611 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1612 call PTR_MANGLE.
1613 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1614 PTR_DEMANGLE.
ebd7aede 1615
3999d26e
PE
16162015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1617
1618 Add ersatz _Static_assert on older C hosts
1619 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1620 pre-C11 C platform that is not known to support _Static_assert.
1621
e9a5bc1c
ST
16222015-02-07 Richard Braun <rbraun@sceen.net>
1623
1624 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1625 sigstate.
e86c5b64 1626 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 1627
e2049d17
ST
16282015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1629
1630 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1631 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
1632 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1633 instead of int.
1634 * misc/fchflags.c (fchflags): Likewise.
1635 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1636 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1637 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1638 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1639 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1640 Declare macros.
1641 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
1642 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1643 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
1644 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1645 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1646 45.
a9a002fb
ST
1647 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1648 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
1649 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1650 MACH_RCV_TIMED_OUT.
f96ec27a
ST
1651 * hurd/hurd/signal.h (_hurd_self_sigstate,
1652 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1653 Explicit casts from void *.
4fc81a77 1654 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 1655 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 1656
f05826f0
ST
1657 [BZ #4719]
1658 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1659 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1660 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1661 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1662 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1663 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1664
a5eb23de
ST
1665 [BZ #17944]
1666 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1667 duplicates ADDR->sun_path with sockaddr LEN limitation.
1668 * sysdeps/mach/hurd/connect.c: Include <string.h>
1669 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1670 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1671 * sysdeps/mach/hurd/sendto.c: Likewise.
1672 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1673 implementing it by hand.
1674
ac9e0e5e
RM
16752015-02-06 Roland McGrath <roland@hack.frob.com>
1676
f8d1bb4c
RM
1677 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1678 Use sfi_breg on ldr.
1679 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1680 Likewise.
1681
022f4812
RM
1682 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1683 it's defined.
1684 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1685 Test SIGSETXID only if it's defined.
1686
1ac074e6
RM
1687 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1688
f50ad78b
RM
1689 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1690 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1691
9e7265f4
RM
1692 * nptl/tst-align2.c: Moved ...
1693 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1694 * nptl/Makefile (tests): Remove tst-align2.
1695 * sysdeps/unix/sysv/linux/Makefile
1696 [$(subdir) = nptl] (tests): Add tst-align-clone.
1697 * nptl/tst-getpid1.c: Moved ...
1698 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1699 * nptl/tst-getpid2.c: Moved ...
1700 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1701 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1702 * sysdeps/unix/sysv/linux/Makefile
1703 [$(subdir) = nptl] (tests): ... here.
1704 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1705 * sysdeps/unix/sysv/linux/Makefile
1706 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1707
62ad2abc
RM
1708 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1709 Drop trailing \n from perror argument. Use return rather than exit.
1710
cfa69b0b
RM
1711 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1712 on [SA_SIGINFO].
1713 * nptl/tst-cancel21.c (do_test): Likewise.
1714 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1715 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1716 [!SA_SIGINFO]: Make it a stub test.
1717
82727806
RM
1718 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1719 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1720
da3a1594
RM
1721 * posix/tst-getlogin.c: Move to ...
1722 * login/tst-getlogin.c: ... here.
1723 * posix/Makefile (tests): Move tst-getlogin to ...
1724 * login/Makefile (tests): ... here.
1725
b65c0ff9
RM
1726 * libio/tst-atime.c (do_test): Move local variables SV and E
1727 inside [ST_NOATIME] conditional.
1728
56606ab3
RM
1729 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1730
ebf7d6ee
RM
1731 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1732
ca0e0675
RM
1733 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1734 (wait_code): New function replaces macro.
1735 Call nanosleep rather than syscall.
1736
8c28bbc6
RM
1737 * nptl/pt-system.c: Rewritten. Put everything under
1738 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1739 Use IFUNC to redirect when possible.
1740
ec2a88b3
RM
1741 * nptl/pt-longjmp.c: Rewritten. Put everything under
1742 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1743 Use IFUNC to redirect when possible.
1744
beff1d13
RM
1745 * nptl/pt-fork.c: Rewritten. Put everything under
1746 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1747 Use IFUNC to redirect when possible.
1748 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1749
ea02c6b8
RM
1750 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1751 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1752 unconditionally nowadays. This included the only reference to
1753 __vdso_clock_gettime that appears outside libc proper.
1754 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1755 Remove version set (containing only __vdso_clock_gettime).
1756 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1757 Add attribute_hidden.
1758 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1759 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1760 libc_hidden_data_def.
1761 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1762 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1763
a1309c2b
RM
1764 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1765 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1766 setrpcent, and getrpcport to ...
1767 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1768 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1769 getrpcbynumber_r, and getrpcent_r to ...
1770 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1771 * inet/getrpcbyname.c: Moved ...
1772 * sunrpc/getrpcbyname.c: ... here.
1773 * inet/getrpcbyname_r.c: Moved ...
1774 * sunrpc/getrpcbyname_r.c: ... here.
1775 * inet/getrpcbynumber.c: Moved ...
1776 * sunrpc/getrpcbynumber.c: ... here.
1777 * inet/getrpcbynumber_r.c: Moved ...
1778 * sunrpc/getrpcbynumber_r.c: ... here.
1779 * inet/getrpcent.c: Moved ...
1780 * sunrpc/getrpcent.c: ... here.
1781 * inet/getrpcent_r.c: Moved ...
1782 * sunrpc/getrpcent_r.c: ... here.
1783 * inet/Makefile (routines): Move those to ...
1784 * sunrpc/Makefile (routines): ... here.
1785 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1786 the $(subdirs) list.
1787 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1788 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1789 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1790 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1791
ac9e0e5e
RM
1792 * elf/Makefile (routines): Include $(all-dl-routines), not just
1793 $(dl-routines).
1794 (rtld-routines): Likewise. Use = rather than :=.
1795 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1796 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1797 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1798 * sysdeps/arm/Makefile: Likewise.
1799 * sysdeps/i386/Makefile: Likewise.
1800 * sysdeps/x86_64/Makefile: Likewise.
1801 * sysdeps/hppa/Makefile [$(subdir) = elf]
1802 (sysdep_routines, sysdep-rtld-routines): Don't add
1803 $(sysdep-dl-routines) to these.
1804 * sysdeps/ia64/Makefile: Likewise.
1805 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1806 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1807 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1808 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1809 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1810 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1811 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1812 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1813 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1814 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1815 these; sysdep-dl-routines alone is enough.
1816
639e42eb
JM
18172015-02-06 Joseph Myers <joseph@codesourcery.com>
1818
1c7a4a51
JM
1819 [BZ #17932]
1820 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1821 where multiplication results in zero and third argument is finite
1822 and nonzero.
1823 * math/auto-libm-test-in: Add more tests of fma.
1824 * math/auto-libm-test-out: Regenerated.
1825
61f006c1
JM
1826 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1827 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1828 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1829 (_FP_CMP_EQ): Likewise.
1830 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1831
639e42eb
JM
1832 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1833 extra argument CHECK_NAN. Redefine as wrapper around
1834 _FP_EXTEND_CNAN.
1835
3c0c543b
CD
18362015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1837
4e42b5b8
CD
1838 * version.h (RELEASE): Set to "stable".
1839 (VERSION): Set to "2.21"
1840 * include/features.h (__GLIBC_MINOR__): Set to 21.
1841
3c0c543b
CD
1842 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1843
5bd80bfe 18442015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 1845 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
1846
1847 [BZ #16618]
1848 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1849 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1850 size in bytes. Store needed elements in wpmax. Use needed size
1851 in bytes for extend_alloca.
1852
3f823f48
CD
18532015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1854
04cb913d
CD
1855 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1856 binutls 2.25, and texinfo 5.2.
1857 * INSTALL: Regenerate.
1858 * sysdeps/nios2/configure: Regenerate.
1859 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1860 * manual/contrib.texi: Update.
1861 * po/be.po: Update.
1862 * po/bg.po: Update.
1863 * po/ca.po: Update.
1864 * po/cs.po: Update.
1865 * po/da.po: Update.
1866 * po/de.po: Update.
1867 * po/el.po: Update.
1868 * po/eo.po: Update.
1869 * po/es.po: Update.
1870 * po/fi.po: Update.
1871 * po/fr.po: Update.
1872 * po/gl.po: Update.
1873 * po/hr.po: Update.
1874 * po/hu.po: Update.
1875 * po/ia.po: Update.
1876 * po/id.po: Update.
1877 * po/it.po: Update.
1878 * po/ja.po: Update.
1879 * po/ko.po: Update.
1880 * po/lt.po: Update.
1881 * po/nb.po: Update.
1882 * po/nl.po: Update.
1883 * po/pl.po: Update.
1884 * po/pt_BR.po: Update.
1885 * po/ru.po: Update.
1886 * po/rw.po: Update.
1887 * po/sk.po: Update.
1888 * po/sl.po: Update.
1889 * po/sv.po: Update.
1890 * po/tr.po: Update.
1891 * po/uk.po: Update.
1892 * po/vi.po: Update.
1893 * po/zh_CN.po: Update.
1894 * po/zh_TW.po: Update.
1895
3f823f48
CD
1896 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1897 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1898 * sysdeps/hppa/dl-irel.h: Remove #warning.
1899 * sysdeps/hppa/entry.h: Provide prototype for
1900 __canonicalize_funcptr_for_compare and cast argument.
1901 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1902 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1903 * sysdeps/hppa/sotruss-lib.c: New file.
1904 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1905 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1906 (atomic_compare_and_exchange_bool_acq): Likewise.
1907 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1908 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1909
1910 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1911 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1912 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1913
34c56048
CLT
19142015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1915
1916 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1917 called function in non-PIC case.
1918
d4abeca5
DM
19192015-01-31 David S. Miller <davem@davemloft.net>
1920
edac0a60
DM
1921 * sysdeps/sparc/sparc32/bits/atomic.h
1922 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1923 unlock not after it.
1924 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1925 volatile register usage warnings from the compiler.
1926
d4abeca5
DM
1927 * sysdeps/sparc/nptl/sem_init.c: Delete.
1928 * sysdeps/sparc/nptl/sem_post.c: Delete.
1929 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1930 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1931 * sysdeps/sparc/sparc32/sem_init.c: New file.
1932 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1933 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1934 padding explicitly initialized.
1935 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1936 padding for in-semaphore spinlock.
1937 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1938 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1939 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1940 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1941 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1942 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1943 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1944 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1945 version.
1946 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1947 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1948
5f3d0b78
L
19492015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1950
1951 [BZ #17801]
1952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1953 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1954 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1955 New.
1956 (index_AVX_Fast_Unaligned_Load): Likewise.
1957 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1958 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1959 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1960 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1961 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1962 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1963 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1964 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1965 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1966
b658fdd8
AS
19672015-01-29 Andreas Schwab <schwab@suse.de>
1968
1969 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1970
3cb26316
SP
19712015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1972
1973 [BZ #17892]
1974 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1975
527de9e4
MS
19762015-01-28 Martin Sebor <msebor@redhat.com>
1977
1978 * math/README.libm-test: Clarify. Add "How to read the test output."
1979
06991eb8
CM
19802015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1981
1982 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1983 Define to 0.
1984
df341342
JM
19852015-01-28 Joseph Myers <joseph@codesourcery.com>
1986
1987 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1988 (__HAVE_64B_ATOMICS): Define to 0.
1989
08cee2a4
AZ
19902015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1991
d4d0ecb2
AZ
1992 [BZ #17885]
1993 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1994 value to set as new flag.
1995
08cee2a4
AZ
1996 [BZ #16576]
1997 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1998 and use _ARCH_PPCSQ instead.
1999 (__ieee754_sqrt): Likewise.
2000 (__ieee754_sqrtf): Likewise.
2001 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2002 _ARCH_PPCSQ is defined.
2003 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2004 fsqrt instruction.
2005 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2006 _ARCH_PPCSQ is defined.
2007 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2008 fsqrts instruction.
2009 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2010
5fe8e359
AK
20112015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2012
2013 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2014 bug (GCC BZ #64739).
2015
24bb7432
AS
20162015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2017
fa20da31
AS
2018 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2019 Mark _retval as used.
2020 (lll_futex_wake_unlock): Likewise.
2021 (lll_futex_timed_wait_requeue_pi): Likewise.
2022
45819cbc
AS
2023 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2024 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2025 register variables.
2026
403cc231
AS
2027 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2028 libm_hidden_def.
2029
24bb7432
AS
2030 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2031 (__bswap_64): Mark as __always_inline.
2032
9317ea65
B
20332015-01-25 Bram <bug_rh@spam.wizbit.be>
2034
2035 [BZ #15378]
2036 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2037 when none of the search directories exist.
2038
0e87343e
AZ
20392015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2040
bea58013
AZ
2041 [BZ #17869]
2042 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2043 power8 in .machine directive.
2044
0e87343e
AZ
2045 [BZ #17868]
2046 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2047 set dependency from opd value.
2048
ede0236c
L
20492015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2050
2051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
2052 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2053 architecture.
ede0236c 2054
22971c35
L
20552015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2056
2057 [BZ #17870]
2058 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2059 with uint64_t.
2060 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2061 (uint64_t) 1.
e0da28a1 2062 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
2063 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2064 Replace 1UL with (uint64_t) 1.
2065 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2066 int with uint64_t.
2067
da5bf245
RM
20682015-01-23 Roland McGrath <roland@hack.frob.com>
2069
2ec2d703
RM
2070 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2071 (if_freenameindex): Likewise.
2072
da5bf245
RM
2073 * resource/getrlimit64.c: Add missing libc_hidden_def.
2074
d7423856
JM
20752015-01-22 Joseph Myers <joseph@codesourcery.com>
2076
2077 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2078 __label__.
2079 (_FP_FMA): Likewise.
2080 (_FP_TO_INT_ROUND): Likewise.
2081 (_FP_FROM_INT): Likewise.
2082
6b2ba95b
AZ
20832015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2084
2085 [BZ #16418]
2086 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2087 Make code racy and cancel safe.
2088
ccdb048d
CD
20892015-01-21 Carlos O'Donell <carlos@redhat.com>
2090
191220b3
CD
2091 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2092 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2093 attribution.
2094
0897c551
CD
2095 * pwd/tst-getpw.c: Rewrite.
2096
ccdb048d
CD
2097 [BZ #17702]
2098 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2099 (modules-names): Add moddummy1 and moddummy2.
2100 ($(objpfx)tst-rec-dlopen): Define.
2101 * dlfcn/moddummy1.c: New file.
2102 * dlfcn/moddummy2.c: New file.
2103 * dlfcn/tst-rec-dlopen.c: New file.
2104 * elf/dl-cache.c (_dl_load_cache_lookup):
2105 Return char*. Copy result with alloca/strcpy/strdup.
2106 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2107 returns char*. Free cached. If not saving realname
2108 free cached.
2109 * elf/dl-open.c (dl_open_worker): Do not assert that
2110 _r_debug->r_state is RT_CONSISTENT.
2111 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2112 returns char*.
2113
042e1521
CD
21142015-01-21 Torvald Riegel <triegel@redhat.com>
2115 Carlos O'Donell <carlos@redhat.com>
2116
2117 [BZ #12674]
2118 * nptl/sem_waitcommon.c: New file.
2119 * nptl/sem_wait.c: Include sem_waitcommon.c.
2120 (__sem_wait_cleanup, do_futex_wait): Remove.
2121 (__new_sem_wait): Adapt.
2122 (__new_sem_trywait): New function.
2123 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2124 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2125 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2126 (sem_timedwait): Adapt.
2127 * nptl/sem_post.c (__new_sem_post): Adapt.
2128 (futex_wake): New function.
2129 (__old_sem_post): Add release MO fence.
2130 * nptl/sem_open.c (sem_open): Adapt.
2131 * nptl/sem_init.c (__new_sem_init): Adapt.
2132 (futex_private_if_supported): New function.
2133 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2134 (__old_sem_getvalue): Add using previous code.
2135 * sysdeps/nptl/internaltypes.h: Adapt.
2136 * nptl/tst-sem13.c (do_test): Adapt.
2137 * nptl/tst-sem11.c (main): Adapt.
2138 * nptl/sem_trywait.c: Remove.
2139 * nptl/DESIGN-sem.txt: Remove.
2140 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2141 (gen-as-const-headers): Remove structsem.sym.
2142 * nptl/structsem.sym: Remove.
2143 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2144 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2145 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2146 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2147 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2148 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2149 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2150 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2151 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2152 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2153 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2154 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2155 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2156 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2157 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2158 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2159 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2160 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2161 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2162 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2163 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2164 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2165
fe0e85af
CD
21662015-01-20 Carlos O'Donell <carlos@redhat.com>
2167
a8db092e
CD
2168 * INSTALL: Regenerated.
2169
fe0e85af
CD
2170 * po/libc.pot: Regenerated.
2171
522e6ee3
CLT
21722015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2173 Sandra Loosemore <sandra@codesourcery.com>
2174 Andrew Jenner <andrew@codesourcery.com>
2175 Joseph Myers <joseph@codesourcery.com>
2176 Nathan Sidwell <nathan@codesourcery.com>
2177
2178 * NEWS: Mention new Nios II port.
2179 * sysdeps/nios2/Implies: New file.
2180 * sysdeps/nios2/Makefile: New file.
2181 * sysdeps/nios2/Subdirs: New file.
2182 * sysdeps/nios2/Versions: New file.
2183 * sysdeps/nios2/__longjmp.S: New file.
2184 * sysdeps/nios2/abort-instr.h: New file.
2185 * sysdeps/nios2/backtrace.c: New file.
2186 * sysdeps/nios2/bits/endian.h: New file.
2187 * sysdeps/nios2/bits/fenv.h: New file.
2188 * sysdeps/nios2/bits/link.h: New file.
2189 * sysdeps/nios2/bits/setjmp.h: New file.
2190 * sysdeps/nios2/bsd-_setjmp.S: New file.
2191 * sysdeps/nios2/bsd-setjmp.S: New file.
2192 * sysdeps/nios2/configure: New generated file.
2193 * sysdeps/nios2/configure.ac: New file.
2194 * sysdeps/nios2/crti.S: New file.
2195 * sysdeps/nios2/crtn.S: New file.
2196 * sysdeps/nios2/dl-init.c: New file.
2197 * sysdeps/nios2/dl-machine.h: New file.
2198 * sysdeps/nios2/dl-sysdep.h: New file.
2199 * sysdeps/nios2/dl-tls.h: New file.
2200 * sysdeps/nios2/dl-trampoline.S: New file.
2201 * sysdeps/nios2/gccframe.h: New file.
2202 * sysdeps/nios2/gmp-mparam.h: New file.
2203 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2204 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2205 * sysdeps/nios2/ldsodefs.h: New file.
2206 * sysdeps/nios2/libc-tls.c: New file.
2207 * sysdeps/nios2/libm-test-ulps: New file.
2208 * sysdeps/nios2/machine-gmon.h: New file.
2209 * sysdeps/nios2/math-tests.h: New file.
2210 * sysdeps/nios2/math_private.h: New file.
2211 * sysdeps/nios2/memusage.h: New file.
2212 * sysdeps/nios2/nptl/Makefile: New file.
2213 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2214 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2215 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2216 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2217 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2218 * sysdeps/nios2/nptl/tls.h: New file.
2219 * sysdeps/nios2/preconfigure: New file.
2220 * sysdeps/nios2/s_fma.c: New file.
2221 * sysdeps/nios2/s_fmaf.c: New file.
2222 * sysdeps/nios2/setjmp.S: New file.
2223 * sysdeps/nios2/sfp-machine.h: New file.
2224 * sysdeps/nios2/sotruss-lib.c: New file.
2225 * sysdeps/nios2/stackguard-macros.h: New file.
2226 * sysdeps/nios2/stackinfo.h: New file.
2227 * sysdeps/nios2/start.S: New file.
2228 * sysdeps/nios2/sysdep.h: New file.
2229 * sysdeps/nios2/tls-macros.h: New file.
2230 * sysdeps/nios2/tst-audit.h: New file.
2231 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2232 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2233 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2234 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2235 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2236 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2237 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2238 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2239 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2240 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2241 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2242 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2243 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2244 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2245 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2246 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2247 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2248 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2249 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2250 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2251 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2252 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2253 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2254 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2255 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2256 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2257 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2258 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2259 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2260 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2261 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2262 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2263 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2264 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2265 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2266 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2267 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2268 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2269 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2270 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2271 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2272 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2273 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2274 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2275
026eb207
SL
22762015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2277
2278 [BZ #17844]
2279 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2280 (getutent): Use weak_alias in non SHARED case
2281 and default_symbol_version in SHARED case.
2282 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2283 (getutent_r, pututline): Likewise.
2284 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2285 (getutid): Likewise.
2286 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2287 (getutid_r): Likewise.
2288 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2289 (getutline): Likewise.
2290 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2291 (getutline_r): Likewise.
2292 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2293 (updwtmp): Likewise.
2294
1d532483
SL
22952015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2296
2297 [BZ #17848]
2298 * sysdeps/s390/s390-32/memcmp.S
2299 (memcmp_g5): Rename to __memcmp_g5.
2300 * sysdeps/s390/s390-32/memcpy.S
2301 (memcpy_g5): Rename to __memcpy_g5.
2302 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2303 (memcpy_mvcle) Rename to __memcpy_mvcle.
2304 * sysdeps/s390/s390-32/memset.S
2305 (memset_g5): Rename to __memset_g5.
2306 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2307 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2308 and use prefixed functions.
2309 * sysdeps/s390/s390-32/multiarch/memcmp.S
2310 (memcmp_z196): Rename to __memcmp_z196.
2311 (memcmp_z10): Rename to __memcmp_z10.
2312 (memcmp): Set alias to __memcmp_g5.
2313 (bcmp): Set alias to __memcmp_g5.
2314 * sysdeps/s390/s390-32/multiarch/memcpy.S
2315 (memcpy_z196): Rename to __memcpy_z196.
2316 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2317 (memcpy_z10): Rename to __memcpy_z10.
2318 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2319 (memcpy): Set alias to __memcpy_g5.
2320 * sysdeps/s390/s390-32/multiarch/memset.S
2321 (memset_z196): Rename to __memset_z196.
2322 Jump to __memset_mvcle instead of memset_mvcle.
2323 (memset_z10): Rename to __memset_z10.
2324 Jump to __memset_mvcle instead of memset_mvcle.
2325 (memset_mvcle) Rename to __memset_mvcle.
2326 (memset): Set alias to __memset_g5.
2327 * sysdeps/s390/s390-64/memcmp.S
2328 (memcmp_z900): Rename to __memcmp_z900.
2329 * sysdeps/s390/s390-64/memcpy.S
2330 (memcpy_z900): Rename to __memcpy_z900.
2331 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2332 (memcpy_mvcle) Rename to __memcpy_mvcle.
2333 * sysdeps/s390/s390-64/memset.S
2334 (memset_z900): Rename to __memset_z900.
2335 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2336 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2337 and use prefixed functions.
2338 * sysdeps/s390/s390-64/multiarch/memcmp.S
2339 (memcmp_z196): Rename to __memcmp_z196.
2340 (memcmp_z10): Rename to __memcmp_z10.
2341 (memcmp): Set alias to __memcmp_z900.
2342 (bcmp): Set alias to __memcmp_z900.
2343 * sysdeps/s390/s390-64/multiarch/memcpy.S
2344 (memcpy_z196): Rename to __memcpy_z196.
2345 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2346 (memcpy_z10): Rename to __memcpy_z10.
2347 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2348 (memcpy): Set alias to __memcpy_z900.
2349 * sysdeps/s390/s390-64/multiarch/memset.S
2350 (memset_z196): Rename to __memset_z196.
2351 Jump to __memset_mvcle instead of memset_mvcle.
2352 (memset_z10): Rename to __memset_z10.
2353 Jump to __memset_mvcle instead of memset_mvcle.
2354 (memset_mvcle) Rename to __memset_mvcle.
2355 (memset): Set alias to __memset_z900.
2356
53fbd169
JM
23572015-01-14 Joseph Myers <joseph@codesourcery.com>
2358
2359 [BZ #17748]
2360 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2361 __fesetenv instead of fesetenv.
2362
d639a363
SP
23632015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2364
2365 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2366 macro.
2367
d3b00f46
AZ
23682015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2369
ce6615c9
AZ
2370 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2371 regression on LE.
2372
d3b00f46
AZ
2373 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2374 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2375 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2376 strncmp-power8 object.
2377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2378 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2379 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2380 * NEWS: Update.
2381
72607db0
RS
23822015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2383 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2384
2385 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2386 trailing byte check.
2387
54dc5461
DM
23882015-01-13 David S. Miller <davem@davemloft.net>
2389
2390 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2391
1c6e6f23
RM
23922015-01-13 Roland McGrath <roland@hack.frob.com>
2393
2394 * login/logout.c (logout): Use memset rather than bzero.
2395 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2396 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2397 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2398 (_gethtbyaddr): Likewise.
2399 * locale/programs/simple-hash.c (bcopy): Macro removed.
2400
96d6fd6c
AZ
24012015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2402
8bedcb5f
AZ
2403 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2404 Add strcmp-power8 object.
2405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2406 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2407 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2408 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2409 __strcmp_power8 implementation.
2410 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2411 * NEWS: Update.
2412
f06a4faf
AZ
2413 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2414 Add strncpy-power8 and stpncpy-power8 objects.
2415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2416 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2417 implementations.
2418 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2419 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2420 __stpncpy_power8 implementation.
2421 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2422 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2423 __strncpy_power8 implementation.
2424 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2425 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2426 * NEWS: Update.
2427
9f2f36e5
AZ
2428 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2429 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2430 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2431
96d6fd6c 2432 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2433 strncat-power8 object.
2434 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2435 __strcat_power8 implementation.
2436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2437 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2438 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2439 optimized strcat for power8.
2440
2441 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2442 strcpy-power8 and stpcpy-power8 objects.
2443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2444 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2445 implementations.
2446 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2447 multiarch stpcpy implementation for POWER8.
2448 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2449 multiarch strcpy implementation for POWER8.
2450 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2451 __strcpy_power8 function.
2452 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2453 stpcpy for POWER8.
2454 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2455 strcpy for POWER8.
2456 * NEWS: Update.
2457
0f9e5854
LH
24582015-01-13 Leonhard Holz <leonhard.holz@web.de>
2459
2460 [BZ #16009]
2461 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2462 weights and rules. Use do_xfrm_cached if data fits in cache,
2463 do_xfrm otherwise. Moved former main loop to...
2464 * (do_xfrm_cached): New function.
2465 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2466 find_idx, find_position and stack_push.
2467 * (find_idx): New function.
2468 * (find_position): Likewise.
2469 * localedata/sort-test.sh: Added test run for do_xfrm.
2470 * localedata/xfrm-test.c (main): Added command line option
2471 -nocache to run the test with strings that are too large for
2472 the STRXFRM cache.
2473
c60ec0e0
TR
24742015-01-13 Torvald Riegel <triegel@redhat.com>
2475
2476 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2477 variable to lll_futex_wake call, not the value itself.
2478
34e93d6c
JM
24792015-01-12 Joseph Myers <joseph@codesourcery.com>
2480
5a9e4c09
JM
2481 [BZ #17803]
2482 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2483 twom64. Adjust value to 0x1p-64L.
2484 (__scalblnl): Only return standard underflowing result for K <=
2485 -64 not K <= -63; adjust exponent for underflowing result by 64
2486 not 63.
2487 * math/libm-test.inc (scalbn_test_data): Add more tests.
2488 (scalbln_test_data): Likewise.
2489
34e93d6c
JM
2490 [BZ #17834]
2491 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2492 0x1p63L.
2493 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2494 not HX.
2495 * math/libm-test.inc (scalbn_test_data): Add more tests.
2496 (scalbln_test_data): Likewise.
2497
ca677d3c
AZ
24982015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2499 Stefani Seibold <stefani@seibold.net>
2500
2501 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2502 (sysdep_routines): Add dl-vdso here, ...
2503 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2504 (sysdep_routines): ... not here.
2505 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2506 fallback when vDSO is not presented.
2507 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2508 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2509 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2510 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2511 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2512 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2513 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2514 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2515 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2516 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2517 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2518 fallback configurable symbol when vDSO is not available.
2519 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2520 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2521 be able to redefine fallback symbol when vDSO is not available.
2522 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2523 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2524
49a9f6ab 25252015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2526
56cf2763
AZ
2527 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2528 (TLS_INIT_TP): Add tm_capable initialization.
2529 (TLS_DEFINE_INIT_TP): Likewise.
2530 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2531 TCB.
2532 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2533 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2534 calculation.
2535 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2536 transactoion is lock elision is built and TCB tm_capable is set.
2537 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2539 (INTERNAL_SYSCALL_NCS): Likewise.
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2541 (INTERNAL_SYSCALL_NCS): Likewise.
2542 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2543
4b45943a
AZ
2544 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2545 for powerpc.
2546 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2547 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2548 and remove it for 32 bits case.
2549 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2550 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2551 initialization.
2552 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2553 Disable lock elision with rdlocks if elision is not available.
2554
8d2c0a59
AZ
2555 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2556 (sysdep_routines): Add lock elision objects.
2557 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2558 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2559 [pthread_mutex_t] (__elision): Add field.
2560 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2561 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2562 elision definitions for powerpc.
2563 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2564 implementation of lock elision for powerpc.
2565 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2566 implementation of timed lock elision for powerpc.
2567 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2568 implementation of trylock with lock elision for powerpc.
2569 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2570 implementaion of unlock for lock elision for powerpc.
2571 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2572 automatic enable lock elision for mutexes.
2573 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2574 transaction execution definitions for powerpc.
2575 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2576 definitions.
2577 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2578 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2579 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2580 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2581 * NEWS: Update.
2582
bc0ed9f7
RM
25832015-01-09 Roland McGrath <roland@hack.frob.com>
2584
2585 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2586 for #include of <shm-directory.h>.
2587
585d9c18
CLT
25882015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2589
2590 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2591 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2592
aee6626c
MF
25932015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2594
2595 [BZ #17791]
2596 * NEWS: Mention bug fix.
2597 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2598 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2599 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2600
9e560f48
TR
26012015-01-09 Torvald Riegel <triegel@redhat.com>
2602
2603 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2604
e1cfbd0c
TR
26052015-01-09 Torvald Riegel <triegel@redhat.com>
2606
2607 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2608
cf71e44f
DH
26092015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2610
2611 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2612 pointer and cast to uintptr_t.
2613
b360ee62
DH
26142015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2615
2616 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2617 removed.
2618 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2619
caff764e
DH
26202015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2621
2622 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2623 of 0.
2624
59ff172f
RM
26252015-01-08 Roland McGrath <roland@hack.frob.com>
2626
c97d27f1
RM
2627 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2628 <nptl/pthreadP.h> instead.
2629 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2630
08734ccd
RM
2631 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2632 already defined.
2633 [__SIGRTMIN] (init): Function removed.
2634 [__SIGRTMIN] (initialized): Variable removed.
2635 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2636 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2637 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2638 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2639 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2640 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2641 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2642 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2643 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2644 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2645 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2646 * sysdeps/nptl/allocrtsig.c: New file.
2647 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2648 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2649 * sysdeps/generic/testrtsig.h: File removed.
2650
7b052e33
RM
2651 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2652 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2653
cc40d25e
RM
2654 * nptl/nptl-init.c (pthread_functions): Conditionalize
2655 .ptr__nptl_setxid initialization on [SIGSETXID].
2656
9287adf0
RM
2657 * sysdeps/nptl/sys/procfs.h: New file.
2658 * nptl_db/Makefile (headers): Add it.
2659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2660
59ff172f
RM
2661 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2662 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2663 * nptl/pthread_attr_setaffinity.c: Include it.
2664 * nptl/pthread_setattr_default_np.c: Likewise.
2665 * nptl/check-cpuset.h: New file.
2666
b9205857
RH
26672015-01-08 Richard Henderson <rth@redhat.com>
2668
2669 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2670 (CFLAGS-tst-execstack-prog.c): Likewise.
2671 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2672
1a0a8d15
CLT
26732015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2674 Sandra Loosemore <sandra@codesourcery.com>
2675 Andrew Jenner <andrew@codesourcery.com>
2676 Joseph Myers <joseph@codesourcery.com>
2677 Nathan Sidwell <nathan@codesourcery.com>
2678
2679 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2680 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2681 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2682 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2683 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2684 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2685 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
2686 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2687 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2688 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2689 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2690 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2691 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
2692 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2693 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2694 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2695 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2696
dd6e8af6
AZ
26972015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2698
2699 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2700 timespec struct member in syscall macro.
2701 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2702 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2703 first timeval struct member in syscall macro.
2704 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2705
8116321f
JM
27062015-01-07 Joseph Myers <joseph@codesourcery.com>
2707
2708 [BZ #17748]
2709 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2710 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2711 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2712 __feupdateenv and define as weak alias of __feupdateenv. Use
2713 libm_hidden_weak.
2714 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2715 libm_hidden_def.
2716 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2717 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2718 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2719 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2720 libm_hidden_def.
2721 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2722 __feupdateenv and define as weak alias of __feupdateenv. Use
2723 libm_hidden_weak.
2724 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2725 libm_hidden_def.
2726 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2727 __feupdateenv and define as weak alias of __feupdateenv. Use
2728 libm_hidden_weak.
2729 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2730 libm_hidden_def.
2731 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2732 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2733 (__feupdateenv): Likewise.
2734 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2735 __feupdateenv and define as weak alias of __feupdateenv. Use
2736 libm_hidden_weak.
2737 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2738 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2739 libm_hidden_def.
2740 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2741 function.
2742 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2743 libm_hidden_def.
2744 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2745 __feupdateenv instead of feupdateenv.
2746 (default_libc_feupdateenv_test): Likewise.
2747 (libc_feresetround_ctx): Likewise.
2748
882dfe18
AZ
27492015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2750
2751 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2752 prototype.
2753
39a12f8d
CM
27542015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2755
2756 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2757 COLL_SYM in a couple of places to avoid uninitialized variable
2758 wanings on tilegx gcc 4.8.2.
2759
dc400d7b
RE
27602015-01-07 Richard Earnshaw <rearnsha@arm.com>
2761
2762 * sysdeps/aarch64/strcpy.S: New file.
2763 * sysdeps/aarch64/stpcpy.S: New file.
2764 * NEWS: Updated.
2765
ec582ca0
RE
27662015-01-07 Richard Earnshaw <rearnsha@arm.com>
2767
2768 * sysdeps/aarch64/strrchr.S: New file.
2769 * NEWS: Updated.
2770
d5b1c5ed
EB
27712015-01-07 Eric Biggers <ebiggers3@gmail.com>
2772
2773 [BZ #17658]
2774 * stdlib/setenv.c: Fix memory leak when setting large,
2775 duplicate string.
2776
fb87ee96
VN
27772015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2778
60f046a8 2779 [BZ #17273]
fb87ee96
VN
2780 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2781 and tabs from buffer before parsing fstab entry.
2782 * misc/tst-mntent.c (main): Add test for mount entry with
2783 trailing spaces and tabs.
2784
cd42798a
JM
27852015-01-06 Joseph Myers <joseph@codesourcery.com>
2786
01238691
JM
2787 [BZ #17748]
2788 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2789 * math/fesetround.c (fesetround): Rename to __fesetround and
2790 define as weak alias of __fesetround. Use libm_hidden_weak.
2791 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2792 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2793 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2794 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2795 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2796 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2797 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2798 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2799 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2800 __fesetround_inline.
2801 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2802 __fesetround_inline instead of __fesetround.
2803 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2804 __fesetround and define as weak alias of __fesetround. Use
2805 libm_hidden_weak. Call __fesetround_inline instead of
2806 __fesetround.
2807 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2808 __fesetround and define as weak alias of __fesetround. Use
2809 libm_hidden_weak.
2810 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2811 Likewise.
2812 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2813 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2814 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2815 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2816 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2817 __fesetround and define as weak alias of __fesetround. Use
2818 libm_hidden_weak.
2819 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2820 __fesetround instead of fesetround.
2821 (default_libc_feholdexcept_setround): Likewise.
2822 (libc_feholdsetround_ctx): Likewise.
2823 (libc_feholdsetround_noex_ctx): Likewise.
2824
cd42798a
JM
2825 [BZ #17748]
2826 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2827 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2828 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2829 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2830 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2831 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2832 define as weak alias of __fesetenv. Use libm_hidden_weak.
2833 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2834 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2835 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2836 define as weak alias of __fesetenv. Use libm_hidden_weak.
2837 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2838 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2839 define as weak alias of __fesetenv. Use libm_hidden_weak.
2840 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2841 libm_hidden_def.
2842 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2843 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2844 Likewise.
2845 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2846 define as weak alias of __fesetenv. Use libm_hidden_weak.
2847 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2848 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2849 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2850 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2851 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2852 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2853 __fesetenv instead of fesetenv.
2854 (libc_feresetround_noex_ctx): Likewise.
2855 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2856 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2857 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2858 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2859 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2860 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2861 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2862 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2863 (__feupdateenv): Likewise.
2864 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2865 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2866 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2867 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2868
38949026
AJ
28692015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2870
1cf98e27 2871 [BZ #17806]
38949026
AJ
2872 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2873 addresses have been freed.
2874
5fe55e9c
AJ
28752015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2876
2877 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2878 and nservall.
2879
dc8ab018
OB
28802015-01-06 Ondřej Bílka <neleai@seznam.cz>
2881
2882 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2883 Clean up check_pf allocation pattern. addresses
2884
14bb4e57
AZ
28852015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2886
2887 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2888 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2889 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2890 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2891 * nptl/pthread_join.c (pthread_join): Likewise.
2892 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2893 * sysdeps/posix/waitid.c (__waitid): Likewise.
2894 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2895 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2896 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2897 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2898 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2899 Likewise.
2900 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2901 (__libc_pread64): Likewise.
2902 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2903 (__libc_pwrite): Likewise.
2904 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2905 (__libc_pwrite64): Likewsie.
2906 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2907 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2908 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2909 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2910 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2911 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2912 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2914 Likewise.
2915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2916 (__libc_pread64): Likewise.
2917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2918 Likewise.
2919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2920 (__libc_pwrite64): Likewise.
2921 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2922 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2923 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2924 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2925 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2926 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2927 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2928 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2929 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2930 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2931 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2932 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2933 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2934 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2935 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2936 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2937 Likewise.
2938
10a5e112
AS
29392015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2940
2941 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2942 (CFLAGS-test-double.c): Likewise.
2943 (CFLAGS-test-ldouble.c): Likewise.
2944 (CPPFLAGS-test-ifloat.c): Likewise.
2945 (CPPFLAGS-test-idouble.c): Likewise.
2946 (CPPFLAGS-test-ildoubl.c): Likewise.
2947 (CFLAGS-test-test-fenv.c): Remove variable.
2948 (CFLAGS-test-misc.c): Likewise.
2949
57ada0e7
L
29502015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2951
2952 [BZ #17797]
2953 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2954 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2955 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2956 CLOCKS_PER_SEC == 1000000.
2957 * time/clocktest.c (main): Replace %ld with %jd and cast to
2958 intmax_t.
2959
46abb64d
RM
29602015-01-05 Roland McGrath <roland@hack.frob.com>
2961
2962 * sysdeps/generic/unwind-resume.h: New file.
2963 * sysdeps/gnu/unwind-resume.c: Include it.
2964 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2965 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2966 argument list.
2967 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2968 global rather than static.
2969 (_Unwind_Resume): Update user.
2970 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2971 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2972 rather than static. Add __attribute__ ((cold)).
2973 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2974 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2975 * sysdeps/arm/arm-unwind-resume.S: New file.
2976 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2977 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2978 * sysdeps/arm/Makefile [$(subdir) = csu]
2979 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2980 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2981 Add rt-arm-unwind-resume.
2982 [$(subdir) = nptl]
2983 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2984 Add pt-arm-unwind-resume.
2985 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2986 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2987
ef9faf13
JM
29882015-01-05 Joseph Myers <joseph@codesourcery.com>
2989
2990 [BZ #17748]
2991 * include/fenv.h (__feholdexcept): Declare. Use
2992 libm_hidden_proto.
2993 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2994 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2995 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2996 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2997 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2998 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2999 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3000 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3001 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3002 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3003 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3004 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3005 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3006 (feholdexcept): Likewise.
3007 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3008 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3009 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3010 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3011 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3012 __feholdexcept instead of feholdexcept.
3013 (default_libc_feholdexcept_setround): Likewise.
3014
295a453e
SE
30152015-01-05 Steve Ellcey <sellcey@imgtec.com>
3016
3017 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3018 to avoid using stl/str to align destination.
3019
882c4b9f
SE
30202015-01-05 Steve Ellcey <sellcey@imgtec.com>
3021
3022 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3023
ac4c11f5
JM
30242015-01-05 Joseph Myers <joseph@codesourcery.com>
3025
3026 [BZ #17796]
3027 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3028 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3029 Define as weak alias not strong alias.
3030
03403e30
SE
30312015-01-05 Steve Ellcey <sellcey@imgtec.com>
3032
3033 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3034 bltzal with addiupc.
3035 (RTLD_START): Ditto.
3036
1dca195e
CM
30372015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3038
00b8b9ba
SP
3039 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3040 for __vdso_* functions in declarations.
3041 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3042 definitions.
3043 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3044 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 3045
1dca195e
CM
3046 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3047 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3048 function with cast from llround().
3049 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3050 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3051 Define.
3052
a287953a
JM
30532015-01-05 Joseph Myers <joseph@codesourcery.com>
3054
ab70da77
JM
3055 [BZ #17793]
3056 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3057 Define as weak alias not strong alias.
3058
b8986484
JM
3059 [BZ #17635]
3060 * ctype/ctype-c99.c: New file. isblank implementation moved from
3061 ...
3062 * ctype/ctype-extn.c: ... here.
3063 (__isblank_l): Move to ...
3064 * ctype/ctype-c99_l.c: ... here. New file.
3065 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3066 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3067 Remove variable.
3068 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3069 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3070 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3071 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3072 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3073
a287953a
JM
3074 [BZ #17777]
3075 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3076 (posix_fadvise64): Define as weak alias not strong alias.
3077 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3078 (posix_fallocate64): Likewise.
3079 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3080 Remove variable.
3081 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3082 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3083 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3084 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3085 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3086
b1efe3bb
MF
30872015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3088
3089 [BZ #16191]
3090 * NEWS: Mention bug fix.
3091 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3092 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3093 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3094 (HOST_STACK_END_ADDR): Likewise.
3095
9706dc5f
JM
30962015-01-02 Joseph Myers <joseph@codesourcery.com>
3097
b93c2205
JM
3098 [BZ #17748]
3099 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3100 * math/fegetround.c (fegetround): Rename to __fegetround and
3101 define as weak alias of __fegetround. Use libm_hidden_weak.
3102 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3103 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3104 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3105 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3106 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3107 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3108 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3109 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3110 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3111 Undefine after rather than before function definition; use
3112 parentheses around function name in definition.
3113 (__fegetround): Also undefine macro after function definition.
3114 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3115 __fegetround and define as weak alias of __fegetround. Use
3116 libm_hidden_weak. Do not undefine as macro.
3117 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3118 Likewise.
3119 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3120 __fegetround and define as weak alias of __fegetround. Use
3121 libm_hidden_weak.
3122 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3123 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3124 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3125 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3126 __fegetround and define as weak alias of __fegetround. Use
3127 libm_hidden_weak.
3128 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3129 __fegetround instead of fegetround.
3130
253a59cc
JM
3131 [BZ #17782]
3132 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3133 Condition macro definition on [__USE_MISC].
3134
27dae011
JM
3135 [BZ #17781]
3136 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3137 (struct sigaction): Change type of sa_flags field to int.
3138
172019c0
JM
3139 [BZ #17780]
3140 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3141 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3142 __glibc_reserved0.
3143
522ad1d6
JM
3144 * nptl/version.c (banner): Use single year in copyright notice.
3145
9706dc5f
JM
3146 * NEWS: Update copyright dates.
3147 * catgets/gencat.c (print_version): Likewise.
3148 * csu/version.c (banner): Likewise.
3149 * debug/catchsegv.sh: Likewise.
3150 * debug/pcprofiledump.c (print_version): Likewise.
3151 * debug/xtrace.sh (do_version): Likewise.
3152 * elf/ldconfig.c (print_version): Likewise.
3153 * elf/ldd.bash.in: Likewise.
3154 * elf/pldd.c (print_version): Likewise.
3155 * elf/sotruss.sh: Likewise.
3156 * elf/sprof.c (print_version): Likewise.
3157 * iconv/iconv_prog.c (print_version): Likewise.
3158 * iconv/iconvconfig.c (print_version): Likewise.
3159 * locale/programs/locale.c (print_version): Likewise.
3160 * locale/programs/localedef.c (print_version): Likewise.
3161 * login/programs/pt_chown.c (print_version): Likewise.
3162 * malloc/memusage.sh (do_version): Likewise.
3163 * malloc/memusagestat.c (print_version): Likewise.
3164 * malloc/mtrace.pl: Likewise.
3165 * manual/libc.texinfo: Likewise.
3166 * nptl/version.c (banner): Likewise.
3167 * nscd/nscd.c (print_version): Likewise.
3168 * nss/getent.c (print_version): Likewise.
3169 * nss/makedb.c (print_version): Likewise.
3170 * posix/getconf.c (main): Likewise.
3171 * scripts/test-installation.pl: Likewise.
3172 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3173
b8607aac
WN
31742015-01-02 Will Newton <will.newton@linaro.org>
3175
3176 * sysdeps/arm/armv7/configure: Removed.
3177 * sysdeps/arm/armv7/configure.ac: Likewise.
3178
b168057a
JM
31792015-01-02 Joseph Myers <joseph@codesourcery.com>
3180
3181 * All files with FSF copyright notices: Update copyright dates
3182 using scripts/update-copyrights.
3183 * intl/plural.c: Regenerated.
3184 * locale/programs/charmap-kw.h: Likewise.
3185 * locale/programs/locfile-kw.h: Likewise.
3186
b217c15f
SP
31872015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3188
3189 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3190
73a268c7
JM
31912014-12-31 Joseph Myers <joseph@codesourcery.com>
3192
3193 [BZ #17748]
3194 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3195 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3196 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3197 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3198 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3199 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3200 define as weak alias of __fegetenv. Use libm_hidden_weak.
3201 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3202 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3203 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3204 define as weak alias of __fegetenv. Use libm_hidden_weak.
3205 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3206 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3207 define as weak alias of __fegetenv. Use libm_hidden_weak.
3208 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3209 libm_hidden_def.
3210 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3211 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3212 Likewise.
3213 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3214 define as weak alias of __fegetenv. Use libm_hidden_weak.
3215 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3216 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3217 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3218 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3219 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3220 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3221 __fegetenv instead of fegetenv.
3222 (libc_feholdsetround_noex_ctx): Likewise.
3223
0bd95672
MF
32242014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3225
3226 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3227 (Elf_MIPS_ABIFlags_v0): New structure.
3228 (EF_MIPS_FP64): Define.
3229 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3230 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3231 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3232 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3233 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3234 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3235 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3236 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3237 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3238 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3239 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3240 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3241 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3242 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3243 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3244 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3245 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3246 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3247 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3248 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3249 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3250 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3251 field.
3252 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3253 EF_MIPS_FP64.
3254 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3255 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3256 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3257 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3258 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3259 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3260 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3261 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3262 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3263 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3264 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3265 record the current FP ABI extension.
3266 (mips-mode-switch): Define to show if kernel headers support mode
3267 switching.
3268 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3269 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3270 supported SYSV ABI version to 3.
3271 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3272 feature.
3273
f59ad976
RS
32742014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3275 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3276
3277 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3278 path.
3279 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3280
4a3d3999
JM
32812014-12-31 Joseph Myers <joseph@codesourcery.com>
3282
3283 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3284 __fegetround and redefine to call __fegetround. Remove condition
3285 on [!__NO_MATH_INLINES].
3286 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3287 function.
3288 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3289 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3290 Remove macro.
3291 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3292 instead of <fenv_libc.h>.
3293 (__llrintl): Call fegetround instead of __fegetround.
3294 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3295 instead of <fenv_libc.h>.
3296 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3297 (__lrintl): Call fegetround instead of __fegetround.
3298 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3299 instead of <fenv_libc.h>.
3300 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3301 (__rintl): Call fegetround instead of __fegetround.
3302
195f3afc
SP
33032014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3304
3305 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3306 arrays.
3307
7062bd42
L
33082014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3309
3310 [BZ #17775]
3311 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3312 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3313 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3314
07256e18
AS
33152014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3316
3317 * sysdeps/i386/tls-macros.h: Include <features.h>.
3318 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3319 (TLS_IE): Likewise.
3320 (TLS_LD): Likewise.
3321 (TLS_GD): Likewise.
3322 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3323 define for GCC >= 5.0.
3324
1ff950ad
CM
33252014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3326
3327 * math/test-fenv.c (test_single_exception, set_single_exc,
3328 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3329 feexcp_mask_test, feenable_test, fe_single_test): Add
3330 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3331 case where they are not used.
3332 * math/libm-test.inc: Likewise.
3333 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3334 unused in the absence of FP rounding/exception support.
3335 * stdio-common/tst-printf-round.c: Likewise.
3336 * stdlib/tst-strtod-round.c: Likewise.
3337 * stdlib/tst-strtod-underflow.c: Likewise.
3338
0747f818
JM
33392014-12-30 Joseph Myers <joseph@codesourcery.com>
3340
3341 [BZ #17723]
3342 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3343 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3344 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3345 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3346 libm_hidden_weak.
3347 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3348 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3349 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3350 libm_hidden_def.
3351 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3352 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3353 libm_hidden_weak.
3354 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3355 Likewise.
3356 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3357 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3358 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3359 libm_hidden_weak.
3360 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3361 libm_hidden_def.
3362 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3363 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3364 (__feraiseexcept): Likewise.
3365 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3366 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3367 libm_hidden_weak.
3368 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3369 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3370 libm_hidden_def.
3371 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3372 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3373 Use libm_hidden_def.
3374 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3375 libm_hidden_def.
3376 (feraiseexcept): Define as weak not strong alias. Use
3377 libm_hidden_weak.
3378 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3379 New inline function. Factored out of ...
3380 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3381 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3382 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3383 feraiseexcept.
3384 * math/w_acos.c (__acos): Likewise.
3385 * math/w_asin.c (__asin): Likewise.
3386 * math/w_ilogb.c (__ilogb): Likewise.
3387 * math/w_j0.c (y0): Likewise.
3388 * math/w_j1.c (y1): Likewise.
3389 * math/w_jn.c (yn): Likewise.
3390 * math/w_log.c (__log): Likewise.
3391 * math/w_log10.c (__log10): Likewise.
3392 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3393 * sysdeps/aarch64/fpu/math_private.h
3394 (libc_feupdateenv_test_aarch64): Likewise.
3395 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3396 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3397 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3398 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3399 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3400 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3401 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3402 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3403 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3404 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3405
8d2b2763
L
34062014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3407
3408 [BZ #17732]
3409 * io/test-utime.c (main): Replace %ld with %jd and cast to
3410 intmax_t.
41fad830 3411 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3412 * nptl/tst-mutex5.c: Include <stdint.h>.
3413 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3414 * posix/tst-regex.c (run_test): Likewise.
3415 (run_test_backwards): Likewise.
5d619de4
L
3416 * rt/tst-clock.c: Include <stdint.h>.
3417 (clock_test): Replace %ld with %jd and cast to intmax_t.
3418 * rt/tst-cpuclock1.c: Include <stdint.h>.
3419 (do_test): Replace %lu with %ju and cast to uintmax_t.
3420 * rt/tst-cpuclock2.c: Include <stdint.h>.
3421 (do_test): Replace %lu with %ju and cast to uintmax_t.
3422 * rt/tst-mqueue1.c: Include <stdint.h>.
3423 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3424 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3425 intmax_t.
3426 * rt/tst-mqueue4.c (do_test): Likewise.
3427 * rt/tst-timer4.c: Include <stdint.h>.
3428 (check_ts): Replace %ld with %jd and cast to intmax_t.
3429 (do_test): Likewise.
ad86fbc3
L
3430 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3431 and cast to intmax_t.
37f46900 3432 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3433 * time/clocktest.c (main): Likewise.
3434 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3435 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3436
8b4416d8
AS
34372014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3438 H.J. Lu <hongjiu.lu@intel.com>
3439
3440 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3441 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3442 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3443 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3444 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3445 version if bit_Fast_Unaligned_Load is set.
3446 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3447 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3448 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3449 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3450 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3451 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3452 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3453 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3454 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3455 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3456 to 4.
3457 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3458 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3459 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3460 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3461
e47b8d3b
CM
34622014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3463
6d6d7fde
CM
3464 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3465 instead of #if to avoid a Wundef warning.
3466 * stdlib/tst-limits.c (do_test): Likewise.
3467
cd2c37c9
CM
3468 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3469 parallel other exception macros.
3470 (fegetenv): Convert from macro to extern inline so that it applies
3471 retroactively to inline functions already seen by the compiler.
3472 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3473
e47b8d3b
CM
3474 * posix/Makefile (before-compile): Use $(objpfx) for
3475 posix-conf-vars-def.h.
3476
4a6aca7b
SP
34772014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3478
7910c2ae
SP
3479 * posix/getconf.c (main): Use size_t for type of I.
3480 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3481 NSPEC.
3482
50cbbaa9
SP
3483 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3484 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3485 * posix/posix-envs.def: Likewise.
3486 * sysdeps/posix/sysconf.c: Likewise.
3487 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3488 (specs): Remove array.
3489 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3490 array.
3491
3b566046
SP
3492 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3493 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3494 (__sysconf): Use CONF_IS_* macros.
3495
4a6aca7b
SP
3496 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3497 ($(objpfx)posix-conf-vars-def.h): New target.
3498 * posix/posix-conf-vars.list: New file.
3499 * posix/posix-conf-vars.h: New file.
3500 * posix/confstr.c: Include posix-conf-vars.h.
3501 (confstr): Use CONF_IS_* macros.
3502 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3503 CONF_IS_* macros.
3504 * scripts/gen-posix-conf-vars.awk: New file.
3505
7c1395a7
CM
35062014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3507
0025b4cc
CM
3508 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3509 fegetround): Add no-op macros to avoid linknamespace issues.
3510
d8aaf74b
CM
3511 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3512 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3513
5d24aa60
CM
3514 * sysdeps/unix/sysv/linux/tile/sysdep.h
3515 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3516 assembly-specific section to avoid a redefinition warning.
3517
7c1395a7
CM
3518 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3519 long before casting to pointer to avoid a cast warning.
3520
3c87c616
CM
35212014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3522
3523 * sysdeps/tile/tilegx/Implies: New file.
3524
f559d8cf
RE
35252014-12-23 Richard Earnshaw <rearnsha@arm.com>
3526
3527 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3528
7d81e8d6
FW
35292014-12-23 Florian Weimer <fweimer@redhat.com>
3530
3531 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3532
90aa3d09
JM
35332014-12-22 Joseph Myers <joseph@codesourcery.com>
3534
3535 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3536 not define.
3537 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3538 <kernel-features.h>.
3539 (__utimes) [__NR_utimes]: Make code unconditional.
3540 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3541 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3542 (__ASSUME_UTIMES): Do not undefine.
3543 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3544 (__ASSUME_UTIMES): Likewise.
3545 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3546 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3547 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3548 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3549
4c0c0e2a
SE
35502014-12-22 Steve Ellcey <sellcey@imgtec.com>
3551
3552 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3553
0dacd7a3
CM
35542014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3555
b638f96a
CM
3556 [BZ #17747]
3557 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3558 alias to weak alias for j0l, y0l.
3559 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3560 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3561
0dacd7a3
CM
3562 [BZ #17746]
3563 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3564 conversion.
3565
528479c4
SE
35662014-12-22 Steve Ellcey <sellcey@imgtec.com>
3567
3568 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3569 to zero if not already defined.
3570
f56f9124
JM
35712014-12-22 Joseph Myers <joseph@codesourcery.com>
3572
3573 [BZ #17724]
3574 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3575 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3576 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3577 (char *) casts added.
3578 * sysdeps/ieee754/k_standardf.c: New file.
3579 * sysdeps/ieee754/k_standardl.c: Likewise.
3580 * math/Makefile (libm-support): Remove k_standard.
3581 (libm-calls): Add k_standard.
3582
8622d556
WD
35832014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3584
3585 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3586 Optimize to avoid an unnecessary FPCR read.
3587
f3806bdb
WD
35882014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3589
3590 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3591 Optimize to reduce FPCR/FPSR accesses.
3592
9b47df58
WD
35932014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3594
3595 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3596 Call libc_fetestexcept_aarch64.
3597
97be3cac
WD
35982014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3599
3600 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3601 Call libc_fesetround_aarch64.
3602
935ab817
JM
36032014-12-22 Joseph Myers <joseph@codesourcery.com>
3604
3605 [BZ #17733]
3606 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3607 (__bind): Do not define as weak alias.
3608 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3609 define.
3610 (__getsockname): Do not define as weak alias.
3611
cc8623f1
WN
36122014-12-22 Will Newton <will.newton@linaro.org>
3613
3614 * manual/install.texi: Document that we require bison 2.7
3615 or above.
3616 * INSTALL: Regenerate.
3617 * configure.ac: Use AC_CHECK_PROG_VER instead of
3618 AC_PATH_PROG when checking for bison and check for
3619 version 2.7 or above.
3620 * configure: Regenerate.
3621
a19ca65a
CM
36222014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3623
92901170 3624 [BZ #17745]
e969965a
CM
3625 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3626 * sysdeps/tile/ffsll.c (ffsll): To here.
3627
a19ca65a
CM
3628 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3629
050f7298
L
36302014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3631
3632 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3633 if not defined.
3634 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3635 definition.
3636 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3637 hidden ___tls_get_addr.
3638 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3639 hidden __tls_get_addr.
3640 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3641 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3642 Likewise.
3643
6df5547e
AS
36442014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3645
3646 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3647 _dl_init call.
3648
7432d613
L
36492014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3650
3651 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3652 from "call _dl_init@PLT".
3653 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 3654
98fe149e
AK
36552014-12-21 Anders Kaseorg <andersk@mit.edu>
3656
3657 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3658 guarantees.
3659
d12455f5
CM
36602014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3661
3662 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3663
95dee05f
CM
36642014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3665
92901170 3666 [BZ #17744]
95dee05f
CM
3667 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3668 strnlen.
3669
2ef4b74a
SE
36702014-12-19 Steve Ellcey <sellcey@imgtec.com>
3671
3672 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3673 of multu on MIPSr6.
3674 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3675 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3676 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3677 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3678 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3679
36802014-12-19 Steve Ellcey <sellcey@imgtec.com>
3681
3682 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3683 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3684 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3685 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 3686 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
3687 mips32r6/mips64r6.
3688 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3689
3eb38795
OB
36902014-12-19 Ondřej Bílka <neleai@seznam.cz>
3691
3692 * string/strncat.c (STRNCAT): Simplify implementation.
3693
6d4188dd
DM
36942014-12-19 David S. Miller <davem@davemloft.net>
3695
0d4ba8be
DM
3696 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3697 access the quad as both a long double and as a series of 4 words.
3698
6d4188dd
DM
3699 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3700 link_map->l_info array access.
3701
4ef91cdc
CM
37022014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3703
804c54f7
CM
3704 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3705
4ef91cdc
CM
3706 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3707 * math/atest-exp2.c (TIMEOUT): Likewise.
3708 * math/atest-sincos.c (TIMEOUT): Likewise.
3709
afd176d6
L
37102014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3711
3712 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3713 -Wno-error with -fno-builtin-lround.
3714
a4a43a90
TR
37152014-12-19 Torvald Riegel <triegel@redhat.com>
3716
3717 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3718 Contains futex constants and functions moved over from ...
3719 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3720 <lowlevellock-futex.h>.
3721 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3722 (lll_timedwait_tid): Add comments and parentheses around macro
3723 arguments.
3724
76f71081
TR
37252014-12-19 Torvald Riegel <triegel@redhat.com>
3726
3727 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3728 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3729 (__lll_private_flag): Remove.
3730 (lll_futex_wait): Likewise.
3731 (lll_futex_timed_wait): Likewise.
3732 (lll_futex_wake): Likewise.
3733 (lll_futex_requeue): Likewise.
3734 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3735 (__lll_timedwait_tid): Spell out argument names.
3736 (lll_timedwait_tid): Add comments and parentheses around macro
3737 arguments.
3738 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3739 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3740
6b814909
TR
37412014-12-19 Torvald Riegel <triegel@redhat.com>
3742
3743 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3744 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3745 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3746 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3747 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3748 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3749 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3750 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3751 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3752 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3753 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3754 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3755 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3756 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3757 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3758 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3759 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3760 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3761 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3762
9cd4d4ab
L
37632014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3764
3765 * sysdeps/x86_64/x32/Makefile: New file.
3766
c9c1a2d0
L
37672014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3768
3769 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3770 1L with (mp_limb_t) 1.
3771
af102d95
RM
37722014-12-17 Roland McGrath <roland@hack.frob.com>
3773
dd690454
RM
3774 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3775 * nptl/libc_pthread_init.c: ... here.
3776 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3777 * nptl/register-atfork.c: ... here.
3778
74eb826c
RM
3779 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3780 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3781 Use assert_perror to check its return value.
3782 (__gai_create_helper_thread): Likewise.
3783
c9ce306b
RM
3784 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3785
af102d95
RM
3786 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3787
8ac5a76a
JM
37882014-12-17 Joseph Myers <joseph@codesourcery.com>
3789
ea41469b
JM
3790 [BZ #17725]
3791 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3792 __profil_counter.
3793 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3794 Likewise.
3795 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3796 Likewise.
3797 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3798 Likewise.
3799 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3800 (profil_counter): Likewise.
3801 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3802 (profil_counter): Likewise.
3803 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3804 Likewise.
3805 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3806 Likewise.
3807 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3808 (profil_counter): Likewise.
3809 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3810 Likewise.
3811 [!__profil_counter] (profil_counter): Define as weak alias of
3812 __profil_counter.
3813 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3814 (profil_counter): Rename to __profil_counter.
3815 [!__profil_counter] (profil_counter): Define as weak alias of
3816 __profil_counter.
3817 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3818 (profil_counter): Rename to __profil_counter.
3819 [!__profil_counter] (profil_counter): Define as weak alias of
3820 __profil_counter.
3821 * sysdeps/posix/profil.c: Update comment referring to
3822 profil_counter.
3823 (__profil): Use __profil_counter instead of profil_counter.
3824 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3825 __profil_counter. Use __profil_counter_ushort and
3826 __profil_counter_uint in definitions.
3827 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3828 instead of profil_counter_uint and profil_counter_ushort.
3829
8ac5a76a
JM
3830 [BZ #17722]
3831 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3832 define as weak alias of __inet_makeaddr.
3833 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3834 as weak alias of __inet_addr.
3835 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3836 as weak alias of __inet_pton. Use libc_hidden_weak.
3837 * include/arpa/inet.h (__inet_pton): Declare. Use
3838 libc_hidden_proto.
3839 (inet_makeaddr): Don't use libc_hidden_proto.
3840 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3841 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3842 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3843 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3844 Remove variable.
3845 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3846 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3847
66ce3cb1
SE
38482014-12-17 Steve Ellcey <sellcey@imgtec.com>
3849
3850 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3851
d22ce01b
SL
38522014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3853
3854 * stdio-common/bug-vfprintf-nargs.c (do_test):
3855 Cast value to intptr_t to avoid format warning
3856 for usage with PRIdPTR printing macro.
3857
eca2772b
SL
38582014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3859
3860 * libio/tst-widetext.c (do_test):
3861 Use format type %td instead of %Zd for ptrdiff_t
3862 in order to avoid format warning.
3863
bdf079da
AS
38642014-12-17 Andreas Schwab <schwab@suse.de>
3865
3866 * nscd/mem.c (gc): Add size_t cast to match printf format.
3867
3eb5d2fc
RM
38682014-12-16 Roland McGrath <roland@hack.frob.com>
3869
3870 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3871 (init): Apply PTR_MANGLE to pointers before storing them.
3872 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3873 before using them.
3874
d003ada2
JM
38752014-12-16 Joseph Myers <joseph@codesourcery.com>
3876
380292ba
JM
3877 [BZ #17719]
3878 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3879 define as weak alias of __memrchr.
3880 (__memrchr): Do not define as strong alias of memrchr.
3881 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3882 Remove variable.
3883 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3884 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3885 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3886
9a44d530
JM
3887 [BZ #17717]
3888 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3889 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3890 (if_indextoname): Rename to __if_indextoname and define as weak
3891 alias of __if_indextoname. Use libc_hidden_weak.
3892 (if_freenameindex): Rename to __if_freenameindex and define as
3893 weak alias of __if_freenameindex.
3894 (if_nameindex): Rename to __if_nameindex and define as weak alias
3895 of __if_nameindex.
3896 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3897 __if_nametoindex and define as weak alias of __if_nametoindex.
3898 Use libc_hidden_weak.
3899 (if_freenameindex): Rename to __if_freenameindex and define as
3900 weak alias of __if_freenameindex.
3901 (if_nameindex): Rename to __if_nameindex and define as weak alias
3902 of __if_nameindex.
3903 (if_indextoname): Rename to __if_indextoname and define as weak
3904 alias of __if_indextoname. Use libc_hidden_weak.
3905 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3906 __if_nametoindex and define as weak alias of __if_nametoindex.
3907 Use libc_hidden_weak.
3908 (if_freenameindex): Rename to __if_freenameindex and define as
3909 weak alias of __if_freenameindex. Use libc_hidden_weak.
3910 (if_nameindex_netlink): Use __if_freenameindex instead of
3911 if_freenameindex.
3912 (if_nameindex): Rename to __if_nameindex and define as weak alias
3913 of __if_nameindex. Use libc_hidden_weak.
3914 (if_indextoname): Rename to __if_indextoname and define as weak
3915 alias of __if_indextoname. Use libc_hidden_weak.
3916 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3917 libc_hidden_proto.
3918 [!_ISOMAC] (__if_freenameindex): Likewise.
3919 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3920 if_nametoindex.
3921 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3922 variable.
3923 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3924 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3925 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3926 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3927 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3928 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3929 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3930
d003ada2
JM
3931 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3932 Remove variable.
3933 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3934 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3935
a0d424ef
SP
39362014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3937
0cd85520
SP
3938 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3939 subscript above bounds'
3940
a0d424ef
SP
3941 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3942 bounds.
3943
0e426475
AS
39442014-12-16 Arjun Shankar <arjun.is@lostca.se>
3945
8b460906
AS
3946 * libio/tst-fopenloc.c: Use test-skeleton.c.
3947
fa13e15b
AS
3948 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3949 (entry): Rename to ITEM.
3950 (do_test, comp): Adjust.
3951
0e426475
AS
3952 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3953
4f646bce
TR
39542014-12-16 Torvald Riegel <triegel@redhat.com>
3955
3956 * string/tester.c: Include <libc-internal.h>.
3957 (test_memset): Ignore -Wmemset-transposed-args.
3958
a07c4427
TR
39592014-12-16 Torvald Riegel <triegel@redhat.com>
3960
3961 * misc/tst-mntent2.c (do_test): Fix warning.
3962
1469f466
TR
39632014-12-16 Torvald Riegel <triegel@redhat.com>
3964
3965 * elf/tst-unique4lib.cc(a): Mark as used.
3966
11e3417a
FW
39672014-12-16 Florian Weimer <fweimer@redhat.com>
3968
3969 [BZ #17630]
3970 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3971 names.
3972
ae61fc7b
AM
39732014-12-16 Allan McRae <allan@archlinux.org>
3974
3975 * stdio-common/Makefile (tests): Re-add bug26.
3976
363a9899
OB
39772014-12-15 Ondřej Bílka <neleai@seznam.cz>
3978
3979 [BZ #17657]
3980 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3981 static array.
3982
d52c62df
TR
39832014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3984
3985 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3986 (__lll_lock_wait): Likewise.
3987 (__lll_timedlock_wait): Likewise.
3988 (__lll_timedwait_tid): Likewise.
3989 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3990 (__lll_robust_timedlock_wait): Likewise.
3991 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3992 (lll_cond_trylock): Likewise.
3993 (__lll_lock): Likewise.
3994 (__lll_robust_lock): Likewise.
3995 (__lll_cond_lock): Likewise.
3996 (lll_robust_cond_lock): Likewise.
3997 (__lll_timedlock): Likewise.
3998 (__lll_robust_timedlock): Likewise.
3999 (__lll_unlock): Likewise.
4000 (__lll_robust_unlock): Likewise.
4001 (lll_wait_tid): Likewise.
4002 (lll_timedwait_tid): Likewise.
4003
045a6bcd
TR
40042014-12-15 Torvald Riegel <triegel@redhat.com>
4005
4006 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4007
7f786dc1
TR
40082014-12-15 Torvald Riegel <triegel@redhat.com>
4009
4010 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4011
e7e21cba
AZ
40122014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4013
4014 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4015 * stdio-common/tst-sprintf.c: Likewise.
4016
bc89c0fc
TR
40172014-12-15 Torvald Riegel <triegel@redhat.com>
4018
4019 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4020
a5357b7c
JL
40212014-12-15 Jeff Law <law@redhat.com>
4022
4023 [BZ #16617]
4024 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4025 on the heap. (CVE-2012-3406)
4026 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4027 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4028 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4029
3a12c70f
WN
40302014-12-15 Will Newton <will.newton@linaro.org>
4031
4032 * manual/install.texi: Bump required version of texinfo
4033 to 4.7 from 4.5.
4034 * INSTALL: Regenerated.
4035 * configure.ac: Check for makeinfo version 4.7 and above.
4036 * configure: Regenerated.
4037
e4f639e4
RM
40382014-12-12 Roland McGrath <roland@hack.frob.com>
4039
4040 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4041 PREFIX, string constant to insert between directory and name.
4042 * sysdeps/posix/shm_open.c: Update caller.
4043 * sysdeps/posix/shm_unlink.c: Likewise.
4044 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4045 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4046 (SEM_SHM_PREFIX): New macro.
4047 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4048 [$(have-thread-library) = no].
4049 * nptl/Makefile (libpthread-routines): Add shm-directory.
4050 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4051 * sysdeps/nptl/shm-directory.h: New file.
4052 * sysdeps/posix/shm-directory.c
4053 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4054 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4055 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4056 INTERNAL_SYSCALL.
4057 (__where_is_shmfs): Function removed.
4058 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4059 Variables removed.
4060 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4061 Use SHM_GET_NAME.
4062 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4063
4064 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4065 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4066 unconditional for use inside libpthread.
4067 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4068
439c43f6
RM
40692014-12-12 Roland McGrath <roland@hack.frob.com>
4070
c76d1ff5
RM
4071 * nptl/pthread_getaffinity.c: New file.
4072 * nptl/pthread_setaffinity.c: New file.
4073 * nptl/pthread_getname.c: New file.
4074 * nptl/pthread_setname.c: New file.
4075
439c43f6
RM
4076 * nptl/pthread_create.c (START_THREAD_DEFN)
4077 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4078
48e435cd
SL
40792014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4080 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4081
4082 * resolv/res_send.c (send_vc): Disable warning resplen may
4083 be used uninitialized.
4084
9d9c0019
SL
40852014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4086
4087 * nptl/tst-mutex6.c
4088 (ATTR_NULL): New define checks ATTR against NULL.
4089 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4090 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4091
9173840b
JL
40922014-12-11 James Lemke <jwlemke@codesourcery.com>
4093
4094 [BZ #17581]
4095 * malloc/hooks.c
4096 (mem2mem_check): Revert my previous change.
4097 (malloc_check_get_size): Revert my previous change.
4098 (mem2chunk_check): Revert my previous change.
4099
78e21c5d
RM
41002014-12-11 Roland McGrath <roland@hack.frob.com>
4101
4102 * sysdeps/posix/shm-directory.c: New file.
4103 * sysdeps/posix/shm-directory.h: New file.
4104 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4105 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4106 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4107 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4108 Transmute EPERM to EACCES.
4109 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4110 from ...
4111 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4112 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4113
f82c43af
KK
41142014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4115
4116 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4117 pointer and cast to uintptr_t.
4118 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4119 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4120 Add cast to avoid warning.
4121 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4122
fc00cf7b
JM
41232014-12-11 Joseph Myers <joseph@codesourcery.com>
4124
4125 * nptl/semaphore.h: Move to ...
4126 * sysdeps/pthread/semaphore.h: ... here.
4127 * Makefile (installed-headers): Change nptl/semaphore.h to
4128 sysdeps/pthread/semaphore.h.
4129
1c4053db
RM
41302014-12-11 Roland McGrath <roland@hack.frob.com>
4131
73b0c1a1
RM
4132 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4133 generated error format strings.
4134
1c4053db
RM
4135 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4136 -Wformat-extra-args warnings for scanf formats.
4137 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4138 test of zero-length format (duh).
4139 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4140 corner-case scanf format test.
4141 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4142 generated fprintf format string.
4143 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4144 corner-case sprintf format tests.
4145 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4146 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4147 -Wformat-extra-args warnings throughout.
4148 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4149 (CFLAGS-scanf4.c): Likewise.
4150 (CFLAGS-scanf7.c): Likewise.
4151 (CFLAGS-tst-sprintf.c): Likewise.
4152 (CFLAGS-tst-printf.c): Likewise.
4153 (CFLAGS-tst-printfsz.c): Likewise.
4154
47d51f4f
JM
41552014-12-11 Joseph Myers <joseph@codesourcery.com>
4156
a1edbf3c
JM
4157 * include/cpio.h: New file.
4158 * include/fmtmsg.h: Likewise.
4159
47d51f4f
JM
4160 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4161 corresponding format argument to size_t.
4162 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4163 arguments.
4164 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4165 corresponding format argument to size_t.
4166 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4167 arguments.
4168 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4169 corresponding format argument to size_t.
4170 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4171 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4172 (CFLAGS-tst-mbswcs2.c): Likewise.
4173 (CFLAGS-tst-mbswcs3.c): Likewise.
4174 (CFLAGS-tst-mbswcs4.c): Likewise.
4175 (CFLAGS-tst-mbswcs5.c): Likewise.
4176 (CFLAGS-tst-trans.c): Likewise
4177
e9813cfb
RM
41782014-12-11 Roland McGrath <roland@hack.frob.com>
4179
4180 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4181 rather than assuming they won't contain any '%'s.
4182
f627ca82
CM
41832014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4184
4185 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4186 inhibit_loop_to_libcall to avoid recursive calls.
4187 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4188 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4189
7f296942
AZ
41902014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4191
4192 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4193 prototype.
4194
d0276e18
SE
41952014-12-11 Steve Ellcey <sellcey@imgtec.com>
4196
4197 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4198 integer value instead of boolean.
4199
fc56e970
SE
42002014-12-11 Steve Ellcey <sellcey@imgtec.com>
4201
4202 * malloc/malloc.c: Fix powerof2 check.
4203
40e53917
SL
42042014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4205
4206 * locale/programs/locfile.h (maybe_swap_uint32):
4207 Remove inline and add unused attribute.
4208
1ea166df
SL
42092014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4210
9d9c0019 4211 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
4212 Truncating assembler expression to a .long expression.
4213
acf869f4
AS
42142014-12-11 Andreas Schwab <schwab@suse.de>
4215
4216 * elf/rtld.c (struct map_args): Constify str member.
4217 (do_preload): Constify fname argument.
4218
9d969099
AZ
42192014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4220
4221 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4222 constants definition.
4223
da5bcaa4
AS
42242014-12-11 Andreas Schwab <schwab@suse.de>
4225
b0a3c164
AS
4226 [BZ #16657]
4227 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4228 FORCE_ELISION instead of DO_ELISION.
4229 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4230 Remove.
4231 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4232 Likewise.
4233
da5bcaa4
AS
4234 * iconvdata/gconv-modules: Remove duplicate entry.
4235
6d248857
WN
42362014-12-11 Will Newton <will.newton@linaro.org>
4237
4238 Merge gettext 0.19.3 into intl/.
4239
4240 This involves a number of cosmetic changes to comments
4241 and ANSI function definitions and prototypes throughout
4242 all the files. The gettext copyright header is used but
4243 with the date ranges taken from the glibc copy.
4244
4245 * NEWS: Add gettext merge to 2.21.
4246 * intl/bindtextdom.c: Switch to gettext copyright.
4247 Use ANSI definitions and prototypes.
4248 Use gl_* locking primitives rather than __libc_* ones.
4249 Use __builtin_expect rather than __glibc_likely/unlikely.
4250 * intl/dcgettext.c: Switch to gettext copyright.
4251 Use ANSI definitions and prototypes.
4252 * intl/dcigettext.c: Switch to gettext copyright.
4253 Use ANSI definitions and prototypes.
4254 (INTDIV0_RAISES_SIGFPE): New define.
4255 Use gl_* locking primitives rather than __libc_* ones.
4256 Include eval-plural.h instead of plural-eval.c.
4257 Use __builtin_expect rather than __glibc_likely/unlikely.
4258 * intl/dcngettext.c: Switch to gettext copyright.
4259 Use ANSI definitions and prototypes.
4260 * intl/dgettext.c: Likewise.
4261 * intl/dngettext.c: Likewise.
4262 * intl/plural-eval.c: Renamed to...
4263 * intl/eval-plural.h: ...this.
4264 * intl/explodename.c: Switch to gettext copyright.
4265 Use ANSI definitions and prototypes.
4266 (_nl_explode_name): Use strchr instead of __rawmemchr.
4267 * intl/finddomain.c: Switch to gettext copyright.
4268 Use ANSI definitions and prototypes.
4269 Use gl_* locking primitives rather than __libc_* ones.
4270 (_nl_find_domain): Use malloc rather than alloca for
4271 allocation of temporary locale name.
4272 * intl/gettext.c: Switch to gettext copyright.
4273 Use ANSI definitions and prototypes.
4274 * intl/gettextP.h: Switch to gettext copyright.
4275 Use ANSI definitions and prototypes.
4276 Use gl_* locking primitives rather than __libc_* ones.
4277 * intl/gmo.h: Switch to gettext copyright.
4278 (struct sysdep_string): Move struct segment_pair outside of
4279 struct definition.
4280 * intl/hash-string.c: Use ANSI definitions and prototypes.
4281 * intl/hash-string.h: Switch to gettext copyright.
4282 Use ANSI definitions and prototypes.
4283 * intl/l10nflist.c: Switch to gettext copyright.
4284 Use ANSI definitions and prototypes.
4285 (_nl_normalize_codeset): Avoid integer overflow.
4286 * intl/loadinfo.h: Switch to gettext copyright.
4287 Use ANSI definitions and prototypes.
4288 (LIBINTL_DLL_EXPORTED): New define.
4289 (PATH_SEPARATOR): New define.
4290 * intl/loadmsgcat.c: Switch to gettext copyright.
4291 * intl/localealias.c: Switch to gettext copyright.
4292 Use ANSI definitions and prototypes.
4293 (_nl_expand_alias): Use PATH_SEPARATOR.
4294 * intl/ngettext.c: Switch to gettext copyright.
4295 Use ANSI definitions and prototypes.
4296 * intl/plural-exp.c: Likewise.
4297 * intl/plural-exp.h: Switch to gettext copyright.
4298 Use ANSI definitions and prototypes.
4299 (struct expression): Move definition of enum operator outside
4300 of struct definition.
4301 * intl/plural.c: Regenerate.
4302 * intl/plural.y: Switch to gettext copyright.
4303 Use ANSI definitions and prototypes.
4304 Port to bison 3.0.
4305 * intl/textdomain.c: Switch to gettext copyright.
4306 Use ANSI definitions and prototypes.
4307 Use gl_* locking primitives rather than __libc_* ones.
4308
48c43298
SE
43092014-12-10 Steve Ellcey <sellcey@imgtec.com>
4310
4311 * debug/warning-nop.c: Add used atrribute.
4312
2b89bce9
JM
43132014-12-10 Joseph Myers <joseph@codesourcery.com>
4314
c153ac9f
JM
4315 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4316
2b89bce9
JM
4317 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4318 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4319 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4320
2cfbdb9a
JM
43212014-12-10 Joseph Myers <joseph@codesourcery.com>
4322 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4323
4324 [BZ #17634]
4325 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4326 Undefine after defining function. Define as weak alias of
4327 __wcschr. Use libc_hidden_weak.
4328 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4329 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4330 (libc_hidden_def): Also define __GI___wcschr alias.
4331 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4332 __wcschr and define as weak alias of __wcschr.
4333 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4334 __wcschr.
4335 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4336 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4337 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4338 libc_hidden_weak. Do not use libc_hidden_def.
4339 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4340 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4341 __GI___wcschr alias.
4342 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4343 [IS_IN (libc)] (wcschr): Define as macro expanding to
4344 __redirect_wcschr.
4345 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4346 [IS_IN (libc)] (__wcschr_power6): Likewise.
4347 [IS_IN (libc)] (__wcschr_power7): Likewise.
4348 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4349 instead of wcschr.
4350 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4351 __libc_wcschr.
4352 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4353 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4354 __wcschr and define as weak alias of __wcschr. Use
4355 libc_hidden_builtin_def.
4356 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4357 as weak alias of __wcschr. Use libc_hidden_weak.
4358 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4359 wcschr.
4360 * time/era.c (_nl_init_era_entries): Likewise.
4361 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4362 variable.
4363 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4364 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4365
1b8bf351
JM
43662014-12-10 Joseph Myers <joseph@codesourcery.com>
4367
4368 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4369 format for long int variable.
4370
f5f46d51
AK
43712014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4372
4373 [BZ #10672]
07008f7d 4374 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4375 qsort stable.
4376
217a74a8
AS
43772014-12-10 Andreas Schwab <schwab@suse.de>
4378
4379 [BZ #12847]
4380 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4381 user-controlled locks.
4382
aa76a5c7
RE
43832014-12-10 Richard Earnshaw <rearnsha@arm.com>
4384
4385 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4386 register.
4387
2084e7ca
JM
43882014-12-10 Joseph Myers <joseph@codesourcery.com>
4389
a4ecc9eb
JM
4390 * configure.ac (--disable-werror): New configure option.
4391 (enable_werror): New AC_SUBST.
4392 * configure: Regenerated.
4393 * config.make.in (enable-werror): New variable.
4394 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4395 -Wno-error=undef.
4396 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4397 * manual/install.texi (Configuring and compiling): Document
4398 --disable-werror.
4399 * INSTALL: Regenerated.
4400 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4401 (CFLAGS-tst-chk2.c): Likewise.
4402 (CFLAGS-tst-chk3.c): Likewise.
4403 (CFLAGS-tst-chk4.cc): Likewise.
4404 (CFLAGS-tst-chk5.cc): Likewise.
4405 (CFLAGS-tst-chk6.cc): Likewise.
4406 (CFLAGS-tst-lfschk1.c): Likewise.
4407 (CFLAGS-tst-lfschk2.c): Likewise.
4408 (CFLAGS-tst-lfschk3.c): Likewise.
4409 (CFLAGS-tst-lfschk4.cc): Likewise.
4410 (CFLAGS-tst-lfschk5.cc): Likewise.
4411 (CFLAGS-tst-lfschk6.cc): Likewise.
4412
0f88636c
JM
4413 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4414 (main): Disable -Wdeprecated-declarations around calls to
4415 register_printf_function.
4416
c81e9deb
JM
4417 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4418 (do_test): Disable -Wdiv-by-zero around some calls to
4419 fwrite_unlocked and fread_unlocked.
4420
2084e7ca
JM
4421 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4422 (DIAG_POP_NEEDS_COMMENT): Likewise.
4423 (_DIAG_STR1): Likewise.
4424 (_DIAG_STR): Likewise.
4425 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4426 * stdio-common/bug21.c: Include <libc-internal.h>.
4427 (do_test): Disable -Wformat around call to sscanf.
4428 * stdio-common/scanf14.c: Include <libc-internal.h>.
4429 (main): Disable -Wformat around some calls to scanf functions.
4430
df7ecc6b
TR
44312014-12-09 Torvald Riegel <triegel@redhat.com>
4432
4433 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4434
2aa3862e
AZ
44352014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4436
4437 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4438 stack variable alignment.
4439
c5c2b7c3
JM
44402014-12-06 Joseph Myers <joseph@codesourcery.com>
4441
4442 [BZ #17682]
4443 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4444 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4445 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4446 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4447 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4448 __getrlimit instead of getrlimit.
4449 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4450 __gettimeofday instead of gettimeofday.
4451 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4452 Likewise.
4453 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4454 Likewise.
4455 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4456 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4457 Remove variable.
4458 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4459 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4460
9752c3cd
AZ
44612014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4462
4463 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4464 for wide-character tests.
4465
4bee4cd9
RM
44662014-12-04 Roland McGrath <roland@hack.frob.com>
4467
4468 * io/openat64.c: #include <libc-internal.h>
4469 (__openat64): Prototypify. Use ignore_value on MODE.
4470 * io/openat.c: Likewise.
4471 * misc/reboot.c: #include <libc-internal.h>
4472 (reboot): Prototypify. Use ignore_value on HOWTO.
4473 * misc/ptrace.c: #include <libc-internal.h>
4474 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4475
84dbedb6
JM
44762014-12-04 Joseph Myers <joseph@codesourcery.com>
4477
4478 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4479 XPG4, UNIX98 and XOPEN2K.
4480 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4481 Remove variable.
4482 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4483
b7a3e1c4 44842014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4485
af50dfc1 4486 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4487 * libio/iofopen.c: Likewise.
4488 * libio/wfileops.c: Likewise.
4489
fe8b4d98
SP
4490 [BZ #17653]
4491 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4492 offset on EOF.
4493 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4494 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4495 (fgets_func): Function pointer to fgets and fgetws.
4496 (do_ftell_test): Add test to verify ftell value after read
4497 EOF.
4498 (do_test): Set fgets_func.
4499
61b4f792
SP
4500 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4501 O_TRUNC flag for w and w+ modes.
4502 (do_rewind_test): Likewise.
4503 (do_ftell_test): Likewise.
4504 (do_write_test): Likewise.
4505
be349d70
SP
4506 [BZ #17647]
4507 * libio/fileops.c (do_ftell): Seek only when there are
4508 unflushed writes.
4509 * libio/wfileops.c (do_ftell_wide): Likewise.
4510 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4511 test case.
4512 (do_one_test): Call it.
4513
e3d6dba5
JM
45142014-12-03 Joseph Myers <joseph@codesourcery.com>
4515
4516 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4517 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4518 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4519 Remove variable.
4520 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4521 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4522 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4523
7f994279
JM
45242014-12-02 Joseph Myers <joseph@codesourcery.com>
4525
28a91e8f
JM
4526 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4527 Remove variable.
4528 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4529
7f994279
JM
4530 [BZ #17668]
4531 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4532 as weak alias of __getifaddrs. Use libc_hidden_weak.
4533 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4534 __freeifaddrs. Use libc_hidden_weak.
4535 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4536 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4537 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4538 __freeifaddrs. Use libc_hidden_weak.
4539 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4540 __getifaddrs and define as weak alias of __getifaddrs. Use
4541 libc_hidden_weak.
4542 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4543 __freeifaddrs. Use libc_hidden_weak.
4544 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4545 Remove variable.
4546 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4547 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4548
bbe4c142
PJ
45492014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4550
4551 [BZ #17601]
4552 * sysdeps/mips/start.S (__start): Use indirect jump to call
4553 __libc_start_main.
4554
66cadc05
JM
45552014-12-02 Joseph Myers <joseph@codesourcery.com>
4556
909e16d9
JM
4557 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4558
4e0b9016
JM
4559 * nptl/tst-mutex1.c: Include <stdbool.h>.
4560 [!ATTR] (ATTR_NULL): New macro.
4561 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4562 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4563 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4564
b1aff6a4
JM
4565 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4566 to char *.
4567
266865c0
JM
4568 [BZ #17665]
4569 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4570 Change conditional to [__USE_MISC].
4571
84e5e756
JM
4572 [BZ #17664]
4573 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4574 fgets_unlocked.
4575 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4576 __fgets_unlocked.
4577 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4578 fgets_unlocked.
4579 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4580 Remove variable.
4581 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4582 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4583 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4584 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4585 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4586 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4587 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4588 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4589 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4590
66cadc05
JM
4591 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4592
2e8a2de2 45932014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
4594
4595 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4596 Remove strpbrk objects.
4597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4598 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4599 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4600 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4601 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4602 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4603
bb2542e0
AZ
4604 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4605 Remove strcspn objects.
4606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4607 (__libc_ifunc_impl_list): Remove strcspn implementation.
4608 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4609 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4610 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4611 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
4612
4613 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4614 Remove strspn objetcs.
4615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4616 (__libc_ifunc_impl_list): Remove strspn implementation.
4617 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4618 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4619 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4620 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4621
08f1e1d2
JL
46222014-12-01 James Lemke <jwlemke@codesourcery.com>
4623
4624 [BZ #17581]
4625 * malloc/hooks.c
4626 (mem2mem_check): Add a terminator to the chain of checking blocks.
4627 (malloc_check_get_size): Use it here.
4628 (mem2chunk_check): Ditto.
4629
a8a7d7d2
RS
46302014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4631
4632 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4633 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4634
97114a38
CD
46352014-11-29 Carlos O'Donell <carlos@redhat.com>
4636
c8dc1727
CD
4637 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4638
6d03458e
CD
4639 * nptl/nptl-init.c: Include libc-internal.h.
4640 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4641
97114a38
CD
4642 * elf/ldconfig.c (search_dir): Expand comment.
4643
0e7e69ba
JM
46442014-11-29 Joseph Myers <joseph@codesourcery.com>
4645
4646 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4647 variable.
4648 (linknamespace-symlist-stdlibs-tests): Likewise.
4649 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4650 instead of $(objpfx)symlist-stdlibs.
4651 (linknamespace-libs-isoc): New variable.
4652 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4653 (linknamespace-libs-ISO): New variable.
4654 (linknamespace-libs-ISO99): Likewise.
4655 (linknamespace-libs-ISO11): Likewise.
4656 (linknamespace-libs-XPG3): Likewise.
4657 (linknamespace-libs-XPG4): Likewise.
4658 (linknamespace-libs-POSIX): Likewise.
4659 (linknamespace-libs-UNIX98): Likewise.
4660 (linknamespace-libs-XOPEN2K): Likewise.
4661 (linknamespace-libs-POSIX2008): Likewise.
4662 (linknamespace-libs-XOPEN2K8): Likewise.
4663 ($(objpfx)symlist-stdlibs): Replace by
4664 $(linknamespace-symlist-stdlibs-tests). Use
4665 $(linknamespace-libs-$*) as set of libraries.
4666 ($(linknamespace-header-tests)): Update dependencies. Use
4667 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4668 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4669 * conform/linknamespace.pl: Remove comment about considering
4670 definitions of symbols from irrelevant libraries.
4671
d8dd0080
L
46722014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4673
4674 [BZ #13862]
4675 * elf/dl-tls.c: Include <atomic.h>.
4676 (oom): Remove #ifdef SHARED/#endif.
4677 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4678 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4679 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4680 big enough.
4681 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4682 * nptl/Makefile (tests): Add tst-stack4.
4683 (modules-names): Add tst-stack4mod.
4684 ($(objpfx)tst-stack4): New.
4685 (tst-stack4mod.sos): Likewise.
4686 ($(objpfx)tst-stack4.out): Likewise.
4687 ($(tst-stack4mod.sos)): Likewise.
4688 (clean): Likewise.
4689 * nptl/tst-stack4.c: New file.
4690 * nptl/tst-stack4mod.c: Likewise.
4691
167da422
B
46922014-11-27 J. Brown <jb999@gmx.de>
4693
4694 * sysdeps/x86/bits/string.h: Add recent CPUs.
4695
9114625b
JM
46962014-11-27 Joseph Myers <joseph@codesourcery.com>
4697
6b5189eb
JM
4698 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4699 sigblock.
4700
49051f8e
JM
4701 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4702 feof.
4703
9114625b
JM
4704 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4705 variable.
4706
e7300fef
SL
47072014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4708
4709 * nscd/connections.c: Include libc-internal.h because of macro
4710 usage ignore_value.
4711
1721f0a4
SP
47122014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4713
4714 * string/bits/string3.h (__warn_memset_zero_len): Don't
4715 declare for gcc newer than 5.0.
4716 (memset): Don't test for zero-length __LEN for gcc newer than
4717 5.0.
4718
be970916
JM
47192014-11-27 Joseph Myers <joseph@codesourcery.com>
4720
d88548f4
JM
4721 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4722 size_t for %zu format.
4723
be970916
JM
4724 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4725 difference, not %ju.
4726
3b20fd5c
JM
47272014-11-26 Joseph Myers <joseph@codesourcery.com>
4728
8915eace
JM
4729 * include/libc-internal.h (ignore_value): New macro.
4730 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4731 with ignore_value.
4732
f1a5a0e3
JM
4733 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4734 definition.
4735
59ef1715
JM
4736 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4737 pthread_cleanup_push to void *.
4738
a6f3079b
JM
4739 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4740 Undefine.
4741
706688aa
JM
4742 [BZ #16619]
4743 [BZ #16740]
4744 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4745 instead of 1L << 52.
4746
12da14a5
JM
4747 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4748 * libio/bug-rewind2.c (do_test): Likewise.
4749
bd5dadac
JM
4750 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4751 * debug/test-strcpy_chk-ifunc.c: Likewise.
4752 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4753 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4754 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4755 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4756 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4757 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4758 * Rules [$(multi-arch) = no] (tests): Do not filter out
4759 $(tests-ifunc).
4760 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4761 * debug/Makefile (tests-ifunc): Remove variable.
4762 (tests): Do not add $(tests-ifunc).
4763 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4764 (tests): Do not add $(tests-ifunc).
4765 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4766 [TEST_IFUNC]: Remove conditionals.
4767 * string/test-string.h (TEST_IFUNC): Remove macro.
4768 [TEST_IFUNC]: Remove conditionals.
4769
3b20fd5c
JM
4770 * string/test-strchr.c [!WIDE] (L): New macro.
4771 [WIDE] (L): Likewise.
4772 (check1): Use CHAR instead of char. Use L on string and character
4773 constants.
4774
704f7947
AZ
47752014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4776
4777 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4778 tests.
4779 * sysdeps/powerpc/bits/atomic.h
4780 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4781 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4782 (atomic_exchange_and_add_acq): Likewise.
4783 (atomic_exchange_and_add_rel): Likewise.
4784 * sysdeps/powerpc/powerpc32/bits/atomic.h
4785 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4786 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4787 * sysdeps/powerpc/powerpc64/bits/atomic.h
4788 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4789 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4790
cdcb42d7
TR
47912014-11-26 Torvald Riegel <triegel@redhat.com>
4792
4793 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4794 Change synchronization of __sched_fifo_min_prio and
4795 __sched_fifo_max_prio.
4796 * nptl/pthread_mutexattr_getprioceiling.c
4797 (pthread_mutexattr_getprioceiling): Likewise.
4798 * nptl/pthread_mutexattr_setprioceiling.c
4799 (pthread_mutexattr_setprioceiling): Likewise.
4800 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4801 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4802 Likewise.
4803
c82f5c0c
JM
48042014-11-26 Joseph Myers <joseph@codesourcery.com>
4805
4806 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4807 void.
4808
439e1ad6
JM
48092014-11-25 Joseph Myers <joseph@codesourcery.com>
4810
4811 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4812 third argument const.
4813
b1eda10e
PE
48142014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4815
4816 fnmatch: work around GCC compiler warning bug with uninit var
4817 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4818 This works around a bug with x86-64 GCC 4.9.2 and earlier
4819 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4820 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4821 used uninitialized in this function [-Wmaybe-uninitialized]".
4822
bde2667a
JM
48232014-11-25 Joseph Myers <joseph@codesourcery.com>
4824
4825 * posix/bug-regex31.c (main): Return RES not 0.
4826
5fbb5691
AB
48272014-11-25 Anton Blanchard <anton@samba.org>
4828
4829 * sysdeps/powerpc/bits/atomic.h
4830 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4831
467fec0b
BM
48322014-11-24 Sterling Augustine <saugustine@google.com>
4833
4834 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4835
e9ff8efb
RC
48362014-11-24 Ryan Cumming <etaoins@gmail.com>
4837
4838 [BZ #17608]
4839 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4840
9744496f
JM
48412014-11-24 Joseph Myers <joseph@codesourcery.com>
4842
4843 [BZ #17633]
4844 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4845 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4846 variable.
4847 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4848 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4849
6423d475
WD
48502014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4851
4852 * string/strncpy.c (strncpy): Improve performance by using memset.
4853
48542014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
4855
4856 * string/strcpy.c (strcpy):
4857 Improve performance by using strlen and memcpy.
4858
5d178c37
LH
48592014-11-24 Leonhard Holz <leonhard.holz@web.de>
4860
4861 * string/strcoll_l.c (get_next_seq): __always_inline.
4862 * string/strcoll_l.c (do_compare): __always_inline.
4863
279bc5b3
SP
48642014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4865
7a9ebfa1
SP
4866 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4867 defined.
4868 * include/mqueue.h: Likewise.
4869 * include/stdlib.h: Likewise.
4870
4f41c682
SP
4871 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4872 (get_null_defines): Adjust.
4873 * sunrpc/Makefile: Adjust comment.
4874 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4875 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4876 (CFLAGS-interp.c): Likewise.
4877 (CFLAGS-ldconfig.c): Likewise.
4878 (CPPFLAGS-.os): Likewise.
4879 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4880 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4881 * extra-modules.mk (extra-modules.mk): Likewise.
4882 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4883 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4884 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4885 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4886 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4887 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4888 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4889 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4890 * iconvdata/Makefile (CPPFLAGS): Likewise.
4891 (cpp-srcs-left): Add libof for all iconvdata routines.
4892 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4893 * include/assert.h: Likewise.
4894 * include/ctype.h: Likewise.
4895 * include/errno.h: Likewise.
4896 * include/libc-symbols.h: Likewise.
4897 * include/math.h: Likewise.
4898 * include/netdb.h: Likewise.
4899 * include/resolv.h: Likewise.
4900 * include/stdio.h: Likewise.
4901 * include/stdlib.h: Likewise.
4902 * include/string.h: Likewise.
4903 * include/sys/stat.h: Likewise.
4904 * include/wctype.h: Likewise.
4905 * intl/l10nflist.c: Likewise.
4906 * libidn/idn-stub.c: Likewise.
4907 * libio/libioP.h: Likewise.
4908 * nptl/libc_multiple_threads.c: Likewise.
4909 * nptl/pthreadP.h: Likewise.
4910 * posix/regex_internal.h: Likewise.
4911 * resolv/res_hconf.c: Likewise.
4912 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4913 * sysdeps/arm/memmove.S: Likewise.
4914 * sysdeps/arm/sysdep.h: Likewise.
4915 * sysdeps/generic/_itoa.h: Likewise.
4916 * sysdeps/generic/symbol-hacks.h: Likewise.
4917 * sysdeps/gnu/errlist.awk: Likewise.
4918 * sysdeps/gnu/errlist.c: Likewise.
4919 * sysdeps/i386/i586/memcpy.S: Likewise.
4920 * sysdeps/i386/i586/memset.S: Likewise.
4921 * sysdeps/i386/i686/memcpy.S: Likewise.
4922 * sysdeps/i386/i686/memmove.S: Likewise.
4923 * sysdeps/i386/i686/mempcpy.S: Likewise.
4924 * sysdeps/i386/i686/memset.S: Likewise.
4925 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4926 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4927 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4928 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4929 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4930 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4931 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4932 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4933 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4934 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4935 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4936 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4937 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4938 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4939 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4940 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4941 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4942 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4943 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4944 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4945 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4946 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4947 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4950 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4951 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4952 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4953 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4954 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4955 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4956 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4957 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4958 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4959 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4960 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4961 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4962 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4963 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4964 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4965 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4966 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4967 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4968 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4969 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4970 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4971 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4972 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4973 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4974 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4975 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4976 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4977 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4978 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4979 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4980 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4981 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4982 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4983 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4984 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4985 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4986 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4987 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4988 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4989 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4990 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4991 * sysdeps/posix/closedir.c: Likewise.
4992 * sysdeps/posix/opendir.c: Likewise.
4993 * sysdeps/posix/readdir.c: Likewise.
4994 * sysdeps/posix/rewinddir.c: Likewise.
4995 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4996 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4997 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4998 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4999 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5000 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5001 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5002 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5003 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5004 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5005 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5006 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5007 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5008 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5009 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5010 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5011 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5012 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5013 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5014 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5015 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5016 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5017 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5018 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5019 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5020 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5021 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5022 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5023 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5024 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5025 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5026 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5027 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5028 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5029 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5030 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5031 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5032 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5033 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5034 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5035 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5036 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5037 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5038 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5039 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5040 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5041 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5042 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5043 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5044 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5045 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5046 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5047 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5048 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5049 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5050 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5051 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5052 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5053 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5054 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5055 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5056 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5057 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5058 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5059 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5060 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5061 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5062 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5063 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5064 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5065 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5066 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5067 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5068 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5069 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5070 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5071 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5072 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5073 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5074 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5075 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5076 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5077 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5078 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5079 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5080 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5081 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5082 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5083 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5084 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5085 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5086 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5087 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5088 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5091 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5093 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5094 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5095 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5096 * sysdeps/unix/alpha/sysdep.S: Likewise.
5097 * sysdeps/unix/alpha/sysdep.h: Likewise.
5098 * sysdeps/unix/make-syscalls.sh: Likewise.
5099 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5100 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5101 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5102 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5103 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5104 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5105 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5106 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5107 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5108 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5109 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5110 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5111 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5112 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5113 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5114 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5115 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5116 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5117 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5118 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5119 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5120 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5121 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5122 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5123 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5124 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5125 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5128 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5129 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5131 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5132 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5133 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5134 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5135 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5136 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5137 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5138 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5139 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5140 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5141 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5142 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5143 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5144 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5146 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5147 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5148 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5149 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5150 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5151 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5152 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5153 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5154 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5155 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5157 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5158 * sysdeps/x86_64/memcpy.S: Likewise.
5159 * sysdeps/x86_64/memmove.c: Likewise.
5160 * sysdeps/x86_64/memset.S: Likewise.
5161 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5162 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5163 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5164 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5165 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5166 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5167 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5168 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5169 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5170 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5171 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5172 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5173 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5174 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5175 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5176 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5177 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5178 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5179 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5180 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5181 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5182 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5183 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5184 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5185 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5186 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5187 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5188 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5189 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5190 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5191 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5192 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5193 * sysdeps/x86_64/strcmp.S: Likewise.
5194
76ca86a5
SP
5195 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5196
a3848485
SP
5197 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5198 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5199 * elf/rtld-Rules: Likewise.
5200 * elf/setup-vdso.h: Likewise.
5201 * include/assert.h: Likewise.
5202 * include/bits/stdlib-float.h: Likewise.
5203 * include/errno.h: Likewise.
5204 * include/sys/stat.h: Likewise.
5205 * include/unistd.h: Likewise.
5206 * sysdeps/aarch64/setjmp.S: Likewise.
5207 * sysdeps/alpha/setjmp.S: Likewise.
5208 * sysdeps/arm/__longjmp.S: Likewise.
5209 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5210 * sysdeps/arm/setjmp.S: Likewise.
5211 * sysdeps/arm/sysdep.h: Likewise.
5212 * sysdeps/generic/_itoa.h: Likewise.
5213 * sysdeps/generic/dl-sysdep.h: Likewise.
5214 * sysdeps/generic/ldsodefs.h: Likewise.
5215 * sysdeps/i386/dl-tls.h: Likewise.
5216 * sysdeps/i386/setjmp.S: Likewise.
5217 * sysdeps/m68k/setjmp.c: Likewise.
5218 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5219 * sysdeps/mach/hurd/opendir.c: Likewise.
5220 * sysdeps/posix/getcwd.c: Likewise.
5221 * sysdeps/posix/opendir.c: Likewise.
5222 * sysdeps/posix/profil.c: Likewise.
5223 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5224 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5225 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5226 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5227 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5228 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5229 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5230 * sysdeps/s390/dl-tls.h: Likewise.
5231 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5232 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5233 * sysdeps/sh/sh3/setjmp.S: Likewise.
5234 * sysdeps/sh/sh4/setjmp.S: Likewise.
5235 * sysdeps/unix/alpha/sysdep.h: Likewise.
5236 * sysdeps/unix/arm/sysdep.S: Likewise.
5237 * sysdeps/unix/i386/sysdep.S: Likewise.
5238 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5239 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5240 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5241 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5242 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5243 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5244 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5245 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5246 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5247 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5248 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5249 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5250 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5253 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5254 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5255 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5256 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5257 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5258 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5259 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5261 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5262 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5263 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5265 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5266 * sysdeps/x86_64/setjmp.S: Likewise.
5267
a109996e
SP
5268 * include/math.h: Use IS_IN instead of IS_IN_libm.
5269 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5270 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5271 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5272 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5273 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5274 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5275 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5276 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5277 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5278 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5279 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5280 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5281 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5282 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5283 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5284 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5285 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5286 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5287 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5288 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5289 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5290 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5291 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5292 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5293 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5294 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5295 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5296 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5297 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5298 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5299 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5300 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5301 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5303 Likewise.
5304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5305 Likewise.
5306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5307 Likewise.
5308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5309 Likewise.
5310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5311 Likewise.
5312 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5313 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5314 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5315 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5316 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5317 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5323 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5324 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5325 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5326 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5327 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5328 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5329 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5330 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5331 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5332 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5333 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5334 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5335 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5336 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5338 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5339
ce9f10f7
SP
5340 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5341 * nptl/pthreadP.h: Likewise.
5342 * nptl_db/structs.def: Likewise.
5343 * sysdeps/arm/sysdep.h: Likewise.
5344 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5345 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5346 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5347 * sysdeps/unix/alpha/sysdep.h: Likewise.
5348 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5349 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5350 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5351 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5352 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5353 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5354 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5355 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5356 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5357 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5358 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5359 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5360 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5361 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5364 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5365 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5366 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5368 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5369 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5370 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5371 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5372 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5373 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5374
016afc75
SP
5375 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5376 * nptl/pthreadP.h: Likewise.
5377 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5378 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5379 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5380 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5381 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5382 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5383 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5384 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5385 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5386 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5387 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5388 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5390 Likewise.
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5392 Likewise.
5393 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5394 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5395 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5398 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5399 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5400 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5401
9b42a0b3
SP
5402 * dlfcn/dladdr.c: Use IS_IN.
5403 * dlfcn/dladdr1.c: Likewise.
5404 * dlfcn/dlclose.c: Likewise.
5405 * dlfcn/dlerror.c: Likewise.
5406 * dlfcn/dlinfo.c: Likewise.
5407 * dlfcn/dlmopen.c: Likewise.
5408 * dlfcn/dlopen.c: Likewise.
5409 * dlfcn/dlsym.c: Likewise.
5410 * dlfcn/dlvsym.c: Likewise.
5411
85f36372
SP
5412 * include/ifaddrs.h: Use IS_IN.
5413 * inet/check_pf.c: Likewise.
5414 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5415 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5416
fb6784e3
SP
5417 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5418 IS_IN_ldconfig.
5419 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5420 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5421
2886d2d1
SP
5422 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5423 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5424 IS_IN (libc).
5425
9a484857
SP
5426 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5427
a10178bd
SP
5428 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5429 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5430 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5431 * include/libc-symbols.h (IS_IN_LIB): New macro.
5432 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5433 * include/netdb.h: Likewise.
5434 * include/stap-probe.h: Remove all uses of IN_LIB.
5435
279bc5b3
SP
5436 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5437 instead of IN_MODULE.
5438 * include/libc-symbols.h (IN_MODULE): Define using
5439 MODULE_NAME.
5440 (PASTE_NAME, PASTE_NAME1): New macros.
5441 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5442 of IN_LIB.
5443 (STAP_PROBE_ASM): Likewise.
5444
e0cfa510
ST
54452014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5446
5447 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5448 __mach_init in dlopened libc.
5449
34d97d87
MF
54502014-11-22 Mike Frysinger <vapier@gentoo.org>
5451
5452 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5453 * sysdeps/arm/preconfigure: Regenerate.
5454
33cd1f74
RM
54552014-11-21 Roland McGrath <roland@hack.frob.com>
5456
5457 * nptl/pthread_create.c (__pthread_create_2_1): Set
5458 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5459 when copying values from IATTR into PD.
5460
8c230039
WN
54612014-11-21 Will Newton <will.newton@linaro.org>
5462 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5463
6d3db89b
AP
5464 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5465 Refactor inline-asm. Also add comment.
5466
01194ba1
WN
5467 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5468 ElfW macro instead of hardcoded Elf64 types.
5469 (la_aarch64_gnu_pltenter): Likewise.
5470 * sysdeps/aarch64/dl-machine.h
5471 (elf_machine_runtime_setup): Use ElfW(Addr).
5472
8c230039
WN
5473 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5474 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5475 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5476 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5477 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5478 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5479 (R_AARCH64_TLS_DTPMOD): This.
5480 (R_AARCH64_TLS_DTPREL64): Rename to ...
5481 (R_AARCH64_TLS_DTPREL): This.
5482 (R_AARCH64_TLS_TPREL64): Rename to ...
5483 (R_AARCH64_TLS_TPREL): This.
5484 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5485 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5486 R_AARCH64_TLS_TPREL64.
5487 (elf_machine_rela): Likewise.
5488
0d79fa53
TR
54892014-11-21 Torvald Riegel <triegel@redhat.com>
5490
5491 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5492 by setting it to 0. 64b atomics are not supported currently.
5493
b59d114b
AO
54942014-11-21 Alexandre Oliva <aoliva@redhat.com>
5495
5496 [BZ #16469]
5497 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5498 search domain names.
5499
f3d945d5
AO
55002014-11-21 Alexandre Oliva <aoliva@redhat.com>
5501
5502 [BZ #16469]
5503 * NEWS: Update.
5504 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5505 trailing dot.
5506 * posix/tst-getaddrinfo5.c: New.
5507 * posix/Makefile (tests): Add it.
5508
49698902
AO
55092014-11-21 Alexandre Oliva <aoliva@redhat.com>
5510
5511 [BZ #14498]
5512 * NEWS: Fixed.
5513 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5514 after parsing line but before break_if_match.
5515 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5516 if there is a protocol mismatch.
5517
81959214
MS
55182014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5519
5520 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5521 because the potential race is on the user-supplied stream.
5522
7729e0e9
AO
55232014-11-21 Alexandre Oliva <aoliva@redhat.com>
5524
5525 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5526 string literal if not passed a buffer.
5527 * manual/job.texi (ctermid): Update reasoning, note deviation
5528 from posix, suggest mtasurace when not passed a buffer, for
5529 future non-preliminary safety notes.
5530
a4ea5e28
AO
55312014-11-21 Alexandre Oliva <aoliva@redhat.com>
5532
5533 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5534 of not passing it a buffer.
5535 Reported by Peng Haitao.
5536
a2b581cb
AO
55372014-11-21 Alexandre Oliva <aoliva@redhat.com>
5538
5539 * manual/Makefile ($(objpfx)stamp-summary): Require
5540 check-safety.sh to pass.
5541 * manual/check-safety.sh: Wish for verification that every
5542 @deftypefn and @deftypefun is followed by a @safety remark.
5543
f214ff74
RM
55442014-11-20 Roland McGrath <roland@hack.frob.com>
5545
7f0dfae0
RM
5546 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5547
2f531bbb
RM
5548 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5549 PTHREAD_CANCEL_ASYNCHRONOUS.
5550 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5551 send SIGCANCEL.
5552
f214ff74
RM
5553 * nptl/default-sched.h: New file.
5554 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5555 * nptl/pthread_create.c: Include it.
5556 (__pthread_create_2_1): Use collect_default_sched instead of making
5557 Linux syscalls here directly.
5558
e37c91d4
TR
55592014-11-20 Torvald Riegel <triegel@redhat.com>
5560
5561 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5562 __pthread_once): Use C11 atomics.
5563
1eccfecd
TR
55642014-11-20 Torvald Riegel <triegel@redhat.com>
5565
5566 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5567
ff871426
TR
55682014-11-20 Torvald Riegel <triegel@redhat.com>
5569
5570 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5571 atomic_thread_fence_acquire, atomic_thread_fence_release,
5572 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5573 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5574 atomic_compare_exchange_weak_relaxed,
5575 atomic_compare_exchange_weak_acquire,
5576 atomic_compare_exchange_weak_release,
5577 atomic_exchange_acquire, atomic_exchange_release,
5578 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5579 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5580 atomic_fetch_and_acquire,
5581 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5582
1ea339b6
TR
55832014-11-20 Torvald Riegel <triegel@redhat.com>
5584
5585 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5586 USE_ATOMIC_COMPILER_BUILTINS): Define.
5587 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5588 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5589 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5590 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5591 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5592 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5593 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5594 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5595 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5596 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5597 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5598 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5599 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5600 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5601 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5602 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5603 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5604 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5605 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5606 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5607 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5608 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5609 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5610 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5611 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5612 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5613 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5614 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5615 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5616 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5617 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5618 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5619 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5620 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5621 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5622 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5623 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5624 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5625 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5626 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5627
cbd463e2
RM
56282014-11-19 Roland McGrath <roland@hack.frob.com>
5629
d960211f
RM
5630 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5631 the sched_priority value here. It was already checked when the user
5632 called pthread_attr_setschedparam.
5633
cbd463e2
RM
5634 * nptl/tst-bad-schedattr.c: New file.
5635 * nptl/Makefile (tests): Add it.
5636
a39208bd
CD
56372014-11-19 Carlos O'Donell <carlos@redhat.com>
5638 Florian Weimer <fweimer@redhat.com>
5639 Joseph Myers <joseph@codesourcery.com>
5640 Adam Conrad <adconrad@0c3.net>
5641 Andreas Schwab <schwab@suse.de>
5642 Brooks <bmoses@google.com>
5643
5644 [BZ #17625]
5645 * wordexp-test.c (__dso_handle): Add prototype.
5646 (__register_atfork): Likewise.
5647 (__app_register_atfork): New function.
5648 (registered_forks): New global.
5649 (register_fork): New function.
5650 (test_case): Add 3 new tests for WRDE_CMDSUB.
5651 (main): Call __app_register_atfork.
5652 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5653 fork count is non-zero fail the test.
5654 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5655 is set.
5656 (parse_dollars): Remove check for WRDE_NOCMD.
5657 (parse_dquote): Likewise.
5658
9cd47470
SP
56592014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5660
130ac68c
SP
5661 * Makeconfig (built-modules): List non-library modules to be
5662 built.
5663 (module-cppflags): Include libc-modules.h for
5664 everything except shlib-versions.v.i.
5665 (CPPFLAGS): Use it.
5666 (before-compile): Add libc-modules.h.
5667 ($(common-objpfx)libc-modules.h,
5668 $(common-objpfx)libc-modules.stmp): New targets.
5669 (common-generated): Add libc-modules.h and libc-modules.stmp.
5670 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5671 * include/libc-symbols.h: Don't include libc-modules.h.
5672 * include/libc-modules.h: Remove file.
5673 * scripts/gen-libc-modules.awk: New script to generate
5674 libc-modules.h.
5675 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5676 Depend on libc-modules.stmp.
5677
286663c3
SP
5678 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5679
9cd47470
SP
5680 * Makeconfig (in-module): Get value of libof set for the
5681 translation unit.
5682 (CPPFLAGS): Use $(in-module).
5683 * Makerules: Don't suffix routine names for nonlib.
5684 * include/libc-modules.h: New file.
5685 * include/libc-symbols.h: Include libc-modules.h
5686 (IS_IN): New macro to replace IS_IN_* macros.
5687 * elf/Makefile: Set libof-* for each routine.
5688 * elf/rtld-Rules: Likewise.
5689 * extra-modules.mk: Likewise.
5690 * iconv/Makefile: Likewise.
5691 * iconvdata/Makefile: Likewise.
5692 * locale/Makefile: Likewise.
5693 * malloc/Makefile: Likewise.
5694 * nss/Makefile: Likewise.
5695 * sysdeps/gnu/Makefile: Likewise.
5696 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5697 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5698 * sysdeps/s390/s390-64/Makefile: Likewise.
5699 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5700 CPPFLAGS for nscd instead of nonlib.
5701
32fed10f
RM
57022014-11-18 Roland McGrath <roland@hack.frob.com>
5703
d71035bd
RM
5704 * nptl/createthread.c: New file.
5705
6540b991
RM
5706 * nptl/createthread.c: Moved ...
5707 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5708
32fed10f
RM
5709 * nptl/createthread.c: Add proper top-line comment.
5710 (do_clone): Folded into ...
5711 (create_thread): ... here. Take new arguments STOPPED_START and
5712 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5713 increment __nptl_threads, do event-reporting logic, do
5714 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5715 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5716 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5717 just send SIGCANCEL.
5718 * nptl/pthread_create.c: Forward-declare create_thread before
5719 including createthread.c.
5720 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5721 declaration, and new macro START_THREAD_SELF to replace argument.
5722 Remove return statement.
5723 (report_thread_creation): New function.
5724 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5725 synchronization logic, and __nptl_nthreads increment here, around
5726 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5727 PD->parent_cancelhandling here, before create_thread. When
5728 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5729 __deallocate_stack, and ENOMEM translation here.
5730
107a5bf0
JM
57312014-11-18 Joseph Myers <joseph@codesourcery.com>
5732
5733 [BZ #17616]
5734 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5735 (mptwo): Rename to __mptwo.
5736 (__inv): Use __mptwo instead of mptwo.
5737 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5738 (mptwo): Rename to __mptwo.
5739 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5740 of mpone and __mptwo instead of mptwo.
5741 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5742 instead of mpone.
5743 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5744 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5745 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5746 of mpone and __mptwo instead of mptwo.
5747 (__mpranred): Use __mpone instead of mpone.
5748 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5749 variable.
5750 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5751 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5752 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5753 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5754 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5755 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5756 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5757 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5758 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5759 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5760 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5761 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5762 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5763 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5764 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5765 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5766 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5767 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5768 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5769
3b679ab3
TV
57702014-11-18 Tom de Vries <tom@codesoucery.com>
5771
5772 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5773 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5774
57752014-11-17 Richard Henderson <rth@redhat.com>
5776
5777 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5778 (_FP_PACK_RAW_2): Remove.
5779 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5780 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5781 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5782 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5783 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5784 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5785 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5786 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5787 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5788 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5789 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5790 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5791 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5792 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5793 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5794 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5795
0781a777
RM
57962014-11-14 Roland McGrath <roland@hack.frob.com>
5797
5798 * signal/signal.h [__USE_MISC]
5799 (struct sigvec): Remove type.
5800 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5801 (sigvec): Remove declaration.
5802 * sysdeps/posix/sigvec.c: Moved ...
5803 * signal/sigvec.c: ... here, replacing old file.
5804 (struct sigvec): New type, copied from old signal.h definition.
5805 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5806 (__sigvec): Convert definition to prototype.
5807 (sigvec): Replace weak_alias with compat_symbol.
5808 * signal/Versions (libc: GLIBC_2.21): New version set.
5809 * include/signal.h: Remove __sigvec declaration.
5810 * sysdeps/unix/bsd/sigvec.c: Remove file.
5811 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5812 * manual/signal.texi (BSD Handler): Remove subsection.
5813 Move siginterrupt up to ...
5814 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5815 (Blocking in BSD): Fold subsection into its parent.
5816 * NEWS: Mention sigvec removal.
5817
a4733812
JM
58182014-11-14 Joseph Myers <joseph@codesourcery.com>
5819
5ae4fe60
JM
5820 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5821 (DLA_FMS): Make definition conditional only on [__FMA4__].
5822 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5823 definition.
5824
6a0dd472
JM
5825 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5826 Make definition conditional only on [PROF].
5827 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5828 definition.
5829 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5830 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5831
a4733812
JM
5832 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5833 !__GNUC__].
5834 * include/signal.h (__sigpause): Move declaration above call to
5835 libc_hidden_proto.
5836 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5837 variable.
5838 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5839 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5840
cf7246dd
DM
58412014-11-14 David S. Miller <davem@davemloft.net>
5842
5843 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5844 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5845
c1b0aadc
JM
58462014-11-14 Joseph Myers <joseph@codesourcery.com>
5847
4863355a
JM
5848 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5849 * configure: Regenerated.
5850 * manual/install.texi (Tools for Compilation): Document a
5851 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5852 compiler verified to work.
5853 * INSTALL: Regenerated.
5854
c1b0aadc
JM
5855 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5856 redeclare with asm name.
5857 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5858 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5859 including <string.h>.
5860 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5861 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5862 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5863 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5864 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5865 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5866 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5867
2a1cfd94
JM
58682014-11-13 Joseph Myers <joseph@codesourcery.com>
5869
bf438382
JM
5870 * stdlib/strtol.c (__strtol): Use prototype definition.
5871
2a1cfd94
JM
5872 [BZ #17594]
5873 * stdlib/strtol.c (SYM__): New macro.
5874 (SYM__1): Likewise.
5875 (__strtol): Likewise.
5876 (strtol): Rename to __strtol and define as weak alias of
5877 __strtol. Use libc_hidden_weak.
5878
20ed0d26
SL
58792014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5880
5881 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5882 Use numbered labels in inline assembly.
5883
53244a4e
SL
58842014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5885
5886 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5887 Add setjmp LIBC_PROBE.
5888 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5889 Likewise.
5890 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5891 Add longjmp, longjmp_target LIBC_PROBE.
5892 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5893 Likewise.
5894
47df8251
SL
58952014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5896
5897 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5898 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5899 to get rid of unused variable warning.
5900
618cebef
SL
59012014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5902
5903 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5904 Check for unwind_backtrace == NULL only in SHARED case.
5905 (__backchain_backtrace): Compile only in SHARED case.
5906 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5907 Likewise.
5908 (__backchain_backtrace): Declare as static.
5909
c6aab2cb
RM
59102014-11-12 Roland McGrath <roland@hack.frob.com>
5911
5912 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5913 (__libc_multiple_threads_ptr): Variable moved ...
5914 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5915
5a6fa4d7
JM
59162014-11-12 Joseph Myers <joseph@codesourcery.com>
5917
24f4f825
JM
5918 * conform/GlibcConform.pm: New file.
5919 * conform/conformtest.pl: Use GlibcConform module.
5920 * conform/linknamespace.pl: New file.
5921 * conform/list-header-symbols.pl: Likewise.
5922 * conform/Makefile (linknamespace-symlists-base): New variable.
5923 (linknamespace-symlists-tests): Likewise.
5924 (linknamespace-header-base): Likewise.
5925 (linknamespace-header-tests): Likewise.
5926 (tests-special): Add new tests.
5927 ($(linknamespace-symlists-tests)): New rule.
5928 (linknamespace-libs): New variable.
5929 ($(objpfx)symlist-stdlibs): New rule.
5930 ($(linknamespace-header-tests)): Likewise.
5931 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5932 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5933 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5934 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5935 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5936 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5937 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5938 (test-xfail-ISO/math.h/linknamespace): Likewise.
5939 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5940 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5941 (test-xfail-ISO/time.h/linknamespace): Likewise.
5942 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5943 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5944 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5945 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5946 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5947 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5948 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5949 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5950 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5951 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5952 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5953 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5954 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5955 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5956 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5957 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5958 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5959 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5960 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5961 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5962 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5963 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5964 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5965 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5966 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5967 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5968 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5969 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5970 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5971 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5972 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5973 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5974 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5975 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5976 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5977 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5978 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5979 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5980 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5981 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5982 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5983 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5984 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5985 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5986 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5987 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5988 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5989 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5990 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5991 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5992 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5993 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5994 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5995 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5996 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5997 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5998 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5999 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6000 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6001 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6002 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6003 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6004 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6005 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6006 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6007 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6008 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6009 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6010 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6011 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6012 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6013 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6014 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6015 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6016 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6017 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6018 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6019 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6020 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6021 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6022 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6023 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6024 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6025 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6026 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6027 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6028 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6029 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6030 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6031 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6032 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6033 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6034 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6035 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6036 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6037 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6038 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6039 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6040 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6041 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6042 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6043 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6044 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6045 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6046 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6047 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6048 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6049 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6050 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6051 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6052 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6053 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6054 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6055 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6056 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6057 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6058 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6059 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6060 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6061 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6062 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6063 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6064 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6065 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6066 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6067 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6068 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6069 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6070 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6071 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6072 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6073 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6074 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6075 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6076 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6077 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6078 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6079 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6080 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6081 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6082 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6083 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6084 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6085 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6086 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6087 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6088 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6089 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6090 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6091 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6092
cc67478e
JM
6093 [BZ #17589]
6094 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6095 of fgets_unlocked.
6096
9975e3d3
JM
6097 [BZ #17585]
6098 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6099 (memmem): Rename to __memmem and define as weak alias of
6100 __memmem. Use libc_hidden_weak.
6101 (__memmem): Use libc_hidden_def.
6102 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6103 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6104 memmem.
6105
c4eae752
JM
6106 [BZ #17582]
6107 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6108 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6109 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6110 and define as weak alias of __fgets_unlocked. Use
6111 libc_hidden_weak.
6112 (__fgets_unlocked): Use libc_hidden_def.
6113 * include/stdio.h (__fgets_unlocked): Declare. Use
6114 libc_hidden_proto.
6115 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6116 __fgets_unlocked instead of fgets_unlocked.
6117 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6118 (GET_NPROCS_CONF_PARSER): Likewise.
6119 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6120 (GET_NPROCS_CONF_PARSER): Likewise.
6121
01cad84e
JM
6122 [BZ #17574]
6123 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6124 weak alias of __wmemset. Use libc_hidden_weak.
6125 (__wmemset): Use libc_hidden_def.
6126 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6127 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6128 of wmemset.
6129
939da411
JM
6130 [BZ #17573]
6131 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6132 with asm name __mempcpy.
6133 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6134
293d9a41
JM
6135 [BZ #17572]
6136 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6137 and define as weak alias of __rawmemchr.
6138 (__rawmemchr): Do not define as strong alias of rawmemchr.
6139
bef8fd60
JM
6140 [BZ #17571]
6141 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6142 alias of __qsort_r.
6143 (qsort): Call __qsort_r instead of qsort_r.
6144 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6145 (__qsort_r): Declare. Call libc_hidden_proto.
6146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6147 instead of qsort_r.
6148 * nscd/gai.c (__qsort_r): Define to qsort_r.
6149 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6150 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6151 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6152
c52ff39e
JM
6153 [BZ #17570]
6154 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6155 define as weak alias of __malloc_info.
6156
2f5c1b00
JM
6157 [BZ #17584]
6158 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6159 as weak alias of __rewinddir. Don't use libc_hidden_def.
6160 (__rewinddir): Use libc_hidden_def.
6161 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6162 as weak alias of __rewinddir. Don't use libc_hidden_def.
6163 (__rewinddir): Use libc_hidden_def.
6164 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6165 weak alias of __rewinddir. Don't use libc_hidden_def.
6166 (__rewinddir): Use libc_hidden_def.
6167 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6168 (__rewinddir): Use libc_hidden_proto.
6169 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6170 rewinddir.
6171 (__getcwd): Use __rewinddir instead of rewinddir.
6172
5a6fa4d7
JM
6173 [BZ #17583]
6174 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6175 alias of __fileno. Use libc_hidden_weak.
6176 (__fileno): Use libc_hidden_def.
6177 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6178 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6179 alias of __ftello.
6180 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6181 __ftello.
6182 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6183 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6184 libc_hidden_def.
6185 (fread_unlocked): Don't use libc_hidden_ver.
6186 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6187 and define as weak alias of __fread_unlocked. Don't use
6188 libc_hidden_def.
6189 (__fread_unlocked): Use libc_hidden_def.
6190 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6191 (ftello): Don't use libc_hidden_proto.
6192 (__ftello): Declare. Use libc_hidden_proto.
6193 (fread_unlocked): Don't use libc_hidden_proto.
6194 (__fread_unlocked): Declare. Use libc_hidden_proto.
6195 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6196 and __ftello instead of fileno, fread_unlocked and ftello.
6197
2581b98e
SP
61982012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6199
6200 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6201 GOT12.
6202 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6203 Likewise.
6204 (_dl_start_user): Likewise.
6205 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6206
533bb7c2
SP
62072014-11-12 Carlos O'Donell <carlos@redhat.com>
6208 Siddhesh Poyarekar <siddhesh@redhat.com>
6209
6210 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6211 Move argv and envp down instead of moving argc up.
6212 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6213
fffa1cf8
LH
62142014-11-12 Leonhard Holz <leonhard.holz@web.de>
6215
6216 [BZ #17506]
6217 * test-skeleton.c (main): Return successful if one of
6218 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6219 * string/tst-strcoll-overflow.c: Define expected status.
6220
fb89b46d
TU
62212014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6222
6223 [BZ #17475]
6224 * locale/iso-639.def: Define Bhili and Tulu language codes.
6225
5c40c3ba
AH
62262014-11-11 Alan Hayward <alan.hayward@arm.com>
6227
6228 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6229
b17fe01b 62302014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
6231
6232 [BZ #17555]
6233 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6234
bd805071
AS
62352014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6236
6237 * configure.ac: Updated check of minimal required version to
6238 2.22.
6239 * manual/install.texi (Tools for Compilation): Updated version
6240 number.
6241 * configure: Regenerated.
6242 * INSTALL: Likewise.
6243
1400983e
AS
62442014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6245
6246 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6247 __tls_get_addr.
6248
2c46a66a
JM
62492014-11-07 Joseph Myers <joseph@codesourcery.com>
6250
6251 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6252 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6253 (__waitpid): Don't define as alias. Use libc_hidden_def not
6254 libc_hidden_weak.
6255 (waitpid): Define as alias of __waitpid.
6256 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6257 __waitpid.
6258 (__waitpid): Don't define as alias. Use libc_hidden_def not
6259 libc_hidden_weak.
6260 (waitpid): Define as alias of __waitpid.
6261 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6262 __libc_waitpid alias.
6263 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6264 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6265 Likewise.
6266 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6267 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6268 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6269 alias.
6270 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6271 __waitpid.
6272 (__waitpid): Don't define as alias. Use libc_hidden_def not
6273 libc_hidden_weak.
6274 (waitpid): Define as alias of __waitpid.
6275
da53d6db
CD
62762014-11-06 Carlos O'Donell <carlos@redhat.com>
6277
a2887bdb
CD
6278 * manual/llio.texi: Add comment that write safety has been
6279 fixed in Linux.
6280
da53d6db
CD
6281 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6282 (localplt-build-dso): Add elf/ld.so.
6283 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6284 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6285 and free for ld.so.
6286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6287 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6289 Likewise.
6290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6291 Likewise.
6292 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6293 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6294 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6295 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6296 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6297 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6298 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6299 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6300 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6301 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6302 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6303
9cf27b8d
JM
63042014-11-05 Joseph Myers <joseph@codesourcery.com>
6305
6306 [BZ #14132]
6307 * include/libc-symbols.h (INTUSE): Remove macro.
6308 (INTDEF): Likewise.
6309 (INTVARDEF): Likewise.
6310 (_INTVARDEF): Likewise.
6311 (INTDEF2): Likewise.
6312 (INTVARDEF2): Likewise.
6313 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6314 rtld_hidden_def instead of INTVARDEF.
6315 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6316 (_dl_starting_up_internal): Remove declaration.
6317 (_dl_starting_up): Use rtld_hidden_proto.
6318 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6319 declaration.
6320 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6321 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6322 _dl_starting_up.
6323 * elf/dl-writev.h (_dl_writev): Likewise.
6324 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6325 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6326 _dl_starting_up_internal.
6327
af83568d
AZ
63282014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6329
6330 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6331 test-skeleton.c.
6332
b01ee67c
WN
63332014-11-05 Will Newton <will.newton@linaro.org>
6334
6335 * benchtests/Makefile: (bench-malloc): Add malloc thread
6336 scalability benchmark.
6337 * benchtests/bench-malloc-threads.c: New file.
6338
be9d4ccc
RE
63392014-11-05 Richard Earnshaw <rearnsha@arm.com>
6340
6341 * sysdeps/aarch64/strchrnul.S: New file.
6342
7110166d
AZ
63432014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6344
6345 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6346 definition.
6347 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6348 Likwise.
6349 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6350 Likewise.
6351 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6352 Likewise.
6353 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6354 Likewise.
6355 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6356 Likewise.
6357
63582014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6359
6360 * catgets/test-gencat.c: Use test-skeleton.c.
6361 * catgets/tst-catgets.c: Likewise.
6362 * csu/tst-empty.c: Likewise.
6363 * elf/tst-audit2.c: Likewise.
6364 * elf/tst-global1.c: Likewise.
6365 * elf/tst-pathopt.c: Likewise.
6366 * elf/tst-piemod1.c: Likewise.
6367 * elf/tst-tls10.c: Likewise.
6368 * elf/tst-tls11.c: Likewise.
6369 * elf/tst-tls12.c: Likewise.
6370 * gnulib/tst-gcc.c: Likewise.
6371 * iconvdata/tst-e2big.c: Likewise.
6372 * iconvdata/tst-loading.c: Likewise.
6373 * iconv/tst-iconv1.c: Likewise.
6374 * iconv/tst-iconv2.c: Likewise.
6375 * inet/test-inet6_opt.c: Likewise.
6376 * inet/tst-gethnm.c: Likewise.
6377 * inet/tst-network.c: Likewise.
6378 * inet/tst-ntoa.c: Likewise.
6379 * intl/tst-codeset.c: Likewise.
6380 * intl/tst-gettext2.c: Likewise.
6381 * intl/tst-gettext3.c: Likewise.
6382 * intl/tst-ngettext.c: Likewise.
6383 * intl/tst-translit.c: Likewise.
6384 * io/test-stat.c: Likewise.
6385 * libio/test-fmemopen.c: Likewise.
6386 * libio/tst-freopen.c: Likewise.
6387 * libio/tst-sscanf.c: Likewise.
6388 * libio/tst-ungetwc1.c: Likewise.
6389 * libio/tst-ungetwc2.c: Likewise.
6390 * libio/tst-widetext.c: Likewise.
6391 * localedata/tst-ctype.c: Likewise.
6392 * localedata/tst-digits.c: Likewise.
6393 * localedata/tst-leaks.c: Likewise.
6394 * localedata/tst-mbswcs1.c: Likewise.
6395 * localedata/tst-mbswcs2.c: Likewise.
6396 * localedata/tst-mbswcs3.c: Likewise.
6397 * localedata/tst-mbswcs4.c: Likewise.
6398 * localedata/tst-mbswcs5.c: Likewise.
6399 * localedata/tst-setlocale.c: Likewise.
6400 * localedata/tst-trans.c: Likewise.
6401 * localedata/tst-wctype.c: Likewise.
6402 * localedata/tst-xlocale1.c: Likewise.
6403 * login/tst-grantpt.c: Likewise.
6404 * malloc/tst-calloc.c: Likewise.
6405 * malloc/tst-malloc.c: Likewise.
6406 * malloc/tst-mallocstate.c: Likewise.
6407 * malloc/tst-mcheck.c: Likewise.
6408 * malloc/tst-mtrace.c: Likewise.
6409 * malloc/tst-obstack.c: Likewise.
6410 * math/atest-exp2.c: Likewise.
6411 * math/atest-exp.c: Likewise.
6412 * math/atest-sincos.c: Likewise.
6413 * math/test-matherr.c: Likewise.
6414 * math/test-misc.c: Likewise.
6415 * math/test-powl.c: Likewise.
6416 * math/tst-definitions.c: Likewise.
6417 * misc/tst-dirname.c: Likewise.
6418 * misc/tst-efgcvt.c: Likewise.
6419 * misc/tst-fdset.c: Likewise.
6420 * misc/tst-hsearch.c: Likewise.
6421 * misc/tst-mntent2.c: Likewise.
6422 * nptl/tst-sem7.c: Likewise.
6423 * nptl/tst-sem8.c: Likewise.
6424 * nptl/tst-sem9.c: Likewise.
6425 * nss/test-netdb.c: Likewise.
6426 * posix/tst-fnmatch.c: Likewise.
6427 * posix/tst-getlogin.c: Likewise.
6428 * posix/tst-gnuglob.c: Likewise.
6429 * posix/tst-mmap.c: Likewise.
6430 * pwd/tst-getpw.c: Likewise.
6431 * resolv/tst-inet_ntop.c: Likewise.
6432 * rt/tst-timer.c: Likewise.
6433 * stdio-common/test-fseek.c: Likewise.
6434 * stdio-common/test-popen.c: Likewise.
6435 * stdio-common/test-vfprintf.c: Likewise.
6436 * stdio-common/tst-cookie.c: Likewise.
6437 * stdio-common/tst-fileno.c: Likewise.
6438 * stdio-common/tst-gets.c: Likewise.
6439 * stdio-common/tst-obprintf.c: Likewise.
6440 * stdio-common/tst-perror.c: Likewise.
6441 * stdio-common/tst-sprintf2.c: Likewise.
6442 * stdio-common/tst-sprintf3.c: Likewise.
6443 * stdio-common/tst-sprintf.c: Likewise.
6444 * stdio-common/tst-swprintf.c: Likewise.
6445 * stdio-common/tst-tmpnam.c: Likewise.
6446 * stdio-common/tst-unbputc.c: Likewise.
6447 * stdio-common/tst-wc-printf.c: Likewise.
6448 * stdlib/tst-environ.c: Likewise.
6449 * stdlib/tst-fmtmsg.c: Likewise.
6450 * stdlib/tst-limits.c: Likewise.
6451 * stdlib/tst-rand48-2.c: Likewise.
6452 * stdlib/tst-rand48.c: Likewise.
6453 * stdlib/tst-random2.c: Likewise.
6454 * stdlib/tst-random.c: Likewise.
6455 * stdlib/tst-strtol.c: Likewise.
6456 * stdlib/tst-strtoll.c: Likewise.
6457 * stdlib/tst-tls-atexit.c: Likewise.
6458 * stdlib/tst-xpg-basename.c: Likewise.
6459 * string/test-ffs.c: Likewise.
6460 * string/tst-bswap.c: Likewise.
6461 * string/tst-inlcall.c: Likewise.
6462 * string/tst-strtok.c: Likewise.
6463 * string/tst-strxfrm.c: Likewise.
6464 * sysdeps/x86_64/tst-audit10.c: Likewise.
6465 * sysdeps/x86_64/tst-audit3.c: Likewise.
6466 * sysdeps/x86_64/tst-audit4.c: Likewise.
6467 * sysdeps/x86_64/tst-audit5.c: Likewise.
6468 * time/tst-ftime_l.c: Likewise.
6469 * time/tst-getdate.c: Likewise.
6470 * time/tst-mktime3.c: Likewise.
6471 * time/tst-mktime.c: Likewise.
6472 * time/tst-posixtz.c: Likewise.
6473 * time/tst-strptime2.c: Likewise.
6474 * time/tst-strptime3.c: Likewise.
6475 * wcsmbs/tst-btowc.c: Likewise.
6476 * wcsmbs/tst-mbrtowc.c: Likewise.
6477 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6478 * wcsmbs/tst-wchar-h.c: Likewise.
6479 * wcsmbs/tst-wcpncpy.c: Likewise.
6480 * wcsmbs/tst-wcrtomb.c: Likewise.
6481 * wcsmbs/tst-wcsnlen.c: Likewise.
6482 * wcsmbs/tst-wcstof.c: Likewise.
6483
2004e7fb
JM
64842014-11-04 Joseph Myers <joseph@codesourcery.com>
6485
ab97ee8f
JM
6486 [BZ #14132]
6487 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6488 INTDEF.
6489 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6490 declaration.
6491 (_dl_mcount): Use rtld_hidden_proto.
6492 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6493 _dl_mcount.
6494 * elf/rtld.c (_rtld_global_ro): Likewise.
6495
c5684fdb
JM
6496 [BZ #14132]
6497 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6498 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6499 of _dl_init_internal.
6500 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6501 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6502 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6503 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6504 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6505 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6506 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6507 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6508 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6509 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6510 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6511 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6512 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6513 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6514 * sysdeps/tile/dl-start.S (_start): Likewise.
6515 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6516 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6517
4243cbea
JM
6518 [BZ #14132]
6519 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6520 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6521 (rtld_progname): Make macro definition unconditional.
6522 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6523 INTDEF.
6524 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6525 (dl_main): Likewise.
6526 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6527 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6528 instead of _dl_argv_internal.
6529 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6530 __GI__dl_argv instead of INTUSE(_dl_argv).
6531 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6532 __GI__dl_argv instead of _dl_argv_internal.
6533
2004e7fb
JM
6534 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6535 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6536 macro.
6537 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6538 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6539 New macro.
6540 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6541 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6542 macro.
6543 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6544 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6545
97827bfc
AS
65462014-11-04 Andreas Schwab <schwab@suse.de>
6547
6548 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6549
5e4df284
AZ
65502014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6551
6552 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6553 mtvsrd instruction in binary form.
6554
04b76b5a
AS
65552014-11-03 Andreas Schwab <schwab@suse.de>
6556
6557 [BZ #17522]
6558 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6559 for less than MB_LEN_MAX use a local buffer of that size.
6560 * libio/tst-fputws.c: New file.
6561 * libio/Makefile (tests): Add tst-fputws.
6562
4c6da7da
JM
65632014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6564
6565 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6566 the size of the fpu_fr.fpu_dregs[] array.
6567
1679ba8e
JM
65682014-11-01 Joseph Myers <joseph@codesourcery.com>
6569
6570 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6571 (__nanosleep): Do not define as alias.
6572 (nanosleep): Define as alias of __nanosleep.
6573 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6574 __libc_nanosleep name.
6575
2626c183
JM
65762014-10-31 Joseph Myers <joseph@codesourcery.com>
6577
6578 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6579 install.texi in comment.
6580
7f981fc2
TR
65812014-10-31 Torvald Riegel <triegel@redhat.com>
6582
6583 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6584 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6585 ... add here and use lwsync or sync ...
6586 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6587 ... and add here using lwsync.
6588
d6f373d2
MF
65892014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6590
6591 * elf/dl-machine-reject-phdr.h: New file.
6592 * elf/dl-load.c: #include that.
6593 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6594 if that returned true.
6595
67c37987
RM
65962014-10-31 Roland McGrath <roland@hack.frob.com>
6597
6598 [BZ #17496]
6599 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6600 gen-as-const-headers chunk. Add a big scare comment after the last
6601 safe place to touch before-compile.
6602
94a42455 66032014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 6604
f3f5d895
JM
6605 * manual/install.texi (Tools for Compilation): Update autoconf
6606 version requirements.
6607 * INSTALL: Regenerated.
6608
f62ff286
JM
6609 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6610 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6611 (__libc_pselect): Likewise.
94a42455
JM
6612
6613 [BZ #14138]
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6618
ff9dbdc0
TR
66192014-10-31 Torvald Riegel <triegel@redhat.com>
6620
6621 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6622 correct barrier instruction.
6623 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6624 Likewise.
6625 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6626 Likewise.
6627
b4f66884
RM
66282014-10-30 Roland McGrath <roland@hack.frob.com>
6629
6630 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6631 after defining inlines. Instead, just use parens to defeat macro
6632 expansion of __isctype in its declaration.
6633
e19c95fd
JM
66342014-10-30 Joseph Myers <joseph@codesourcery.com>
6635
6636 * include/sys/uio.h (__libc_readv): Remove declaration.
6637 (__libc_writev): Likewise.
6638 * misc/readv.c (__libc_readv): Rename to __readv.
6639 (__readv): Do not define as alias.
6640 (readv): Define as alias of __readv.
6641 * misc/writev.c (__libc_writev): Rename to __writev.
6642 (__writev): Do not define as alias.
6643 (writev): Define as alias of __writev.
6644 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6645 (__readv): Do not define as alias.
6646 (readv): Define unconditionally as alias of __readv.
6647 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6648 (__writev): Do not define as alias.
6649 (writev): Define unconditionally as alias of __writev.
6650 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6651 name.
6652 (writev): Do not define __libc_writev name.
6653
65b00b6c
RM
66542014-10-30 Roland McGrath <roland@hack.frob.com>
6655
6656 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6657 (convert_charseq): New function, broken out of ...
6658 (use_from_charmap): ... here. Call it.
6659 (use_to_charmap): Use convert_charseq and free instead of duplicating
6660 its code with a variable-length stack struct.
6661
d4e157aa
JM
66622014-10-30 Joseph Myers <joseph@codesourcery.com>
6663
6664 * include/fcntl.h (__libc_creat): Remove declaration.
6665 * io/creat.c (__libc_creat): Rename to creat.
6666 (creat): Do not define as alias.
6667 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6668 of creat instead of __libc_creat.
6669 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6670 to creat.
6671 (creat): Do not define as alias.
6672 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6673 __libc_creat.
6674 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6675 __libc_creat name.
6676 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6677 Likewise.
6678
0c6891a0
CD
66792014-10-29 Carlos O'Donell <carlos@redhat.com>
6680
6681 * manual/llio.texi: Add comments discussing why write() may be
6682 considered MT-unsafe on Linux.
6683
cc00cece
CD
66842014-10-28 Carlos O'Donell <carlos@redhat.com>
6685
6686 * dl-load.c (local_strdup): Remove.
6687 (expand_dynamic_string_token): Use __strdup.
6688 (decompose_rpath): Likewise.
6689 (_dl_map_object): Likewise.
6690
51e623f2
JM
66912014-10-28 Joseph Myers <joseph@codesourcery.com>
6692
6693 [BZ #14132]
6694 * sysdeps/generic/unwind-dw2-fde.c
6695 (__register_frame_info_bases_internal): Do not declare.
6696 (__register_frame_info_table_bases_internal): Likewise.
6697 (__deregister_frame_info_bases_internal): Likewise.
6698 (__register_frame_info_bases): Declare and use hidden_proto before
6699 definition. Use hidden_def instead of INTDEF.
6700 (__register_frame_info_table_bases): Likewise.
6701 (__deregister_frame_info_bases): Likewise.
6702 (__register_frame_info): Do not use INTUSE.
6703 (__register_frame): Likewise.
6704 (__register_frame_info_table): Likewise.
6705 (__register_frame_table): Likewise.
6706 (__deregister_frame_info): Likewise.
6707 (__deregister_frame): Likewise.
6708
03d41216
GC
67092014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6710
6711 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6712 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6713 not undefine.
6714 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6715 Likewise.
6716 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6717 Likewise.
6718
a4b3624d
JM
67192014-10-27 Joseph Myers <joseph@codesourcery.com>
6720
6721 [BZ #14138]
6722 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6723 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6724 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6725 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6726 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6727 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6728 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6729 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6730 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6731 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6732 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6733 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6734 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6735 syscall.
6736 (setfsuid): Likewise.
6737 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6738 (setfsuid): Likewise.
6739 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6740 (setfsuid): Likewise.
6741 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6742 Likewise.
6743 (setfsuid): Likewise.
6744 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6745 (setfsuid): Likewise.
6746 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6747 Likewise.
6748 (setfsuid): Likewise.
6749
3574f2fd
AS
67502014-10-27 Andreas Schwab <schwab@suse.de>
6751
6752 [BZ #17501]
6753 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6754 check for Slow_SSE4_2 feature bit.
6755 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6756 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6757 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6758 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6759
70996a37
RM
67602014-10-24 Roland McGrath <roland@hack.frob.com>
6761
461a7b1e
RM
6762 * configure.ac: Validate compiler version with a empirical test of
6763 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6764 $CC -v output.
6765 * configure: Regenerated.
6766
70996a37
RM
6767 * inet/htons.c (htons): Prototypify.
6768 * inet/htonl.c (htonl): Likewise.
6769
e80514b5
WD
67702014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6771
6772 * string/strncat.c (strncat): Improve performance by using strlen.
6773
6e46de42
WD
67742014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6775
6776 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6777
6a9ad2fa
WD
67782014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6779
6780 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6781 Call libc_fetestexcept_aarch64.
6782
1c8810ed
WD
67832014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6784
6785 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6786 Call libc_feholdexcept_aarch64.
6787
8b1af712
WD
67882014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6789
6790 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6791 Call get_rounding_mode.
6792
a7b00c11
WD
67932014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6794
6795 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6796 Simplify logic.
6797
3a84f1a6
WD
67982014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6799
6800 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6801 Simplify logic.
6802
48eb7a94
JM
68032014-10-24 Joseph Myers <joseph@codesourcery.com>
6804
c8bc4038
JM
6805 [BZ #14138]
6806 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6807 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6808 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6809 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6810 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6811 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6812 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6813 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6814 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6815 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6816 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6817 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6818 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6819 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6820 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6821 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6822 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6823 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6824 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6825 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6826 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6827 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6828 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6829 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6830 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6831 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6832 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6833 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6834 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6835 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6836 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6837 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6838 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6839 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6840 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6841 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6842 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6843 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6844 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6845 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6846 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6847 syscall.
6848 (geteuid): Likewise.
6849 (getgid): Likewise.
6850 (getuid): Likewise.
6851 (getresgid): Likewise.
6852 (getresuid): Likewise.
6853 (getgroups): Likewise.
6854 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6855 (geteuid): Likewise.
6856 (getgid): Likewise.
6857 (getuid): Likewise.
6858 (getresgid): Likewise.
6859 (getresuid): Likewise.
6860 (getgroups): Likewise.
6861 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6862 (geteuid): Likewise.
6863 (getgid): Likewise.
6864 (getuid): Likewise.
6865 (getresgid): Likewise.
6866 (getresuid): Likewise.
6867 (getgroups): Likewise.
6868 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6869 Likewise.
6870 (geteuid): Likewise.
6871 (getgid): Likewise.
6872 (getuid): Likewise.
6873 (getresgid): Likewise.
6874 (getresuid): Likewise.
6875 (getgroups): Likewise.
6876 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6877 (geteuid): Likewise.
6878 (getgid): Likewise.
6879 (getuid): Likewise.
6880 (getresgid): Likewise.
6881 (getresuid): Likewise.
6882 (getgroups): Likewise.
6883 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6884 Likewise.
6885 (geteuid): Likewise.
6886 (getgid): Likewise.
6887 (getuid): Likewise.
6888 (getgroups): Likewise.
6889
48eb7a94
JM
6890 [BZ #14138]
6891 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6892 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6893 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6894 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6895 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6896 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6897 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6898 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6899 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6900 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6901 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6902 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6903 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6904 __chown.
6905 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6906 (lchown): Likewise.
6907 (fchown): Likewise.
6908 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6909 Likewise.
6910 (lchown): Likewise.
6911 (fchown): Likewise.
6912 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6913 (lchown): Likewise.
6914 (fchown): Likewise.
6915 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6916 Likewise.
6917 (lchown): Likewise.
6918 (fchown): Likewise.
6919
ea9a7c8b
WD
69202014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6921
6922 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6923 Simplify logic.
6924
e226de33
WD
69252014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6926
6927 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6928 Cleanup logic.
6929
6e3d8ed3
WD
69302014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6931
6932 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6933 Remove unused include.
6934
eb04247d
WD
69352014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6936
6937 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6938 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6939 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6940 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6941
13d84554
CD
69422014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6943 Helge Deller <deller@gmx.de>
6944
6945 [BZ #17508]
6946 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6947 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6948 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6949
15f9c5df
JM
69502014-10-23 Joseph Myers <joseph@codesourcery.com>
6951
6952 [BZ #14132]
6953 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6954 Remove macro definition.
6955 (__ashrdi3_v_glibc20): Likewise.
6956 (__lshrdi3_v_glibc20): Likewise.
6957 (__cmpdi2_v_glibc20): Likewise.
6958 (__ucmpdi2_v_glibc20): Likewise.
6959 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6960 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6961 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6962 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6963 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6964 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6965
c6dfed24
RM
69662014-10-22 Roland McGrath <roland@hack.frob.com>
6967
6968 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6969 old GNU extension [0] syntax.
6970 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6971 alloca rather than an array member with variable length.
6972 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6973 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6974 (parse_opt): ... here. Likewise use alloca there.
6975 Validate the -i argument before checking for rootness.
6976 (send_shutdown): New function, broken out of ...
6977 (parse_opt): ... here.
6978
8c2b1ed8
RM
69792014-10-22 Roland McGrath <roland@hack.frob.com>
6980
6981 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6982 macro to get at the _rt_local_ro field.
6983 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6984 ([PIC] case) or _dl_hwcap ([!PIC] case).
6985 * sysdeps/arm/setjmp.S: Likewise.
6986
6987 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6988 * sysdeps/arm/configure.ac: New check to define it.
6989 * sysdeps/arm/configure: Regenerated.
6990 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6991 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6992 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6993 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6994 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6995 Use move/movt pair instead of a load.
6996 (LDST_GLOBAL): Macro removed.
6997 (LDR_GLOBAL): New macro replaces it.
6998 (LDR_HIDDEN): New macro.
6999 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7000 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7001
7002 * setjmp/tst-setjmp-static.c: New file.
7003 * setjmp/Makefile (tests): Add it.
7004 (tests-static): New variable.
7005
b5af9297
MR
70062014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7007
7008 [BZ #17485]
7009 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7010
a13d0d74
JM
70112014-10-21 Joseph Myers <joseph@codesourcery.com>
7012
7013 [BZ #14132]
7014 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7015
f05e73f6
RM
70162014-10-21 Roland McGrath <roland@hack.frob.com>
7017
7018 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7019
6ab1d1ea
RM
70202014-10-20 Roland McGrath <roland@hack.frob.com>
7021
7022 * io/fts.c (dirent_not_directory): New function.
7023 (fts_build): Call it.
7024
ab49e763
RM
70252014-10-20 Roland McGrath <roland@hack.frob.com>
7026
e436eb79
RM
7027 * nptl/version.c (__nptl_main): Use normal __write rather than
7028 INTERNAL_SYSCALL.
7029 (banner): Update copyright years.
7030
6af246cf
RM
7031 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7032 gettimeofday.
7033 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7034 * nptl/pthread_cond_timedwait.c: Likewise.
7035 * nptl/pthread_mutex_timedlock.c: Likewise.
7036 * nptl/sem_timedwait.c: Likewise.
7037
ab49e763
RM
7038 * sysdeps/nptl/bits/libc-lock.h
7039 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7040 (__libc_lock_init_recursive): Return void, not 0.
7041 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7042 (__libc_rwlock_init): Likewise.
7043 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7044
f50277c1
TR
70452014-10-20 Torvald Riegel <triegel@redhat.com>
7046
7047 [BZ #15215]
7048 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7049 (__pthread_once_slow): ... here.
7050 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7051 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7052
63668b70
TR
70532014-10-20 Torvald Riegel <triegel@redhat.com>
7054
7055 [BZ #15215]
7056 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7057 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7058 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7059 * nptl/pthread_once.c (__pthread_once): Likewise.
7060 Update comments.
7061
42b7f5d4
JM
70622014-10-20 Joseph Myers <joseph@codesourcery.com>
7063
7064 [BZ #14138]
7065 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7066 name.
7067 (writev): Use __libc_writev as strong name.
7068 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7069 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7070
b0643088
RM
70712014-10-17 Roland McGrath <roland@hack.frob.com>
7072
114c4e09
RM
7073 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7074
674b8978
RM
7075 * sysdeps/i386/nptl/tls.h
7076 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7077 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7078 New macros.
7079 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7080 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7081 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7082 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7083 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7084 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7085
184ee940
RM
7086 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7087 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7088 on [__NR_futex].
7089 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7090 broken out of ...
7091 (__pthread_mutex_init): ... here. Call it.
7092 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7093 Conditionalize PI cases on [__NR_futex].
7094 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7095 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7096 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7097
327ae257
RM
7098 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7099 conditional on [SIGSETXID].
7100 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7101 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7102 is defined. Likewise for SIGSETXID.
7103 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7104 Conditionalize definitions on [SIGSETXID].
7105 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7106 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7107 unblocking on [SIGCANCEL].
7108
b0643088
RM
7109 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7110 [__NR_set_robust_list].
7111
33cc770b
SP
71122014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7113
7114 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7115 (do_compare): Likewise.
7116
0742aef6
LH
71172014-10-17 Leonhard Holz <leonhard.holz@web.de>
7118
7119 [BZ #15884]
7120 * string/strcoll_l.c: Don't include stdio.h.
7121 (coll_seq): Remove members idxarr and rulearr.
7122 (get_next_seq_cached): Remove function.
7123 (get_next_seq): Likewise.
7124 (get_next_seq_nocache): Rename to get_next_seq.
7125 (do_compare): Remove function.
7126 (do_compare_nocache): Rename to do_compare.
7127 (STRCOLL): Remove weight and rules cache.
7128
ee54ce44
RM
71292014-10-16 Roland McGrath <roland@hack.frob.com>
7130
7131 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7132 * sysdeps/arm/sfp-machine.h: ... to here.
7133 * sysdeps/arm/Implies: Remove arm/soft-fp.
7134
a75d3b02
JM
71352014-10-14 Joseph Myers <joseph@codesourcery.com>
7136
7137 * conform/data/sys/utsname.h-data (*_t): Allow.
7138 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7139 [POSIX] (WEXITED): Do not expect constant.
7140 [POSIX] (WSTOPPED): Likewise.
7141 [POSIX] (WNOHANG): Likewise.
7142 [POSIX] (WNOWAIT): Likewise.
7143 [POSIX] (siginfo_t): Do not expect type or elements.
7144 [POSIX] (pid_t): Do not expect type.
7145 [POSIX] (signal.h): Do not allow header.
7146 [POSIX] (sys/resource.h): Likewise.
7147 [POSIX] (si_*): Do not allow pattern.
7148 [POSIX] (W*): Likewise.
7149 [POSIX] (P_*): Likewise.
7150 [POSIX] (BUS_*): Likewise.
7151 [POSIX] (CLD_*): Likewise.
7152 [POSIX] (FPE_*): Likewise.
7153 [POSIX] (ILL_*): Likewise.
7154 [POSIX] (POLL_*): Likewise.
7155 [POSIX] (SEGV_*): Likewise.
7156 [POSIX] (SI_*): Likewise.
7157 [POSIX] (TRAP_*): Likewise.
7158 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7159 variable.
7160
fda389c8
SP
71612014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7162
7163 [BZ #12926]
7164 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7165 infinite loop when __recvmsg returns 0.
7166
6bc6bd3b
JM
71672014-10-10 Joseph Myers <joseph@codesourcery.com>
7168
fcb32af1
JM
7169 * CANCEL-FCT-WAIVE: Remove file.
7170 * CANCEL-FILE-WAIVE: Likewise.
7171
6bc6bd3b
JM
7172 [BZ #14132]
7173 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7174 instead of INTVARDEF.
7175 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7176 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7177 rtld_hidden_data_def instead of INTVARDEF.
7178 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7179 * elf/dl-deps.c (expand_dst): Likewise.
7180 * elf/dl-load.c (_dl_dst_count): Likewise.
7181 (_dl_dst_substitute): Likewise.
7182 (decompose_rpath): Likewise.
7183 (_dl_init_paths): Likewise.
7184 (open_path): Likewise.
7185 (_dl_map_object): Likewise.
7186 * elf/rtld.c (dl_main): Likewise.
7187 (process_dl_audit): Likewise.
7188 (process_envvars): Likewise.
7189 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7190 Remove declaration.
7191 (__libc_enable_secure): Use rtld_hidden_proto.
7192
b8c80a7e
KS
71932014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7194
7195 * elf/dl-load.c
7196 (add_path): New function broken out of _dl_rtld_di_serinfo.
7197 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7198
ff12c11f
JM
71992014-10-09 Joseph Myers <joseph@codesourcery.com>
7200
5c0508a3
JM
7201 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7202 parentheses around macro arguments.
7203 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7204 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7205 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7206 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7207 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7208 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7209 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7210 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7211 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7212 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7213 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7214 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7215 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7216 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7217 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7218 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7219 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7220 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7221 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7222 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7223 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7224 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7225 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7226 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7227 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7228 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7229 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7230 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7231 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7232 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7233 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7234 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7235 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7236 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7237 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7238 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7239 Likewise.
7240 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7241 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7242 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7243 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7244 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7245 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7246 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7247 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7248 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7249 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7250 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7251 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7252 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7253 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7254 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7255 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7256 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7257 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7258 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7259 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7260 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7261 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7262 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7263 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7264 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7265 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7266 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7267 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7268 (_FP_FRAC_SRS_1): Likewise.
7269 (_FP_FRAC_CLZ_1): Likewise.
7270 (_FP_MUL_MEAT_1_imm): Likewise.
7271 (_FP_MUL_MEAT_1_wide): Likewise.
7272 (_FP_MUL_MEAT_1_hard): Likewise.
7273 (_FP_SQRT_MEAT_1): Likewise.
7274 (_FP_FRAC_ASSEMBLE_1): Likewise.
7275 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7276 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7277 (__FP_CLZ_2): Likewise.
7278 (_FP_MUL_MEAT_2_wide): Likewise.
7279 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7280 (_FP_MUL_MEAT_2_gmp): Likewise.
7281 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7282 (_FP_SQRT_MEAT_2): Likewise.
7283 (_FP_FRAC_ASSEMBLE_2): Likewise.
7284 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7285 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7286 (_FP_FRAC_CLZ_4): Likewise.
7287 (_FP_MUL_MEAT_4_wide): Likewise.
7288 (_FP_MUL_MEAT_4_gmp): Likewise.
7289 (_FP_SQRT_MEAT_4): Likewise.
7290 (_FP_FRAC_ASSEMBLE_4): Likewise.
7291 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7292 * soft-fp/op-common.h (_FP_CMP): Likewise.
7293 (_FP_CMP_EQ): Likewise.
7294 (_FP_CMP_UNORD): Likewise.
7295 (_FP_TO_INT): Likewise.
7296 (_FP_FROM_INT): Likewise.
7297 [!__FP_CLZ] (__FP_CLZ): Likewise.
7298 (_FP_DIV_HELP_imm): Likewise.
7299 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7300 Likewise.
7301 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7302 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7303 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7304 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7305 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7306 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7307 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7308 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7309 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7310 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7311 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7312 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7313 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7314 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7315 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7316 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7317 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7318 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7319 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7320 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7321 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7322 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7323 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7324 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7325 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7326 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7327 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7328 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7329 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7330 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7331 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7332 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7333 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7334 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7335 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7336 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7337 (FP_UNPACK_RAW_SP): Likewise.
7338 (FP_PACK_RAW_S): Likewise.
7339 (FP_PACK_RAW_SP): Likewise.
7340 (FP_UNPACK_S): Likewise.
7341 (FP_UNPACK_SP): Likewise.
7342 (FP_UNPACK_SEMIRAW_S): Likewise.
7343 (FP_UNPACK_SEMIRAW_SP): Likewise.
7344 (FP_PACK_S): Likewise.
7345 (FP_PACK_SP): Likewise.
7346 (FP_PACK_SEMIRAW_S): Likewise.
7347 (FP_PACK_SEMIRAW_SP): Likewise.
7348 (_FP_SQRT_MEAT_S): Likewise.
7349 (FP_CMP_S): Likewise.
7350 (FP_CMP_EQ_S): Likewise.
7351 (FP_CMP_UNORD_S): Likewise.
7352 (FP_TO_INT_S): Likewise.
7353 (FP_FROM_INT_S): Likewise.
7354
a736ec37
JM
7355 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7356
ff12c11f
JM
7357 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7358 (FP_EX_INVALID_IMZ): Likewise.
7359 (FP_EX_INVALID_IMZ_FMA): Likewise.
7360 (FP_EX_INVALID_ISI): Likewise.
7361 (FP_EX_INVALID_ZDZ): Likewise.
7362 (FP_EX_INVALID_IDI): Likewise.
7363 (FP_EX_INVALID_SQRT): Likewise.
7364 (FP_EX_INVALID_CVI): Likewise.
7365 (FP_EX_INVALID_VC): Likewise.
7366 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7367 "invalid" exceptions.
7368 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7369 (_FP_ADD_INTERNAL): Likewise.
7370 (_FP_MUL): Likewise.
7371 (_FP_FMA): Likewise.
7372 (_FP_DIV): Likewise.
7373 (_FP_CMP_CHECK_NAN): Likewise.
7374 (_FP_SQRT): Likewise.
7375 (_FP_TO_INT): Likewise.
7376 (FP_EXTEND): Likewise.
7377
b6dcfe8c
AM
73782014-10-09 Allan McRae <allan@archlinux.org>
7379
7380 * po/fr.po: Update French translation from translation project.
7381
2d6a47ba
JM
73822014-10-09 Joseph Myers <joseph@codesourcery.com>
7383
cb831245
JM
7384 [BZ #14132]
7385 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7386 of INTDEF.
7387 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7388 (__cxa_atexit): Use libc_hidden_proto.
7389 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7390
5deeb190
JM
7391 [BZ #14132]
7392 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7393 declaration.
7394 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7395 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7396 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7397 [!_ISOMAC] (__iswctype_internal): Likewise.
7398 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7399 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7400 alias.
7401 (fcntl): Remove __fcntl_internal alias.
7402 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7403 __connect_internal alias.
7404 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7405 Likewise.
7406
454ac701
JM
7407 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7408 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7409 FP_DENORM_ZERO.
7410 (_FP_CHECK_FLUSH_ZERO): New macro.
7411 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7412 (_FP_CMP): Likewise.
7413 (_FP_CMP_EQ): Likewise.
7414 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7415 FP_DENORM_ZERO.
7416 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7417 (FP_TRUNC): Likewise.
7418
0022e688
JM
7419 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7420 treated as invalid conversion, not as normal exponent.
7421
73e28d9c
JM
7422 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7423 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7424 (_FP_CMP_EQ): Likewise.
7425 (_FP_CMP_UNORD): Likewise.
7426 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7427 (FP_CMP_EQ_D): Likewise.
7428 (FP_CMP_UNORD_D): Likewise.
7429 * soft-fp/extended.h (FP_CMP_E): Likewise.
7430 (FP_CMP_EQ_E): Likewise.
7431 (FP_CMP_UNORD_E): Likewise.
7432 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7433 (FP_CMP_EQ_Q): Likewise.
7434 (FP_CMP_UNORD_Q): Likewise.
7435 * soft-fp/single.h (FP_CMP_S): Likewise.
7436 (FP_CMP_EQ_S): Likewise.
7437 (FP_CMP_UNORD_S): Likewise.
7438 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7439 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7440 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7441 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7442 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7443 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7444 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7445 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7446 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7447 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7448 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7449 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7450 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7451 to FP_CMP_Q.
7452 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7453 FP_CMP_Q.
7454 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7455 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7456 FP_CMP_EQ_Q.
7457 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7458 FP_CMP_Q.
7459 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7460 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7461 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7462 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7463 FP_CMP_EQ_Q.
7464 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7465 FP_CMP_Q.
7466 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7467 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7468 FP_CMP_EQ_Q.
7469 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7470 FP_CMP_Q.
7471 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7472 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7473 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7474 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7475 FP_CMP_EQ_Q.
7476
43059f42
JM
7477 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7478 a subnormal result, set the underflow exception if trapping on
7479 underflow is enabled.
7480 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7481 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7482 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7483 redefine to 0.
7484 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7485 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7486 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7487 * soft-fp/extendxftf2.c (__extendxftf2): Use
7488 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7489
2d6a47ba
JM
7490 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7491 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7492 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7493 FP_HANDLE_EXCEPTIONS.
7494 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7495 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7496 FP_HANDLE_EXCEPTIONS.
7497 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7498 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7499 FP_HANDLE_EXCEPTIONS.
7500 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7501 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7502 FP_HANDLE_EXCEPTIONS.
7503
620f462e
JM
75042014-10-08 Joseph Myers <joseph@codesourcery.com>
7505
7506 [BZ #14132]
7507 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7508 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7509 use INTUSE.
7510 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7511 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7512 Remove alias.
7513 (__adjtimex): Define using libc_hidden_ver.
7514 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7515 Remove declaration.
7516 (ntp_gettime): Call __adjtimex directly.
7517 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7518 Remove declaration.
7519 (ntp_gettimex): Call __adjtimex directly.
7520 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7521 __adjtimex_internal alias.
7522
c763c5d2
RM
75232014-10-08 Roland McGrath <roland@hack.frob.com>
7524
7525 [BZ #17460]
7526 * nscd/nscd.c (more_help): Rewrite list of tables collection
7527 using xstrdup and asprintf.
7528
7529 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7530
7b8fb2b8
RM
75312014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7532 Roland McGrath <roland@hack.frob.com>
7533
7534 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7535 (do_lookup_unique): ... local function 'enter' here; update callers.
7536
abb280f7
JM
75372014-10-06 Joseph Myers <joseph@codesourcery.com>
7538
f7b42517
JM
7539 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7540 compat_symbol calls on [SHARED].
7541 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7542 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7543 Remove.
7544 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7545 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7546 (oldsetrlimit): Remove.
7547 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7549 (lchown): New syscall entry.
7550 (oldsetrlimit): Remove.
7551 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7552 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7553 (oldsetrlimit): Remove.
7554 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7555
abb280f7
JM
7556 [BZ #14138]
7557 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7558 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7559 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7560 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7561 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7562 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7563 (fchown): Likewise.
7564 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7565 (fchown): Likewise.
7566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7567 Likewise.
7568
47d46237
AZ
75692014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7570
7571 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7572 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7573 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7574 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7575 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7576 Likewise.
7577 (__old_sem_post): Likewise.
7578
75792014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 7580
845a7343
CM
7581 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7582 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7583 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7584 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7585 Use INLINE_VSYSCALL macro.
7586 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7587 __vdso_clock_gettime.
7588 * sysdeps/unix/sysv/linux/tile/init-first.c
7589 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7590 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7591 __vdso_clock_gettime.
7592
83d641ef
CM
7593 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7594 to set up frame more cleanly.
7595
d9cd52e6
CM
7596 * sysdeps/tile/memcmp.c: New file.
7597
4b68ea11
CM
7598 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7599
c86f7b80
CM
7600 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7601 * sysdeps/tile/tilegx/strcasestr.c: New file.
7602 * sysdeps/tile/tilegx/strnlen.c: New file.
7603 * sysdeps/tile/tilegx/strstr.c: New file.
7604
1c4c1a6f
CM
7605 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7606
99d86ea3
AS
76072014-10-06 Arjun Shankar <arjun.is@lostca.se>
7608
7609 * nptl/tst-setuid3.c: Write errors to stdout.
7610
06210a44
KS
76112014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7612
7613 * elf/dl-deps.c
7614 (preload): New functions broken out of _dl_map_object_deps.
7615 (_dl_map_object_deps): Remove a nested function. Update call sites.
7616
6268f532
JM
76172014-10-01 Joseph Myers <joseph@codesourcery.com>
7618
7619 [BZ #14138]
7620 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7621 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7622
b925285f
SE
76232014-10-01 Steve Ellcey <sellcey@mips.com>
7624
7625 * sysdeps/mips/strcmp.S: New.
7626
754a15c6
JM
76272014-09-30 Joseph Myers <joseph@codesourcery.com>
7628
7629 [BZ #14138]
7630 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7631 (linkat): Likewise.
7632 (mkdirat): Likewise.
7633 (readlinkat): Likewise.
7634 (renameat): Likewise.
7635 (symlinkat): Likewise.
7636 (unlinkat): Likewise.
7637 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7638 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7639 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7640 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7641 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7642 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7643 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7644
85bb81c9
WN
76452014-09-30 Will Newton <will.newton@linaro.org>
7646
dc6fe23b
WN
7647 * math/math.h: Define long double math functions if
7648 _LIBC_TEST is defined.
7649 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7650
85bb81c9
WN
7651 * localedata/Makefile: Move assignment to tests-special
7652 into an ifdef testing run-built-tests.
7653 * timezone/Makefile: Likewise.
7654
b7e02da4
JM
76552014-09-29 Joseph Myers <joseph@codesourcery.com>
7656
7657 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7658 with $(BASH) not $(SHELL).
7659
62058ce6
CD
76602014-09-29 Carlos O'Donell <carlos@redhat.com>
7661 Matthew LeGendre <legendre1@llnl.gov>
7662
7663 [BZ #17411]
7664 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7665 l_reloc_result.
7666
8e257a29
KS
76672014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7668
7669 * stdio-common/printf_fp.c
7670 (hack_digit): New function, broken out of ...
7671 (__printf_fp): ... local function here. Update call sites.
7672 hack_digit now takes an additional parameter that is a pointer
7673 to a struct of the referenced locals. Those locals moved inside
7674 the struct and references updated.
7675
f4a58f0d
L
76762014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7677
7678 * aclocal.m4: Require autoconf 2.69.
7679 * configure: Regenerated.
7680 * sysdeps/aarch64/configure: Likewise.
7681 * sysdeps/alpha/configure: Likewise.
7682 * sysdeps/arm/armv7/configure: Likewise.
7683 * sysdeps/arm/configure: Likewise.
7684 * sysdeps/ia64/configure: Likewise.
7685 * sysdeps/mach/configure: Likewise.
7686 * sysdeps/mips/configure: Likewise.
7687 * sysdeps/s390/configure: Likewise.
7688 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7690
7691 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7692 file.
7693 * sysdeps/ia64/configure.ac: Likewise.
7694
93ae1eba
JM
76952014-09-26 Joseph Myers <joseph@codesourcery.com>
7696
1810d3ab
JM
7697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7698 specify symbol version for ld.so. Do not include entry for
7699 libpthread.
7700 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7701 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7702 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7703
93ae1eba
JM
7704 [BZ #14171]
7705 * Makeconfig [$(build-shared) = yes]
7706 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7707 makefiles.
7708 [$(build-shared) = yes && $(soversions.mk-done) = t]
7709 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7710 [$(build-shared) = yes && $(soversions.mk-done) = t]
7711 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7712 to Makerules.
7713 [$(build-shared) = yes && $(soversions.mk-done) = t]
7714 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7715 here.
7716 [$(build-shared) = yes && $(soversions.mk-done) = t]
7717 (common-generated): Don't append gnu/lib-names.h and
7718 gnu/lib-names.stmp here.
7719 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7720 (lib-names-h-abi): New variable.
7721 [$(build-shared) = yes && $(soversions.mk-done) = t]
7722 (lib-names-stmp-abi): Likewise.
7723 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7724 abi-variants] (before-compile): Append
7725 $(common-objpfx)$(lib-names-h-abi).
7726 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7727 abi-variants] (common-generated): Append gnu/lib-names.h.
7728 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7729 abi-variants] (install-others-nosubdir): Depend on
7730 $(inst_includedir)/$(lib-names-h-abi).
7731 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7732 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7733 [$(build-shared) = yes && $(soversions.mk-done) = t]
7734 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7735 [$(build-shared) = yes && $(soversions.mk-done) = t]
7736 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7737 [$(build-shared) = yes && $(soversions.mk-done) = t]
7738 (common-generated): Append $(lib-names-h-abi) and
7739 $(lib-names-stmp-abi).
7740 * scripts/lib-names.awk: Do not handle multi being set.
7741 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7742 Remove variable.
7743 (abi-lp64_be-ld-soname): Likewise.
7744 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7745 Likewise.
7746 (abi-hard-ld-soname): Likewise.
7747 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7748 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7749 Remove variable.
7750 (abi-o32_hard-ld-soname): Likewise.
7751 (abi-o32_soft_2008-ld-soname): Likewise.
7752 (abi-o32_hard_2008-ld-soname): Likewise.
7753 (abi-n32_soft-ld-soname): Likewise.
7754 (abi-n32_hard-ld-soname): Likewise.
7755 (abi-n32_soft_2008-ld-soname): Likewise.
7756 (abi-n32_hard_2008-ld-soname): Likewise.
7757 (abi-n64_soft-ld-soname): Likewise.
7758 (abi-n64_hard-ld-soname): Likewise.
7759 (abi-n64_soft_2008-ld-soname): Likewise.
7760 (abi-n64_hard_2008-ld-soname): Likewise.
7761 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7762 Likewise.
7763 (abi-64-v2-ld-soname): Likewise.
7764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7765 ld.so entries.
7766 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7767 variable.
7768 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7769 entry.
7770 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7771 variable.
7772 (abi-64-ld-soname): Likewise.
7773 (abi-x32-ld-soname): Likewise.
7774 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7775 entry.
7776 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7777
68870f12
JM
77782014-09-23 Joseph Myers <joseph@codesourcery.com>
7779
7780 [BZ #14138]
7781 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7782 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7783 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7784 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7785 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7786 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7787 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7788 syscall entry for GLIBC_2.2 symbol version.
7789 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7790 Likewise.
7791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7792 (setrlimit): Likewise.
7793 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7794 Likewise.
7795
ea58f202
WN
77962014-09-23 Will Newton <will.newton@linaro.org>
7797
7798 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7799 _LINUX_ARM_SYSDEP_H include guard too.
7800 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7801 define.
7802
69eb9a18
RV
78032014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7804
7805 * sysdeps/unix/sysv/linux/eventfd.c:
7806 Make first argument unsigned.
7807 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7808 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7809
20e5a5f7
OB
78102014-09-20 Ondřej Bílka <neleai@seznam.cz>
7811
7812 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7813 * socket/sys/socket.h: Likewise
7814 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7815
d3c827e7
AK
78162014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7817
7818 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7819
fe1cc35a
AS
78202014-09-17 Arjun Shankar <arjun.is@lostca.se>
7821
7822 * time/tst-ftime.c: New test.
7823 * time/Makefile (tests): Add tst-ftime.
7824
4e8afe69
JM
78252014-09-17 Joseph Myers <joseph@codesourcery.com>
7826
c4fe3ea7
JM
7827 * soft-fp/extended.h: Fix comment formatting.
7828 * soft-fp/op-1.h: Likewise.
7829 * soft-fp/op-2.h: Likewise.
7830 * soft-fp/op-4.h: Likewise.
7831 * soft-fp/op-8.h: Likewise.
7832 * soft-fp/op-common.h: Likewise.
7833 * soft-fp/soft-fp.h: Likewise.
7834
4e8afe69
JM
7835 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7836
af296fcd
JM
78372014-09-16 Joseph Myers <joseph@codesourcery.com>
7838
7839 [BZ #6652]
7840 * Makeconfig (soversions-default-setname): Remove variable.
7841 ($(common-objpfx)soversions.i): Don't pass default_setname to
7842 soversions.awk.
7843 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7844 oldest_abi to abi-versions.awk.
7845 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7846 * config.make.in (oldest-abi): Remove variable.
7847 * configure.ac (--enable-oldest-abi): Remove configure option.
7848 * configure: Regenerated.
7849 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7850 text.
7851 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7852 * scripts/soversions.awk: Do not handle default_setname variable.
7853 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7854 variable.
7855 * sysdeps/mach/hurd/configure: Regenerated.
7856 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7857 variable.
7858 * sysdeps/unix/sysv/linux/configure: Regenerated.
7859
545583d6
SP
78602014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7861
d330b980
SP
7862 * elf/Makefile (CFLAGS-interp.c): Remove.
7863 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7864 path string.
7865 * elf/interp.c: Include generated runtime-linker.h
7866
02657da2
SP
7867 * Makerules (lib%.so): Don't include $(+interp) in
7868 prerequisites.
7869 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7870 * dlfcn/eval.c: Remove file.
7871
653b1080
SP
7872 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7873 macros.
7874
602f80ec
SP
7875 [BZ #17266]
7876 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7877 4.2 and newer.
7878
545583d6
SP
7879 [BZ #17370]
7880 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7881
884ddc50
SP
78822014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7883 Jakub Jelinek <jakub@redhat.com>
7884
7885 [BZ #17266]
7886 * libio/stdio.h: Check definition of __fortify_function
7887 instead of __extern_always_inline to include bits/stdio2.h.
7888 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7889 check if __extern_always_inline is defined.
7890 [__USE_MISC || __USE_XOPEN]: Likewise.
7891 [__USE_ISOC99] Likewise.
7892 * misc/sys/cdefs.h (__fortify_function): Define only if
7893 __extern_always_inline is defined.
7894 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7895 __extern_always_inline and __extern_inline only for g++-4.3
7896 and newer or a compatible gcc.
7897
a7b87268
AS
78982014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7899
7900 [BZ #17371]
7901 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7902 last change to handle zero prefix length.
7903
3f41521d
SP
79042014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7905
61fe374a
SP
7906 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7907 _SC_REGEX_VERSION.
7908
3f41521d
SP
7909 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7910 _POSIX_RAW_SOCKETS.
7911
d8f879ee
AM
79122014-09-13 Allan McRae <allan@archlinux.org>
7913
7914 * po/ru.po: Update Russian translation from translation project.
7915
c079afb7
RM
79162014-09-12 Roland McGrath <roland@hack.frob.com>
7917
a62b3c15
RM
7918 * locale/programs/locale.c (show_locale_vars): Inline local function
7919 into its sole call site. Clean up some style nits.
7920 (print_item): New function, broken out of ...
7921 (show_info): ... local function here. Clean up style nits.
7922
d7e49b19
RM
7923 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7924 out of ...
7925 (set_class_defaults): ... local function set_default here.
7926 Define set_default as a macro locally to pass constant parameters.
7927 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7928 rather than a shared local.
7929
c079afb7
RM
7930 * stdlib/rpmatch.c (try): New function, broken out of ...
7931 (rpmatch): ... local function here. Also, prototypify definition.
7932
0bd72468
JM
79332014-09-12 Joseph Myers <joseph@codesourcery.com>
7934
ba90e050
JM
7935 * scripts/soversions.awk: Do not handle configuration names.
7936 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7937 vendor and os variables to soversions.awk.
7938 * configure.ac: Do not modify gnu-* host_os.
7939 * configure: Regenerated
7940 * shlib-versions: Remove first column with configuration names.
7941 * nptl/shlib-versions: Likewise.
7942 * nptl_db/shlib-versions: Likewise.
7943 * sysdeps/hppa/shlib-versions: Likewise.
7944 * sysdeps/m68k/shlib-versions: Likewise.
7945 * sysdeps/mach/hurd/shlib-versions: Likewise.
7946 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7947 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7948 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7949 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7950 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7951 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7952 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7953 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7955 Likewise.
7956 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7957 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7958 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7959 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7960 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7961 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7962 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7963 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7964
73a39112
JM
7965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7966 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7968 Regenerated.
7969 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7971 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7972
c729e7c1
JM
7973 * shlib-versions: Remove OS-specific entries. Moved to files in
7974 sysdeps.
7975 * sysdeps/mach/hurd/shlib-versions: New file.
7976 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7977
dc932a24
JM
7978 * nptl/shlib-versions: Remove architecture-specific entries.
7979 Moved to files in sysdeps.
7980 * shlib-versions: Likewise.
7981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7982 file.
7983 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7984 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7985 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7986 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7987
0bd72468
JM
7988 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7989 (UDP_NO_CHECK6_RX): Likewise.
7990
920238e0
SP
79912014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7992
7993 * sysdeps/posix/sysconf.c (__sysconf): Spell
7994 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7995
ba7b4d29
FW
79962014-08-12 Florian Weimer <fweimer@redhat.com>
7997
7998 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7999 loading.
8000 * iconv/Versions (__gconv_transliterate): Export for use from
8001 gconv modules.
8002 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8003 (struct __gconv_trans_data, __gconv_trans_fct,
8004 __gconv_trans_context_fct, __gconv_trans_query_fct,
8005 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8006 definitions.
8007 (struct __gconv_step_data): Remove __trans member.
8008 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8009 longer hidden. Remove unused trans_data argument.
8010 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8011 (__gconv_translit_find): Remove declaration.
8012 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8013 prototype.
8014 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8015 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8016 trans_data argument. Add hidden definition.
8017 (__gconv_translit_find): Remove.
8018 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8019 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8020 * iconv/skeleton.c: Remove transliteration initialization.
8021 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8022 __gconv_step_data initialization.
8023 * libio/iofwide.c (__libio_translit_): Remove.
8024 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8025 * wcsmbs/btowc.c (__btowc): Likewise.
8026 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8027 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8028 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8029 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8030 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8031 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8032 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8033 * wcsmbs/wctob.c (wctob): Likewise.
8034
5379aebd
SP
80352014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8036
8037 [BZ #16194]
8038 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8039 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8040 register usage.
8041 * sysdeps/x86/Makefile: Adjust.
8042
8c0ab919
RM
80432014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8044 Roland McGrath <roland@hack.frob.com>
8045
8046 * locale/weight.h: Add include guard.
8047 (findidx): Make static rather than auto; take new parameters
8048 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8049 * locale/weightwc.h: Likewise.
8050 * posix/fnmatch_loop.c
8051 (FCT): Change type of EXTRA from int32_t to wint_t.
8052 Don't include either header inside the function.
8053 Call FINDIDX rather than findidx, and pass new arguments.
8054 #undef FINDIDX at the end of the file.
8055 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8056 FINDIDX before including fnmatch_loop.c for the non-wide version.
8057 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8058 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8059 for the wide version.
8060 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8061 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8062 Pass new arguments to findidx.
8063 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8064 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8065 Don't #include it inside the function. Pass new arguments to findidx.
8066 * posix/regex_internal.h
8067 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8068 (re_string_elem_size_at): Don't #include it inside the function.
8069 Pass new arguments to findidx.
8070 * string/strcoll_l.c: #include WEIGHT_H at top level.
8071 (get_next_seq): Don't #include it inside the function.
8072 Pass new arguments to findidx.
8073 (get_next_seq_nocache): Likewise.
8074 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8075 (STRXFRM): Don't #include it inside the function.
8076 Pass new arguments to findidx.
8077
52ffbdf2
FW
80782014-09-11 Florian Weimer <fweimer@redhat.com>
8079
8080 [BZ #17344]
8081 * malloc/malloc.c (unlink): Turn asserts into a call to
8082 malloc_printerr.
8083
984c0ea9
TL
80842014-09-11 Tim Lammens <tim.lammens@gmail.com>
8085
8086 [BZ #17370]
8087 * libio/wfileops (do_ftell_wide): Free OUT.
8088
3daee107
CM
80892014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8090
8091 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8092
58b930ae
SP
80932014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8094
8095 [BZ #17363]
8096 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8097 group if the current group is empty.
8098
3b473fec
AZ
80992014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8100
71ae8647
AZ
8101 * benchtests/bench-memset.c (test_main): Add more test from size
8102 from 32 to 512 bytes.
8103 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8104 Add POWER8 memset object.
8105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8106 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8107 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8108 implementation.
8109 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8110 Likewise.
8111 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8112 multiarch POWER8 memset optimization.
8113 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8114 POWER8 memset optimization.
8115
3b473fec
AZ
8116 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8117 Remove bzero multiarch objects.
8118 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8119 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8120 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8121 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8122 Remove define.
8123 [__bzero]: Redefine to specific name.
8124 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8125 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8126 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8127 define.
8128 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8129 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8130
e6fb9587
FW
81312014-09-10 Florian Weimer <fweimer@redhat.com>
8132
8133 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8134 warnings into errors.
8135
8136 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8137 __cxa_thread_atexit_impl prototype.
8138
9d3a350b
SE
81392014-09-09 Steve Ellcey <sellcey@mips.com>
8140
8141 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8142 Fix capitalization of error message.
8143
0febba23
SE
81442014-09-09 Steve Ellcey <sellcey@mips.com>
8145
8146 * sysdeps/mips/preconfigure: Modify ABI tests.
8147
645a0e9c
CD
81482014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8149
8150 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8151
d83f0734
CD
81522014-09-07 Roland McGrath <roland@hack.frob.com>
8153 Carlos O'Donell <carlos@systemhalted.org>
8154
8155 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8156 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8157 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8158 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8159 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8160 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8161 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8162 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8163 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8164 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8165 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8166 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8167 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8168 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8169 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8170 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8171 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8172 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8173 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8174 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8175 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8176 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8177 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8178 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8179 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8180 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8181 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8182 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8183 Deconditionalize the code that was previously under [RESET_PID].
8184 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8185 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8186 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8187 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8188 include sysdep.h.
8189
21c83793
AM
81902014-09-08 Allan McRae <allan@archlinux.org>
8191
8192 * version.h (RELEASE): Set to "development".
8193 (VERSION): Set to "2.20.90"
8194
1cd9b65c
AM
81952014-09-07 Allan McRae <allan@archlinux.org
8196
b8079dd0
AM
8197 * version.h (RELEASE): Set to "stable".
8198 (VERSION): Set to "2.20"
8199 * include/features.h (__GLIBC_MINOR__): Set to 20.
8200
c46303ef
AM
8201 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8202 Liebler.
8203
1cd9b65c
AM
8204 * po/ko.po: Update Korean translation from translation project.
8205
8622092d
CM
82062014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8207
8208 [BZ #17354]
8209 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8210 macro for handling signed relocations.
8211
41488498
FW
82122014-09-03 Florian Weimer <fweimer@redhat.com>
8213
8214 [BZ #17325]
8215 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8216 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8217 assert.
8218 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8219 * iconvdata/ibm935.c (BODY): Likewise.
8220 * iconvdata/ibm937.c (BODY): Likewise.
8221 * iconvdata/ibm939.c (BODY): Likewise.
8222 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8223 assert.
8224 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8225 script.
8226 * iconvdata/run-iconv-test.sh: New test loop for checking for
8227 decoder crashers.
8228
a78b712d
KR
82292014-09-02 Khem Raj <raj.khem@gmail.com>
8230
8231 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8232 libm_hidden_ver.
8233
cb08abc6
AM
82342014-09-01 Allan McRae <allan@archlinux.org>
8235
2c31e102
AM
8236 * po/eo.po: Update Esperanto translation from translation project.
8237
cb08abc6
AM
8238 * po/ca.po: Update Catalan translation from translation project.
8239
17a62de1
ST
82402014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8241
8242 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8243 __proc_dostop call.
8244
9570bc53
MW
82452014-08-27 Mark Wielaard <mjw@redhat.com>
8246
8247 [BZ #17319]
8248 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8249 to call set_thread_area instead of hand written asm.
8250 (__NR_set_thread_area): Removed define.
8251 (TLS_FLAG_WRITABLE): Likewise.
8252 (__ASSUME_SET_THREAD_AREA): Remove check.
8253 (TLS_EBX_ARG): Remove define.
8254 (TLS_LOAD_EBX): Likewise.
8255
b0f955c9
ST
82562014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8257
8258 Simplify atomicity of socket creation in bind.
8259
8260 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8261 looking up the name after linking the file.
8262
529bf515
AM
82632014-08-27 Allan McRae <allan@archlinux.org>
8264
8265 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8266
a1a6a401
FW
82672014-08-26 Florian Weimer <fweimer@redhat.com>
8268
8269 [BZ #17187]
8270 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8271 trans_compare, open_translit, __gconv_translit_find):
8272 Remove module loading code.
8273
686ab290
AM
82742014-08-26 Allan McRae <allan@archlinux.org>
8275
e4e7cfd2
AM
8276 * po/vi.po: Update Vietnamese translation from translation project.
8277
6aa09f71
AM
8278 * po/uk.po: Update Ukrainian translation from translation project.
8279
edc0660e
AM
8280 * po/fr.po: Update French translation from translation project.
8281
7eea72ac
AM
8282 * po/ru.po: Update Russian translation from translation project.
8283
93c49eff
AM
8284 * po/pl.po: Update Polish translation from translation project.
8285
46acaf63
AM
8286 * po/cs.po: Update Czech translation from translation project.
8287
a9f5ce98
AM
8288 * po/de.po: Update German translation from translation project.
8289
373f2b78
AM
8290 * po/bg.po: Update Bulgarian translation from translation project.
8291
e7548bd8
AM
8292 * po/sv.po: Update Sweedish translation from translation project.
8293
c526bf4d
AM
8294 * po/nl.po: Update Dutch translation from translation project.
8295
686ab290
AM
8296 * po/es.po: Update Spanish translation from translation project.
8297
eb72478a
SP
82982014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8299
dd763fdb
SP
8300 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8301
318c7a58
SP
8302 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8303 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8304 (CPPFLAGS-iconvconfig): Likewise.
8305 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8306
eb72478a
SP
8307 * include/libc-symbols.h: Remove unnecessary check for
8308 NOT_IN_libc.
8309 * nptl/pthreadP.h: Likewise.
8310 * sysdeps/aarch64/setjmp.S: Likewise.
8311 * sysdeps/alpha/setjmp.S: Likewise.
8312 * sysdeps/arm/sysdep.h: Likewise.
8313 * sysdeps/i386/setjmp.S: Likewise.
8314 * sysdeps/m68k/setjmp.c: Likewise.
8315 * sysdeps/posix/getcwd.c: Likewise.
8316 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8317 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8318 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8319 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8320 * sysdeps/sh/sh3/setjmp.S: Likewise.
8321 * sysdeps/sh/sh4/setjmp.S: Likewise.
8322 * sysdeps/unix/alpha/sysdep.h: Likewise.
8323 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8324 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8325 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8326 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8329 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8330 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8331 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8333 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8334 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8336 * sysdeps/x86_64/setjmp.S: Likewise.
8337
d44a052c
JM
83382014-08-13 Joseph Myers <joseph@codesourcery.com>
8339
8340 [BZ #17263]
8341 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8342 <stdint.h>.
8343 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8344 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8345
508ce3ac
SP
83462014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8347
e44c8b0e
SP
8348 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8349
508ce3ac
SP
8350 [BZ #17262]
8351 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8352 and __x86_64__ when disabling x87 inline functions.
8353
b4acef1f
L
83542014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8355
8356 [BZ #17259]
8357 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8358 asm statement with __cpuid_count.
8359
61b1ef6e
MF
83602014-08-12 Mike Frysinger <vapier@gentoo.org>
8361
8362 * configure.ac: Change __ehdr_start code to dereference the struct.
8363 Run readelf on the output to look for relocations.
8364 * configure: Regenerated.
8365
898c62f4
JM
83662014-08-12 Joseph Myers <joseph@codesourcery.com>
8367
8368 [BZ #17261]
8369 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8370 value to 0.
8371 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8372
9a8a5720
RM
83732014-08-12 Roland McGrath <roland@hack.frob.com>
8374
8375 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8376
4e75751c
BO
83772014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8378
8379 [BZ #16892]
8380 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8381 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8382
bb2ce416
SA
83832014-08-12 Sean Anderson <seanga2@gmail.com>
8384
8385 * malloc/malloc.c: Fix typo in comment.
8386
7950a4ee
AM
83872014-08-09 Allan McRae <allan@archlinux.org>
8388
8389 * Regenerate libc.po.
8390
f469c49f
MF
83912014-08-08 Mike Frysinger <vapier@gentoo.org>
8392
8393 * intl/tst-gettext2.sh: Check every lang file for creation.
8394
656b84c2
WD
83952014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8396
8397 * sysdeps/aarch64/fpu/math_private.h
8398 (libc_feholdsetround_noex_aarch64_ctx): New function.
8399
538e9e45
W
84002014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8401
8402 * sysdeps/arm/armv6/strcpy.S (strcpy):
8403 Fix performance issue in misaligned cases.
8404
d4795e4a
AZ
84052014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8406
8407 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8408 Move definition from termios.h.
8409 (struct termio): Likewise.
8410 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8411 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8412 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8413 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8414 Likewise.
8415 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8416 Move definition to ioctl-types.h
8417 (struct termio): Likewise.
8418 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8419 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8420 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8421 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8422 Likewise.
8423
64accb62
RH
84242014-08-05 Richard Henderson <rth@redhat.com>
8425
27bb6dc0
RH
8426 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8427 exceptions.
8428 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8429 Add fraiseexcpt.
8430 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8431 Use __feraiseexcept.
8432 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8433 Protect libm symbols with IS_IN_libm.
8434
64accb62
RH
8435 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8436
e5292691
BO
84372014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8438
8439 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8440
5b4bd2d4
WN
84412014-08-04 Will Newton <will.newton@linaro.org>
8442
8443 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8444 file.
8445
fcadaeef
MF
84462014-08-04 Mike Frysinger <vapier@gentoo.org>
8447
8448 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8449 variants for each function.
8450
43a94c64
RM
84512014-08-04 Roland McGrath <roland@hack.frob.com>
8452
8453 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8454 appended ...
8455 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8456 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8457 appended ...
8458 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8459 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8460 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8461 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8462 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8463 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8464 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8465 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8466 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8467 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8468 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8469 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8470 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8471 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8472 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8473 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8474 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8475 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8476 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8477 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8478 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8479 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8480 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8481 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8482 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8483 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8484 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8485 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8486 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8487 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8488 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8489 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8490 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8491 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8492 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8493 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8494 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8495 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8496 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8497 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8498 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8499 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8500 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8501 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8502 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8503 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8504 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8505 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8506 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8507 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8508 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8509 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8510 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8511 Update #include.
8512 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8513 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8514
8f3c1fa4
RM
85152014-08-04 Roland McGrath <roland@hack.frob.com>
8516
8517 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8518 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8519 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8520 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8521 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8522 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8523
ca08746f
RM
85242014-08-04 Roland McGrath <roland@hack.frob.com>
8525
8526 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8527 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8528 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8529 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8530
9c925ff9
RM
85312014-08-04 Roland McGrath <roland@hack.frob.com>
8532
8533 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8534 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8535 (__libc_vfork): Define function under this name.
8536 (__vfork): Define as an alias.
8537 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8538 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8539
e641054c
RM
85402014-08-04 Roland McGrath <roland@hack.frob.com>
8541
8542 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8543 that was previously under [RESET_PID].
8544 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8545
dacdc867
AS
85462014-08-04 Andreas Schwab <schwab@suse.de>
8547
8548 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8549
41f725ff
MF
85502014-08-03 Mike Frysinger <vapier@gentoo.org>
8551
8552 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8553 (main): Likewise.
8554
277cfb31
RM
85552014-08-01 Roland McGrath <roland@hack.frob.com>
8556
8557 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8558
4896f049
RH
85592014-08-01 Richard Henderon <rth@redhat.com>
8560
8561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8562 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8563 typo in exact zero test.
8564 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8565 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8566 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8567
6f64e7d7
RM
85682014-08-01 Roland McGrath <roland@hack.frob.com>
8569
8570 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8571 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8572 * sysdeps/arm/sysdep.h: ... here.
8573 [!__ASSEMBLER__]: Include <stdint.h>.
8574
3f3dd810
SP
85752014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8576
a476ac4b
SP
8577 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8578 (HAVE_WCTYPE_H): Likewise.
8579 (HAVE_ISWCTYPE): Likewise.
8580 (ENABLE_NLS): Likewise.
8581 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8582 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8583
78dd658a
SP
8584 * posix/regex_internal.c: Check if DEBUG is defined and is
8585 set.
8586
3f3dd810
SP
8587 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8588 (HAVE_MBSRTOWCS): Likewise.
8589 * posix/fnmatch.c: Include string.h unconditionally.
8590
95ee7fb1
SL
85912014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8592
8593 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8594 reversal.
8595
23fe486b
RM
85962014-07-31 Roland McGrath <roland@hack.frob.com>
8597
f61a113f
RM
8598 * sysdeps/generic/safe-fatal.h: New file.
8599 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8600 * nptl/forward.c: Include it.
8601 (__pthread_unwind): Use __safe_fatal as default action, rather
8602 than a bogus use of INTERNAL_SYSCALL that could never work.
8603
9fe7e787
RM
8604 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8605 * configure.ac (libc_cv_builtin_trap): New test.
8606 * configure: Regenerated.
8607 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8608 (ABORT_INSTRUCTION): Define using __builtin_trap.
8609
23fe486b
RM
8610 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8611 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8612 * sysdeps/nptl/nptl-signals.h: New file.
8613 * nptl/pthreadP.h: Include <nptl-signals.h>.
8614
f349489e
SL
86152014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8616
8617 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8618 (ONE_DIRECTION): Define.
8619 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8620 (ONE_DIRECTION): Define.
8621 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8622 (ONE_DIRECTION): Define.
8623
2f438e20
SL
86242014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8625
8626 * sysdeps/s390/Makefile: Delete file.
8627 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8628 * sysdeps/s390/__longjmp.c: Delete file.
8629 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8630 Remove fields __flags and __reserved.
8631 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8632 and add versioning.
8633 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8634 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8635 * sysdeps/s390/rtld-setjmp.S: Likewise.
8636 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8637 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8638 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8639 * sysdeps/s390/s390-32/setjmp.S: ... here.
8640 Add versioning.
8641 (__sigsetjmp): Remove setting __flags field.
8642 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8643 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8644 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8645 * sysdeps/s390/s390-64/setjmp.S: ... here.
8646 Add versioning.
8647 (__sigsetjmp): Remove setting __flags field.
8648 * sysdeps/s390/setjmp.S: Delete file.
8649 * sysdeps/s390/sigjmp.c: Likewise.
8650 * sysdeps/s390/v1-longjmp.c: Likewise.
8651 * sysdeps/s390/v1-setjmp.h: Likewise.
8652 * sysdeps/s390/v1-sigjmp.c: Likewise.
8653 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8654 Remove v1-longjmp_chk.
8655 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8656 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8657 Include debug/longjmp_chk.c and add versioning.
8658 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8659 Include nptl/pt-longjmp.c and add versioning.
8660 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8661 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8662 Include __longjmp.c.
8663 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8664 Move to ...
8665 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8666 (__getcontext): Remove setting __flags field.
8667 Add versioning.
8668 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8669 Don't restore upper high grps.
8670 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8671 Likewise.
8672 (__swapcontext): Remove setting uc_flags field.
8673 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8674 Delete file.
8675 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8676 Include __longjmp.c.
8677 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8678 Move to ...
8679 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8680 (__getcontext): Remove setting __flags field.
8681 Add versioning.
8682 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8683 (__swapcontext): Remove setting uc_flags field.
8684 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8685 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8686 Remove fields uc_high_gprs and __reserved.
8687 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8688 New file with reverted content.
8689 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8690 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8691 Regenerated.
8692 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8693 Regenerated.
8694
6c9578a2
AS
86952014-07-31 Andreas Schwab <schwab@suse.de>
8696
8697 * config.h.in (HAVE_IFUNC): Define to 0.
8698 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8699 definedness.
8700
05f3633d
LM
87012014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8702
8703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8704 memmove-avx-unaligned, memcpy-avx-unaligned and
8705 mempcpy-avx-unaligned.
8706 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8707 Add tests for AVX memcpy functions.
8708 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8709 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8710 memcpy_chk.
8711 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8712 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8713 memmove_chk.
8714 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8715 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8716 mempcpy_chk.
8717 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8718 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8719 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8720
a53fbd8e
AZ
87212013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8722
8723 [BZ #17213]
8724 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8725 powerpc64le.
8726
0961f7e1
JL
87272014-07-29 Jeff Layton <jlayton@poochiereds.net>
8728
8729 [BZ #16839]
8730 * manual/llio.texi: Add section about open file description locks.
8731 * manual/examples/ofdlocks.c: Example of open file description
8732 lock usage.
8733 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8734 F_OFD_SETLK, and F_OFD_SETLKW.
8735
cc5fb300
AM
87362014-07-23 Allan McRae <allan@archlinux.org>
8737
8738 * po/es.po: Update Spanish translation from translation project.
8739
23329dca
AS
87402014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8741
8742 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8743
9c82da17
MR
87442014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8745
8746 [BZ #17078]
8747 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8748 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8749 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8750
29c4f53e
JM
87512014-07-17 Joseph Myers <joseph@codesourcery.com>
8752
831b9896
JM
8753 [BZ #17088]
8754 * math/fesetenv.c (__fesetenv)
8755 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8756 * math/feupdateenv.c (__feupdateenv)
8757 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8758
b21c2d50
JM
8759 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8760 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8761 (__ASSUME_SOCKETCALL): Do not define.
8762
067764ef
JM
8763 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8764 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8765 (__ASSUME_SOCKETCALL): Do not define.
8766 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8767 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8768 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8769 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8770 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8771 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8772 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8773 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8774
642530c1
JM
8775 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8776 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8777 (__ASSUME_SOCKETCALL): Do not define.
8778 (__ASSUME_IPC64): Define unconditionally.
8779 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8780 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8781 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8782 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8783 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8784 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8785 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8786 Likewise.
8787
03f77315
JM
8788 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8789 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8790 (__ASSUME_SOCKETCALL): Do not define.
8791 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8792 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8793 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8794 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8795 (__ASSUME_REQUEUE_PI): Define unconditionally.
8796 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8797 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8798 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8799 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8800 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8801 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8802
083b1f7c
JM
8803 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8804 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8805 (__ASSUME_SOCKETCALL): Do not define.
8806 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8807 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8808 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8809 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8810 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8811 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8812
5be44ea6
JM
8813 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8814 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8815 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8816 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8817 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8818 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8819 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8820 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8821 (__ASSUME_GETCPU_SYSCALL): Likewise.
8822
d95ffd4c
JM
8823 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8824 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8825 cases for individual architectures.
8826 * sysdeps/gnu/configure: Regenerated.
8827 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8828 LIBC_SLIBDIR_RTLDDIR.
8829 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8830 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8831 LIBC_SLIBDIR_RTLDDIR.
8832 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8834 LIBC_SLIBDIR_RTLDDIR.
8835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8836 Regenerated.
8837 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8838 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8839 file.
8840 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8841 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8842 file.
8843 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8844 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8845 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8846 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8847
29c4f53e
JM
8848 * sysdeps/aarch64/shlib-versions: Move to ...
8849 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8850 * sysdeps/alpha/shlib-versions: Move to ...
8851 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8852 * sysdeps/arm/shlib-versions: Move to ...
8853 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8854 * sysdeps/hppa/shlib-versions: Move all contents except for
8855 libgcc_s entry to ...
8856 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8857 entry from ...
8858 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8859 * sysdeps/ia64/shlib-versions: Move to ...
8860 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8861 entry from ...
8862 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8863 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8864 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8865 * sysdeps/microblaze/shlib-versions: Move to ...
8866 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8867 * sysdeps/mips/shlib-versions: Move to ...
8868 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8869 entry from ...
8870 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8871 * sysdeps/tile/shlib-versions: Move to ...
8872 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8873 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8874 from ...
8875 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8876 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8877 entry from ...
8878 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8879
32bead5b
WN
88802014-07-17 Will Newton <will.newton@linaro.org>
8881
57977c4b
WN
8882 * sysdeps/arm/bits/atomic.h
8883 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8884 (__arch_compare_and_exchange_bool_16_int): Likewise.
8885 (__arch_compare_and_exchange_bool_64_int): Likewise.
8886
32bead5b
WN
8887 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8888 into an #else block.
8889
37fccd41
RM
88902014-07-16 Roland McGrath <roland@hack.frob.com>
8891
8892 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8893 just Linux configurations. Test empirically that the compiler sets
8894 __ARM_EABI__, rather than using the tuple to decide.
8895 * sysdeps/arm/preconfigure: Regenerated.
8896 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8897 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8898 contents appended ...
8899 * sysdeps/arm/configure.ac: ... here.
8900 * sysdeps/arm/configure: Regenerated.
8901
b365f3ec
RM
89022014-07-15 Roland McGrath <roland@hack.frob.com>
8903
8badf496
RM
8904 * nptl/pthread_kill.c: New file.
8905 * nptl/pthread_sigmask.c: New file.
8906 * nptl/pthread_sigqueue.c: New file.
8907
3df6f22e
RM
8908 * sysdeps/nptl/lowlevellock.h: New file.
8909 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8910 * sysdeps/nptl/lowlevellock-futex.h: New file.
8911
b365f3ec
RM
8912 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8913 Remove dead declarations.
8914
f2fef657
L
89152014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8916
8917 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8918 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8919 config-cflags-avx2.
8920 * sysdeps/x86_64/configure.ac: Likewise.
8921 * sysdeps/i386/configure: Regenerated.
8922 * sysdeps/x86_64/configure: Likewise.
8923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8924 memset-avx2 only if config-cflags-avx2 is yes.
8925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8926 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8927 defined.
8928 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8929 only if HAVE_AVX2_SUPPORT is defined.
8930 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8931
f6c44d47
AM
89322014-07-14 Alan Modra <amodra@gmail.com>
8933
8934 [BZ #17153]
8935 * elf/elf.h (DT_PPC64_NUM): Correct value.
8936 * NEWS: Add to fixed bug list.
8937
7ee03f00
JM
89382014-07-13 Jim Meyering <meyering@fb.com>
8939
8940 [BZ 17150]
8941 regex: don't deref NULL upon heap allocation failure
8942 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8943 failure in one more place.
8944 To trigger the segfault, configure grep -with-included-regex,
8945 build it, and run these commands:
8946 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8947
9d39d517
AS
89482014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8949
8950 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8951
a75b89b7
RH
89522014-07-11 Richard Henderson <rth@redhat.com>
8953
8954 * sysdeps/aarch64/libm-test-ulps: Update.
8955
771eb141
FW
89562014-07-10 Florian Weimer <fweimer@redhat.com>
8957
8958 [BZ #17135]
8959 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8960 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8961 (__nptl_setxid): Initialize error member. Call
8962 __nptl_setxid_error.
8963 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8964 * nptl/descr.h (struct xid_command): Add error member.
8965 * nptl/tst-setuid3.c: New file.
8966 * nptl/Makefile (tests): Add it.
8967
bc1da176
AZ
89682014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8969
8970 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8971 New define.
8972 (__lll_trylock): Use __lll_base_trylock.
8973 (__lll_cond_trylock): Likewise.
8974
887865fc
RM
89752014-07-10 Roland McGrath <roland@hack.frob.com>
8976
c0c6bac9
RM
8977 * nptl/pthread_create.c (start_thread): Use atomic_or and
8978 lll_futex_wake directly rather than lll_robust_dead.
8979 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8980 (lll_robust_dead): Macro removed.
6a42be57 8981 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8982 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8983 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8984 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8985 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8986 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8987 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8988 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8989 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8990 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8991 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8992 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8993 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8994 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8995 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8996
887865fc
RM
8997 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8998 Use atomic_compare_and_exchange_val_acq directly rather than
8999 lll_robust_trylock.
9000 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9001 (__lll_robust_trylock, lll_robust_trylock): Removed.
9002 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9003 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9004 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9005 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9006 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9007 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9008 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9009 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9010 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9011 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9012 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9013 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9014 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9015 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9016
58536726
FW
90172014-07-02 Florian Weimer <fweimer@redhat.com>
9018
9019 * manual/locale.texi (Locale Names): New section documenting
9020 locale name syntax. Adjust menu and node chaining accordingly.
9021 (Choosing Locale): Reference Locale Names, Locale Categories.
9022 Mention setting LC_ALL=C. Reflect that name syntax is now
9023 documented.
9024 (Locale Categories): New section title. Reference Locale Names.
9025 LC_ALL is an environment variable, but not a category.
9026 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9027 description, now in Locale Name. Reference that section. Locale
9028 name syntax is now documented.
9029
4e8f95a0
FW
90302014-07-02 Florian Weimer <fweimer@redhat.com>
9031
9032 [BZ #17137]
9033 * locale/findlocale.c (name_present, valid_locale_name): New
9034 functions.
9035 (_nl_find_locale): Use the loc_name variable to store name
9036 candidates. Call name_present and valid_locale_name to check and
9037 validate locale names. Return an error if the locale is invalid.
9038
d1836456
FW
90392014-07-02 Florian Weimer <fweimer@redhat.com>
9040
9041 * locale/setlocale.c (setlocale): Use strdup for allocating
9042 composite name copy.
9043
d69b7f5a
SP
90442014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9045
888c679b
SP
9046 Sync up with gnulib.
9047 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9048 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9049 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9050 and _GL_ARG_NONNULL.
9051 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9052 [!_LIBC]: Include code for Windows and Cygwin.
9053 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9054 Include prototype for int strerror_r.
9055 [!_LIBC] (is_open): New function.
9056 (flush_stdout): New function.
9057 (print_errno_message): Use it.
9058 (error): Likewise.
9059 (error_at_line): Likewise.
9060 (error_tail) Add function attribute macros. Use
9061 __builtin_expect.
9062
180e0e4b
SP
9063 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9064
d22f1fe2
SP
9065 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9066
12f2254b
SP
9067 * io/ftw.c: Include sys/param.h unconditionally.
9068
c3c7c360
SP
9069 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9070
d62aa75a
SP
9071 [BZ #17125]
9072 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9073 libc_freeres_ptr.
9074 (freecache): New function to free CACHE on exit.
9075
d69b7f5a
SP
9076 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9077 initialization.
9078
5efe06a1
DM
90792014-07-09 David S. Miller <davem@davemloft.net>
9080
9081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9082
7000d82e
DM
9083 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9084 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9085 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9086 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9087 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9088 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9089 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9090 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9091 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9092 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9093 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9094 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9095 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9096
c213442d
AS
90972014-07-09 Andreas Schwab <schwab@suse.de>
9098
4a2552c3
AS
9099 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9100 output.
9101 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9102 (do_test): Likewise.
9103
c213442d
AS
9104 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9105
82374e65
WN
91062014-07-09 Will Newton <will.newton@linaro.org>
9107
9108 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9109 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9110 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9111 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9112 * sysdeps/hppa/start.S (_start): Likewise.
9113
6680738a
SP
91142014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9115
6ee3eab4
SP
9116 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9117
6680738a
SP
9118 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9119 defined.
9120
80b5c505
SP
91212014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9122
e35c53e3
SP
9123 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9124 after checking that it is non-NULL.
9125
80b5c505
SP
9126 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9127
91f4b564
AZ
91282014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9129
27b75f56
AZ
9130 * sysdeps/powerpc/memmove.c: Remove file.
9131 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9132 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9133 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9134 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9135 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9136 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9137 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9138 string memmove instead of removed powerpc one.
9139
e7f95bb5
AZ
9140 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9141 [weak_alias]: Fix compiler warning due trailing data.
9142 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9143 [weak_alias]: Likewise.
9144 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9145 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9146
91f4b564
AZ
9147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9148 (__libc_ifunc_impl_list): Add memmove functions.
9149
7c33f1e5
SP
91502014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9151
9152 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9153 Remove code.
9154 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9155 Likewise
9156 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9157 Likewise
9158 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9159 Likewise
9160 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9161 Likewise
9162 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9163 Likewise
9164 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9165 Likewise
9166 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9167 Likewise
9168 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9169 Likewise
9170 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9171 Likewise
9172 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9173 Likewise
9174 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9175 Likewise
9176 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9177 Likewise
9178 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9179 Likewise
9180 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9181 Likewise
9182 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9183 Likewise
9184 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9185 Likewise
9186
3f17b03b
AZ
91872014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9188
87868c24
AZ
9189 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9190 to avoid alignment traps in non-cacheable memory.
9191 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9192
07aedd78
AZ
9193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9194 multiarch objects.
9195 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9196 file: multiarch power7 memmove.
9197 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9198 multiarch default memmove.
9199 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9200 multiarch memove for powerpc32/power4.
9201
17762f66
AZ
9202 * string/bcopy.c: Use full path to include memmove.c.
9203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9204 multiarch objects.
9205 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9206 bcopy for powerpc64.
9207 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9208 bcopy for powerpc64.
9209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9210 and memmove implementations.
9211 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9212 optimized multiarch memmove for POWER7/powerpc64.
9213 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9214 default multiarch memmove for powerpc64.
9215 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9216 multiarch for powerpc64.
9217 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9218 for POWER7/powerpc64.
9219 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9220 memmove for POWER7/powerpc64.
9221
d6f68bbe
AZ
9222 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9223 glibc default one.
9224
3f17b03b
AZ
9225 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9226 __ELF_NATIVE_CLASS equal to 64.
9227
08192659
RM
92282014-07-07 Roland McGrath <roland@hack.frob.com>
9229
f4c4021b
RM
9230 * sysdeps/nptl/lowlevellock.h: File removed.
9231
f083450f
RM
9232 * NEWS: NPTL is no longer an add-on!
9233 * nptl/internaltypes.h: Moved ...
9234 * sysdeps/nptl/internaltypes.h: ... here.
9235 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9236 * sysdeps/nptl/fork.c: Likewise.
9237 * sysdeps/nptl/gai_misc.h: Likewise.
9238 * sysdeps/nptl/librt-cancellation.c: Likewise.
9239 * sysdeps/nptl/jmp-unwind.c: Likewise.
9240 * sysdeps/nptl/setxid.h: Likewise.
9241 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9242 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9243 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9244 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9245 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9246 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9247 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9248 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9249 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9250 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9251 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9252 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9253 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9254 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9255 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9256 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9257 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9258 * nptl/Makeconfig: Moved ...
9259 * sysdeps/nptl/Makeconfig: ... here.
9260 * nptl/configure: File removed.
9261 * nptl/ANNOUNCE: File removed.
9262 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9263 * sysdeps/unix/sysv/linux/configure: Regenerated.
9264
08192659
RM
9265 * nptl/Makefile (routines): Add libc_pthread_init,
9266 libc_multiple_threads, register-atfork and unregister-atfork.
9267 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9268 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9269 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9270 pthread-pi-defines.sym, structsem.sym.
9271 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9272 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9273 [$(subdir) = nptl] (tests): Add tst-setgetname.
9274 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9275 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9276 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9277 [!LIBC_SIGACTION]: Remove aliases.
9278 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9279 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9280 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9281 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9282 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9283 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9284 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9285 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9286 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9287 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9288 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9289 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9290 __libc_allocate_rtsig_private.
9291 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9292 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9293 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9294 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9295 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9296 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9297 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9298 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9299 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9300 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9301 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9302 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9303 * nptl/internaltypes.h: ... here.
9304 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9305 * sysdeps/nptl/jmp-unwind.c: ... here.
9306 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9307 * nptl/libc-lowlevellock.c: ... here.
9308 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9309 * nptl/libc_multiple_threads.c: ... here.
9310 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9311 * nptl/libc_pthread_init.c: ... here.
9312 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9313 * nptl/lowlevelbarrier.sym: ... here.
9314 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9315 * nptl/lowlevelcond.sym: ... here.
9316 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9317 * nptl/lowlevellock.c: ... here.
9318 * nptl/lowlevellock.h: Moved ...
9319 * sysdeps/nptl/lowlevellock.h: ... here.
9320 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9321 * nptl/lowlevelrobustlock.c: ... here.
9322 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9323 * nptl/lowlevelrobustlock.sym: ... here.
9324 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9325 * nptl/lowlevelrwlock.sym: ... here.
9326 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9327 * nptl/pt-fork.c: ... here.
9328 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9329 * nptl/pthread-pi-defines.sym: ... here.
9330 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9331 * nptl/pthread_attr_getaffinity.c: ... here.
9332 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9333 * nptl/pthread_attr_setaffinity.c: ... here.
9334 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9335 * nptl/pthread_mutex_cond_lock.c: ... here.
9336 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9337 Update #include.
9338 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9339 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9340 * nptl/pthread_once.c: ... here, replacing old file.
9341 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9342 * nptl/pthread_yield.c: ... here.
9343 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9344 * nptl/register-atfork.c: ... here.
9345 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9346 * nptl/sem_post.c: ... here.
9347 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9348 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9349 * nptl/sem_timedwait.c: ... here.
9350 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9351 * nptl/sem_trywait.c: ... here.
9352 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9353 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9354 * nptl/sem_wait.c: ... here.
9355 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9356 * nptl/structsem.sym: ... here.
9357 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9358 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9359 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9360 * nptl/unregister-atfork.c: ... here.
9361 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9362 * nptl/unwindbuf.sym: ... here.
9363 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9364 * sysdeps/nptl/fork.c: ... here.
9365 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9366 * sysdeps/nptl/fork.h: ... here.
9367 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9368 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9369 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9370 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9371 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9372 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9373 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9374 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9375 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9376 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9377 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9378 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9379 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9380 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9381 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9382 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9383 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9384 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9385 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9386 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9387 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9388 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9389 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9390 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9391 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9392 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9393 * sysdeps/unix/sysv/linux/raise.c: ... here.
9394 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9395 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9396 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9397 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9398 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9399 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9400 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9401 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9402 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9403 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9404 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9405 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9406 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9407 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9408 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9409
96baf6ff
SP
94102014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9411
9412 * sysdeps/generic/memcopy.h: Add comment for
9413 MEMCPY_OK_FOR_FWD_MEMMOVE.
9414
6b7b14b2
WN
94152014-07-04 Will Newton <will.newton@linaro.org>
9416
1570a72b
WN
9417 * string/memchr.c: Merge from gnulib.
9418 [_LIBC]: Remove conditionals.
9419 (__ptr_t): Remove define.
9420 (LONG_MAX_32_BITS): Likewise.
9421 (LONG_MAX): Likewise.
9422 (MEMCHR): Use ANSI prototype and optimize algorithm.
9423
6b7b14b2
WN
9424 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9425
38851324
SP
94262014-07-03 Roland McGrath <roland@hack.frob.com>
9427
3d9eb57c
RM
9428 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9429 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9430
78b984ae
RM
9431 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9432 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9433 in a bare environment with no <stdlib.h> installed.
9434 * sysdeps/nptl/configure: Regenerated.
9435
2d5976a5
RM
9436 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9437
c1f5acd4
RM
9438 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9439 AC_EGREP_CPP for kernel header checks, so they only succeed if
9440 including <linux/version.h> actually works right.
9441 * sysdeps/unix/sysv/linux/configure: Regenerated.
9442
4d614fe5
RM
9443 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9444 value so it's not diagnosed as unused.
9445
38851324
SP
9446 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9447 thing) with "ifeq ($(subdir),rt)".
9448
b3ec00e5
RH
94492014-07-03 Richard Henderson <rth@redhat.com>
9450
69862e25
RH
9451 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9452 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9453 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9454
d5e16ade
RH
9455 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9456 (math_force_eval): New.
9457
ca7b945c
RH
9458 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9459 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9460
cd1175a3
RH
9461 * sysdeps/alpha/fpu/s_round.c: Remove file.
9462 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9463
b3ec00e5
RH
9464 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9465 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9466 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9467 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9468 (_dl_start, print_statistics): Likewise.
9469 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9470 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9471
9472 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9473 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9474 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9475 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9476 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9477 (HP_SMALL_TIMING_AVAIL): Define.
9478 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9479 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9480 (HP_SMALL_TIMING_AVAIL): Define.
9481 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9482 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9483
9484 * sysdeps/aarch64/hp-timing.h: New file.
9485
9486 * sysdeps/generic/hp-timing.h: Remove dead comment.
9487 * sysdeps/generic/hp-timing-common.h: New file.
9488 * sysdeps/alpha/hp-timing.h: Include it.
9489 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9490 * sysdeps/i386/i686/hp-timing.h: Likewise.
9491 * sysdeps/ia64/hp-timing.h: Likewise.
9492 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9493 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9494 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9495 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9496 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9497 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9498 (hp_timing_t): New.
9499
9500 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9501 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9502 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9503 * elf/rtld.c (_dl_start_final): Likewise.
9504 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9505 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9506 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9507 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9508 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9509 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9510 (HP_TIMING_DIFF_INIT): Remove.
9511 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9512 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9513 (HP_TIMING_DIFF_INIT): Remove.
9514 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9515 * sysdeps/i386/i686/hp-timing.c: Remove file.
9516 * sysdeps/x86_64/hp-timing.c: Remove file.
9517 * sysdeps/ia64/hp-timing.c: Remove file.
9518 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9519 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9520 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9521 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9522
9523 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9524 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9525 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9526 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9527 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9528 (HP_TIMING_ACCUM): Remove.
9529 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9530 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9531 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9532
9533 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9534 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9535 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9536 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9537 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9538 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9539 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9540 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9541
9542 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9543
225f410f
MR
95442014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9545
9546 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9547
3247f285
SP
95482014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9549
9550 Sync up with gettext.
9551 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9552 [_MSC_VER]: Include malloc.h
9553 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9554 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9555 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9556 TEMP_FAILURE_RETRY. Cast return of alloca.
9557 [!_LIBC] Call gl_rwlock_init.
9558 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9559
d12704c7
SP
95602014-07-02 Roland McGrath <roland@hack.frob.com>
9561
9562 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9563 before checking its value.
9564
99f8dc92
SP
95652014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9566
05fdac77
SP
9567 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9568
99f8dc92
SP
9569 * debug/memcpy_chk.c: Don't include pagecopy.h.
9570 * debug/mempcpy_chk.c: Likewise.
9571 * string/memcpy.c: Likewise.
9572 * string/memmove.c: Likewise.
9573 * sysdeps/powerpc/memmove.c: Likewise.
9574 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9575 definition of PAGE_COPY_FWD_MAYBE here...
9576 * sysdeps/generic/pagecopy.h: ... from here.
9577 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9578
bc8ea385
VR
95792014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9580 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9581
9582 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9583 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9584 optimizations.
9585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9586 (__libc_ifunc_impl_list): Likewise.
9587 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9588 multiarch strcat for PPC64.
9589 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9590 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9591
fe5f34e4
RM
95922014-07-02 Roland McGrath <roland@hack.frob.com>
9593
9594 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9595
256aa665
SP
95962014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9597
d4eb8195
SP
9598 * intl/loadmsgcat.c: Remove declaration of
9599 get_sysdep_segment_value.
9600 (get_sysdep_segment_value): Use ISO C style.
9601 (_nl_load_domain): Use ISO C style. Get rid of redundant
9602 semicolon. Fix typo and formatting in comment.
9603 (_nl_unload_domain): Use ISO C style.
9604
256aa665
SP
9605 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9606
b100f9aa
WN
96072014-07-02 Will Newton <will.newton@linaro.org>
9608
9609 * malloc/obstack.c: Merge from gnulib master.
9610 [HAVE_CONFIG_H]: Remove conditional code.
9611 [!_LIBC]: Include config.h.
9612 [!ELIDE_CODE]: Don't include inttypes.h, include
9613 stdint.h unconditionally.
9614 (print_and_abort): Mark as _Noreturn.
9615 (_obstack_allocated_p): Mark as __attribute_pure__.
9616 (obstack_free): Rename to __obstack_free.
9617 [!__attribute__]: Remove conditional code.
9618 * malloc/obstack.h: Merge from gnulib master.
9619 [__cplusplus]: Move conditional down.
9620 [!__attribute_pure__]: Define __attribute_pure__ here
9621 if it is not already defined.
9622 (_obstack_memory_used): Mark as __attribute_pure__.
9623 [!__obstack_free]: Define as obstack_free.
9624 [__GNUC__]: Remove check for ancient NeXT gcc.
9625
c4c41244
PE
96262014-07-02 Will Newton <will.newton@linaro.org>
9627 Paul Eggert <eggert@cs.ucla.edu>
9628
9629 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9630
e1e041c4
SP
96312014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9632
9633 * resolv/gethnamaddr.c: Add comment warning that the file is
9634 not maintained.
9635
ccf431ff
CD
96362014-07-01 Carlos O'Donell <carlos@redhat.com>
9637
d34570a6
CD
9638 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9639 entries.
9640
ccf431ff
CD
9641 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9642 entry for aio_cancel and aio_cancel64.
9643 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9644 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9645 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9646 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9647 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9648 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9649 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9650 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9651 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9652 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9653 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9654 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9655 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9656
ca06321d
RM
96572014-07-01 Roland McGrath <roland@hack.frob.com>
9658
9659 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9660 * nptl/pthread_mutex_lock.c: Likewise.
9661 * nptl/pthread_mutex_timedlock.c: Likewise.
9662 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9663
a1ac3184
RH
96642014-07-01 Richard henderson <rth@redhat.com>
9665
631021e0
RH
9666 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9667 (__isnan, __isnanl): Remove.
9668 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9669
a1ac3184
RH
9670 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9671
0c1d731f
SL
96722014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9673
9674 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9675
76985d3e
SP
96762014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9677
9678 * resolv/nss_dns/dns-host.c (getanswer_r)
9679 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9680
b0cb3096
JM
96812014-07-01 Joseph Myers <joseph@codesourcery.com>
9682
9683 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9684 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9685 undefine.
9686 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9687 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9688
4d76cb39
RM
96892014-07-01 Roland McGrath <roland@hack.frob.com>
9690
9691 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9692 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9693
9694 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9695 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9696
9697 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9698 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9699 ... here.
9700 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9701 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9702
9703 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9704 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9705 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9706 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9707
9708 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9709 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9710 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9711 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9712 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9713 Moved ...
9714 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9715 ... here.
9716 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9717 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9718 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9719 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9720 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9721 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9722 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9723 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9724 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9725 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9726 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9727 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9728 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9729 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9730 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9731 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9732 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9733 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9734 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9735 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9736 ... here.
9737 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9738 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9739 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9740 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9741 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9742 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9743 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9744 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9745
0cdcad17
DH
97462014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9747
9748 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9749 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9750 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9751 Add sysdep.
9752
9b71d0e3
AZ
97532014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9754
9755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9756
665390c2
JM
97572014-06-30 Joseph Myers <joseph@codesourcery.com>
9758
ae05a9d7
JM
9759 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9760 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9761
a7672a2f
JM
9762 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9763
665390c2
JM
9764 * sysdeps/arm/libm-test-ulps: Regenerated.
9765
d7a05d07
MR
97662014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9767 Roland McGrath <roland@hack.frob.com>
9768
9769 * test-skeleton.c (signal_handler): Kill the whole process group
9770 before killing the child individually.
9771 (main): Report any failure on `setpgid'.
9772
46f1d8a6
RM
97732014-06-30 Roland McGrath <roland@hack.frob.com>
9774
9775 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9776 from _TLS_H to _ARM_NPTL_TLS_H.
9777 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9778 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9779
9c37ec0b
JM
97802014-06-30 Joseph Myers <joseph@codesourcery.com>
9781
ce9c5b3e
JM
9782 [BZ #16539]
9783 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9784 (__expm1l): Return argument unchanged when small but not
9785 subnormal.
9786
3a6e9887
JM
9787 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9788 include macro name.
9789 (_FP_UNPACK_RAW_1_P): Likewise.
9790 (_FP_PACK_RAW_1): Likewise.
9791 (_FP_PACK_RAW_1_P): Likewise.
9792 (_FP_MUL_MEAT_1_wide): Likewise.
9793 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9794 (_FP_MUL_MEAT_1_hard): Likewise.
9795 (_FP_DIV_MEAT_1_imm): Likewise.
9796 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9797 (_FP_DIV_MEAT_1_udiv): Likewise.
9798 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9799 (_FP_UNPACK_RAW_2): Likewise.
9800 (_FP_UNPACK_RAW_2_P): Likewise.
9801 (_FP_PACK_RAW_2): Likewise.
9802 (_FP_PACK_RAW_2_P): Likewise.
9803 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9804 (_FP_MUL_MEAT_2_wide): Likewise.
9805 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9806 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9807 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9808 (_FP_MUL_MEAT_2_gmp): Likewise.
9809 (_FP_DIV_MEAT_2_udiv): Likewise.
9810 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9811 (_FP_FRAC_SRL_4): Likewise.
9812 (_FP_FRAC_SRST_4): Likewise.
9813 (_FP_FRAC_SRS_4): Likewise.
9814 (_FP_UNPACK_RAW_4): Likewise.
9815 (_FP_UNPACK_RAW_4_P): Likewise.
9816 (_FP_PACK_RAW_4): Likewise.
9817 (_FP_PACK_RAW_4_P): Likewise.
9818 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9819 (_FP_MUL_MEAT_4_wide): Likewise.
9820 (_FP_MUL_MEAT_4_gmp): Likewise.
9821 (umul_ppppmnnn): Likewise.
9822 (_FP_DIV_MEAT_4_udiv): Likewise.
9823 (__FP_FRAC_ADD_4): Likewise.
9824 (__FP_FRAC_SUB_3): Likewise.
9825 (__FP_FRAC_SUB_4): Likewise.
9826 (__FP_FRAC_DEC_3): Likewise.
9827 (__FP_FRAC_DEC_4): Likewise.
9828 (__FP_FRAC_ADDI_4): Likewise.
9829 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9830 (_FP_FRAC_SRL_8): Likewise.
9831 (_FP_FRAC_SRS_8): Likewise.
9832
9c37ec0b
JM
9833 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9834 include macro name.
9835 (FP_UNPACK_RAW_EP): Likewise.
9836 (FP_PACK_RAW_E): Likewise.
9837 (FP_PACK_RAW_EP): Likewise.
9838 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9839 (_FP_ISSIGNAN): Likewise.
9840 (_FP_ADD_INTERNAL): Likewise.
9841 (_FP_FMA): Likewise.
9842 (_FP_CMP): Likewise.
9843 (_FP_SQRT): Likewise.
9844 (_FP_TO_INT): Likewise.
9845 (_FP_FROM_INT): Likewise.
9846 (FP_EXTEND): Likewise.
9847 (_FP_DIV_MEAT_N_loop): Likewise.
9848
2125f674
MR
98492014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9850
9851 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9852 throughout.
9853
edea4028
JM
98542014-06-29 Joseph Myers <joseph@codesourcery.com>
9855
9856 [BZ #17097]
9857 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9858 result with correct sign in case of exponents that produce
9859 overflow except for X very close to 1.
9860
dd0ba018
PE
98612014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9862
9863 mktime: merge #if/#ifdef usage from glibc
9864 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9865 as that works with both Glibc's and Gnulib's style.
9866 See thread starting at Siddhesh Poyarekar's bug report at:
9867 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9868
64df73c2
SP
98692014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9870
9871 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9872 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9873 * sysdeps/tile/tilegx/memmove.c: Remove file.
9874
f1eafb41
JM
98752014-06-27 Joseph Myers <joseph@codesourcery.com>
9876
9877 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9878 abi-name definition.
9879 * scripts/soversions.awk: Do not handle or generate ABI lines.
9880 * shlib-versions: Remove ABI entries.
9881 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9882 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9883
58eb0862
RM
98842014-06-27 Roland McGrath <roland@hack.frob.com>
9885
37caf178
RM
9886 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9887 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9888 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9889 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9890 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9891 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9892 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9893 Moved ...
9894 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9895 ... here.
9896 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9897 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9898 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9899 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9900 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9901 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9902 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9903 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9904 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9905 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9906 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9907 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9908 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9909 Moved ...
9910 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9911 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9912 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9913 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9914 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9915 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9916 Moved ...
9917 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9918 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9919 Moved ...
9920 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9921 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9922 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9923 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9924 Moved ...
9925 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9926 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9927 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9928 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9929 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9930 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9931 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9932 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9933 Moved ...
9934 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9935 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9936 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9937 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9938 Moved ...
9939 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9940 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9941 Moved ...
9942 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9943 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9944 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9945 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9946 Moved ...
9947 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9948 ... here.
9949 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9950 Identical file removed.
9951 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9952 Moved ...
9953 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9954 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9955 Identical file removed.
9956 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9957 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9958 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9959 Moved ...
9960 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9961 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9962 Identical file removed.
9963 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9964 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9965 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9966 Identical file removed.
9967 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9968 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9969 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9970 Identical file removed.
9971 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9972 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9973 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9974 Identical file removed.
9975 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9976 Moved ...
9977 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9978 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9979 Identical file removed.
9980 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9981 Moved ...
9982 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9983 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9984 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9985 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9986 Identical file removed.
9987 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9988 Moved ...
9989 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9990 ... here.
9991 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9992 Identical file removed.
9993 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9994 Moved ...
9995 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9996 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9997 Identical file removed.
9998 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9999 Moved ...
10000 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10001 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10002 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10003 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10004 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10005 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10006 Moved ...
10007 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10008 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10009 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10010
58eb0862
RM
10011 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10012 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10013 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10014 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10015 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10016
6f12d062
AS
100172014-06-27 Arjun Shankar <arjun.is@lostca.se>
10018
10019 [BZ #17092]
10020 * nscd/nscd.c (monitor_child): Return exit status of child
10021 instead of return value from wait syscall.
10022
be254932
JM
100232014-06-27 Joseph Myers <joseph@codesourcery.com>
10024
cb403c34
JM
10025 * configure.ac (libc_commonpagesize): Remove variable.
10026 (libc_relro_required): Likewise.
10027 (libc_cv_z_relro): Remove configure test.
10028 * configure: Regenerated.
10029 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10030 variable.
10031 (libc_relro_required): Likewise.
10032 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10033 (libc_relro_required): Likewise.
10034 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10035 (libc_relro_required): Likewise.
10036 * sysdeps/arm/preconfigure: Regenerated.
10037 * sysdeps/ia64/preconfigure: Remove file.
10038 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10039 variable.
10040 (libc_relro_required): Likewise.
10041
be254932
JM
10042 [BZ #16561]
10043 [BZ #16562]
10044 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10045 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10046 recompute overflowing results in original rounding mode.
10047 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10048 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10049 recompute overflowing results in original rounding mode.
10050 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10051 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10052 recompute overflowing results in original rounding mode.
10053 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10054 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10055 recompute overflowing results in original rounding mode.
10056 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10057 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10058 recompute overflowing results in original rounding mode.
10059 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10060 (libc_feholdsetround_ctx): New macro.
10061 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10062 * sysdeps/i386/fpu/libm-test-ulps: Update.
10063 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10064
b351d85a
JM
100652014-06-26 Joseph Myers <joseph@codesourcery.com>
10066
10067 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10068 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10069 corresponding .cpsetup call.
10070
3cb4de47
RM
100712014-06-26 Roland McGrath <roland@hack.frob.com>
10072
10073 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10074 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10075 * sysdeps/arm/Makefile [$(subdir) = csu]
10076 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10077 (static-only-routines): Add aeabi_read_tp here.
10078 (shared-only-routines): Add libc-aeabi_read_tp here.
10079 (CFLAGS-libc-start.c): Add -fexceptions here.
10080 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10081 (sysdep_routines, static-only-routines, shared-only-routines):
10082 Don't add to these here.
10083 (CFLAGS-libc-start.c): Likewise.
10084
10085 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10086 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10087 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10088 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10089 * sysdeps/arm/Makefile [$(subdir) = rt]
10090 (librt-sysdep_routines, librt-shared-only-routines):
10091 Append rt-aeabi_unwind_cpp_pr1 here.
10092 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10093 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10094 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10095 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10096 Append nptl-aeabi_unwind_cpp_pr1 here.
10097 (tests): Filter out tst-cleanupx4 here.
10098 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10099 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10100 Don't do those here.
10101
354426bb
JM
101022014-06-26 Joseph Myers <joseph@codesourcery.com>
10103
10104 * scripts/list-sources.sh: Do not handle ports specially.
10105
28b0a8c9
RM
101062014-06-26 Roland McGrath <roland@hack.frob.com>
10107
a3dd035d
RM
10108 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10109 * sysdeps/arm/feupdateenv.c: Likewise.
10110
28b0a8c9
RM
10111 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10112
e66a8203
JM
101132014-06-26 Joseph Myers <joseph@codesourcery.com>
10114
10115 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10116 trailing whitespace removed.
10117 * scripts/config.guess: Update to version 2014-03-23.
10118 * scripts/config.sub: Update to version 2014-05-01
10119 * scripts/install-sh: Update to version 2013-12-25.23.
10120 * scripts/move-if-change: Update from gnulib.
10121
74171115
SP
101222014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10123
b97c9ce5
SP
10124 * debug/memmove_chk.c: Remove pagecopy.h include.
10125
4000f892
SP
101262014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10127
74171115
SP
10128 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10129 identical to gnulib mktime.
10130
a8779c28
JM
101312014-06-26 Joseph Myers <joseph@codesourcery.com>
10132
e64708de
JM
10133 * configure.ac: Do not test for machine being rs6000. Do not test
10134 for powerpc*-*soft.
10135 * configure: Regenerated.
10136
6a9350c8 10137 [BZ #11505]
a8779c28
JM
10138 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10139 test.
10140 * configure: Regenerated.
10141 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10142 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10143 Remove configure test.
10144 * sysdeps/arm/configure: Regenerated.
10145 * sysdeps/nptl/configure.ac: Do not check
10146 libc_cv_asm_cfi_directives.
10147 * sysdeps/nptl/configure: Regenerated.
10148 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10149 * sysdeps/x86_64/nptl/configure: Remove generated file.
10150 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10151 unconditional.
10152 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10153
2aac0a86
SP
101542014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10155
059bf913
SP
10156 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10157 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10158 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10159 it is defined.
10160
4cf5b6d0
SP
10161 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10162 instead of whether it is defined.
10163 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10164 * sysdeps/hppa/dl-machine.h: Likewise.
10165 * sysdeps/ia64/dl-machine.h: Likewise.
10166 * sysdeps/m68k/dl-machine.h: Likewise.
10167 * sysdeps/microblaze/dl-machine.h: Likewise.
10168 * sysdeps/mips/dl-machine.: Likewise.
10169 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10170 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10171 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10172 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10173 * sysdeps/sh/dl-machine.h: Likewise.
10174 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10175 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10176 * sysdeps/tile/dl-machine.h: Likewise.
10177 * sysdeps/x86_64/dl-machine.h: Likewise.
10178
2aac0a86
SP
10179 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10180 code.
10181 (verify_persistent_db): Likewise.
10182
6ad2df0b
RM
101832014-06-26 Roland McGrath <roland@hack.frob.com>
10184
d8a483f3
RM
10185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10186 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10188 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10190 Moved ...
10191 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10192 ... here.
10193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10194 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10196 Identical file removed.
10197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10198 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10200 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10202 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10204 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10206 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10208 Moved ...
10209 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10211 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10213 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10215 Moved ...
10216 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10218 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10220 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10222 Identical file removed.
10223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10224 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10226 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10228 Moved ...
10229 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10230 ... here.
10231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10232 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10234 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10236 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10238 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10240 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10242 Moved ...
10243 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10245 Moved ...
10246 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10248 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10250 Moved ...
10251 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10253 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10254
52ae23b4
RM
10255 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10256 folded into ...
10257 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10258 * sysdeps/unix/sysv/linux/s390/Versions
10259 (libpthread: GLIBC_2.19): New version set.
10260 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10261 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10262 (librt: GLIBC_2.3.3): New version set.
10263 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10264 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10265 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10266 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10267 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10268 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10269 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10270 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10271 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10272 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10273 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10274 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10275 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10276 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10277 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10278 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10279 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10280 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10281 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10282 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10283 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10284 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10285 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10286 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10287 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10288 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10289 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10290 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10291 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10292 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10293 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10294 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10295 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10296 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10298 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10299 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10300 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10301 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10302 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10303 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10304 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10305 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10306 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10307 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10308
39507e4a
RM
10309 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10310 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10311 (__libc_vfork): Define the function under this name.
10312 [!NOT_IN_libc] (__vfork): Make this an alias.
10313 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10314 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10315 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10316 (__libc_vfork): Define the function under this name.
10317 [!NOT_IN_libc] (__vfork): Make this an alias.
10318 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10319 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10320 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10321 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10322 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10323 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10324
e549ee56
RM
10325 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10326 code that was previously under [RESET_PID].
10327 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10328 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10329 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10330
6ad2df0b
RM
10331 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10332 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10333 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10334 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10335 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10336 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10337 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10338 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10339 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10340 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10341 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10342 Moved ...
10343 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10344 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10345 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10346 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10347 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10348 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10349 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10350 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10351 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10352 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10353 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10354 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10355 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10356 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10357 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10358 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10359 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10360 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10361 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10362 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10363 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10364 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10365 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10366 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10367 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10368 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10369 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10370 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10371 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10372
7c1c1d8e
RM
103732014-06-25 Roland McGrath <roland@hack.frob.com>
10374
10375 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10376 that was previously under [RESET_PID].
10377 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10378
3e239be6
JM
103792014-06-25 Joseph Myers <joseph@codesourcery.com>
10380
74385da5
JM
10381 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10382 not undefine and redefine.
10383 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10384 [O_CLOEXEC]: Make code unconditional.
10385 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10386 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10387 <kernel-features.h>.
10388 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10389 conditional variable definition.
10390 (shm_open) [O_CLOEXEC]: Make code unconditional.
10391 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10392 code.
10393
c2570a0b
JM
10394 * configure.ac (USE_REGPARMS): Don't define here.
10395 * configure: Regenerated.
10396 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10397 * sysdeps/i386/configure: Regenerated.
10398
11b076bb
JM
10399 * nptl/createthread.c: Don't include kernel-features.h.
10400 * nptl/pthread_cancel.c: Likewise.
10401 * nptl/pthread_condattr_setclock.c: Likewise.
10402 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10403 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10404 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10405 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10406 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10407 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10408 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10409 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10410 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10411 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10412 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10413 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10414 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10415 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10416 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10417 * nscd/gai.c: Likewise.
10418 * nss/nss_db/db-open.c: Likewise.
10419 * sysdeps/generic/ldsodefs.h: Likewise.
10420 * sysdeps/sh/nptl/tls.h: Likewise.
10421 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10422 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10423 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10424 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10425 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10426 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10427 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10428 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10429 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10430 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10431 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10432 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10433 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10434 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10435 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10436 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10437 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10438 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10439 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10440 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10441 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10442 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10443 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10444 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10445 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10446 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10447 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10448 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10449 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10450 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10451 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10452 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10453 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10454 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10455 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10456 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10457 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10458 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10459 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10460 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10461 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10462 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10463 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10464 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10465 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10466 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10467 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10468 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10469 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10470 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10471 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10472 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10473 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10474 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10475 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10476 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10477 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10478 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10501 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10502 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10503 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10504 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10505 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10506 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10507 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10508 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10509 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10510 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10511 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10512 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10513 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10514 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10515 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10516 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10517 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10518 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10519 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10520 * sysdeps/unix/sysv/linux/system.c: Likewise.
10521 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10522 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10523 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10524 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10525 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10526 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10527 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10528
92072d57
JM
10529 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10530 * configure: Regenerated.
10531 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10532
3e239be6
JM
10533 * configure.ac (base_machine): Do not set specially for particular
10534 machines here.
10535 * configure: Regenerated.
10536 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10537 settings from configure.ac.
10538 * sysdeps/i386/preconfigure: New file.
10539 * sysdeps/s390/preconfigure: Likewise.
10540 * sysdeps/sh/preconfigure: Likewise.
10541 * sysdeps/sparc/preconfigure: Likewise.
10542
06d50baa
RM
105432014-06-25 Roland McGrath <roland@hack.frob.com>
10544
74836003
RM
10545 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10546 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10547 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10548 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10549 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10550 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10551 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10552 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10553 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10554 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10555 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10556 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10557 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10558 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10559 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10560 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10561 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10562 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10563 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10564
10565 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10566 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10567 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10568 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10569 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10570 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10571 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10572 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10573 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10574 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10575 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10576 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10577 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10578 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10579 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10580 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10581 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10582 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10583 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10584 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10585 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10586 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10587 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10588 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10589 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10590 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10591 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10592 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10593 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10594 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10595 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10596 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10597 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10598 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10599 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10600 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10601 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10602 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10603
06d50baa
RM
10604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10605 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10607 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10609 Moved ...
10610 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10611 ... here.
10612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10613 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10615 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10617 Moved ...
10618 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10620 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10622 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10624 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10626 Moved ...
10627 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10629 Moved ...
10630 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10632 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10634 Moved ...
10635 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10637 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10639 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10641 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10643 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10645 Moved ...
10646 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10647 ... here.
10648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10649 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10651 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10653 Moved ...
10654 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10656 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10658 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10660 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10662 Moved ...
10663 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10665 Moved ...
10666 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10668 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10670 Moved ...
10671 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10673 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10675 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10676
a4ccbc9b
JM
106772014-06-25 Joseph Myers <joseph@codesourcery.com>
10678
0828edbf
JM
10679 * timezone/checktab.awk: Update from tzcode 2014e.
10680 * timezone/private.h: Likewise.
10681 * timezone/tzfile.h: Likewise.
10682 * timezone/zdump.c: Likewise.
10683 * timezone/zic.c: Likewise.
10684
a4ccbc9b
JM
10685 * sysdeps/unix/sysv/linux/kernel-features.h
10686 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10687 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10688 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10689 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10690 Remove conditional code.
10691
9aea0cb8
WN
106922014-06-25 Will Newton <will.newton@linaro.org>
10693
10694 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10695 (_dl_arm_cap_flags): Add HWCAP2 values.
10696 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10697 (_DL_HWCAP_COUNT): Increase to 37.
10698 (_DL_HWCAP_LAST): New define.
10699 (_DL_HWCAP2_LAST): New define.
10700 (_dl_procinfo): Add support for printing
10701 AT_HWCAP2 entries.
10702 (_dl_string_hwcap): Use _dl_hwcap_string.
10703
6eaa65ce
AZ
107042014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10705
10706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10707
0f5b7185
JM
107082014-06-25 Joseph Myers <joseph@codesourcery.com>
10709
cfd2ea50
JM
10710 * README: Do not mention ports directory.
10711
cecf2ed4
JM
10712 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10713 Remove macro.
10714 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10715 <kernel-features.h>.
10716 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10717 conditional variable definition.
10718 (__futimes): Update comment.
10719 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10720 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10721
a638de82
JM
10722 [BZ #16560]
10723 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10724 arguments close to 0.
10725 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10726 Likewise.
10727 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10728 Likewise.
10729 * math/auto-libm-test-in: Add more tests of exp10.
10730 * math/auto-libm-test-out: Regenerated.
10731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10732
0f5b7185
JM
10733 * sysdeps/unix/sysv/linux/kernel-features.h
10734 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10735 * sysdeps/unix/sysv/linux/readv.c: Do not include
10736 <kernel-features.h>.
10737 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10738 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10739 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10740 unconditional.
10741 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10742 conditional code.
10743 * sysdeps/unix/sysv/linux/writev.c: Do not include
10744 <kernel-features.h>.
10745 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10746 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10747 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10748 unconditional.
10749 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10750 conditional code.
10751
c7aec4be
WN
107522014-06-25 Will Newton <will.newton@linaro.org>
10753
10754 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10755 comment changes throughout the file. Remove checks
10756 for HAVE_*_H definitions that are not required.
10757 (__gen_tempname): Call abort if an unknown kind value is
10758 passed.
10759
c5241f95
AS
107602014-06-25 Andreas Schwab <schwab@suse.de>
10761
10762 [BZ #17086]
10763 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10764 scalbln, scalblnf, scalblnl in libc.
10765
911422da
SP
107662014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10767
10768 [BZ #17086]
10769 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10770 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10771 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10772
0d749bbe
RM
107732014-06-24 Roland McGrath <roland@hack.frob.com>
10774
10775 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10776 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10777 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10778 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10779 Update #include.
10780 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10781 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10782 Update #include.
10783 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10784 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10785 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10786 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10787 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10788 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10789 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10790 * sysdeps/x86/bits/semaphore.h: ... here.
10791 * sysdeps/x86/nptl/elide.h: Moved ...
10792 * sysdeps/x86/elide.h: ... here.
10793 * sysdeps/x86_64/nptl/Implies: File removed.
10794 * sysdeps/i386/nptl/Implies: File removed.
10795
0ea5d373
JM
107962014-06-24 Joseph Myers <joseph@codesourcery.com>
10797
4060283d
JM
10798 [BZ #16539]
10799 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10800 return the argument for normal arguments with exponent below -64.
10801 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10802 Likewise.
10803 * math/auto-libm-test-in: Add another test of expm1.
10804 * math/auto-libm-test-out: Regenerated.
10805
e7dd3c8c
JM
10806 [BZ #16287]
10807 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10808 calling __erfcl for arguments at least 16.
10809 * math/auto-libm-test-in: Add more tests of erf.
10810 * math/auto-libm-test-out: Regenerated.
10811
0ea5d373
JM
10812 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10813 individual architectures.
10814 * sysdeps/unix/sysv/linux/configure: Regenerated.
10815 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10816 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10817 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10818 (ldd_rewrite_script): Define variable.
10819 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10821 file.
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10823 generated file.
10824 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10825 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10826 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10827 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10828 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10829 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10830 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10831 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10832
2307e126
SP
108332014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10834
10835 [BZ #17084]
10836 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10837 Rename member __data.d to __data.__elision_data.
10838
c0a4ed77
W
108392014-06-24 Wilco <wdijkstr@arm.com>
10840
10841 * NEWS: Add 16918 to fixed bug list.
10842
b8c00573
W
108432014-06-24 Wilco <wdijkstr@arm.com>
10844
10845 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10846
b5570d92
W
108472014-06-24 Wilco <wdijkstr@arm.com>
10848
10849 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10850 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10851 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10852 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10853 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10854 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10855 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10856 Use _FPU_MASK_RM.
10857
947bdca2
W
108582014-06-24 Wilco <wdijkstr@arm.com>
10859
10860 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10861
00f669ed
W
108622014-06-24 Wilco <wdijkstr@arm.com>
10863
10864 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10865 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10866 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10867 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10868
db59bad3
W
108692014-06-24 Wilco <wdijkstr@arm.com>
10870
10871 [BZ #16918]
10872 * sysdeps/arm/feupdateenv.c (feupdateenv):
10873 Rewrite to reduce FPSCR accesses and fix return value.
10874
001f7b77
W
108752014-06-24 Wilco <wdijkstr@arm.com>
10876
10877 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10878 Optimize to avoid unnecessary FPSCR writes.
10879 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10880 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10881 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10882 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10883
4841e6a6
W
108842014-06-24 Wilco <wdijkstr@arm.com>
10885
10886 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10887 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10888 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10889 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10890 Call libc_fetestexcept_vfp.
10891 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10892 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10893 __SOFTFP__ ifdef so that they can be built for softfp.
10894
0813022c
SP
108952014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10896
08e5862f
SP
10897 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10898 argument type signed char.
10899
0813022c
SP
10900 * Makerules (check-abi): Dump diff of symlist if the test
10901 fails.
10902
3fc7236a
RM
109032014-06-23 Roland McGrath <roland@hack.frob.com>
10904
aba8ef95
RM
10905 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10906 using abort.
10907
3fc7236a
RM
10908 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10909 Remove unused variable ST.
10910
4da6db51
JM
109112014-06-23 Joseph Myers <joseph@codesourcery.com>
10912
4648909d
JM
10913 [BZ #16354]
10914 [BZ #17061]
10915 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10916 small arguments before calling __expm1.
10917 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10918 small arguments before calling __expm1f.
10919 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10920 small arguments before calling __expm1l.
10921 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10922 Likewise.
10923 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10924 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10925 spurious underflow for some cosh tests.
10926 * math/auto-libm-test-out: Regenerated.
10927 * sysdeps/i386/fpu/libm-test-ulps: Update.
10928
46a3d3c7
JM
10929 [BZ #17050]
10930 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10931 (__ieee754_y1): Set errno if return value overflows.
10932 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10933 (__ieee754_y1f): Set errno if return value overflows.
10934 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10935 (__ieee754_y1l): Set errno if return value overflows.
10936 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10937 (__ieee754_y1l): Set errno if return value overflows.
10938 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10939 * math/auto-libm-test-out: Regenerated.
10940
863893ec
JM
10941 * math/gen-auto-libm-tests.c: Document use of
10942 ignore-zero-inf-sign.
10943 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10944 (input_flags): Add ignore-zero-inf-sign.
10945 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10946 * math/gen-libm-test.pl (generate_testfile): Handle
10947 ignore-zero-inf-sign.
10948 * math/auto-libm-test-in: Mark some cpow tests with
10949 ignore-zero-inf-sign and some with xfail-rounding.
10950 * math/auto-libm-test-out: Regenerated.
10951 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10952 * sysdeps/i386/fpu/libm-test-ulps: Update.
10953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10954
4da6db51
JM
10955 [BZ #16315]
10956 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10957 overflowing or underflowing operations take place with sign of
10958 result.
10959 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10960 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10961 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10962 (__ieee754_pow): Recompute overflowing and underflowing results in
10963 original rounding mode.
10964 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10965 (__powl_helper): Allow negative argument X and scale negated value
10966 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10967 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10968 overflowing or underflowing operations take place with sign of
10969 result.
10970 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10971 Include <math.h>.
10972 * math/auto-libm-test-in: Add more tests of pow.
10973 * math/auto-libm-test-out: Regenerated.
10974 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10975 (pow_tonearest_test_data): Remove.
10976 (pow_test_tonearest): Likewise.
10977 (pow_towardzero_test_data): Likewise.
10978 (pow_test_towardzero): Likewise.
10979 (pow_downward_test_data): Likewise.
10980 (pow_test_downward): Likewise.
10981 (pow_upward_test_data): Likewise.
10982 (pow_test_upward): Likewise.
10983 (main): Don't call removed functions.
10984 * sysdeps/i386/fpu/libm-test-ulps: Update.
10985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10986
5686b236
RM
109872014-06-23 Roland McGrath <roland@hack.frob.com>
10988
10989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10990 Moved ...
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10993 Moved ...
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10996 Moved ...
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10999 Moved ...
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11002 File removed.
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11004 File removed.
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11006 File removed.
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11008 File removed.
11009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11010 File removed.
11011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11012 File removed.
11013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11014 File removed.
11015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11016 File removed.
11017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11018 File removed.
11019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11020 File removed.
11021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11022 File removed.
11023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11024 File removed.
11025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11026 Moved ...
11027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11029 Moved ...
11030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11031 ... here.
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11033 Moved ...
11034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11036 Moved ...
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11039 Moved ...
11040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11042 Moved ...
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11045 Moved ...
11046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11048 Moved ...
11049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11051 Moved ...
11052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11055 ... here.
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11057 Moved ...
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11060 Moved ...
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11062 ... here.
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11064 Moved ...
11065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11066 ... here.
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11068 Moved ...
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11070 ... here.
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11072 Moved ...
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11075 Moved ...
11076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11080 Moved ...
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11082 ... here.
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11084 Moved ...
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11086 ... here.
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11088 Moved ...
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11091 Moved ...
11092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11094 Moved ...
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11097 Moved ...
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11100 Moved ...
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11102 ... here.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11104 Moved ...
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11107 Moved ...
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11110 Moved ...
11111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11113 Moved ...
11114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11118 Moved ...
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11121 Moved ...
11122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11124 Moved ...
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11126 ... here.
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11128 Moved ...
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11130 ... here.
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11132 Moved ...
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11134 ... here.
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11136 Moved ...
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11139 Moved ...
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11142 Moved ...
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11145 Moved ...
11146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11147 ... here.
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11149 Moved ...
11150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11151 ... here.
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11153 Moved ...
11154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11155 ... here.
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11157 Moved ...
11158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11160 Moved ...
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11162
e6d90d67
WD
111632014-06-23 Will Newton <will.newton@linaro.org>
11164 Wilco <wdijkstr@arm.com>
11165
11166 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11167 implementation. Include get-rounding-mode.h.
11168 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11169 [!libc_feholdsetround_noex_ctx]: Define
11170 libc_feholdsetround_noex_ctx.
11171 [!libc_feholdsetround_noexf_ctx]: Define
11172 libc_feholdsetround_noexf_ctx.
11173 [!libc_feholdsetround_noexl_ctx]: Define
11174 libc_feholdsetround_noexl_ctx.
11175 (libc_feholdsetround_ctx): New function.
11176 (libc_feresetround_ctx): New function.
11177 (libc_feholdsetround_noex_ctx): New function.
11178 (libc_feresetround_noex_ctx): New function.
11179
d42df555
RM
111802014-06-23 Roland McGrath <roland@hack.frob.com>
11181
88a46474
RM
11182 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11183 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11184 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11185 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11186 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11187 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11188
15bed472
RM
11189 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11190 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11191 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11192 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11193 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11194 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11195 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11196 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11197 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11198 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11199 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11200 Moved ...
11201 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11202 ... here.
11203 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11204 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11205 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11206 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11207 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11208 Moved ...
11209 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11210 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11211 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11212 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11213 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11214 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11215 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11216 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11217 Moved ...
11218 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11219 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11220 Moved ...
11221 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11222 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11223 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11224 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11225 Moved ...
11226 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11227 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11228 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11229 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11230 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11231 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11232 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11233 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11234 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11235 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11236 Moved ...
11237 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11238 ... here.
11239 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11240 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11241 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11242 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11243 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11244 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11245 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11246 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11247 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11248 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11249 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11250 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11251 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11252 Moved ...
11253 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11254 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11255 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11256 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11257 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11258 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11259 Moved ...
11260 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11261 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11262 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11263 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11264 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11265
d42df555
RM
11266 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11267 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11268 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11269 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11270 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11271 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11272 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11273 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11275 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11276 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11277 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11278 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11279 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11280 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11281 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11282 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11283 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11284 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11285 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11286 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11287 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11288 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11289 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11290 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11291 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11292 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11293 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11294
76e5216e
JM
112952014-06-23 Joseph Myers <joseph@codesourcery.com>
11296
11297 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11298 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11299 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11300 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11301 (IPV6_PMTUDISC_INTERFACE): Likewise.
11302 (IPV6_PMTUDISC_OMIT): Likewise.
11303
7a81cbcc
AS
113042014-06-23 Andreas Schwab <schwab@suse.de>
11305
11306 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11307 Remove unused errout label.
11308
db224009
AZ
113092014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11310
11311 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11312 macro: hardware supports Vector Crypto instructions.
11313
f393b4aa
WN
113142014-06-23 Will Newton <will.newton@linaro.org>
11315
cc7d0447
WN
11316 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11317 rather than __builtin_expect.
11318
d6d06225
WN
11319 * elf/dl-lookup.c (undefined_msg): Remove variable.
11320 (_dl_lookup_symbol_x): Replace undefined_msg with string
11321 literal.
11322
f393b4aa
WN
11323 * elf/dl-lookup.c (do_lookup_unique): New function.
11324 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11325 to a separate function.
11326
ac60763e
AS
113272014-06-23 Andreas Schwab <schwab@suse.de>
11328
11329 [BZ #17079]
11330 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11331 before reading the next line.
11332
c5c13355
WN
113332014-06-23 Will Newton <will.newton@linaro.org>
11334
11335 * test-skeleton.c (signal_handler): Use printf and %m
11336 rather than perror. Use printf rather than fprintf to
11337 stderr. Use puts rather than fputs to stderr.
11338 (main): Likewise.
11339
bd3675f9
LC
113402014-06-22 Ludovic Courtès <ludo@gnu.org>
11341
11342 * nscd/nscd.c (thread_info_t): Remove typedef.
11343 (thread_info): Remove variable.
11344
d03efb2f
AM
113452014-06-21 Allan McRae <allan@archlinux.org>
11346
11347 * NEWS: Mention CVE-2014-4043.
11348
bc4a86fa
RM
113492014-06-20 Roland McGrath <roland@hack.frob.com>
11350
dc9a54f8
RM
11351 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11352 * nptl/smp.h: ... here.
11353
bd7022c4
RM
11354 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11355
26ffd5e6
RM
11356 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11357 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11358 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11359 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11360
93a6d082
RM
11361 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11362 * nptl/stack-aliasing.h: New file.
11363 * sysdeps/i386/i686/stack-aliasing.h: New file.
11364 * sysdeps/i386/i686/nptl/Makefile: File removed.
11365 * sysdeps/x86_64/stack-aliasing.h: New file.
11366 * sysdeps/x86_64/nptl/Makefile
11367 (CFLAGS-pthread_create.c): Variable removed.
11368
bc4a86fa
RM
11369 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11370 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11371 old file.
11372 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11373 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11374 old file.
11375
2272ffc1
JM
113762014-06-21 Joseph Myers <joseph@codesourcery.com>
11377
11378 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11379 (__ASSUME_SIGFRAME_V2): Remove macro.
11380 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11381 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11382 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11383 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11384 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11385 Declare as function. Remove conditional macro definitions.
11386 (__default_rt_sa_restorer): Likewise.
11387 (__default_sa_restorer_v1): Remove declaration.
11388 (__default_sa_restorer_v2): Likewise.
11389 (__default_rt_sa_restorer_v1): Likewise.
11390 (__default_rt_sa_restorer_v2): Likewise.
11391 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11392 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11393 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11394
4b88139b
RM
113952014-06-20 Roland McGrath <roland@hack.frob.com>
11396
11397 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11398 (libpthread-routines): Add sysdep.
11399 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11400 * sysdeps/unix/sysv/linux/sparc/Versions
11401 (libpthread: GLIBC_2.3.3): New version set.
11402 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11403 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11404 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11405 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11406 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11407 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11408 Moved ...
11409 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11410 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11411 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11412 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11413 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11414 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11415 * sysdeps/sparc/nptl/sem_init.c: ... here.
11416 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11417 * sysdeps/sparc/nptl/sem_post.c: ... here.
11418 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11419 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11420 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11421 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11422 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11423 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11424 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11425 (libpthread-routines): Add cpu_relax.
11426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11427 File removed.
11428 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11429 (librt: GLIBC_2.3.3): New version set.
11430 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11431 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11432 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11433 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11434 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11436 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11437 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11438 Moved ...
11439 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11441 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11442 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11443 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11445 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11447 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11448 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11449 Moved ...
11450 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11451 Update #include.
11452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11453 Moved ...
11454 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11455 Update #include.
11456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11457 Moved ...
11458 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11459 Update #include.
11460 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11461 Moved ...
11462 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11463 Update #include.
11464 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11465 Moved ...
11466 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11467 Update #include.
11468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11469 Moved ...
11470 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11471 Update #include.
11472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11473 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11475 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11477 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11479 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11481 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11483 Moved ...
11484 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11486 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11487 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11488 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11489
d7109027
JM
114902014-06-20 Joseph Myers <joseph@codesourcery.com>
11491
9bc6103d
JM
11492 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11493 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11494 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11495 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11496 * nscd/nscd.c: Likewise.
11497 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11498 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11499 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11500 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11501
d7109027
JM
11502 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11503 <kernel-features.h>.
11504 (init_mq_netlink): Remove conditional have_sock_cloexec
11505 definitions. Remove code conditional on have_sock_cloexec < 0.
11506 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11507 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11508 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11509 <kernel-features.h>.
11510 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11511 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11512
d92d8f8a
L
115132014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11514
11515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11516 Add tests for memset_chk and memset.
11517
11518 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11519 with AVX2_Usable.
11520
4e6d2347
MR
115212014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11522
257ce712
MR
11523 [BZ #16046]
11524 * elf/tst-dl-iter-static.c: New file.
11525 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11526
4e6d2347
MR
11527 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11528 error.
11529
a2a76afe
JM
115302014-06-20 Joseph Myers <joseph@codesourcery.com>
11531
7fd00f99
JM
11532 * sysdeps/unix/sysv/linux/kernel-features.h
11533 (__ASSUME_F_GETOWN_EX): Remove macro.
11534 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11535 <kernel-features.h>.
11536 (miss_F_GETOWN_EX): Remove variable or macro.
11537 (do_fcntl): Do not check miss_F_GETOWN_EX.
11538 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11539
4a103975
JM
11540 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11541 Remove macro.
11542 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11543 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11544 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11545
a2a76afe
JM
11546 * sysdeps/unix/sysv/linux/kernel-features.h
11547 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11548 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11549 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11550 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11551
90e5dd48
MR
115522014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11553
11554 [BZ #17075]
11555 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11556 Fix calculation of the symbol's value.
11557 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11558 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11559 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11560 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11561 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11562 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11563 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11564 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11565 (modules-names): Add `tst-armtlsdescmod',
11566 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11567 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11568 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11569 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11570 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11571 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11572 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11573 ($(objpfx)tst-armtlsdescloc): New dependency.
11574 ($(objpfx)tst-armtlsdescextnow): Likewise.
11575 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11576 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11577 TLS scheme support.
11578 * sysdeps/arm/configure: Regenerate.
11579
809fdf0d
JM
115802014-06-20 Joseph Myers <joseph@codesourcery.com>
11581
11582 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11583 (__atfct_seterrno_2): Likewise.
11584 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11585 <kernel-features.h>.
11586 (__ASSUME_ATFCTS): Do not undefine and redefine.
11587 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11588 (__have_atfcts): Remove conditional definition.
11589 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11590 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11591 unreachable if [__ASSUME_ATFCTS].
11592 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11593 not undefine and redefine.
11594 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11595 <kernel-features.h>.
11596 (faccessat) [__NR_faccessat]: Make code unconditional.
11597 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11598 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11599 <kernel-features.h>.
11600 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11601 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11602 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11603 <kernel-features.h>.
11604 (fchownat) [__NR_fchownat]: Make code unconditional.
11605 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11606 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11607 <kernel-features.h>.
11608 (futimesat) [__NR_futimesat]: Make code unconditional.
11609 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11610 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11611 <kernel-features.h>.
11612 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11613 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11614 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11615 <kernel-features.h>.
11616 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11617 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11618 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11619 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11620 <kernel-features.h>.
11621 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11622 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11623 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11624 <kernel-features.h>.
11625 (linkat) [__NR_linkat]: Make code unconditional.
11626 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11627 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11628 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11629 <kernel-features.h>.
11630 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11631 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11632 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11633 <kernel-features.h>.
11634 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11635 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11636 * sysdeps/unix/sysv/linux/openat.c: Do not include
11637 <kernel-features.h>.
11638 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11639 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11640 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11641 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11642 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11643 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11644 <kernel-features.h>.
11645 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11646 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11647 result of INLINE_SYSCALL directly, not via int variable.
11648 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11649 <kernel-features.h>.
11650 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11651 (renameat) [__NR_renameat]: Make code unconditional.
11652 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11653 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11654 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11655 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11656 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11657 (__ASSUME_ATFCTS): Do not undefine and redefine.
11658 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11659 <kernel-features.h>.
11660 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11661 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11662 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11663 <kernel-features.h>.
11664 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11665 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11666 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11667 (__ASSUME_ATFCTS): Do not undefine and redefine.
11668 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11669 <kernel-features.h>.
11670 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11671 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11672 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11673 <kernel-features.h>.
11674 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11675 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11676
224c6c51
L
116772014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11678
11679 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11680
aa6ec754
AS
116812014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11682
11683 [BZ #17069]
11684 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11685 constructed tree before returning error.
11686 * posix/bug-regexp36.c: Expand test case.
11687
d8c2869d
SL
116882014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11689
3ef6b850
SL
11690 [BZ #6803]
11691 * math/libm-test.inc (scalbln_test_date):
11692 Add errno expectations.
11693 * math/w_scalblnf.c: New File.
11694 Add wrapper which checks for setting errno to ERANGE.
11695 Add weak_alias for corresponding scalbln function.
11696 * math/w_scalbln.c: Likewise.
11697 * math/w_scalblnl.c: Likewise.
11698 * math/Makefile (libm-calls): Add w_scalbln.
11699 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11700 Remove weak_alias for corresponding scalbln function.
11701 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11703 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11704 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11705 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11706 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11707 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11708 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11709 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11710 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11711 Remove long_double_symbol for scalblnl function in libm, libc.
11712 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11713 Add wrapper which checks for setting errno to ERANGE.
11714 Add long_double_symbol for scalblnl function in libm, libc.
11715 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11716 Remove long_double_symbol for scalblnl in libm.
11717 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11718 Add wrapper which checks for setting errno to ERANGE.
11719 Add long_double_symbol for scalblnl function in libm.
11720 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11721 Do not use wrapper because of own implementation.
11722
c8daec5c
L
117232014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11724
11725 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11726 3 bytes for __pad1 for x32.
11727 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11728
5c74e47c
LM
117292014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11730 H.J. Lu <hongjiu.lu@intel.com>
11731
11732 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11733 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11734 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11735 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11736 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11737
4d43ef1e
AS
117382014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11739
11740 [BZ #17069]
11741 * posix/regcomp.c (parse_expression): Deallocate partially
11742 constructed tree before returning error.
11743 * posix/Makefile.c (tests): Add bug-regex36.
11744 (generated): Add bug-regex36.mtrace.
11745 (tests-special): Add $(objpfx)bug-regex36-mem.out
11746 (bug-regex36-ENV): New variable.
11747 ($(objpfx)bug-regex36-mem.out): New rule.
11748 * posix/bug-regex36.c: New file.
11749
51a7380b
WN
117502014-06-19 Will Newton <will.newton@linaro.org>
11751
11752 * malloc/malloc.c (systrim): If extra is zero then return
11753 early.
11754
91b84fe5
SP
117552014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11756
11757 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11758
f940b965
RE
117592014-06-19 Richard Earnshaw <rearnsha@arm.com>
11760
11761 * sysdeps/aarch64/strchr.S: New file.
11762
4ba7a00f
JM
117632014-06-18 Joseph Myers <joseph@codesourcery.com>
11764
11765 [BZ #17022]
11766 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11767 from arguments -2 or below.
11768 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11769 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11770
b3a9f56b
AS
117712014-06-18 Andreas Schwab <schwab@suse.de>
11772
11773 [BZ #17062]
11774 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11775 of a bracket expr not to run off the end of the string.
11776 * posix/Makefile (tests): Add tst-fnmatch3.
11777 * posix/tst-fnmatch3.c: New file.
11778
85d89278
JM
117792014-06-18 Joseph Myers <joseph@codesourcery.com>
11780
11781 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11782 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11783 [$(cross-compiling) = no]: Likewise.
11784 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11785 [$(cross-compiling) = no]: Likewise.
11786
754c5a08
RS
117872014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11788
11789 [BZ #17031]
11790 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11791 double, adjusted for any remainder from the high double.
11792 * math/libm-test.inc (nearbyint): Add tests.
11793 (rint): Likewise.
11794
556f529d
AZ
117952014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11796
11797 * nptl/sysdeps/powerpc/Makefile: Moved ...
11798 * sysdeps/powerpc/nptl/Makefile: ... here.
11799 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11800 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11801 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11802 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11803 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11804 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11805 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11806 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11807 * nptl/sysdeps/powerpc/tls.h: Moved ...
11808 * sysdeps/powerpc/nptl/tls.h: ... here.
11809
91c03c53
JM
118102014-06-16 Joseph Myers <joseph@codesourcery.com>
11811
11812 [BZ #16681]
11813 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11814 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11815 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11816 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11817 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11818 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11819 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11820 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11821 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11822
a76e63c5
AS
118232014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11824
11825 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11826
f2f6d82f
AS
118272014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11828
ea8a15f6
AS
11829 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11830 defined operator.
11831
f2f6d82f
AS
11832 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11833 $TIMEOUTFACTOR.
11834
a7291117
FW
118352014-06-16 Florian Weimer <fweimer@redhat.com>
11836
11837 [BZ #17058]
11838 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11839 non-executed part of the test.
11840
3d7c00e3
AS
118412014-06-16 Andreas Schwab <schwab@suse.de>
11842
11843 * string/bits/string2.h (strdup, strndup): Update feature guard.
11844
6957fb31
DM
118452014-06-14 David S. Miller <davem@davemloft.net>
11846
11847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11848
11b9e55b
AS
118492014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11850
1d2a0492
AS
11851 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11852 that was previously under [RESET_PID].
11853 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11854
11b9e55b
AS
11855 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11856 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11857 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11858 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11859 (__libc_vfork): New strong alias.
11860 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11861
0f6901d0
AK
118622014-06-14 Andi Kleen <ak@linux.intel.com>
11863
11864 * sysdeps/generic/elide.h: New file.
11865
38bbbb9f
SL
118662014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11867
11868 * Makefile (installed-headers): Adjust path of pthread.h header.
11869
45193bb8
RM
118702014-06-13 Roland McGrath <roland@hack.frob.com>
11871
9a25fd1e
RM
11872 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11873 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11874 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11875 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11876
4004f7e4
RM
11877 * nptl/sysdeps/s390/Makefile: Moved ...
11878 * sysdeps/s390/nptl/Makefile: ... here.
11879 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11880 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11881 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11882 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11883 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11884 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11885 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11886 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11887 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11888 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11889 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11890 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11891 * nptl/sysdeps/s390/tls.h: Moved ...
11892 * sysdeps/s390/nptl/tls.h: ... here.
11893
45193bb8
RM
11894 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11895 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11896
f6fdf533
DM
118972014-06-13 David S. Miller <davem@davemloft.net>
11898
11899 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11901 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11902 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11906 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11907 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11908 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11909 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11910 Remove RESET_PID cpp guards.
11911 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11912 Remove RESET_PID cpp guards.
11913 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11914
f5d71e14
AS
119152014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11916
11917 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11918 __sp to uintptr_t.
11919
b7aa8caa
AK
119202014-06-13 Andi Kleen <ak@linux.intel.com>
11921
4b266200
AZ
11922 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11923 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11924 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11925 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11926 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11927 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11928 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11929 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11930 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11931 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11932 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11933 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11934 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11935 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11936 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11937 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11938 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11939 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11940 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11941 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11942
11943 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11944 (pthread_rwlock_rdlock): Add elision.
11945 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11946 (pthread_rwlock_wrlock): Add elision.
11947 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11948 (pthread_rwlock_trywrlock): Add elision.
11949 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11950 (pthread_rwlock_tryrdlock): Add elision.
11951 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11952 (pthread_rwlock_tryrdlock): Add elision unlock.
11953 * nptl/sysdeps/pthread/pthread.h:
11954 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11955 (PTHREAD_RWLOCK_INITIALIZER,
11956 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11957 Handle new elision field.
11958 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11959 * sysdeps/arm/nptl/bits/pthreadtypes.h
11960 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11961 * sysdeps/sh/nptl/bits/pthreadtypes.h
11962 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11963 * sysdeps/tile/nptl/bits/pthreadtypes.h
11964 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11965 * sysdeps/a/nptl/bits/pthreadtypes.h
11966 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11967 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11968 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11969 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11970 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11971 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11972 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11973 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11974 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11975 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11976 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11977 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11978 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11979 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11980 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11981 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11982 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11983 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11984 (elision_init): Set try_xbegin to zero when no RTM.
11985 * sysdeps/x86/nptl/bits/pthreadtypes.h
11986 (pthread_rwlock_t): Change __pad1 to __rwelision.
11987 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11988
a832bdd3
AK
119892014-06-13 Andi Kleen <ak@linux.intel.com>
11990
11991 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11992 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11993 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11994 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11995
995a46bb
MI
119962014-06-13 Meador Inge <meadori@codesourcery.com>
11997
11998 [BZ #16996]
03ed7738 11999 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
12000 that the cached result has been set before returning it.
12001
45262aee
RM
120022014-06-12 Roland McGrath <roland@hack.frob.com>
12003
febf6cc5
RM
12004 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12005 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12006 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12007 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12008 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12009 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12010
e2682246
RM
12011 * nptl/sysdeps/sparc/Makefile: Moved ...
12012 * sysdeps/sparc/nptl/Makefile: ... here.
12013 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12014 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12015 * nptl/sysdeps/sparc/tls.h: Moved ...
12016 * sysdeps/sparc/nptl/tls.h: ... here.
12017 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12018 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12019 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12020 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12021 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12022 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12023 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12024 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12025 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12026 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12027 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12028 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12029 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12030 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12031 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12032 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12033 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12034 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12035 Update #include.
12036 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12037 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12038 Update #include.
12039 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12040 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12041 Update #include.
12042 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12044 Update #include.
12045
b0725f43
RM
12046 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12047
b14368b8
RM
12048 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12049 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12050
c5620eb3
RM
12051 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12052 (struct list_links): Type removed.
12053 (struct thread_node, struct timer_node): Replace struct list_links
12054 with struct list_head.
12055 (list_unlink_ip): Likewise.
12056 * sysdeps/pthread/timer_routines.c
12057 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12058 (list_append, list_insbefore): Likewise.
12059 (list_init): Function removed.
12060 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
12061 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12062 * sysdeps/pthread/Makefile: ... here, new file.
12063
12064 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12065 * sysdeps/nptl/Implies: ... here.
12066 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12067 * nptl/sysdeps/pthread/list.h: Moved ...
12068 * include/list.h: ... here.
12069 * nptl/sysdeps/pthread/createthread.c: Moved ...
12070 * nptl/createthread.c: ... here.
12071 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12072 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12073 * nptl/pt-longjmp.c: ... here.
12074 * nptl/sysdeps/pthread/Makefile: Moved ...
12075 * sysdeps/nptl/Makefile: ... here.
12076 * nptl/sysdeps/pthread/Subdirs: Moved ...
12077 * sysdeps/nptl/Subdirs: ... here.
12078 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12079 * sysdeps/nptl/aio_misc.h: ... here.
12080 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12081 * sysdeps/nptl/bits/libc-lock.h: ... here.
12082 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12083 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12084 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12085 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12086 * nptl/sysdeps/pthread/configure: Moved ...
12087 * sysdeps/nptl/configure: ... here.
12088 * nptl/sysdeps/pthread/configure.ac: Moved ...
12089 * sysdeps/nptl/configure.ac: ... here.
12090 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12091 * sysdeps/nptl/gai_misc.h: ... here.
12092 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12093 * sysdeps/nptl/librt-cancellation.c: ... here.
12094 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12095 * sysdeps/nptl/malloc-machine.h: ... here.
12096 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12097 * sysdeps/nptl/pthread-functions.h: ... here.
12098 * nptl/sysdeps/pthread/pthread.h: Moved ...
12099 * sysdeps/nptl/pthread.h: ... here.
12100 * nptl/sysdeps/pthread/setxid.h: Moved ...
12101 * sysdeps/nptl/setxid.h: ... here.
12102 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12103 * sysdeps/nptl/sigfillset.c: ... here.
12104 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12105 * sysdeps/nptl/tcb-offsets.h: ... here.
12106 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12107 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12108 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12109 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12110 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12111 * sysdeps/pthread/allocalim.h: ... here.
12112 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12113 * sysdeps/pthread/bits/sigthread.h: ... here.
12114 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12115 * sysdeps/pthread/flockfile.c: ... here.
12116 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12117 * sysdeps/pthread/ftrylockfile.c: ... here.
12118 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12119 * sysdeps/pthread/funlockfile.c: ... here.
12120 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12121 * sysdeps/pthread/posix-timer.h: ... here.
12122 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12123 * sysdeps/pthread/timer_create.c: ... here.
12124 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12125 * sysdeps/pthread/timer_delete.c: ... here.
12126 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12127 * sysdeps/pthread/timer_getoverr.c: ... here.
12128 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12129 * sysdeps/pthread/timer_gettime.c: ... here.
12130 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12131 * sysdeps/pthread/timer_routines.c: ... here.
12132 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12133 * sysdeps/pthread/timer_settime.c: ... here.
12134 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12135 * sysdeps/pthread/tst-timer.c: ... here.
12136 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12137 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12138
e876b090
RM
12139 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12140 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12141
f6b07b3d
RM
12142 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12143 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12144 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12145 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12146 Update #include target.
12147 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12148 * sysdeps/i386/i686/nptl/Makefile: ... here.
12149 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12150 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12151 Update #include target.
12152 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12153 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12154 * nptl/sysdeps/i386/Makefile: Moved ...
12155 * sysdeps/i386/nptl/Makefile: ... here.
12156 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12157 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12158 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12159 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12160 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12161 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12162 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12163 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12164 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12165 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12166 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12167 * nptl/sysdeps/i386/tls.h: Moved ...
12168 * sysdeps/i386/nptl/tls.h: ... here.
12169
45262aee
RM
12170 * sysdeps/sh/Makefile [$(subdir) = csu]
12171 (gen-as-const-headers): Add tcb-offsets.sym.
12172 * nptl/sysdeps/sh/Makefile: File removed.
12173 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12174 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12175 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12176 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12177 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12178 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12179 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12180 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12181 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12182 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12183 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12184 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12185 * nptl/sysdeps/sh/tls.h: Moved ...
12186 * sysdeps/sh/nptl/tls.h: ... here.
12187 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12188 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12189 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12190 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12191 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12192 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12193 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12194 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12195 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12196 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12197 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12198 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12199 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12200 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12201 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12202 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12203 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12204 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12205 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12206 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12207 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12208 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12209 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12210 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12211 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12212 Moved ...
12213 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12214 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12215 Moved ...
12216 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12217 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12218 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12219 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12220 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12221 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12222 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12223 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12224 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12225 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12226 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12227 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12228 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12229 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12230 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12231 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12232 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12233 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12234 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12235
35a5e3e3
SL
122362014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12237
12238 * posix/spawn_faction_addopen.c: Include string.h.
12239
14642b85
RM
122402014-06-11 Roland McGrath <roland@hack.frob.com>
12241
12242 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12243 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12244 * nptl/sysdeps/x86_64/Makefile: Moved ...
12245 * sysdeps/x86_64/nptl/Makefile: ... here.
12246 * nptl/sysdeps/x86_64/configure: Moved ...
12247 * sysdeps/x86_64/nptl/configure: ... here.
12248 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12249 * sysdeps/x86_64/nptl/configure.ac: ... here.
12250 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12251 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12252 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12253 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12254 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12255 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12256 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12257 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12258 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12259 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12260 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12261 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12262 * nptl/sysdeps/x86_64/tls.h: Moved ...
12263 * sysdeps/x86_64/nptl/tls.h: ... here.
12264 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12265 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12266 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12267 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12268
12269 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12270
31c44fea
AZ
122712014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12272
12273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12274
e81a4f9a
JM
122752014-06-11 Joseph Myers <joseph@codesourcery.com>
12276
12277 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12278 type.
12279 [POSIX] (off_t): Likewise.
12280 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12281 [POSIX] (S_ISBLK): Require macro.
12282 [POSIX] (S_ISCHR): Likewise.
12283 [POSIX] (S_ISDIR): Likewise.
12284 [POSIX] (S_ISFIFO): Likewise.
12285 [POSIX] (S_ISREG): Likewise.
12286 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12287 optional-macro.
12288 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12289 type.
12290 [POSIX] (time_t): Likewise.
12291 [POSIX] (timer_t): Likewise.
12292
89e435f3
FW
122932014-06-11 Florian Weimer <fweimer@redhat.com>
12294
12295 [BZ #17048]
12296 * posix/spawn_int.h (struct __spawn_action): Make the path string
12297 non-const to support deallocation.
12298 * posix/spawn_faction_addopen.c
12299 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12300 * posix/spawn_faction_destroy.c
12301 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12302 path in all spawn_do_open actions.
12303 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12304 posix_spawn_file_actions_addopen.
12305
c3a2ebe1
CM
123062014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12307
12308 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12309 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12310 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12311 conditional code always true.
12312 (__libc_vfork): New alias.
12313
9503784a
RM
123142014-06-11 Roland McGrath <roland@hack.frob.com>
12315
c9cab3d2
RM
12316 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12317 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12318
d3996c79
RM
12319 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12320
ba5ec611
RM
12321 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12322 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12323
f12b4814
RM
12324 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12325 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12326
9503784a
RM
12327 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12328 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12329
e23d3d26
VR
123302014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12331
12332 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12333 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12334 multiarch strcmp for PPC64.
12335 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12336 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12338 multiarch optimizations.
12339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12340 (__libc_ifunc_impl_list): Likewise.
12341
42b1161e
SP
123422014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12343
12344 * benchtests/scripts/validate_benchout.py: New script.
12345 * benchtests/Makefile (bench-func): Call it.
12346 * benchtests/scripts/benchout.schema.json: New file.
12347
2d0fc4dc
CM
123482014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12349
4a594c34
AZ
12350 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12351 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12352 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12353 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12354 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12355 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12356 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12357 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12358 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12359 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12360 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12361 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12362 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12363 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12364 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12365 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12367 Moved ...
4a594c34 12368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12369 ... here.
4a594c34 12370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12371 Moved ...
4a594c34
AZ
12372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12374 Moved ...
4a594c34 12375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12376 ... here.
4a594c34 12377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12378 Moved ...
4a594c34 12379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12380 ... here.
4a594c34 12381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12382 Moved ...
4a594c34
AZ
12383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12385 Moved ...
4a594c34 12386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12387 ... here.
4a594c34 12388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12389 Moved ...
4a594c34 12390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12391 ... here.
4a594c34 12392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12393 Moved ...
4a594c34
AZ
12394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12396 Moved ...
4a594c34 12397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12398 ... here.
4a594c34 12399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12400 Moved ...
4a594c34 12401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12402 ... here.
4a594c34 12403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12404 Moved ...
4a594c34 12405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12406 ... here.
4a594c34 12407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12408 Moved ...
4a594c34
AZ
12409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12411 Moved ...
4a594c34 12412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12413 ... here.
4a594c34 12414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12415 Moved ...
4a594c34 12416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12417 ... here.
4a594c34 12418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12419 Moved ...
4a594c34 12420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12421 ... here.
4a594c34 12422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12423 Moved ...
4a594c34
AZ
12424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12426 Moved ...
4a594c34 12427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12428 ... here.
4a594c34 12429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12430 Moved ...
4a594c34 12431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12432 ... here.
4a594c34 12433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12434 Moved ...
4a594c34
AZ
12435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12437 Moved ...
4a594c34 12438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12439 ... here.
4a594c34 12440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12441 Moved ...
4a594c34
AZ
12442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12444 Moved ...
4a594c34
AZ
12445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12447 Moved ...
4a594c34 12448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12449 ... here.
4a594c34 12450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12451 Moved ...
4a594c34 12452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12453 ... here.
4a594c34 12454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12455 Moved ...
4a594c34 12456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12457 ... here.
4a594c34 12458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12459 Moved ...
4a594c34
AZ
12460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12462 Moved ...
4a594c34 12463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12464 ... here.
4a594c34 12465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12466 Moved ...
4a594c34 12467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12468 ... here.
4a594c34
AZ
12469 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12470 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12471 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12472 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12473 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12474 Moved ...
4a594c34 12475 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12476 ... here.
4a594c34
AZ
12477 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12478 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12479 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12480 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12481 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12482 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12483 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12484 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12485 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12486 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12487 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12488 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12489 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12490 Moved ...
4a594c34
AZ
12491 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12492 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12493 Moved ...
4a594c34
AZ
12494 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12495 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12496 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12497 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12498 Moved ...
4a594c34
AZ
12499 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12500 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12501 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12502 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12503 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12504 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12505 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12506
0570cfed
W
125072014-06-10 Wilco <wdijkstr@arm.com>
12508
12509 * math/test-fenv-return.c: New file.
12510 * math/Makefile: Add new test test-fenv-return.
12511
f8ba1b56
JM
125122014-06-10 Joseph Myers <joseph@codesourcery.com>
12513
12514 [BZ #17042]
12515 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12516 when x - 1 is zero.
12517 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12518 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12519 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12520 0.0L for an argument of 1.0L.
12521 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12522 Likewise.
12523 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12524 value when x - 1 is zero.
12525 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12526 * sysdeps/i386/fpu/libm-test-ulps: Update.
12527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12528
2c3520d9
BO
125292014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12530
12531 [BZ #15119]
12532 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12533
acaa4d24
RM
125342014-06-09 Roland McGrath <roland@hack.frob.com>
12535
12536 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12537 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12538
962b744d
RM
125392014-06-09 Roland McGrath <roland@hack.frob.com>
12540
d752f0cc
RM
12541 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12542 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12543
34eda6d1
RM
12544 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12545 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12546
50f0a637
RM
12547 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12548 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12549
08f41f04
RM
12550 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12551 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12552
962b744d
RM
12553 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12554 if not already defined.
12555 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12556 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12557 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12558 (TLS_INIT_TP): Use it.
12559 (TLS_DEFINE_INIT_TP): New macro.
12560 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12561
09f19b05
JM
125622014-06-09 Joseph Myers <joseph@codesourcery.com>
12563
12564 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12565 constant.
12566 [POSIX] (IXANY): Likewise.
12567 [POSIX] (OLCUC): Likewise.
12568 [POSIX || POSIX2008] (CBAUD): Do not allow.
12569 [POSIX || POSIX2008] (DEFECHO): Likewise.
12570 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12571 [POSIX || POSIX2008] (ECHOKE): Likewise.
12572 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12573 [POSIX || POSIX2008] (EXTA): Likewise.
12574 [POSIX || POSIX2008] (EXTB): Likewise.
12575 [POSIX || POSIX2008] (FLUSHO): Likewise.
12576 [POSIX || POSIX2008] (LOBLK): Likewise.
12577 [POSIX || POSIX2008] (PENDIN): Likewise.
12578 [POSIX || POSIX2008] (SWTCH): Likewise.
12579 [POSIX || POSIX2008] (VDISCARD): Likewise.
12580 [POSIX || POSIX2008] (VDSUSP): Likewise.
12581 [POSIX || POSIX2008] (VLNEXT): Likewise.
12582 [POSIX || POSIX2008] (VREPRINT): Likewise.
12583 [POSIX || POSIX2008] (VSTATUS): Likewise.
12584 [POSIX || POSIX2008] (VWERASE): Likewise.
12585 (B*): Change to B[0123456789]*.
12586 * conform/data/time.h-data [POSIX || UNIX98]
12587 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12588 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12589 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12590 [POSIX] (tm_*): Do not allow.
12591
686554bf
JM
125922014-06-07 Joseph Myers <joseph@codesourcery.com>
12593
12594 * Makefile (install): Don't set LANGUAGE.
12595 * Makefile.in (install): Likewise.
12596 * assert/Makefile (test-assert-ENV): Remove variable.
12597 (test-assert-perr-ENV): Likewise.
12598 * elf/Makefile (neededtest4-ENV): Likewise.
12599 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12600 [$(cross-compiling) = no]: Don't set LANGUAGE.
12601 * io/ftwtest-sh (LANG): Remove variable.
12602 * libio/Makefile (tst-widetext-ENV): Likewise.
12603 * manual/install.texi (Running make install): Don't refer to
12604 environment settings for make install.
12605 * INSTALL: Regenerated.
12606 * nptl/tst-tls6.sh: Don't set LANG.
12607 * posix/globtest.sh (LANG): Remove variable.
12608 * string/Makefile (tester-ENV): Likewise.
12609 (inl-tester-ENV): Likewise.
12610 (noinl-tester-ENV): Likewise.
12611 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12612 [$(cross-compiling) = no]: Don't set LANGUAGE.
12613 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12614 without explicit environment settings.
12615
68e6b6b1
RM
126162014-06-06 Roland McGrath <roland@hack.frob.com>
12617
12618 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12619 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12620 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12621 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12622
4d3ae034
CM
126232014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12624
12625 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12626 other files in the crypt directory.
12627 * crypt/crypt.c: Remove duplicate includes.
12628 * crypt/crypt-entry.c: Likewise.
12629 * crypt/crypt_util.c: Likewise.
12630
8540f6d2
JM
126312014-06-06 Joseph Myers <joseph@codesourcery.com>
12632
12633 * Makeconfig (run-program-env): New variable.
12634 (run-program-prefix-before-env): Likewise.
12635 (run-program-prefix-after-env): Likewise.
12636 (run-program-prefix): Define in terms of new variables.
12637 (built-program-cmd-before-env): New variable.
12638 (built-program-cmd-after-env): Likewise.
12639 (built-program-cmd): Define in terms of new variables.
12640 (test-program-prefix-before-env): New variable.
12641 (test-program-prefix-after-env): Likewise.
12642 (test-program-prefix): Define in terms of new variables.
12643 (test-program-cmd-before-env): New variable.
12644 (test-program-cmd-after-env): Likewise.
12645 (test-program-cmd): Define in terms of new variables.
12646 * Rules (make-test-out): Use $(run-program-env).
12647 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12648 (help): Do not mention environment variables. Mention
12649 --timeoutfactor option.
12650 (timeoutfactor): New variable.
12651 (blacklist_exports): Remove function.
12652 (exports): Remove variable.
12653 (command): Do not include ${exports}.
12654 * manual/install.texi (Configuring and compiling): Do not mention
12655 test wrappers preserving environment variables. Mention that last
12656 assignment to a variable must take precedence.
12657 * INSTALL: Regenerated.
12658 * benchtests/Makefile (run-bench): Use $(run-program-env).
12659 * catgets/Makefile ($(objpfx)test1.cat): Use
12660 $(built-program-cmd-before-env), $(run-program-env) and
12661 $(built-program-cmd-after-env).
12662 ($(objpfx)test2.cat): Do not specify environment variables
12663 explicitly.
12664 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12665 $(run-program-env) and $(built-program-cmd-after-env).
12666 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12667 $(run-program-env) and $(test-program-cmd-after-env).
12668 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12669 explicitly.
12670 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12671 run_program_env and test_program_cmd_after_env arguments.
12672 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12673 * elf/tst-pathopt.sh: Use run_program_env argument.
12674 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12675 $(test-wrapper-env) and $(run-program-env).
12676 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12677 run_program_env arguments.
12678 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12679 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12680 $(test-program-prefix-before-env), $(run-program-env) and
12681 $(test-program-prefix-after-env).
12682 ($(objpfx)tst-gettext2.out): Likewise.
12683 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12684 run_program_env and test_program_prefix_after_env arguments.
12685 * intl/tst-gettext2.sh: Likewise.
12686 * intl/tst-gettext4.sh: Do not set environment variables
12687 explicitly.
12688 * intl/tst-gettext6.sh: Likewise.
12689 * intl/tst-translit.sh: Likewise.
12690 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12691 $(test-program-prefix-before-env), $(run-program-env) and
12692 $(test-program-prefix-after-env).
12693 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12694 run_program_env and test_program_prefix_after_env arguments.
12695 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12696 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12697 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12698 explicitly with each use of ${test_wrapper_env}.
12699 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12700 $(test-program-prefix-before-env), $(run-program-env) and
12701 $(test-program-prefix-after-env).
12702 * posix/tst-getconf.sh: Do not set environment variables
12703 explicitly.
12704 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12705 run_program_env and test_program_prefix_after_env arguments.
12706 * stdio-common/tst-printf.sh: Do not set environment variables
12707 explicitly.
12708 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12709 $(test-program-prefix-before-env), $(run-program-env) and
12710 $(test-program-prefix-after-env).
12711 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12712 run_program_env and test_program_prefix_after_env arguments.
12713 Split $test calls into $test_pre and $test.
12714 * timezone/Makefile (build-testdata): Use
12715 $(built-program-cmd-before-env), $(run-program-env) and
12716 $(built-program-cmd-after-env).
12717
ed36bfa1
AZ
127182014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12719
12720 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12721 strlen for non SHARED builds.
12722
fc75bf46
SP
127232014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12724
12725 * nptl/allocatestack.c (check_list): Inlined function...
12726 (__reclaim_stacks): ... here.
12727
d89b3d80
OB
127282014-06-05 Ondřej Bílka <neleai@seznam.cz>
12729
12730 [BZ #15698]
12731 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12732 memory overrun.
12733
2bf18041
JM
127342014-06-05 Joseph Myers <joseph@codesourcery.com>
12735
12736 * Rules (make-test-out): Include
12737 LOCPATH=$(common-objpfx)localedata in default environment.
12738 * debug/Makefile (tst-chk1-ENV): Remove variable.
12739 (tst-chk2-ENV): Likewise.
12740 (tst-chk3-ENV): Likewise.
12741 (tst-chk4-ENV): Likewise.
12742 (tst-chk5-ENV): Likewise.
12743 (tst-chk6-ENV): Likewise.
12744 (tst-lfschk1-ENV): Likewise.
12745 (tst-lfschk2-ENV): Likewise.
12746 (tst-lfschk3-ENV): Likewise.
12747 (tst-lfschk4-ENV): Likewise.
12748 (tst-lfschk5-ENV): Likewise.
12749 (tst-lfschk6-ENV): Likewise.
12750 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12751 (tst-iconv7-ENV): Likewise.
12752 * intl/Makefile (LOCPATH-ENV): Likewise.
12753 (tst-codeset-ENV): Likewise.
12754 (tst-gettext3-ENV): Likewise.
12755 (tst-gettext5-ENV): Likewise.
12756 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12757 (tst-fopenloc-ENV): Likewise.
12758 (tst-fgetws-ENV): Remove variable.
12759 (tst-ungetwc1-ENV): Likewise.
12760 (tst-ungetwc2-ENV): Likewise.
12761 (bug-ungetwc2-ENV): Likewise.
12762 (tst-swscanf-ENV): Likewise.
12763 (bug-ftell-ENV): Likewise.
12764 (tst-fgetwc-ENV): Likewise.
12765 (tst-fseek-ENV): Likewise.
12766 (tst-ftell-partial-wide-ENV): Likewise.
12767 (tst-ftell-active-handler-ENV): Likewise.
12768 (tst-ftell-append-ENV): Likewise.
12769 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12770 (tst-regexloc-ENV): Likewise.
12771 (bug-regex1-ENV): Likewise.
12772 (tst-regex-ENV): Likewise.
12773 (tst-regex2-ENV): Likewise.
12774 (bug-regex5-ENV): Likewise.
12775 (bug-regex6-ENV): Likewise.
12776 (bug-regex17-ENV): Likewise.
12777 (bug-regex18-ENV): Likewise.
12778 (bug-regex19-ENV): Likewise.
12779 (bug-regex20-ENV): Likewise.
12780 (bug-regex22-ENV): Likewise.
12781 (bug-regex23-ENV): Likewise.
12782 (bug-regex25-ENV): Likewise.
12783 (bug-regex26-ENV): Likewise.
12784 (bug-regex30-ENV): Likewise.
12785 (bug-regex32-ENV): Likewise.
12786 (bug-regex33-ENV): Likewise.
12787 (bug-regex34-ENV): Likewise.
12788 (bug-regex35-ENV): Likewise.
12789 (tst-rxspencer-ENV): Likewise.
12790 (tst-rxspencer-no-utf8-ENV): Likewise.
12791 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12792 (tst-sscanf-ENV): Likewise.
12793 (tst-swprintf-ENV): Likewise.
12794 (tst-swscanf-ENV): Likewise.
12795 (test-vfprintf-ENV): Likewise.
12796 (scanf13-ENV): Likewise.
12797 (bug14-ENV): Likewise.
12798 (tst-grouping-ENV): Likewise.
12799 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12800 (tst-strtod3-ENV): Likewise.
12801 (tst-strtod4-ENV): Likewise.
12802 (tst-strtod5-ENV): Likewise.
12803 (testmb2-ENV): Likewise./
12804 * string/Makefile (tst-strxfrm-ENV): Likewise.
12805 (tst-strxfrm2-ENV): Likewise.
12806 (bug-strcoll1-ENV): Likewise.
12807 (test-strcasecmp-ENV): Likewise.
12808 (test-strncasecmp-ENV): Likewise.
12809 * time/Makefile (tst-strptime-ENV): Likewise.
12810 (tst-ftime_l-ENV): Likewise.
12811 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12812 (tst-mbrtowc-ENV): Likewise.
12813 (tst-wcrtomb-ENV): Likewise.
12814 (tst-mbrtowc2-ENV): Likewise.
12815 (tst-c16c32-1-ENV): Likewise.
12816 (tst-mbsnrtowcs-ENV): Likewise.
12817
cd1fb604
OB
128182014-06-05 Ondřej Bílka <neleai@seznam.cz>
12819
12820 * manual/resource.texi (How to get information about the memory
12821 subsystem?): Fix typo.
12822 Reported by Peon de la Parra Ivan <peon@keba.com>
12823
b42eca7d
GY
128242014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12825
12826 [BZ #16882]
12827 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12828 (pthread_spin_lock): Branch out of spin loop to proper location.
12829 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12830 (pthread_spin_lock): Likewise.
12831
902b71f9
DM
12832 * nptl/tst-spin4.c: New test.
12833 * nptl/Makefile (tests): Add tst-spin4.
12834
f9d2d032
AS
128352014-06-03 Andreas Schwab <schwab@suse.de>
12836
12837 [BZ #15946]
12838 * resolv/res_send.c (send_dg): Reload file descriptor after
12839 calling reopen.
12840
cf7bfd28
SL
128412014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12842
12843 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12844
111cc714
RH
128452014-06-03 Richard Henderson <rth@redhat.com>
12846
89b4bd6b
RH
12847 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12848 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12849 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12850 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12851 in the SAVE_PID block.
12852 (__libc_vfork): New alias.
71840409 12853 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 12854
111cc714
RH
12855 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12856 child in registers, not on the stack. Remove RESET_PID conditionals.
12857 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12858
ccc39911
MS
128592014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12860
12861 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12862
693096cc
W
128632014-06-03 Wilco <wdijkstr@arm.com>
12864
12865 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12866 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12867 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12868 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12869 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12870 Likewise.
12871
0b4366bc
W
128722014-06-03 Wilco <wdijkstr@arm.com>
12873
12874 * sysdeps/aarch64/fpu/math_private.h
12875 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12876 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12877 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12878 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12879 Fix declarations.
12880
8747cd03
KS
128812014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12882
12883 * crypt/crypt-private.h: Include ufc-crypt.h.
12884 (__b64_from_24bit): Declare extern.
12885 * crypt/crypt_util.c(__b64_from_24bit): New function.
12886 (b64t): New static const variable.
12887 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12888 (b64t): Remove variable.
12889 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12890 * crypt/sha256-crypt.c: Include crypt-private.h.
12891 (b64t): Remove variable.
12892 (__sha256_crypt_r): Remove b64_from_24bit and replace
12893 with __b64_from_24bit.
12894 * crypt/sha512-crypt.c: Likewise.
12895
d936d379
RM
128962014-06-02 Roland McGrath <roland@hack.frob.com>
12897
12898 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12899 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12900 Label the code __libc_vfork rather than __vfork.
12901 [!NOT_IN_libc] (vfork): Define as weak alias.
12902 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12903 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12904 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12905
9fa76613
SP
129062014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12907
12908 * malloc/malloc.c (malloc_info): Fix format specifier for
12909 n_mmaps.
12910
a88dadbe
W
129112014-06-02 Wilco <wdijkstr@arm.com>
12912
12913 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12914 FPCR write.
12915
c95b3011
W
129162014-06-02 Wilco <wdijkstr@arm.com>
12917
12918 [BZ #17009]
12919 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12920 Rewrite to reduce FPCR/FPSR accesses.
12921
6b4d7a90
DM
129222014-06-01 David S. Miller <davem@davemloft.net>
12923
12924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12925
30f3d07c
DM
129262014-05-31 David S. Miller <davem@davemloft.net>
12927
12928 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12929 to occur in round to nearest mode when |x| >= 2.0
12930
74f31c18
RH
129312014-05-30 Richard Henderson <rth@twiddle.net>
12932
f0712b54
RH
12933 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12934 (PSEUDO_RET_NOERRNO): Remove.
12935 (ret): Don't redefine.
12936 (ret_NOERRNO): Define in terms of ret.
12937 (ret_ERRVAL): Likewise.
12938
74f31c18
RH
12939 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12940 use of PSEUDO_RET; perform the error check directly.
12941
30477995
MM
129422014-05-30 Marko Myllynen <myllynen@redhat.com>
12943
12944 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12945 with __int128_t.
12946
62a58816
SP
129472014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12948
12949 * malloc/malloc (malloc_info): Fix formatting.
12950
4d653a59
SP
129512014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12952 Roland McGrath <roland@hack.frob.com>
12953
12954 * malloc/malloc (malloc_info): Also print mmapped statistics.
12955
5190c17f
RM
129562014-05-30 Roland McGrath <roland@hack.frob.com>
12957
12958 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12959 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12960
987c0269
OB
129612014-05-30 Ondřej Bílka <neleai@seznam.cz>
12962
12963 * malloc/malloc.c (malloc_info): Inline mi_arena.
12964
af4e8ef9
RH
129652014-05-29 Richard Henderson <rth@twiddle.net>
12966
1670e207
RH
12967 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12968 Remove comma before expanding ASM_ARGS_##nr.
12969 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12970 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12971 of ASM_ARGS_##nr.
12972 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12973 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12974 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12975 (ASM_ARGS_1): Add leading comma.
12976
11a28aee
RH
12977 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12978 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12979 to __errno_location.
12980 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12981 Remove the expected plt for __errno_location.
12982
a17e5ffb 12983 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12984 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12985 call to __read_tp.
12986
b5be4597
RH
12987 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12988 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12989 it and break it down.
12990 (DOCARGS_0, DOCARGS_1): Do nothing.
12991 (DOCARGS_2): Update to store into the new stack frame.
12992 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12993 (UNDOCARGS_1): Update to restore from the new stack frame.
12994 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12995 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12996
645d44ab
RH
12997 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12998 (SINGLE_THREAD_P): New parameter for result regno.
12999 (PSEUDO): Update to match; use cbz instead of beq.
13000
a8b4f04a
RH
13001 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13002 Use ENTRY to define the _nocancel entry point. Share the syscall
13003 and syscall error check paths with the cancel path.
13004 (PSEUDO_END): New.
13005
af4e8ef9
RH
13006 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13007 whitespace; tabs before and after asm mnemonics.
13008
26b0d2e1
EW
130092014-05-29 Eric Wong <normalperson@yhbt.net>
13010
13011 [BZ #15132]
13012 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13013 Call fstat64 or stat64 internally, depending on arguments passed.
13014 Replace stat buffer argument with file descriptor argument.
13015 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13016 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13017 Pass fd to __internal_statvfs instead of calling fstat64.
13018 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13019 Pass fd to __internal_statvfs64 instead of calling fstat64.
13020 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13021 Pass -1 to __internal_statvfs instead of calling stat64.
13022 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13023 Pass -1 to __internal_statvfs64 instead of calling stat64.
13024
1efe2bd9
RM
130252014-05-28 Roland McGrath <roland@hack.frob.com>
13026
0d3b7a19
RM
13027 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13028 that was previously under [RESET_PID].
13029 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13030
1efe2bd9
RM
13031 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13032 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13033
a6bea3ca
RM
130342014-05-27 Roland McGrath <roland@hack.frob.com>
13035
30b6629e
RM
13036 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13037
a6bea3ca
RM
13038 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13039 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13040
3dfb9a5c
OB
130412014-05-27 Ondřej Bílka <neleai@seznam.cz>
13042
13043 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13044
774f9285
AS
130452014-05-27 Andreas Schwab <schwab@suse.de>
13046
13047 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13048 TLS_INIT_TP macro.
13049 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13050 * elf/rtld.c (init_tls, dl_main): Likewise.
13051 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13052 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13053 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13054 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13055 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13056 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13057 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13058 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13059 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13060 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13061 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13062 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13063 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13064 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13065 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13066 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13067 * sysdeps/generic/tls.h: Update description.
13068
36ffe739
WN
130692014-05-27 Will Newton <will.newton@linaro.org>
13070
13071 [BZ #16990]
13072 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13073 and restore r2 rather than just restoring.
13074
2482ae43
SP
130752014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13076
13077 [BZ #16724]
13078 * libio/tst-ftell-append.c: New test case.
13079 * libio/Makefile (tests): Add test case.
13080 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13081 append mode.
13082 * libio/wfileops.c (do_ftell_wide): Likewise.
13083
3d1024e8
AZ
130842014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13085
bab90016
AZ
13086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13087
c7a8d667
AZ
13088 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13089 ...
13090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13092 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13093 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13094 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13095 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13096 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13097 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13098 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13099 Moved ...
13100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13101 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13102 Moved ...
13103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13104 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13105 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13106 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13107 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13108 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13109 ...
13110 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13111 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13112 Moved ...
13113 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13114 here.
13115 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13116 ...
13117 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13118 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13119 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13120
daee7851
AZ
13121 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13122 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13123 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13124 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13125
50a40819
AZ
13126 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13127 merge into ...
13128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13129 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13130 ...
13131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13132 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13133 ...
13134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13135 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13136 Moved ...
13137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13138 here.
13139 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13140 Moved ...
13141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13142 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13143 Moved ...
13144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13145
8464c2a1
AZ
13146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13147 conditional [RESET_PID].
13148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13150 removed.
13151 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13152 removed.
13153
3d1024e8
AZ
13154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13155 <tcb-offsets.h>.
13156 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13157 (__libc_vfork): New strong alias.
13158 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13159 removed.
13160 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13161 Removed.
13162
13163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13164 <tcb-offsets.h>.
13165 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13166 (__libc_vfork): New strong alias.
13167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13168 removed.
13169 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13170 removed.
13171
fdfd175d
CD
131722014-05-26 Carlos O'Donell <carlos@redhat.com>
13173
13174 * malloc/malloc.c (mi_arena): New function.
13175 (malloc_info): Remove nested function mi_arena. Call non-nosted
13176 function mi_arena.
13177
d298c416
AZ
131782014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13179
13180 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13181 by insrwi.
13182 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13183 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13184 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13185 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13186 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13187 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13188 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13189
b60ea6ff
AS
131902014-05-26 Andreas Schwab <schwab@suse.de>
13191
13192 [BZ #16984]
13193 * locale/programs/repertoire.c (repertoire_read): Add slash
13194 between I18NPATH element and file name.
13195 * locale/programs/locfile.c (locfile_read): Likewise.
13196
67365926
SL
131972014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13198
13199 * nptl/pthread_mutexattr_settype.c
13200 (__pthread_mutexattr_settype):
13201 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13202
f8bdf1f0
SL
132032014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13204
13205 * nptl/tst-mutex5 (do_test):
13206 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13207
15eaf6ff
SP
132082014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13209
13210 * benchtests/README: Document 'init' directive.
13211 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13212 BENCH_INIT.
13213 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13214 (parse_file): Recognize 'init' directive.
13215
75f11331
KM
132162014-05-26 Kyle McMartin <kyle@redhat.com>
13217
13218 [BZ #16796]
13219 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13220 alignment of struct pthread.
13221
c3ec475c
SP
132222014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13223
13224 [BZ #16878]
13225 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13226 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13227 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13228 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13229
82aab97c
RH
132302014-05-25 Richard Henderson <rth@twiddle.net>
13231
aa2f176d
RH
13232 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13233 (SINGLE_THREAD_P_PIC): Remove.
13234 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13235 (SINGLE_THREAD_P_PIC): Remove.
13236
ca3cfa40
RH
13237 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13238 branch to syscall error ...
13239 (PSEUDO): ... here.
13240 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13241 from __local_syscall_error to .Lsyscall_error.
13242 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13243 (SYSCALL_ERROR): Update label name.
13244
6e6c2d01
RH
13245 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13246 Do not use DOARGS/UNDOARGS.
13247 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13248 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13249 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13250 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13251 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13252
c69abcee
RH
13253 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13254 block comment.
13255
82aab97c
RH
13256 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13257 define if !NOT_IN_libc.
13258 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13259 define with non-default symbol versions.
13260
8820e3ac
RH
132612014-05-23 Richard Henderson <rth@twiddle.net>
13262
900e445f
RH
13263 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13264 (vfork, __vfork): Define via compat_symbol.
13265
8820e3ac
RH
13266 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13267 [!HAVE_IFUNC] (vfork_compat): Remove.
13268 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13269
e59252a5
JM
132702014-05-23 Joseph Myers <joseph@codesourcery.com>
13271
13272 [BZ #16978]
13273 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13274 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13275 variable.
13276
132c7f5f
RH
132772014-05-23 Richard Henderson <rth@twiddle.net>
13278
bc89e962
RH
13279 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13280 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13281 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13282 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13283
13284 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13285 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13286 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13287 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13288 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13289 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13290 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13291 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13292 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13293 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13294 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13295 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13296 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13297 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13298 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13299 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13300 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13301 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13302 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13303 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13304 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13305 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13306 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13307 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13308 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13309 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13310 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13311 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13312 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13313 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13314 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13315 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13316 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13317 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13318 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13319 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13320 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13321 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13322 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13323 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13324 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13325 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13326 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13327 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13328 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13329 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13330 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13331 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13332 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13333 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13334 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13335 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13336 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13337 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13338 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13339 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13340
e2fa4bc2
RH
13341 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13342 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13343 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13344 before exiting on error.
13345 (__libc_vfork): New strong alias.
13346 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13347 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13348
279b24e2
RH
13349 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13350 that was previously under [RESET_PID].
13351 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13352
132c7f5f
RH
13353 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13354
b72592e7
JM
133552014-05-23 Joseph Myers <joseph@codesourcery.com>
13356
13357 [BZ #16977]
13358 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13359 value when x - 1 is zero.
13360 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13361 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13362 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13363 0.0L for an argument of 1.0L.
13364 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13365 Likewise.
13366 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13367 value when x - 1 is zero.
13368 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13369 * sysdeps/i386/fpu/libm-test-ulps: Update.
13370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13371
2302d679
RV
133722014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13373
13374 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13375 alphasort and versionsort.
13376
32999d63
AZ
133772014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13378
13379 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13380 macro.
13381 [copysignf]: Likewise.
13382
019324d0
SP
133832014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13384
13385 * crypt/md5-crypt.c: Fix formatting.
13386
34fff5c2
KS
133872014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13388
13389 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13390 (b64_from_24bit): New function.
13391
3d2badac
AZ
133922014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13393
13394 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13395 libc_hidden_builtin_def to ifunc.
13396 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13397 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13398
f7bb179f 133992014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13400
13401 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13402 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13403
4134b50d
JM
134042014-05-21 Joseph Myers <joseph@codesourcery.com>
13405
bb7d0337
JM
13406 * nscd/Depend (linuxthreads): Remove.
13407 (nptl): Add.
13408 * resolv/Depend (linuxthreads): Remove.
13409 * rt/Depend (linuxthreads): Remove.
13410
4134b50d
JM
13411 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13412 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13413 $(common-objpfx)elf/.
13414 (link-libc-before-gnulib): Likewise.
13415 (elfobjdir): Remove variable.
13416 * Makefile (install): Use $(elf-objpfx) instead of
13417 $(common-objpfx)elf/.
13418 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13419 $(elfobjdir)/.
13420 (link-libc-deps): Likewise.
13421 ($(common-objpfx)libc.so): Likewise.
13422 ($(common-objpfx)linkobj/libc.so): Likewise.
13423 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13424 instead of $(common-objpfx)elf/.
13425 (symbolic-link-list): Likewise.
13426 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13427 [$(cross-compiling) = no]: Likewise.
13428 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13429 $(elfobjdir)/.
13430 (static-gnulib-arch): Likewise.
13431 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13432 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13433 $(common-objpfx)elf/.
13434
3612eb8f
RH
134352014-05-21 Richard Henderson <rth@redhat.com>
13436
a6b3657b
RH
13437 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13438 (SINGLE_THREAD_P): Use the correct width load. Fold
13439 into the ldr offset.
13440
3612eb8f
RH
13441 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13442 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13443
175cef41
JM
134442014-05-20 Joseph Myers <joseph@codesourcery.com>
13445
13446 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13447 (libgcc_s_resume): Use __attribute_used__.
13448 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13449 Likewise.
13450
e13bccd3
AZ
134512014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13452
13453 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13454 optimization when used with float constants.
13455
7c112a38
AZ
13456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13457
ae75a883
AJ
134582014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13459
13460 [BZ #16915]
13461 * locale/nl_langinfo_l.c: Make direct reference to every
13462 _nl_current_CATEGORY symbol.
13463 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13464 (tests-static): Add tst-langinfo-static.
13465 (tests-special): Add tst-langinfo-static.out.
13466 ($(objpfx)tst-langinfo.out): Redirect output.
13467 ($(objpfx)tst-langinfo-static.out): New.
13468 * localedata/tst-langinfo.sh: Send output to stdout.
13469 * localedata/tst-langinfo-static.c: New file.
13470
4406c41c
AJ
13471 [BZ #16965]
13472 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13473 when the shift amount is modulo the limb size.
13474
4c0a1e63
RH
134752014-05-20 Richard Henderson <rth@redhat.com>
13476
de9d8f20
RH
13477 [BZ #16967]
13478 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13479 Change type of sa_flags from unsigned int to int.
13480
4c0a1e63
RH
13481 [BZ #16966]
13482 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13483
13484 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13485
a60339aa
WN
134862014-05-20 Will Newton <will.newton@linaro.org>
13487
13488 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13489 Test the return value of the system call in the nocancel case.
13490
7d05a816
YR
134912014-05-20 Will Newton <will.newton@linaro.org>
13492 Yvan Roux <yvan.roux@linaro.org>
13493
13494 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13495 #include of asm/ptrace.h.
13496 (PTRACE_GET_THREAD_AREA): Remove #undef.
13497 (PTRACE_GETHBPREGS): Likewise.
13498 (PTRACE_SETHBPREGS): Likewise.
13499 (struct user_regs_struct): New structure.
13500 (struct user_fpsimd_struct): New structure.
13501 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13502 #include of asm/ptrace.h and second #include of sys/user.h.
13503 (PTRACE_GET_THREAD_AREA): Remove #undef.
13504 (PTRACE_GETHBPREGS): Likewise.
13505 (PTRACE_SETHBPREGS): Likewise.
13506 (ELF_NGREG): Use new struct user_regs_struct.
13507 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13508
af121e37
AZ
135092014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13510
13511 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13512 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13513
834caf06
JM
135142014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13515
13516 [BZ #16958]
13517 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13518 membar to avoid block loads/stores to overlap previous stores.
13519
e184a918
RH
135202014-05-17 Richard Henderson <rth@redhat.com>
13521
13522 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13523 Create the __##syscall_name##_nocancel entry point.
13524 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13525 Remove; let the sysdep-cancel.h code create it.
13526
f56c7a6a
DM
135272014-05-17 David S. Miller <davem@davemloft.net>
13528
13529 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13530 Protect with __USE_GNU.
13531 (TIOCSET_TEMPT): Likewise.
13532 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13533 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13534 these are already provided in bits/ioctl-types.h
13535
f75616b2
RM
135362014-05-16 Roland McGrath <roland@hack.frob.com>
13537
3edeca86
RM
13538 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13539 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13540
f75616b2
RM
13541 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13542 Use wait4 regardless of [__NR_waitpid].
13543
deb0f7f6
MR
135442014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13545
13546 PR libgcc/60166
13547 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13548 (_FP_NANSIGN_Q): Set the quiet bit.
13549
79520f4b
JM
135502014-05-16 Joseph Myers <joseph@codesourcery.com>
13551
13552 * benchtests/Makefile
13553 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13554 not $(common-objpfx)math/libm.so.
13555 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13556 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13557 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13558 $(common-objpfx)dlfcn/libdl.so.
13559 ($(objpfx)tst-audit8): Depend on $(libm), not
13560 $(common-objpfx)math/libm.so.
13561 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13562 not $(common-objpfx)dlfcn/libdl.so.
13563 * math/Makefile
13564 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13565 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13566 [$(build-shared) = yes].
13567 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13568 $(common-objpfx)nptl/libpthread.so.
13569 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13570 $(common-objpfx)math/libm.so$(libm.so-version) or
13571 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13572 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13573 $(common-objpfx)dlfcn/libdl.so.
13574 * setjmp/Makefile (link-libm): Remove variable.
13575 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13576 * stdio-common/Makefile (link-libm): Remove variable.
13577 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13578 * stdlib/Makefile (link-libm): Remove variable.
13579 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13580 ($(objpfx)tst-strtod-round): Likewise.
13581 ($(objpfx)tst-tininess): Likewise.
13582 ($(objpfx)tst-strtod-underflow): Likewise.
13583 ($(objpfx)tst-strtod6): Likewise.
13584 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13585 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13586 $(common-objpfx)dlfcn/libdl.so.
13587
026b0fe4
AZ
135882014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13589
13590 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13591 BSD terminal modes definitions.
13592
def4bcb2
RM
135932014-05-16 Roland McGrath <roland@hack.frob.com>
13594
fe39b021
RM
13595 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13596 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13597
1d1fc46e 13598 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
13599 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13600 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13601 Don't do #include_next.
13602 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13603 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13604 Don't do #include_next.
13605 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13606 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13607 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13608 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13609
c72399fb
AM
136102014-05-16 Allan McRae <allan@archlinux.org>
13611
d51d659d
AM
13612 * po/sv.po: Update Swedish translation from translation project.
13613
c72399fb
AM
13614 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13615 in sed expression.
13616
d0583c40
AJ
136172014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13618
13619 [BZ #16917]
13620 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13621 errno if the TIOCGPTN ioctl fails with an error different than
13622 EINVAL.
13623 * login/tst-ptsname.c: New file.
13624 * login/Makefile (tests): Add tst-ptsname.
13625
d16e6ec7
AJ
13626 [BZ #16943]
13627 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13628 and prlimit64.
13629
cf26a0cb
SP
136302014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13631
13632 [BZ #16849]
13633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13634 herrno to return EAI_AGAIN.
13635
5675da1e
RM
136362014-05-14 Roland McGrath <roland@hack.frob.com>
13637
a5d87b3d
RM
13638 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13639 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13640 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13641 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13642 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13643 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13644 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13645 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13646 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13647 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13648 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13649 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13650 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13651 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13652 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13653 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13654 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13655 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13656 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13657 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13658 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13659 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13660 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13661 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13662 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13663 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13664 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13665 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13666 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13667 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13669 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13671 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13673 Moved ...
13674 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13676 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13678 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13680 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13682 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13684 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13686 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13688 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13690 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13692 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13694 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13696 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13698 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13700 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13702 Moved ...
13703 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13705 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13707 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13709 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13711 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13713 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13715 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13717 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13719 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13721 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13723 Moved ...
13724 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13726 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13727
039890a6
RM
13728 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13729 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13730 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13731 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13732 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13733 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13734 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13735 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13736 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13737 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13738 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13739 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13740 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13741 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13742 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13743 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13744 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13745 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13746 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13747 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13748 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13749 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13750 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13751 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13752 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13753 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13754 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13755 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13756 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13757 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13758 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13759
65c89320
RM
13760 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13761 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13762
348f8e8c
RM
13763 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13764 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13765 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13766 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13767 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13768 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13769 Moved ...
13770 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13771 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13772 Moved ...
13773 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13774 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13775 Moved ...
13776 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13777 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13778 Moved ...
13779 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13780 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13781 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13782 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13783 Moved ...
13784 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13785 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13786 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13787 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13788 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13789 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13790 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13791 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13792 Moved ...
13793 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13794 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13795 Moved ...
13796 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13797 ... here.
13798 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13799 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13800 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13801 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13802 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13803 Moved ...
13804 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13805 ... here.
13806 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13807 Moved ...
13808 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13809 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13810 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13811 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13812 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13813 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13814 Moved ...
13815 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13816 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13817 Moved ...
13818 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13819 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13820 Moved ...
13821 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13822 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13823 Moved ...
13824 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13825 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13826 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13827 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13828 Moved ...
13829 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13830 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13831 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13832 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13833 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13834 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13835 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13836 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13837 Moved ...
13838 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13839 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13840 Moved ...
13841 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13842 ... here.
13843 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13844 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13845 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13846 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13847 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13848 Moved ...
13849 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13850 ... here.
13851 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13852 Moved ...
13853 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13854 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13855 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13856 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13857 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13858 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13859 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13860 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13861 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13862 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13863 Moved ...
13864 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13865 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13866 Moved ...
13867 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13868 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13869 Moved ...
13870 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13871 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13872 Moved ...
13873 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13874 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13875 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13876 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13877 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13878 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13879 Moved ...
13880 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13881 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13882 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13883 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13884 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13885 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13886 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13887 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13888 Moved ...
13889 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13890 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13891 Moved ...
13892 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13893 ... here.
13894 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13895 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13896 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13897 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13898 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13899 Moved ...
13900 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13901 ... here.
13902 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13903 Moved ...
13904 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13905 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13906 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13907 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13908 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13909 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13910 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13911 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13912 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13913 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13914 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13915
5085af05
RM
13916 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13917 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13918
708f0813
RM
13919 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13920 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13921
c96067bc
RM
13922 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13923 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13924 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13925 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13926 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13927 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13928 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13929 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13930 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13931 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13932 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13933 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13934 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13935 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13936 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13937 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13938 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13939 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13940 Moved ...
13941 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13942 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13943 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13944 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13945 Moved ...
13946 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13947 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13948 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13949 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13950 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13951 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13952 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13954 Moved ...
13955 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13956 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13957 Moved ...
13958 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13959 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13960 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13961 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13962 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13963 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13964 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13965 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13966 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13967 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13968 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13969 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13970 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13971 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13972 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13973 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13974 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13975
ec136444
RM
13976 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13977 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13978 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13979 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13980 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13981
2fbdf533
RM
13982 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13983 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13984 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13985 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13986 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13987 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13988 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13989 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13990 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13991 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13992
4c68138b
RM
13993 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13994 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13995
4eaae765
RM
13996 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13997 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13998 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13999 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14000 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14001 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14002 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14003 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14004 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14005 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14006 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14007 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14008 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14009 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14010 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14011 Update #include.
14012 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14013 Likewise.
14014 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14015 Likewise.
14016 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14017 Likewise.
14018 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14019 Likewise.
14020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14021 Likewise.
14022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14023 Likewise.
14024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14025 Likewise.
14026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14027 Likewise.
14028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14029 Likewise.
4ef6befa
RM
14030 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14031 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14032 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14033 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14034 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
14035 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14036 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14037 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14038 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14039 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14040 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14041 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14042 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14043 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14044 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 14045
941d7dfd
RM
14046 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14047 that was previously under [RESET_PID].
14048 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14049 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14050 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14051
1b731c35
RM
14052 * sysdeps/i386/nptl/Implies: New file.
14053 * sysdeps/x86_64/nptl/Implies: New file.
14054 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14055 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14056 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14057 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14058
e2787137
RM
14059 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14060 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14061 (__libc_vfork): New strong alias.
14062 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14063 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14064
14065 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14066 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14067 (__libc_vfork): New strong alias.
14068 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14069 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14070
5675da1e
RM
14071 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14072 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14073 (__libc_vfork): New strong alias.
14074 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14075 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14076 * nptl/pt-vfork.c: New file.
14077 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14078 (libpthread: GLIBC_2.20): New version set (empty).
14079
4f02e2b8
WN
140802014-05-14 Will Newton <will.newton@linaro.org>
14081
14082 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14083 rather than #if.
14084
0bf061d3
JM
140852014-05-14 Joseph Myers <joseph@codesourcery.com>
14086
1a84c3d6
JM
14087 [BZ #16564]
14088 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14089 arguments with exponent 65 or above.
14090 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14091 arguments 0x1p113L or above.
14092 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14093 to arguments 0x1p107L or above.
14094 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14095 positive arguments with exponent 65 or above.
14096 * math/auto-libm-test-in: Add more tests of log1p.
14097 * math/auto-libm-test-out: Regenerated.
14098
01dbacd2
JM
14099 [BZ #16928]
14100 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14101 non-finite arguments is +0.
14102 * math/s_cacosf.c (__cacosf): Likewise.
14103 * math/s_cacosl.c (__cacosl): Likewise.
14104 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14105 * sysdeps/i386/fpu/libm-test-ulps: Update.
14106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14107
913d03c8
JM
14108 [BZ #16927]
14109 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14110 value.
14111 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14112 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14113 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14114 for explicit high bit of mantissa when testing for argument equal
14115 to 1.
14116 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14117 * sysdeps/i386/fpu/libm-test-ulps: Update.
14118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14119
0bf061d3
JM
14120 [BZ #16516]
14121 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14122 (__erf): Scale by 16 instead of 8 in potentially underflowing
14123 case. Ensure exception if result actually underflows.
14124 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14125 (__erff): Scale by 16 instead of 8 in potentially underflowing
14126 case. Ensure exception if result actually underflows.
14127 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14128 (efx8): Remove variable.
14129 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14130 case. Ensure exception if result actually underflows.
14131 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14132 (efx8): Remove variable.
14133 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14134 case. Ensure exception if result actually underflows.
14135 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14136 (efx8): Remove variable.
14137 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14138 case. Ensure exception if result actually underflows.
14139 * math/auto-libm-test-in: Add more tests of erf.
14140 * math/auto-libm-test-out: Regenerated.
14141
73ba67cb
AS
141422014-05-14 Andreas Schwab <schwab@suse.de>
14143
3d8c8bff
AS
14144 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14145 Remove code conditionalized on USE___THREAD.
14146
73ba67cb
AS
14147 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14148 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14149 not definedness.
14150
5c521ecd
JM
141512014-05-14 Joseph Myers <joseph@codesourcery.com>
14152
5e7698c6
JM
14153 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14154 Define unconditionally.
14155 (__ASSUME_O_CLOEXEC): Likewise.
14156 (__ASSUME_SOCK_CLOEXEC): Likewise.
14157 (__ASSUME_IN_NONBLOCK): Likewise.
14158 (__ASSUME_PIPE2): Likewise.
14159 (__ASSUME_EVENTFD2): Likewise.
14160 (__ASSUME_SIGNALFD4): Likewise.
14161 (__ASSUME_DUP3): Likewise.
14162 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14163 (__ASSUME_DUP3): Do not define.
14164 (__ASSUME_EVENTFD2): Likewise.
14165 (__ASSUME_IN_NONBLOCK): Likewise.
14166 (__ASSUME_O_CLOEXEC): Likewise.
14167 (__ASSUME_PIPE2): Likewise.
14168 (__ASSUME_SIGNALFD4): Likewise.
14169 (__ASSUME_SOCK_CLOEXEC): Likewise.
14170 (__ASSUME_UTIMES): Undefine.
14171 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14172 (__ASSUME_UTIMES): Do not define.
14173 (__ASSUME_O_CLOEXEC): Likewise.
14174 (__ASSUME_SOCK_CLOEXEC): Likewise.
14175 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14176 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14177 0x020621].
14178 (__ASSUME_PIPE2): Likewise.
14179 (__ASSUME_EVENTFD2): Likewise.
14180 (__ASSUME_SIGNALFD4): Likewise.
14181 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14182 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14183 Do not define.
14184 (__ASSUME_EVENTFD2): Likewise.
14185 (__ASSUME_SIGNALFD4): Likewise.
14186 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14187 (__ASSUME_32BITUIDS): Likewise.
14188 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14189 (__ASSUME_IPC64): Likewise.
14190 (__ASSUME_ST_INO_64_BIT): Likewise.
14191 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14192 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14193 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14194 (__ASSUME_UTIMES): Do not define.
14195 (__ASSUME_PSELECT): Likewise.
14196 (__ASSUME_PPOLL): Likewise.
14197 (__ASSUME_O_CLOEXEC): Likewise.
14198 (__ASSUME_SOCK_CLOEXEC): Likewise.
14199 (__ASSUME_IN_NONBLOCK): Likewise.
14200 (__ASSUME_PIPE2): Likewise.
14201 (__ASSUME_EVENTFD2): Likewise.
14202 (__ASSUME_SIGNALFD4): Likewise.
14203 (__ASSUME_DUP3): Likewise.
14204 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14205 (__ASSUME_UTIMES): Likewise.
14206 (__ASSUME_O_CLOEXEC): Likewise.
14207 (__ASSUME_SOCK_CLOEXEC): Likewise.
14208 (__ASSUME_IN_NONBLOCK): Likewise.
14209 (__ASSUME_PIPE2): Likewise.
14210 (__ASSUME_EVENTFD2): Likewise.
14211 (__ASSUME_SIGNALFD4): Likewise.
14212 (__ASSUME_DUP3): Likewise.
14213 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14214 (__ASSUME_UTIMES): Likewise.
14215 (__ASSUME_O_CLOEXEC): Likewise.
14216 (__ASSUME_SOCK_CLOEXEC): Likewise.
14217 (__ASSUME_IN_NONBLOCK): Likewise.
14218 (__ASSUME_PIPE2): Likewise.
14219 (__ASSUME_EVENTFD2): Likewise.
14220 (__ASSUME_SIGNALFD4): Likewise.
14221 (__ASSUME_DUP3): Likewise.
14222 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14223 Likewise.
14224 (__ASSUME_UTIMES): Likewise.
14225 (__ASSUME_EVENTFD2): Likewise.
14226 (__ASSUME_SIGNALFD4): Likewise.
14227 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14228 (__ASSUME_O_CLOEXEC): Likewise.
14229 (__ASSUME_SOCK_CLOEXEC): Likewise.
14230 (__ASSUME_IN_NONBLOCK): Likewise.
14231 (__ASSUME_PIPE2): Likewise.
14232 (__ASSUME_EVENTFD2): Likewise.
14233 (__ASSUME_SIGNALFD4): Likewise.
14234 (__ASSUME_DUP3): Likewise.
14235 (__ASSUME_UTIMES): Undefine.
14236
5c521ecd
JM
14237 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14238 feclearexcept. Remove symbol versioning code.
14239 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14240 symbol versioning code.
14241 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14242 symbol versioning code.
14243 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14244 feupdateenv. Remove symbol versioning code.
14245 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14246 fegetexceptflag. Remove symbol versioning code.
14247 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14248 fesetexceptflag. Remove symbol versioning code.
14249 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14250 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14251 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14252 (__posix_fadvise64_l32): Remove prototype.
14253 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14254 code.
14255
5da9dfad
RM
142562014-05-13 Roland McGrath <roland@hack.frob.com>
14257
14258 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14259 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14260 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14261 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14262
893b4f37
SK
142632014-05-13 Sami Kerola <kerolasa@iki.fi>
14264
14265 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14266 current working directory
14267
e0db6517
RM
142682014-05-13 Roland McGrath <roland@hack.frob.com>
14269
58aa195d
RM
14270 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14271 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14272 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14273 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14274 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14275 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14276 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14277 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14278 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14279 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14280 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14281 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14282 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14283 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14284 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14285 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14286 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14287 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14288 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14289 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14290 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14291 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14292 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14293 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14294 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14295 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14296 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14297 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14298 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14299 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14300 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14301 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14302 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14303 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14304 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14305 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14306 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14307 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14308 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14309 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14310 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14311 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14312
8c6d01f0
RM
14313 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14314 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14315
14316 * sysdeps/unix/sysv/linux/arm/Makefile
14317 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14318 Add rt-aeabi_unwind_cpp_pr1.
14319 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14320 Add nptl-aeabi_unwind_cpp_pr1.
14321 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14322 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14323 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14324 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14325 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14326 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14327
14328 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14329 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14330 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14331 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14332
bba6da4e
RM
14333 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14334 Deconditionalize the code that was previously under [RESET_PID].
14335 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14336
e0db6517
RM
14337 * sysdeps/generic/exit-thread.h: New file.
14338 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14339 * include/unistd.h (__exit_thread): Remove declaration.
14340 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14341 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14342 * csu/libc-start.c: Include <exit-thread.h>.
14343 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14344 * nptl/pthread_create.c: Include <exit-thread.h>.
14345 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14346 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14347 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14348 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14349 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14350 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14351 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14352 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14353 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14354 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14355 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14356 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14357 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14358 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14359 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14360 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14361 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14362
01eb16fd
AS
143632014-05-13 Andreas Schwab <schwab@suse.de>
14364
14365 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14366
637461d9
JM
143672014-05-12 Joseph Myers <joseph@codesourcery.com>
14368
14369 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14370 (__ASSUME_UTIMES): Do not condition on kernel version.
14371 (__ASSUME_PSELECT): Define unconditionally.
14372 (__ASSUME_PPOLL): Likewise.
14373 (__ASSUME_ATFCTS): Likewise.
14374 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14375 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14376 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14377 (__ASSUME_UTIMENSAT): Define unconditionally.
14378 (__ASSUME_PRIVATE_FUTEX): Likewise.
14379 (__ASSUME_FALLOCATE): Likewise.
14380 (__ASSUME_O_CLOEXEC): Likewise.
14381 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14382 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14383 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14384 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14385 (__ASSUME_IN_NONBLOCK): Likewise.
14386 (__ASSUME_PIPE2): Likewise.
14387 (__ASSUME_EVENTFD2): Likewise.
14388 (__ASSUME_SIGNALFD4): Likewise.
14389 (__ASSUME_DUP3): Likewise.
14390 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14391 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14392 (__ASSUME_AT_RANDOM): Likewise.
14393 (__ASSUME_PREADV): Likewise.
14394 (__ASSUME_PWRITEV): Likewise.
14395 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14396 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14397 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14398 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14399 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14400 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14401 (__ASSUME_O_CLOEXEC): Define unconditionally.
14402 (__ASSUME_PSELECT): Do not undefine conditionally.
14403 (__ASSUME_PPOLL): Likewise.
14404 (__ASSUME_ATFCTS): Likewise.
14405 (__ASSUME_SET_ROBUST_LIST): Likewise.
14406 (__ASSUME_UTIMENSAT): Likewise.
14407 (__ASSUME_FDATASYNC): Define unconditionally.
14408 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14409 (__ASSUME_SIGFRAME_V2): Likewise.
14410 )__ASSUME_EVENTFD2): Likewise.
14411 (__ASSUME_SIGNALFD4): Likewise.
14412 (__ASSUME_PSELECT): Do not undefine conditionally.
14413 (__ASSUME_PPOLL): Likewise.
14414 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14415 (__ASSUME_PSELECT): Define unconditionally.
14416 (__ASSUME_PPOLL): Likewise.
14417 (__ASSUME_O_CLOEXEC): Likewise.
14418 (__ASSUME_SOCK_CLOEXEC): Likewise.
14419 (__ASSUME_IN_NONBLOCK): Likewise.
14420 (__ASSUME_PIPE2): Likewise.
14421 (__ASSUME_EVENTFD2): Likewise.
14422 (__ASSUME_SIGNALFD4): Likewise.
14423 (__ASSUME_DUP3): Likewise.
14424 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14425 (__ASSUME_O_CLOEXEC): Likewise.
14426 (__ASSUME_SOCK_CLOEXEC): Likewise.
14427 (__ASSUME_IN_NONBLOCK): Likewise.
14428 (__ASSUME_PIPE2): Likewise.
14429 (__ASSUME_EVENTFD2): Likewise.
14430 (__ASSUME_SIGNALFD4): Likewise.
14431 (__ASSUME_DUP3): Likewise.
14432 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14433 (__ASSUME_EVENTFD2): Likewise.
14434 (__ASSUME_SIGNALFD4): Likewise.
14435 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14436
315eb1d8
AS
144372014-05-12 Andreas Schwab <schwab@suse.de>
14438
14439 [BZ #16932]
14440 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14441 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14442 than maximum RPC packet size.
14443 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14444 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14445 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14446 (_nss_nis_getservbyport_r): Likewise.
14447
91df99f7
WN
144482014-05-12 Will Newton <will.newton@linaro.org>
14449
14450 * malloc/Makefile (tests): Add tst-mallopt.
14451 * malloc/tst-mallopt.c: New file.
14452
0a982a29
RM
144532014-05-09 Roland McGrath <roland@hack.frob.com>
14454
14455 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14456 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14457
0ded08a5
AZ
144582014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14459
14460 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14461 (tst-tlsmod6.so): Likewise.
14462
55d4d550
RM
144632014-05-09 Roland McGrath <roland@hack.frob.com>
14464
14465 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14466
77d08aca
JM
144672014-05-09 Joseph Myers <joseph@codesourcery.com>
14468
14469 [BZ #16064]
14470 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14471 and <dl-procinfo.h>.
14472 (__fegetenv): Save SSE state in envp->__eip if supported.
14473 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14474 envp->__eip if supported.
14475 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14476 and <dl-procinfo.h>.
14477 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14478 __data_offset and __data_selector in environment to 0. Set SSE
14479 state if supported.
14480 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14481 test-fenv-sse.
14482 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14483 -mfpmath=sse.
14484 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14485
28162f4d
WN
144862014-05-09 Will Newton <will.newton@linaro.org>
14487
14488 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14489 and libc_relro_required for ARM.
14490 * sysdeps/arm/preconfigure: Regenerate.
14491
5a414ff7
DV
144922014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14493 Stefan Liebler <stli@linux.vnet.ibm.com>
14494
14495 * config.make.in (enable-lock-elision): New Makefile variable.
14496 * configure.ac: Likewise.
14497 * configure: Regenerate.
14498 * sysdeps/s390/configure.ac:
14499 Add check for gcc transactions support.
14500 * sysdeps/s390/configure: Regenerate.
14501 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14502 Build elision files if enabled.
14503 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14504 Add lock elision support for s390.
14505 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14506 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14507 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14508 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14509 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14510 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14511 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14512 Likewise.
14513 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14514 Likewise.
14515 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14516 Likewise.
14517 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14518 Likewise.
14519 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14520 (__lll_timedlock_elision, __lll_lock_elision)
14521 (__lll_unlock_elision, __lll_trylock_elision)
14522 (lll_timedlock_elision, lll_lock_elision)
14523 (lll_unlock_elision, lll_trylock_elision): Add.
14524 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14525 (pthread_mutex_t): Add lock elision support for s390.
14526
1a2f40e5
W
145272014-05-14 Wilco <wdijkstr@arm.com>
14528
14529 * sysdeps/arm/fclrexcpt.c: Cleanup.
14530 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14531 * sysdeps/arm/feenablxcpt.c: Cleanup.
14532 * sysdeps/arm/fegetenv.c: Cleanup.
14533 * sysdeps/arm/fegetexcept.c: Cleanup.
14534 * sysdeps/arm/fegetround.c: Cleanup.
14535 * sysdeps/arm/feholdexcpt.c: Cleanup.
14536 * sysdeps/arm/fesetenv.c: Cleanup.
14537 * sysdeps/arm/fesetround.c: Cleanup.
14538 * sysdeps/arm/feupdateenv.c: Cleanup.
14539 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14540 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14541 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14542 * sysdeps/arm/ftestexcept.c: Cleanup.
14543 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14544 * sysdeps/arm/setfpucw.c: Cleanup.
14545
f63c86fe
WN
145462014-05-09 Will Newton <will.newton@linaro.org>
14547
14548 * sysdeps/arm/armv7/strcmp.S: New file.
14549 * NEWS: Mention addition of ARMv7 optimized strcmp.
14550
7a1a51b5
RM
145512014-05-08 Roland McGrath <roland@hack.frob.com>
14552
95afbbe5
RM
14553 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14554 look for %.ac rather than %.in.
14555
14556 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14557 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14558 * sysdeps/mach/hurd/configure: Regenerated.
14559 * sysdeps/unix/sysv/linux/configure: Regenerated.
14560
7a1a51b5
RM
14561 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14562
5057ad3b
SE
145632014-05-07 Steve Ellcey <sellcey@mips.com>
14564
14565 [BZ# 16922]
14566 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14567 (LONG_SUB): Ditto.
14568 (PTR_SUB): Ditto.
14569
8dc97517
AS
145702014-05-07 Andreas Schwab <schwab@suse.de>
14571
14572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14573 when skipping over non-matching result from nscd.
14574
ce0c5b8f
OB
145752014-05-07 Ondřej Bílka <neleai@seznam.cz>
14576
14577 [BZ #16876]
14578 * nptl/sockperf.c (client): Check socket return value.
8dc97517 14579
a1189263
OB
14580 [BZ #16877]
14581 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14582 nscd security class.
ce0c5b8f 14583
0f58d252
RM
145842014-05-06 Roland McGrath <roland@hack.frob.com>
14585
14586 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14587 * sysdeps/arm/unwind.h: ... here.
14588
83df9ad0
AJ
145892014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14590
ce0c5b8f
OB
14591 [BZ# 16916]
14592 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14593 Define.
83df9ad0 14594
f360f94a
VR
145952014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14596
14597 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14598 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14599 multiarch strncpy for PPC64.
14600 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14601 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14603 multiarch optimizations.
14604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14605 (__libc_ifunc_impl_list): Likewise.
14606 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14607 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14608 multiarch stpncpy for PPC64.
14609 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14610 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14611
978a41c3
AS
146122014-05-06 Andreas Schwab <schwab@suse.de>
14613
14614 [BZ #16912]
14615 * gmon/mcount.c (_MCOUNT_DECL): Use
14616 atomic_compare_and_exchange_bool_acq instead of
14617 catomic_compare_and_exchange_bool_acq.
14618
eb1ed03d
RM
146192014-05-05 Roland McGrath <roland@hack.frob.com>
14620
fe658845
RM
14621 * elf/Makefile (others, install-bin): Remove pldd.
14622 (pldd-modules): Variable removed.
14623 ($(objpfx)pldd): Target removed.
14624 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14625 (others, install-bin): Append pldd here.
14626 ($(objpfx)pldd): New target.
14627
eb1ed03d
RM
14628 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14629 to 0, so the first #if test emitted later doesn't see it undefined.
14630 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14631 * sysdeps/gnu/errlist.c: Regenerated.
14632
19c4bec0
AZ
146332014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14634
14635 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14636 [libc_hidden_builtin_def]: Define to empty value.
14637 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14638 [libc_hidden_builtin_def]: Likewise.
14639 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14640 [libc_hidden_builtin_def]: Likewise.
14641 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14642 [libc_hidden_builtin_def]: Likewise.
14643 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14644 __redirect_memcpy and define ifunc as default hidden symbol.
14645 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14646 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14647
7776e669
AC
146482014-05-04 Adam Conrad <adconrad@0c3.net>
14649
14650 * locale/iso-4217.def: Reintroduce XDR currency.
14651
d69aeb12
AM
146522014-05-04 Allan McRae <allan@archlinux.org>
14653
14654 * po/eo.po: Update Esperanto translation from translation project.
14655
8f1df5cf
CD
146562014-05-02 Carlos O'Donell <carlos@redhat.com>
14657
14658 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14659 and FEATURE_INDEX_MAX to 1.
14660 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14661
13e402e7
SE
146622014-05-01 Steve Ellcey <sellcey@mips.com>
14663
14664 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14665 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14666 * iconvdata/big5.c (ONE_DIRECTION): Define.
14667 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14668 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14669 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14670 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14671 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14672 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14673 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14674 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14675 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14676 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14677 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14678 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14679 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14680 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14681 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14682 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14683 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14684 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14685 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14686 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14687 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14688 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14689 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14690 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14691 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14692 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14693 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14694 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14695 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14696 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14697 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14698 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14699 * iconvdata/johab.c (ONE_DIRECTION): Define.
14700 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14701 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14702 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14703 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14704 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14705 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14706 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14707 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14708 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14709 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14710
c727f032
RM
147112014-05-01 Roland McGrath <roland@hack.frob.com>
14712
8f2f08d0
RM
14713 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14714 (_IO_JUMPS_OFFSET): Define to 0.
14715
c727f032
RM
14716 * nptl/sysdeps/pthread/bits/libc-lock.h
14717 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14718 (__libc_lock_define_initialized_recursive): Always define using
14719 initializer. Modern compilers treat uninitialized (implicit zero) and
14720 explicit zero initializers the same (i.e. put the datum in bss).
14721
a849e800
AS
147222014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14723
14724 * nscd/nscd-client.h: Include <string.h>.
14725
5331255b
DM
147262014-05-01 David S. Miller <davem@davemloft.net>
14727
14728 [BZ #16885]
14729 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14730 multiple zero bytes exist at the end of a string.
14731 Reported by Aurelien Jarno <aurelien@aurel32.net>
14732
14733 * string/test-strcmp.c (check): Add explicit test for situations where
14734 there are multiple zero bytes after the first.
14735
4fdfe821
AS
147362014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14737
14738 [BZ #16890]
14739 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14740 when compiling wprintf.
14741 * stdio-common/tstdiomisc.c (t3): New function.
14742 (main): Call it.
14743
0cdddc25
SE
147442014-05-01 Steve Ellcey <sellcey@mips.com>
14745
14746 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14747 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14748 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14749 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14750
6426d77e
SE
147512014-05-01 Steve Ellcey <sellcey@mips.com>
14752
14753 * stdlib/longlong.h: Updated from GCC.
14754
6d96f5e4
WN
147552014-05-01 Will Newton <will.newton@linaro.org>
14756 Bernard Ogden <bernie.ogden@linaro.org>
14757
7470db0c
WN
14758 * NEWS: Update fixed bug list.
14759
6d96f5e4
WN
14760 [BZ #15119]
14761 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14762
211d653c
DM
147632014-04-30 David S. Miller <davem@davemloft.net>
14764
4fa262fa
DM
14765 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14766 (libc_feholdexcept_setround_sparc_ctx): New function.
14767 (libc_fesetenv_sparc_ctx): Likewise.
14768 (libc_feupdateenv_sparc_ctx): Likewise.
14769 (libc_feholdsetround_sparc_ctx): Likewise.
14770 (libc_feholdexcept_setround_ctx): Define.
14771 (libc_feholdexcept_setroundf_ctx): Likewise.
14772 (libc_feholdexcept_setroundl_ctx): Likewise.
14773 (libc_fesetenv_ctx): Likewise.
14774 (libc_fesetenvf_ctx): Likewise.
14775 (libc_fesetenvl_ctx): Likewise.
14776 (libc_feupdateenv_ctx): Likewise.
14777 (libc_feupdateenvf_ctx): Likewise.
14778 (libc_feupdateenvl_ctx): Likewise.
14779 (libc_feresetround_ctx): Likewise.
14780 (libc_feresetroundf_ctx): Likewise.
14781 (libc_feresetroundl_ctx): Likewise.
14782 (libc_feholdsetround_ctx): Likewise.
14783 (libc_feholdsetroundf_ctx): Likewise.
14784 (libc_feholdsetroundl_ctx): Likewise.
14785
1d3d93ef
DM
14786 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14787 with __USE_GNU instead of XOPEN cpp guards.
14788
8aa583c3
DM
14789 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14790 0.
14791
211d653c
DM
14792 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14793 with XOPEN cpp guards.
14794
60c8f1f6
JB
147952014-04-30 Julian Brown <julian@codesourcery.com>
14796
14797 [BZ #16888]
14798 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14799 handling.
14800
9a461d46
JM
148012014-04-30 Joseph Myers <joseph@codesourcery.com>
14802
d0f5b3f8
JM
14803 [BZ #9894]
14804 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14805 Change to 2.6.32.
14806 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14807 * sysdeps/unix/sysv/linux/configure: Regenerated.
14808 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14809 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14810 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14811 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14812 * README: Update reference to required Linux kernel version.
14813 * manual/install.texi (Linux): Update reference to required Linux
14814 kernel headers version.
14815 * INSTALL: Regenerated.
14816
9a461d46
JM
14817 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14818 header inclusion.
14819 [POSIX] (limits.h): Likewise.
14820 [POSIX] (math.h): Likewise.
14821 [POSIX] (sys/wait.h): Likewise.
14822 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14823 function.
14824 [POSIX] (stddef.h): Do not allow header inclusion.
14825
1775babf
AZ
148262014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14827
57f41c40 14828 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 14829
8f630cca
YY
148302014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14831
14832 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14833 Return immediately after lll_futex_wake.
14834
1cdeb237
SP
148352014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14836
bc8f194c
SP
14837 [BZ #16791]
14838 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14839 structure.
14840 (datahead_init_pos): Call datahead_init_common early.
14841 (datahead_init_neg): Likewise.
14842
1cdeb237
SP
14843 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14844 datahead_init_neg): New functions.
14845 * nscd/aicache.c (addhstaiX): Use them.
14846 * nscd/grpcache.c (cache_addgr): Likewise.
14847 * nscd/hstcache.c (cache_addhst): Likewise.
14848 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14849 * nscd/netgroupcache.c (do_notfound): Likewise.
14850 (addgetnetgrentX): Likewise.
14851 (addinnetgrX): Likewise.
14852 * nscd/pwdcache.c (cache_addpw): Likewise.
14853 * nscd/servicescache.c (cache_addserv): Likewise.
14854
16b293a7
SP
148552014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14856 Atsushi Onoe <atsushi@onoe.org>
14857
14858 [BZ #14308]
14859 [BZ #12994]
14860 [BZ #13651]
14861 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14862 one response is valid.
14863 * resolv/res_send.c (send_dg): Check for validity of other
14864 response if the current response is a referral.
14865
a28a9b94
SE
148662014-04-29 Steve Ellcey <sellcey@mips.com>
14867
14868 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14869
2ca180e9
SL
148702014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14871
14872 [BZ #16823]
14873 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14874 Always divide by positive zero when computing -Inf result.
14875 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14876 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14877
18f2945a
AZ
148782014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14879
14880 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14881 FPSCR if value do not change.
14882 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14883 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14884 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14885 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14886 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14887 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14888 function.
14889
5abebba4
CD
148902014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14891
14892 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14893 * sysdeps/unix/sysv/linux/hppa: Move directory from
14894 ports/systeps/unix/sysv/linux/hppa.
14895 * README: Update listing for hppa-*-linux-gnu.
14896
f7ed60c2
OB
148972014-04-28 Ondřej Bílka <neleai@seznam.cz>
14898
fff763a5
OB
14899 [BZ #16754]
14900 * manual/stdio.texi (Hook functions): Fix types of stream hook
14901 functions.
f7ed60c2
OB
14902 [BZ #16854]
14903 * socket/sys/socket.h: Fix typo in comment.
14904
df639d73
WD
149052014-04-28 Wilco <wdijkstr@arm.com>
14906
f7ed60c2 14907 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14908 * sysdeps/arm/math_private.h: New file.
14909 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14910
48332d82
L
149112014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14912
14913 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14914 with __int128_t.
14915 (La_x86_64_retval): Likewise.
14916
e5e0d9a4
IB
149172014-04-24 Ian Bolton <ian.bolton@arm.com>
14918
14919 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14920 fpsr if value didn't change.
14921 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14922 to fpcr if value didn't change.
14923 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14924 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14925 fpsr or fpcr if value didn't change.
14926 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14927 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14928 fpcr if value didn't change.
14929 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14930 to fpsr if value didn't change.
14931
bacc75f7
SP
149322014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14933
14934 * nptl/tst-sem3.c: Use test-skeleton.c
14935 (main): Rename to do_test. Use return instead of
14936 exit.
14937 * nptl/tst-sem4.c: Use test-skeleton.c
14938 (main): Rename to do_test.
14939
a059d359
DM
149402014-04-22 David S. Miller <davem@davemloft.net>
14941
14942 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14943 (struct sigaction): New struct member __glibc_reserved0, change
14944 type of sa_flags to int.
14945
ea6c92f3
YZ
149462014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14947
14948 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14949 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14950
766c4a36
SP
149512014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14952
14953 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14954 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14955
140cc7ab
VK
149562014-04-22 Will Newton <will.newton@linaro.org>
14957 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14958
14959 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14960 (__longjmp): Add longjmp and longjmp_target SystemTap
14961 probes.
14962 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14963 (__sigsetjmp): Add setjmp SystemTap probe.
14964
c54e5cf7
CD
149652014-04-17 Carlos O'Donell <carlos@redhat.com>
14966
14967 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14968 match manual order.
14969
75ffb047
AZ
149702014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14971
14972 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14973
2cd925f7
AZ
14974 * sysdeps/powerpc/fpu/fenv_private.h
14975 (libc_feholdexcept_setroundl_ctx): Define to
14976 libc_feholdexcept_setround_ppc_ctx.
14977 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14978 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14979 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14980 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14981
39e6cd8d
IB
149822014-04-17 Ian Bolton <ian.bolton@arm.com>
14983
14984 * sysdeps/aarch64/math-tests.h: New file.
14985
f9281df9
SY
149862014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14987
14988 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14989 New.
14990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14991 Check and set bit_AVX2_Usable.
14992 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14993 macro.
14994 (bit_AVX2): Likewise.
14995 (index_AVX2_Usable): Likewise.
14996 (CPUID_AVX2): Likewise.
14997 (HAS_AVX2): Likewise.
14998
37d35007
WN
149992014-04-17 Will Newton <will.newton@linaro.org>
15000
7c677662
WN
15001 * manual/setjmp.texi (System V contexts): Add note that
15002 calling setcontext on a context created by a call to a
15003 signal handler is undefined. Update text to note that
15004 setcontext from a signal handler is possible but not
15005 recommended.
15006
37d35007 15007 [BZ #16629]
e04a4e9d
WN
15008 * stdlib/tst-setcontext.c: Include signal.h.
15009 (main): Check that the signal stack before and
15010 after swapcontext is the same.
15011
37d35007
WN
15012 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15013 Re-implement to restore registers in user code and avoid
15014 rt_sigreturn system call.
15015
423a7160
W
150162014-04-17 Wilco <wdijkstr@arm.com>
15017
15018 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15019 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15020 * math/test-fenv.c: Skip exception trap tests on targets which only
15021 support non-stop mode.
15022
bc93ab29
IB
150232014-04-17 Ian Bolton <ian.bolton@arm.com>
15024 Wilco Dijkstra <wilco.dijkstra@arm.com>
15025
15026 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15027 (libc_feholdsetround_aarch64_ctx)
15028 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15029 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15030 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15031 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15032 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15033 (libc_feresetround_noexl_ctx): Define.
15034
95fc5fa3
RH
150352014-04-16 Richard Henderson <rth@redhat.com>
15036
ddb04724
RH
15037 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15038
d77c0899
RH
15039 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15040 unwind tables.
15041
a3df56fc
RH
15042 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15043 const from the non-libc, non-ldso copy.
15044
95fc5fa3
RH
15045 * sysdeps/alpha/libm-test-ulps: Regenerate.
15046
7e0b6763
IB
150472014-04-16 Ian Bolton <ian.bolton@arm.com>
15048 Wilco Dijkstra <wilco.dijkstra@arm.com>
15049
15050 * sysdeps/aarch64/fpu/math_private.h: New file.
15051
a9ea2e0c
MS
150522014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15053
15054 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15055
ea8ba7cd
IZ
150562014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15057
7e54fd04 15058 [BZ #16275]
ea8ba7cd
IZ
15059 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15060 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15061 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15062 Intel MPX bound registers before _dl_profile_fixup.
15063 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15064 registers after _dl_profile_fixup. Save and restore bound
15065 registers bnd0/bnd1 when calling _dl_call_pltexit.
15066 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15067 (LR_BND_OFFSET): Likewise.
15068 (LRV_BND0_OFFSET): Likewise.
15069 (LRV_BND1_OFFSET): Likewise.
15070
9f2a4fbc
ST
150712014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15072
15073 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15074 to...
15075 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
15076 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15077 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15078 fields.
9f2a4fbc 15079
fd15a59b
ST
150802014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15081
15082 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15083
f19dfa0a
SL
150842014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15085
15086 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15087
4fa8bc3b
SL
150882014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15089
15090 [BZ #14770]
15091 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15092 * sysdeps/s390/configure: Regenerate.
15093
8ea587db
SL
15094 [BZ #16824]
15095 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15096 Set round-to-nearest internally to reduce error accumulation.
15097
aa5f0ff1
AM
150982014-04-16 Alan Modra <amodra@gmail.com>
15099
15100 [BZ #16740]
15101 [BZ #16619]
15102 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15103 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 15104 * NEWS: Update fixed bug list.
aa5f0ff1 15105
bb9c256f
SP
151062014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15107
15108 * benchtests/Makefile: Depend on libraries in build directory.
15109 (bench-math): Separate out math tests.
15110 (bench-pthread): Separate out pthread tests.
15111 (bench): Include math and pthread tests.
15112
f737dfd0
CD
151132014-04-14 Carlos O'Donell <carlos@redhat.com>
15114
15115 [BZ #16831]
15116 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15117 _dl_debug_initialize.
15118
0699f766
CD
15119 * configure.ac: Remove SELinux header check.
15120 * configure: Regenerate.
15121 * nscd/selinux.c (perms): Array of const char* to permission names.
15122 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15123 default policy. Call string_to_security_class and string_to_av_perm to
15124 translate strings. Enforce default policy and call avs_has_perm with
15125 results of translated strings.
15126
809bd45f
DM
151272014-04-13 David S. Miller <davem@davemloft.net>
15128
15129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15130
89e691f2
AM
151312014-04-12 Allan McRae <allan@archlinux.org>
15132
15133 [BZ #16838]
15134 * manual/string.texi (Collation Functions): Fix qsort argument
15135 order in example.
15136 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15137
9c9daaeb
CM
151382014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15139
15140 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15141 Make the test a no-op if there are no exceptions defined.
15142
95561fb9
PP
151432014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15144
fe8d072c 15145 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
15146 enable-hardcoded-path-in-tests
15147
970c602a
WN
151482014-04-11 Will Newton <will.newton@linaro.org>
15149
15150 * benchtests/Makefile (extra-objs): Add json-lib.o.
15151 (bench-func): Tidy up JSON output.
15152 * benchtests/bench-skeleton.c: Include json-lib.h.
15153 (main): Use JSON library functions to do output of
15154 benchmark results.
15155 * benchtests/bench-timing-type.c (main): Output the
15156 timing type simply, leaving formatting to the user.
15157 * benchtests/json-lib.c: New file.
15158 * benchtests/json-lib.h: Likewise.
15159
36875b06
TR
151602014-04-11 Torvald Riegel <triegel@redhat.com>
15161
15162 [BZ #15215]
15163 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15164 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15165 memory barriers. Add comments.
15166 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15167 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15168 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15169 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15170 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15171 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15172
579db35a
SL
151732014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15174
15175 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15176 * sysdeps/s390/s390-64/configure.ac: ... this ...
15177 * sysdeps/s390/configure.ac: ... to here.
15178 * sysdeps/s390/s390-32/configure: Delete file.
15179 * sysdeps/s390/s390-64/configure: Delete file.
15180 * sysdeps/s390/configure: Regenerate.
15181
c12e9f37
JAPH
151822014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15183
15184 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15185
439bda32
WN
151862014-04-11 Will Newton <will.newton@linaro.org>
15187
15188 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15189 to zero if it is not defined elsewhere. (mtrim): Test
15190 the value of MALLOC_DEBUG with #if rather than #ifdef.
15191
6a5d6ea1
TR
151922014-04-10 Torvald Riegel <triegel@redhat.com>
15193
15194 * benchtests/pthread_once-inputs: New file.
15195 * benchtests/pthread_once-source.c: New file.
15196 * benchtests/README: Update documentation.
15197
a4c75cfd
IZ
151982014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15199 H.J. Lu <hongjiu.lu@intel.com>
15200
7e54fd04 15201 [BZ #16275]
a4c75cfd
IZ
15202 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15203 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15204 * sysdeps/x86_64/configure: Regenerated.
15205 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15206 macro.
15207 (REGISTER_SAVE_RAX): Likewise.
15208 (REGISTER_SAVE_RCX): Likewise.
15209 (REGISTER_SAVE_RDX): Likewise.
15210 (REGISTER_SAVE_RSI): Likewise.
15211 (REGISTER_SAVE_RDI): Likewise.
15212 (REGISTER_SAVE_R8): Likewise.
15213 (REGISTER_SAVE_R9): Likewise.
15214 (REGISTER_SAVE_BND0): Likewise.
15215 (REGISTER_SAVE_BND1): Likewise.
15216 (REGISTER_SAVE_BND2): Likewise.
15217 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15218 bound registers when calling _dl_fixup.
15219
27822ce6
AZ
152202014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15221
15222 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
15223 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15224 of its definition.
27822ce6
AZ
15225 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15226 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15227 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15228 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15229 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15230 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15231 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15232
a88ddc90
PTB
152332014-04-09 Peter Brett <peter@peter-b.co.uk>
15234
15235 [BZ #15514]
15236 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15237 pathconf(_PC_NAME_MAX).
15238
01f8eac2
AZ
152392014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15240
15241 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15242 Remove macro usage.
15243 (__PTHREAD_SPINS): Move definition to ...
15244 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15245 (__PTHREAD_SPINS): ... here.
15246 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15247 (__PTHREAD_SPIN): Likewise.
15248 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15249 (__PTHREAD_SPIN): Likewise.
15250 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15251 (__PTHREAD_SPIN): Likewise.
15252 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15253 (__PTHREAD_SPIN): Likewise.
15254 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15255 (__PTHREAD_SPIN): Likewise.
15256 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15257 (__PTHREAD_SPIN): Likewise.
15258 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15259 (__PTHREAD_SPIN): Likewise.
15260 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15261 (__PTHREAD_SPIN): Likewise.
15262 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15263 (__PTHREAD_SPIN): Likewise.
15264 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15265 (__PTHREAD_SPIN): Likewise.
15266 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15267 (__PTHREAD_SPIN): Likewise.
15268 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15269 (__PTHREAD_SPIN): Likewise.
15270
de21c33c
AZ
15271 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15272 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15273 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15274 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15275 imply folder.
15276 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15277 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15278 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15279 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15280 correct imply path.
15281 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15282 strlen symbol for non multi-arch builds.
15283 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15284 missing hidden_def and weak_alias.
15285
862c472e
CD
152862014-04-08 Carlos O'Donell <carlos@redhat.com>
15287
15288 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15289
8667f90e
WN
152902014-04-07 Will Newton <will.newton@linaro.org>
15291
15292 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15293 and contents. [!_LIBC] Remove #ifndef and contents.
15294 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15295 * string/memccpy.c (__memccpy): Use ANSI prototype.
15296 * string/memfrob.c (memfrob): Likewise.
15297 * string/strcoll.c (STRCOLL): Likewise.
15298 * string/strlen.c (strlen): Likewise.
15299 * string/strtok.c (STRTOK): Likewise.
15300 * string/strcat.c: Remove unused #include of memcopy.h.
15301 (strcat): Use ANSI prototype.
15302 * string/strchr.c: Remove unused #include of memcopy.h.
15303 (strchr): Use ANSI prototype.
15304 * string/strcmp.c: Remove unused #include of memcopy.h.
15305 (strcmp): Use ANSI prototype.
15306 * string/strcpy.c: Remove unused #include of memcopy.h.
15307 (strcpy): Use ANSI prototype.
15308
7ffa9423
AZ
153092014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15310
15311 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15312 * config.make.in (config-extra-cppflags): Set it from
15313 libc_extra_cppflags.
15314 * configure.ac (libc_extra_cflags): Make it accumulate over
15315 configure fragments.
15316 (libc_extra_cppflags): New flag.
15317 * configure. Regenerate.
15318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
15319 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15320 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
15321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15322
8bd70862
AZ
15323 [BZ #16815]
15324 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15325 result for FE_DOWNWARD rounding mode.
15326 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15327 Likewise.
15328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15329
d42f3448
CM
153302014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15331
15332 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15333 in function argument name.
15334
1c21d115
DS
153352014-04-03 David Svoboda <svoboda@cert.org>
15336
15337 [BZ #5666]
15338 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15339 explicitly.
15340
fcccd512
RM
153412014-04-03 Roland McGrath <roland@hack.frob.com>
15342
15343 * elf/dl-unmap-segments.h: New file.
15344 * sysdeps/generic/ldsodefs.h
15345 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15346 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15347 * elf/dl-fptr.c: Likewise.
15348 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15349 * sysdeps/aarch64/tlsdesc.c: Likewise.
15350 * sysdeps/arm/tlsdesc.c: Likewise.
15351 * sysdeps/i386/tlsdesc.c: Likewise.
15352 * sysdeps/tile/dl-runtime.c: Likewise.
15353 * sysdeps/x86_64/tlsdesc.c: Likewise.
15354 * elf/dl-load.h: New file.
15355 * elf/dl-load.c: Include it.
15356 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15357 Macros moved to dl-load.h.
15358 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15359 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15360 Use _dl_unmap_segments in place of __munmap.
15361 Break out segment-mapping loop into ...
15362 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15363
f6488e2b
WN
153642014-04-03 Will Newton <will.newton@linaro.org>
15365
15366 * elf/dl-lookup.c (do_lookup_x): Remove comment
15367 referring to nested function and move variable
15368 declarations down to before first use.
15369
6f05bafe
JM
153702014-04-02 Joseph Myers <joseph@codesourcery.com>
15371
a84e78c8
JM
15372 [BZ #16799]
15373 [BZ #16800]
15374 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15375 with 0 numerator.
15376 * math/s_catanf.c (__catanf): Likewise.
15377 * math/s_catanh.c (__catanh): Likewise.
15378 * math/s_catanhf.c (__catanhf): Likewise.
15379 * math/s_catanhl.c (__catanhl): Likewise.
15380 * math/s_catanl.c (__catanl): Likewise.
15381 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15382 by positive zero when computing -Inf result.
15383 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15384 (catanh_test): Likewise.
15385 * sysdeps/i386/fpu/libm-test-ulps: Update.
15386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15387
6f05bafe
JM
15388 [BZ #16789]
15389 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15390 instead of using underflowing value in computing result.
15391 * math/s_clog10.c (__clog10): Likewise.
15392 * math/s_clog10f.c (__clog10f): Likewise.
15393 * math/s_clog10l.c (__clog10l): Likewise.
15394 * math/s_clogf.c (__clogf): Likewise.
15395 * math/s_clogl.c (__clogl): Likewise.
15396 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15397 (clog10_test): Likewise.
15398 * sysdeps/i386/fpu/libm-test-ulps: Update.
15399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15400
b0abbc21
AM
154012014-04-02 Alan Modra <amodra@gmail.com>
15402
15403 [BZ #16739]
15404 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15405 output when value is near a power of two. Use int64_t for lx and
15406 remove casts. Use decimal rather than hex exponent constants.
15407 Don't use long double multiplication when double will suffice.
15408 * math/libm-test.inc (nextafter_test_data): Add tests.
15409 * NEWS: Add 16739 and 16786 to bug list.
15410
af6b1797
AM
15411 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15412
483818d7
AM
15413 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15414
f6c55796
WN
154152014-04-01 Will Newton <will.newton@linaro.org>
15416
15417 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15418 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15419
13f7fe35
FW
154202014-04-01 Florian Weimer <fweimer@redhat.com>
15421
15422 [BZ #13347]
15423 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15424 * nptl/tst-setuid2.c: New file.
15425 * nptl/Makefile (xtests): Add tst-setuid2.
15426
c859b32e
AM
154272014-04-01 Alan Modra <amodra@gmail.com>
15428
15429 [BZ #16786]
15430 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15431
54fa2475
JM
154322014-03-31 Joseph Myers <joseph@codesourcery.com>
15433
8795b4a4
JM
15434 [BZ #6803]
15435 [BZ #6804]
15436 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15437 set errno as appropriate.
15438 * math/w_scalbf.c (__scalbf): Likewise.
15439 * math/w_scalbl.c (__scalbl): Likewise.
15440 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15441 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15442 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15443 Add more NaN tests.
15444
54fa2475
JM
15445 [BZ #16349]
15446 * math/w_atan2.c: Include <errno.h>.
15447 (__atan2): Set errno for result underflowing to zero.
15448 * math/w_atan2f.c: Include <errno.h>.
15449 (__atan2f): Set errno for result underflowing to zero.
15450 * math/w_atan2l.c: Include <errno.h>.
15451 (__atan2l): Set errno for result underflowing to zero.
15452 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15453 tests.
15454 * math/auto-libm-test-out: Regenerated.
15455
757d9dd5
AZ
154562014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15457
15458 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15459 Encode instruction correctly in little endian.
15460 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15461 Likewise.
15462 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15463 Likewise.
15464 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15465 Likewise.
15466 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15467 Likewise.
15468
d7a68734
JM
154692014-03-31 Joseph Myers <joseph@codesourcery.com>
15470
47c5adeb
JM
15471 [BZ #9894]
15472 * sysdeps/unix/sysv/linux/kernel-features.h
15473 [__sparc__ && !__arch64__ && !__sparc_v9__]
15474 (__ASSUME_SET_ROBUST_LIST): Do not define.
15475 [__sparc__ && !__arch64__ && !__sparc_v9__]
15476 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15477 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15478 Likewise.
15479 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15480 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15481 (__ASSUME_REQUEUE_PI): Likewise.
15482 (__ASSUME_SET_ROBUST_LIST): Likewise.
15483 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15484 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15485 Undefine.
15486 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15487 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15488 Likewise.
15489 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15490 Likewise.
15491 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15492 Likewise.
15493 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15494 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15495 Undefine.
15496 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15497 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15498 Likewise.
15499
d7a68734
JM
15500 [BZ #16648]
15501 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15502 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15503 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15504
c760f5c2
WN
155052014-03-31 Will Newton <will.newton@linaro.org>
15506
15507 * benchtests/Makefile (bench): Add ffs and ffsll to list
15508 of tests.
15509 * benchtests/ffs-inputs: New file.
15510 * benchtests/ffsll-inputs: Likewise.
15511
ea6029b1
JM
155122014-03-29 Joseph Myers <joseph@codesourcery.com>
15513
15514 [BZ #16770]
15515 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15516 too large before casting to int.
15517 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15518 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15519 * math/libm-test.inc (scalb_test_data): Add more tests.
15520
cf806aff
SP
155212014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15522
56737508
SP
15523 * benchtests/Makefile (DETAILED_OPT): New make option.
15524 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15525 set.
15526 * benchtests/bench-skeleton.c: Include stdbool.h.
15527 (main): Store and print timings per input.
15528 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15529 member to each argument value.
15530 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15531 (_print_arg_data): Initialize per-input timing to 0.
15532
cb5e4aad
SP
15533 * benchtests/Makefile (timing-type): New binary.
15534 (bench-clean): Also remove bench-timing-type.
15535 (bench): New target for timing-type.
15536 (bench-func): Print output in JSON format.
15537 * benchtests/bench-skeleton.c (main): Print output in JSON
15538 format.
15539 * benchtests/bench-timing-type.c: New file.
15540 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15541 (TIMING_PRINT_STATS): Remove.
15542 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15543 name separately.
15544
cf806aff
SP
15545 * benchtests/bench-modf.c: Remove.
15546 * benchtests/modf-inputs: New inputs file.
15547
289e0779
JM
155482014-03-28 Joseph Myers <joseph@codesourcery.com>
15549
15550 [BZ #16362]
15551 * math/s_clog10.c (M_PI_LOG10E): New macro.
15552 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15553 imaginary parts are 0.
15554 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15555 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15556 imaginary parts are 0.
15557 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15558 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15559 imaginary parts are 0.
15560 * math/libm-test.inc (clog10_test_data): Update expected results
15561 for when real and imaginary parts are 0.
15562
277ae3f1
PP
155632014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15564
15565 * elf/dl-load.c: Finish conversion of __builtin_expect into
15566 __glibc_{un}likely.
15567
03a7091f
JM
155682014-03-27 Joseph Myers <joseph@codesourcery.com>
15569
15570 [BZ #16348]
15571 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15572 1+x for argument with exponent below -67.
15573 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15574 Likewise.
15575 * math/auto-libm-test-in: Add more tests of exp.
15576 * math/auto-libm-test-out: Regenerated.
15577
ea7d8b95
SP
155782014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15579
dd3022d7
SP
15580 [BZ #16759]
15581 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15582 (nscd_getnetgrent): Use it.
15583
ea7d8b95
SP
15584 [BZ #16760]
15585 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15586 of stpcpy.
15587
df5b85da
AK
155882014-03-27 Andi Kleen <ak@linux.intel.com>
15589
57f41c40
AS
15590 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15591 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15592 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15593 (lll_robust_unlock): Remove out of line section. Use cfi
15594 intrinsics.
df5b85da 15595 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
15596 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15597 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15598 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15599 (lll_robust_unlock): Remove out of line section. Use cfi
15600 intrinsics.
df5b85da
AK
15601 (LLL_STUB_UNWIND_INFO*): Remove.
15602
fbd6b5a4
SP
156032014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15604
15605 [BZ #16758]
15606 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15607 blank values.
15608
1b26b855
PP
156092014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15610
15611 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15612
9be36fb8
JM
156132014-03-26 Joseph Myers <joseph@codesourcery.com>
15614
15615 [BZ #16198]
15616 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15617 fnstenv.
15618 * math/test-fenv-preserve.c: New file.
15619 * math/Makefile (tests): Add test-fenv-preserve.
15620
60a2f3c1
WN
156212014-03-26 Will Newton <will.newton@linaro.org>
15622
15623 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15624
a5e5f1e2
RM
156252014-03-25 Roland McGrath <roland@hack.frob.com>
15626
15627 * scripts/versionlist.awk: Partition the version sets and emit all
15628 GLIBC_* (sorted) before all others (sorted).
15629
00f4012a
JM
156302014-03-25 Joseph Myers <joseph@codesourcery.com>
15631
15632 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15633 GLIBC_2.2.5 version.
15634
7bc5a741
AZ
156352014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15636
15637 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15638 calls.
15639
7578473b
AZ
15640 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15641 previous change.
15642
f3f1dab3
AZ
15643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15644
6da36183
AS
156452014-03-25 Andreas Schwab <schwab@suse.de>
15646
15647 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15648 label to be used after in6ailist is initialized.
15649
f3f1dab3 156502014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 15651
7578473b 15652 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
15653 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15654
046651c1
JM
156552014-03-25 Joseph Myers <joseph@codesourcery.com>
15656
15657 [BZ #16357]
15658 [BZ #16599]
15659 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15660 min_plus_half.
15661 (fp_formats): Update initializers.
15662 (init_fp_formats): Initialize new field.
15663 (output_for_one_input_case): Allow underflow for results up to
15664 min_plus_half.
15665 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15666 * math/auto-libm-test-in: Don't mark some underflows from asin and
15667 atanh as spurious.
15668 * math/auto-libm-test-out: Regenerated.
15669 * sysdeps/i386/fpu/libm-test-ulps: Update.
15670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15671
003e49ed
AS
156722014-03-25 Andreas Schwab <schwab@suse.de>
15673
15674 * libio/Makefile (tst-ftell-partial-wide-ENV)
15675 (tst-ftell-active-handler-ENV): Define.
15676
de031874
SL
156772014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15678
15679 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15680
55a81e3b
PP
156812014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15682
15683 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15684
f3426898
JM
156852014-03-24 Joseph Myers <joseph@codesourcery.com>
15686
15687 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15688 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15689 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15690
a42faf59
PP
156912014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15692
15693 [BZ #16634]
a42faf59 15694 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
15695 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15696 (open_path): Change from boolean 'secure' to complete flag 'mode'
15697 (_dl_map_object): Adjust.
a42faf59
PP
15698 * elf/Makefile (tests): Add tst-dlopen-aout.
15699 * elf/tst-dlopen-aout.c: New test.
15700
50936127
SL
157012014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15702
15703 [BZ #16714]
15704 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15705 (struct stat): Rename member pad0 to __glibc_reserved0.
15706
26011b5c
SL
15707 [BZ #16712]
15708 * sysdeps/s390/s390-32/bits/wordsize.h
15709 (__WORDSIZE32_SIZE_ULONG): New define.
15710 * sysdeps/s390/s390-64/bits/wordsize.h
15711 (__WORDSIZE32_SIZE_ULONG): Likewise.
15712 * sysdeps/generic/stdint.h (SIZE_MAX):
15713 Define as UL if __WORDSIZE32_SIZE_ULONG.
15714
a2d86bf1
SL
15715 [BZ #16713]
15716 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15717 (__glibc_reserved0): New variable.
15718 (sa_flags): Change type to int.
15719
78b6eebc
SL
15720 * posix/Makefile (before-compile): Use += before-compile instead
15721 of a :=.
15722
f1399b5a
SL
15723 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15724 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15725
a071766e
AS
157262014-03-20 Andreas Schwab <schwab@suse.de>
15727
15728 [BZ #16743]
15729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15730 non-matching result from nscd.
15731
27c673b8
SP
157322014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15733
15734 * scripts/bench.py: Moved to ...
15735 * benchtests/scripts/bench.py: ... here.
15736 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15737
44152e4b
AS
157382014-03-24 Andreas Schwab <schwab@suse.de>
15739
15740 [BZ #16002]
15741 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15742 alloca_account and account alloca use for struct in6ailist.
15743
b376a11a
JM
157442014-03-24 Joseph Myers <joseph@codesourcery.com>
15745
15746 [BZ #16284]
15747 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15748 rounding mode to recompute results that overflow to infinity or
15749 underflow to zero.
15750 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15751 bug 16284.
15752 * math/auto-libm-test-out: Regenerated.
15753 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15754 (ccosh_test): Likewise.
15755 (csin_test_data): Use plus_oflow.
15756 (csin_test): Use ALL_RM_TEST.
15757 (csinh_test_data): Use plus_oflow.
15758 (csinh_test): Use ALL_RM_TEST.
15759 * sysdeps/i386/fpu/libm-test-ulps: Update.
15760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15761
f7be7376
JM
157622014-03-21 Joseph Myers <joseph@codesourcery.com>
15763
1ca2d03e
JM
15764 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15765 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15766 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15767
f7be7376
JM
15768 [BZ #16731]
15769 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15770 when x - 1 is zero.
15771 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15772 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15773 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15774 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15775 argument is 1.
15776 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15777 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15778 zero.
15779 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15780 * sysdeps/i386/fpu/libm-test-ulps: Update.
15781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15782
fdf4534d
SP
157832014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15784
df26ea53
SP
15785 * scripts/bench.pl: Remove file.
15786 * scripts/bench.py: New benchmark script.
15787 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15788 * benchtests/README: Mention python dependency.
15789 * scripts/pylintrc: New file.
15790 * scripts/pylint: New file.
15791
fdf4534d
SP
15792 * bits/mathdef.h: Use #ifdef instead of #if.
15793 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15794 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15795 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15796 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15797 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15798 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15799
6f23d093
AZ
158002014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15801 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15802
15803 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15805 and strpbrk-ppc64 objects.
15806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15807 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15808 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15809 multiarch strpbrk for POWER7.
15810 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15811 multiarch strpbrk for PPC64.
15812 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15813 ifunc selector.
15814 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15815 strpbrk for POWER7.
15816
8c92dfff
JM
158172014-03-20 Joseph Myers <joseph@codesourcery.com>
15818
15819 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15820 (atan_test): Likewise.
15821 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15822 (atanh_test): Use ALL_RM_TEST.
15823 (atan2_test_data): Likewise.
15824 (cabs_test): Likewise.
15825 (cacosh_test): Likewise.
15826 (carg_test): Likewise.
15827 (casin_test): Likewise.
15828 (casinh_test): Likewise.
15829 (cbrt_test): Likewise.
15830 (csqrt_test): Likewise.
15831 (erf_test): Likewise.
15832 (erfc_test): Likewise.
15833 (pow10_test): Likewise.
15834 (exp2_test): Likewise.
15835 (hypot_test): Likewise.
15836 (j0_test): Likewise.
15837 (j1_test): Likewise.
15838 (lgamma_test): Likewise.
15839 (gamma_test): Likewise.
15840 (sincos_test): Likewise.
15841 (tanh_test): Likewise.
15842 (y0_test): Likewise.
15843 (y1_test): Likewise.
15844 * sysdeps/i386/fpu/libm-test-ulps: Update.
15845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15846
6eaf95cb
AZ
158472014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15848
a387428c
SP
15849 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15850 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
15851 and strcspn-ppc64 objects.
15852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15853 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15854 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15855 multiarch strcspn for POWER7.
15856 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15857 multiarch strcspn for PPC64.
15858 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15859 ifunc selector.
15860 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15861 strcspn for POWER7.
15862
ae3a5dff
JM
158632014-03-20 Joseph Myers <joseph@codesourcery.com>
15864
15865 * math/gen-libm-test.pl (generate_testfile): Expect only function
15866 name as argument to AUTO_TESTS_* and pass results for all rounding
15867 modes to parse_args.
15868 (parse_auto_input): Separate inputs of automatic tests from
15869 outputs before storing in %auto_tests.
15870 * math/libm-test.inc (acos_test_data): Update call to
15871 AUTO_TESTS_f_f.
15872 (acos_test): Use ALL_RM_TEST.
15873 (acos_tonearest_test_data): Remove.
15874 (acos_test_tonearest): Likewise.
15875 (acos_towardzero_test_data): Likewise.
15876 (acos_test_towardzero): Likewise.
15877 (acos_downward_test_data): Likewise.
15878 (acos_test_downward): Likewise.
15879 (acos_upward_test_data): Likewise.
15880 (acos_test_upward): Likewise.
15881 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15882 (asin_test_data): Likewise.
15883 (asin_test): Use ALL_RM_TEST.
15884 (asin_tonearest_test_data): Remove.
15885 (asin_test_tonearest): Likewise.
15886 (asin_towardzero_test_data): Likewise.
15887 (asin_test_towardzero): Likewise.
15888 (asin_downward_test_data): Likewise.
15889 (asin_test_downward): Likewise.
15890 (asin_upward_test_data): Likewise.
15891 (asin_test_upward): Likewise.
15892 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15893 (atan_test_data): Likewise.
15894 (atanh_test_data): Likewise.
15895 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15896 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15897 (carg_test_data): Likewise.
15898 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15899 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15900 (ccosh_test_data): Likewise.
15901 (cexp_test_data): Likewise.
15902 (clog_test_data): Likewise.
15903 (clog10_test_data): Likewise.
15904 (cos_test_data): Update call to AUTO_TESTS_f_f.
15905 (cos_test): Use ALL_RM_TEST.
15906 (cos_tonearest_test_data): Remove.
15907 (cos_test_tonearest): Likewise.
15908 (cos_towardzero_test_data): Likewise.
15909 (cos_test_towardzero): Likewise.
15910 (cos_downward_test_data): Likewise.
15911 (cos_test_downward): Likewise.
15912 (cos_upward_test_data): Likewise.
15913 (cos_test_upward): Likewise.
15914 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15915 (cosh_test): Use ALL_RM_TEST.
15916 (cosh_tonearest_test_data): Remove.
15917 (cosh_test_tonearest): Likewise.
15918 (cosh_towardzero_test_data): Likewise.
15919 (cosh_test_towardzero): Likewise.
15920 (cosh_downward_test_data): Likewise.
15921 (cosh_test_downward): Likewise.
15922 (cosh_upward_test_data): Likewise.
15923 (cosh_test_upward): Likewise.
15924 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15925 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15926 (ctan_test_data): Likewise.
15927 (ctan_test): Use ALL_RM_TEST.
15928 (ctan_tonearest_test_data): Remove.
15929 (ctan_test_tonearest): Likewise.
15930 (ctan_towardzero_test_data): Likewise.
15931 (ctan_test_towardzero): Likewise.
15932 (ctan_downward_test_data): Likewise.
15933 (ctan_test_downward): Likewise.
15934 (ctan_upward_test_data): Likewise.
15935 (ctan_test_upward): Likewise.
15936 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15937 (ctanh_test): Use ALL_RM_TEST.
15938 (ctanh_tonearest_test_data): Remove.
15939 (ctanh_test_tonearest): Likewise.
15940 (ctanh_towardzero_test_data): Likewise.
15941 (ctanh_test_towardzero): Likewise.
15942 (ctanh_downward_test_data): Likewise.
15943 (ctanh_test_downward): Likewise.
15944 (ctanh_upward_test_data): Likewise.
15945 (ctanh_test_upward): Likewise.
15946 (erf_test_data): Update call to AUTO_TESTS_f_f.
15947 (erfc_test_data): Likewise.
15948 (exp_test_data): Likewise.
15949 (exp_test): Use ALL_RM_TEST.
15950 (exp_tonearest_test_data): Remove.
15951 (exp_test_tonearest): Likewise.
15952 (exp_towardzero_test_data): Likewise.
15953 (exp_test_towardzero): Likewise.
15954 (exp_downward_test_data): Likewise.
15955 (exp_test_downward): Likewise.
15956 (exp_upward_test_data): Likewise.
15957 (exp_test_upward): Likewise.
15958 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15959 (exp10_test): Use ALL_RM_TEST.
15960 (exp10_tonearest_test_data): Remove.
15961 (exp10_test_tonearest): Likewise.
15962 (exp10_towardzero_test_data): Likewise.
15963 (exp10_test_towardzero): Likewise.
15964 (exp10_downward_test_data): Likewise.
15965 (exp10_test_downward): Likewise.
15966 (exp10_upward_test_data): Likewise.
15967 (exp10_test_upward): Likewise.
15968 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15969 (expm1_test_data): Likewise.
15970 (expm1_test): Use ALL_RM_TEST.
15971 (expm1_tonearest_test_data): Remove.
15972 (expm1_test_tonearest): Likewise.
15973 (expm1_towardzero_test_data): Likewise.
15974 (expm1_test_towardzero): Likewise.
15975 (expm1_downward_test_data): Likewise.
15976 (expm1_test_downward): Likewise.
15977 (expm1_upward_test_data): Likewise.
15978 (expm1_test_upward): Likewise.
15979 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15980 (fma_test): Use ALL_RM_TEST.
15981 (fma_towardzero_test_data): Remove.
15982 (fma_test_towardzero): Likewise.
15983 (fma_downward_test_data): Likewise.
15984 (fma_test_downward): Likewise.
15985 (fma_upward_test_data): Likewise.
15986 (fma_test_upward): Likewise.
15987 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15988 (j0_test_data): Update call to AUTO_TESTS_f_f.
15989 (j1_test_data): Likewise.
15990 (jn_test_data): Update call to AUTO_TESTS_if_f.
15991 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15992 (log_test_data): Update call to AUTO_TESTS_f_f.
15993 (log10_test_data): Likewise.
15994 (log1p_test_data): Likewise.
15995 (log2_test_data): Likewise.
15996 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15997 (pow_tonearest_test_data): Likewise.
15998 (sin_test_data): Update call to AUTO_TESTS_f_f.
15999 (sin_test): Use ALL_RM_TEST.
16000 (sin_tonearest_test_data): Remove.
16001 (sin_test_tonearest): Likewise.
16002 (sin_towardzero_test_data): Likewise.
16003 (sin_test_towardzero): Likewise.
16004 (sin_downward_test_data): Likewise.
16005 (sin_test_downward): Likewise.
16006 (sin_upward_test_data): Likewise.
16007 (sin_test_upward): Likewise.
16008 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16009 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16010 (sinh_test): Use ALL_RM_TEST.
16011 (sinh_tonearest_test_data): Remove.
16012 (sinh_test_tonearest): Likewise.
16013 (sinh_towardzero_test_data): Likewise.
16014 (sinh_test_towardzero): Likewise.
16015 (sinh_downward_test_data): Likewise.
16016 (sinh_test_downward): Likewise.
16017 (sinh_upward_test_data): Likewise.
16018 (sinh_test_upward): Likewise.
16019 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16020 (sqrt_test): Use ALL_RM_TEST.
16021 (sqrt_tonearest_test_data): Remove.
16022 (sqrt_test_tonearest): Likewise.
16023 (sqrt_towardzero_test_data): Likewise.
16024 (sqrt_test_towardzero): Likewise.
16025 (sqrt_downward_test_data): Likewise.
16026 (sqrt_test_downward): Likewise.
16027 (sqrt_upward_test_data): Likewise.
16028 (sqrt_test_upward): Likewise.
16029 (tan_test_data): Update call to AUTO_TESTS_f_f.
16030 (tan_test): Use ALL_RM_TEST.
16031 (tan_tonearest_test_data): Remove.
16032 (tan_test_tonearest): Likewise.
16033 (tan_towardzero_test_data): Likewise.
16034 (tan_test_towardzero): Likewise.
16035 (tan_downward_test_data): Likewise.
16036 (tan_test_downward): Likewise.
16037 (tan_upward_test_data): Likewise.
16038 (tan_test_upward): Likewise.
16039 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16040 (tgamma_test_data): Likewise.
16041 (y0_test_data): Likewise.
16042 (y1_test_data): Likewise.
16043 (yn_test_data): Update call to AUTO_TESTS_if_f.
16044 (main): Do not call removed functions.
16045
d71aeee8
JM
160462014-03-19 Joseph Myers <joseph@codesourcery.com>
16047
16048 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16049 (ldexp_test_data): Remove.
16050 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16051 scalbn_test_data.
16052 (scalb_test): Use ALL_RM_TEST.
16053
baaf1ded
AS
160542014-03-19 Andreas Schwab <schwab@suse.de>
16055
16056 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16057
b1115e91
JM
160582014-03-19 Joseph Myers <joseph@codesourcery.com>
16059
16060 [BZ #16649]
16061 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16062 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16063 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16064 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16065 (__ASSUME_PREADV): Undefine.
16066 (__ASSUME_PWRITEV): Likewise.
16067
0283ecca
RM
160682014-03-18 Roland McGrath <roland@hack.frob.com>
16069
7d375303
RM
16070 * bits/mman-linux.h: Add comment about non-Linux use.
16071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16072 bits/mman-linux.h resting place.
16073
0283ecca
RM
16074 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16075 * bits/mman-linux.h: ... here.
16076
aebe1003
AZ
160772014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16078
16079 * conform/conformtest.pl: Add standard definition when calling C
16080 preprocessor on data files.
16081 (checknamespace): Remove unused variable.
16082
b29b6bb8
JM
160832014-03-18 Joseph Myers <joseph@codesourcery.com>
16084
16085 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16086 minus_oflow, plus_uflow and minus_uflow in expected results.
16087 * math/libm-test.inc (scalbn_test_data): Add more tests of
16088 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16089 minus_uflow.
16090 (scalbn_test): Use ALL_RM_TEST.
16091 (scalbln_test_data): Add more tests of negative arguments. Use
16092 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16093 (scalbln_test): Use ALL_RM_TEST.
16094
c8f8fa15
RM
160952014-03-18 Roland McGrath <roland@hack.frob.com>
16096
16097 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16098
fede7a5f
WN
160992014-03-18 Will Newton <will.newton@linaro.org>
16100
16101 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16102 inaccurate comment.
16103
80cf0a58
JM
161042014-03-18 Joseph Myers <joseph@codesourcery.com>
16105
16106 * Makerules [!subdir] (check-abi): Exit with error status if a
16107 test failed.
16108
b3620862
JM
161092014-03-17 Joseph Myers <joseph@codesourcery.com>
16110
16111 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16112 for rint. Include results for all rounding modes.
16113 (nearbyint_test): Use ALL_RM_TEST.
16114 (rint_test_data): Include all tests used for nearbyint.
16115
788bba36
WN
161162014-03-17 Will Newton <will.newton@linaro.org>
16117
04ec140a
WN
16118 * nptl/sysdeps/pthread/pthread.h: Revert previous
16119 change.
16120
7579d8d5
WN
16121 * sysdeps/generic/ldsodefs.h: Revert previous
16122 change.
16123
c15cf13a
WN
16124 * libio/genops.c: Revert previous change.
16125 * libio/libioP.h: Likewise.
16126 * stdio-common/vfprintf.c: Likewise.
16127
d0ac1324
WN
16128 * sysdeps/generic/math_private.h: Revert previous
16129 change.
16130
9290130a
WN
16131 * sysdeps/generic/math_private.h: Check whether
16132 HAVE_RM_CTX is defined with #ifdef rather
16133 than #if.
16134
afb466fc
WN
16135 * argp/argp-fmtstream.h: Check whether
16136 __STRICT_ANSI__ is defined with #ifdef rather
16137 than #if.
16138 * argp/argp.h: Likewise.
16139
f7efd7c3
WN
16140 * libio/genops.c: Check whether
16141 _IO_JUMPS_OFFSET is defined with #ifdef rather
16142 than #if.
16143 * libio/libioP.h: Likewise.
16144 * stdio-common/vfprintf.c: Likewise.
16145
53f1bed3
WN
16146 * sysdeps/generic/ldsodefs.h: Check whether
16147 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16148 than #if.
16149
788bba36
WN
16150 * nptl/sysdeps/pthread/pthread.h: Check
16151 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16152 its value.
16153
fcd89ebe
SP
161542014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16155
ae42bbc5
SP
16156 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16157 setting O_APPEND.
16158 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16159 test case.
16160
ea33158c
SP
16161 [BZ #16680]
16162 * libio/fileops.c (_IO_file_open): Seek to end of file but
16163 don't cache the offset.
16164 (get_file_offset): Remove function.
16165 (do_ftell): Use cached offset when available.
16166 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16167 don't cache the offset.
16168 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16169 case.
16170 (do_one_test): Call it.
16171 (do_ftell_test): Fix up expected old offset for a+ mode.
16172 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16173 available.
16174
b1dbb426
SP
16175 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16176 up test status with function return status.
16177 (do_write_test): Likewise.
16178 (do_append_test): Likewise.
16179
fcd89ebe
SP
16180 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16181 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16182 Remove.
16183
9962a2d3
JM
161842014-03-17 Joseph Myers <joseph@codesourcery.com>
16185
16186 * math/gen-libm-test.pl (parse_args): Handle results specified for
16187 each rounding mode separately.
16188 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16189 tests and results from lrint_tonearest_test_data,
16190 lrint_towardzero_test_data, lrint_downward_test_data and
16191 lrint_upward_test_data.
16192 (lrint_test): Use ALL_RM_TEST.
16193 (lrint_tonearest_test_data): Remove.
16194 (lrint_test_tonearest): Likewise.
16195 (lrint_towardzero_test_data): Likewise.
16196 (lrint_test_towardzero): Likewise.
16197 (lrint_downward_test_data): Likewise.
16198 (lrint_test_downward): Likewise.
16199 (lrint_upward_test_data): Likewise.
16200 (lrint_test_upward): Likewise.
16201 (llrint_test_data): Merge in per-rounding-mode tests and results
16202 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16203 llrint_downward_test_data and llrint_upward_test_data.
16204 (llrint_test): Use ALL_RM_TEST.
16205 (llrint_tonearest_test_data): Remove.
16206 (llrint_test_tonearest): Likewise.
16207 (llrint_towardzero_test_data): Likewise.
16208 (llrint_test_towardzero): Likewise.
16209 (llrint_downward_test_data): Likewise.
16210 (llrint_test_downward): Likewise.
16211 (llrint_upward_test_data): Likewise.
16212 (llrint_test_upward): Likewise.
16213 (rint_test_data): Merge in per-rounding-mode tests and results
16214 from rint_tonearest_test_data, rint_towardzero_test_data,
16215 rint_downward_test_data and rint_upward_test_data. Add
16216 per-rounding-mode results for tests not in those arrays.
16217 (rint_test): Use ALL_RM_TEST.
16218 (rint_tonearest_test_data): Remove.
16219 (rint_test_tonearest): Likewise.
16220 (rint_towardzero_test_data): Likewise.
16221 (rint_test_towardzero): Likewise.
16222 (rint_downward_test_data): Likewise.
16223 (rint_test_downward): Likewise.
16224 (rint_upward_test_data): Likewise.
16225 (rint_test_upward): Likewise.
16226 (main): Don't call removed functions.
16227
5006148e
RM
162282014-03-14 Roland McGrath <roland@hack.frob.com>
16229
16230 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16231 "Compiled on ..." crapola. It is anti-useful.
16232
d6fe5e58
JM
162332014-03-14 Joseph Myers <joseph@codesourcery.com>
16234
16235 * scripts/evaluate-test.sh: Handle fourth argument to determine
16236 whether test run should stop on failure.
16237 * Makeconfig (stop-on-test-failure): New variable.
16238 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16239 $(stop-on-test-failure).
16240 * Makefile (tests): Give a summary of results from testing and
16241 exit with failure status if they include an ERROR or FAIL.
16242 (xtests): Likewise.
16243 * manual/install.texi (Configuring and compiling): Mention
16244 stop-on-test-failure=y.
16245 * INSTALL: Regenerated.
16246
498a2233
RM
162472014-03-14 Roland McGrath <roland@hack.frob.com>
16248
22dbc19d
RM
16249 * scripts/versionlist.awk: New file.
16250 * Makerules [$(build-shared) = yes]
16251 (postclean-generated): Add Versions.def, not Versions.def.v and
16252 Versions.def.v.i.
16253 ($(common-objpfx)Versions.def.v.i): Target removed.
16254 ($(common-objpfx)Versions.def): New target.
16255 ($(common-objpfx)Versions.all): Depend on that rather that
16256 $(common-objpfx)Versions.def.v.
16257 * Versions.def: File removed.
16258
498a2233
RM
16259 * Makeconfig (+gccwarn): Add -Wundef.
16260 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16261 a dl-sysdep.h breaking its contract.
16262 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16263 * include/stackinfo.h: New file.
16264 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16265 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16266 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16267 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16268 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16269 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16270 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16271 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16272 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16273 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16274 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16275 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16276 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16277 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16278 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16279
c7de5025
AZ
162802014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16281
16282 [BZ #16707]
16283 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16284 implementation.
16285 * math/libm-test.inc (round_test_data): Add more tests.
16286
98fb27a3
AZ
16287 [BZ #16706]
16288 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16289 implementation.
16290 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16291
374f7f61
AZ
16292 [BZ #16701]
16293 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16294 implementation.
16295 * math/libm-test.inc (ceil_test_data): Add more tests.
16296
4655c291
AZ
16297 * math/libm-test.inc (trunc_test_data): Add more tests related to
16298 BZ#16414.
16299
d7329d4b
RM
163002014-03-14 Roland McGrath <roland@hack.frob.com>
16301
16302 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16303 with #if rather than #ifdef.
16304 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16305
aa4de9ce
L
163062014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16307
16308 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16309 first. Disable AVX-512 GCC support if assembler doesn't support
16310 it.
16311 * sysdeps/x86_64/configure: Regenerated.
16312
2e03fae7
CD
163132014-03-13 Carlos O'Donell <carlos@redhat.com>
16314
16315 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16316 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16317 (__old_pthread_attr_setstack): Likewise.
16318 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16319 [!_STACK_GROWS_DOWN]: Likewise.
16320
43ca83ec
MF
163212014-03-13 Mike Frysinger <vapier@gentoo.org>
16322
16323 * config.make.in (have-bash2): Delete.
16324 * configure.ac (libc_cv_have_bash2): Delete.
16325 * configure: Regenerate.
16326 * elf/Makefile (common-ldd-rewrite): Rename to ...
16327 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16328 (sh-ldd-rewrite): Delete.
16329 (bash-ldd-rewrite): Delete.
16330 (have-bash2): Delete checks.
57f41c40
AS
16331 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16332 ldd-rewrite.
c66e48b4
MF
16333
16334 * config.make.in (have-ksh): Delete.
16335 (KSH): Delete.
16336 * configure.ac (libc_cv_have_ksh): Delete.
16337 * configure: Regenerate.
16338
b93834ef
MF
16339 * elf/Makefile: Delete $(have-ksh) check.
16340 ($(objpfx)sotruss): Change KSH to BASH.
16341 * elf/sotruss.ksh: Rename to ...
16342 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16343 function style to match POSIX. Drop ksh vim mode setting.
16344
f3a4632a
MF
16345 * manual/time.texi (Specifying the Time Zone with TZ): Change
16346 Tuesday to Thursday.
16347
5896c8bd
MF
16348 * debug/tst-longjmp_chk2.c: Update header comment.
16349 (stackoverflow_handler): Add comment. Call assert on pass value.
16350
2d63a517
IZ
163512014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16352
7e54fd04 16353 [BZ #16194]
2d63a517
IZ
16354 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16355 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16356 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16357 (La_x86_64_vector): Add zmm.
16358 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16359 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16360 ($(objpfx)tst-audit10): New target.
16361 ($(objpfx)tst-audit10.out): Likewise.
16362 (tst-audit10-ENV): New.
16363 (AVX512-CFLAGS): Likewise.
16364 (CFLAGS-tst-audit10.c): Likewise.
16365 (CFLAGS-tst-auditmod10a.c): Likewise.
16366 (CFLAGS-tst-auditmod10b.c): Likewise.
16367 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16368 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16369 * sysdeps/x86_64/configure: Regenerated.
16370 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16371 AVX-512 zmm register support.
16372 (_dl_x86_64_save_sse): Likewise.
16373 (_dl_x86_64_restore_sse): Likewise.
16374 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16375 size vector registers.
16376 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16377 (ZMM_SIZE): Likewise.
16378 * sysdeps/x86_64/tst-audit10.c: New file.
16379 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16380 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16381
44c4e5d5
RM
163822014-03-13 Roland McGrath <roland@hack.frob.com>
16383
16384 * configure.ac (HAVE_EHDR_START): New check.
16385 * configure: Regenerated.
16386 * config.h.in (HAVE_EHDR_START): New #undef.
16387 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16388 assuming the lowest-addressed segment maps the start of the file.
16389
acd6e389
JM
163902014-03-13 Joseph Myers <joseph@codesourcery.com>
16391
16392 * INSTALL: Regenerated.
16393
6f918f36
WN
163942014-03-13 Will Newton <will.newton@linaro.org>
16395
16396 * manual/setjmp.texi (System V contexts): Improve
16397 clarity and grammar of documentation.
16398
798212a0
PP
163992014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16400
16401 [BZ #16381]
798212a0 16402 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16403 (tests-pie): Add tst-pie2.
798212a0
PP
16404 * elf/tst-pie2.c: New file.
16405 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16406 for ET_EXEC.
16407 * elf/rtld.c (map_doit): Load executable as lt_executable.
16408 (dl_main): Likewise.
16409
abe6d90c
JM
164102014-03-12 Joseph Myers <joseph@codesourcery.com>
16411
16412 [BZ #16642]
16413 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16414 (__ASSUME_PSELECT): Undefine.
16415
dd3946c6
AZ
164162014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16417
16418 [BZ #16689]
16419 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16420 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16421 static build.
16422 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16423 selector for static builds.
16424
c44496df
SP
164252014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16426
16427 [BZ #16695]
16428 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16429 key in the buffer.
16430
27c7220a
AZ
164312014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16432
57f41c40
AS
16433 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16434 IFUNC selector for static builds.
27c7220a 16435
600fa361
JM
164362014-03-11 Joseph Myers <joseph@codesourcery.com>
16437
76c96cf7
JM
16438 * sysdeps/mips/math_private.h [__mips_hard_float]
16439 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16440 libc_feresetround_mips_ctx.
16441 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16442 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16443 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16444
600fa361
JM
16445 [BZ #16677]
16446 * math/s_nextafter.c (__nextafter): Do not return value from
16447 overflowing computation.
16448 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16449 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16450 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16451 Likewise.
16452 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16453 Likewise.
16454 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16455 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16456
d7706c32
RM
164572014-03-11 Roland McGrath <roland@hack.frob.com>
16458
16459 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16460 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16461 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16462 the new mov targetting sp.
16463
4facea47
AZ
164642014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16465
16466 [BZ #16683]
16467 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16468 Define it for static builds as well.
16469 (NO_BZERO_IMPL): Likewise.
16470
e65caf1f
VR
164712014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16472
16473 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16474 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16475 multiarch strspn for PPC64.
16476 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16477 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16479 (__libc_ifunc_impl_list): Likewise.
16480 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16481 multiarch optimizations
16482 * string/strspn.c (strspn): Using macro to redefine symbol name.
16483
ba9cc071
AZ
164842014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16485 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16486
16487 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16488 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16489 multiarch strncat for PPC64.
16490 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16491 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16493 (__libc_ifunc_impl_list): Likewise.
16494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16495 multiarch optimizations
16496
8b4ff974
SP
164972014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16498
16499 [BZ #16639]
16500 * nscd/nscd.service: Make service type forking.
16501
54b46a4b
AZ
165022014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16503
16504 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16505 sign in non default rounding modes.
16506 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16507
e9996ef7
JM
165082014-03-08 Joseph Myers <joseph@codesourcery.com>
16509
16510 * math/libm-test.inc (ALL_RM_TEST): New macro.
16511 (ceil_test): Use ALL_RM_TEST.
16512 (cimag_test): Likewise.
16513 (conj_test): Likewise.
16514 (copysign_test): Likewise.
16515 (cproj_test): Likewise.
16516 (creal_test): Likewise.
16517 (fabs_test): Likewise.
16518 (floor_test): Likewise.
16519 (fmax_test): Likewise.
16520 (fmin_test): Likewise.
16521 (fmod_test): Likewise.
16522 (fpclassify_test): Likewise.
16523 (frexp_test): Likewise.
16524 (ilogb_test): Likewise.
16525 (isfinite_test): Likewise.
16526 (finite_test): Likewise.
16527 (isgreater_test): Likewise.
16528 (isgreaterequal_test): Likewise.
16529 (isinf_test): Likewise.
16530 (isless_test): Likewise.
16531 (islessequal_test): Likewise.
16532 (islessgreater_test): Likewise.
16533 (isnan_test): Likewise.
16534 (isnormal_test): Likewise.
16535 (issignaling_test): Likewise.
16536 (isunordered_test): Likewise.
16537 (logb_test): Likewise.
16538 (logb_downward_test_data): Remove.
16539 (logb_test_downward): Likewise.
16540 (lround_test): Use ALL_RM_TEST.
16541 (llround_test): Likewise.
16542 (modf_test): Likewise.
16543 (nexttoward_test): Likewise.
16544 (remainder_test): Likewise.
16545 (drem_test): Likewise.
16546 (remainder_tonearest_test_data): Likewise.
16547 (remainder_test_tonearest): Likewise.
16548 (drem_test_tonearest): Likewise.
16549 (remainder_towardzero_test_data): Likewise.
16550 (remainder_test_towardzero): Likewise.
16551 (drem_test_towardzero): Likewise.
16552 (remainder_downward_test_data): Likewise.
16553 (remainder_test_downward): Likewise.
16554 (drem_test_downward): Likewise.
16555 (remainder_upward_test_data): Likewise.
16556 (remainder_test_upward): Likewise.
16557 (drem_test_upward): Likewise.
16558 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16559 (round_test): Use ALL_RM_TEST.
16560 (signbit_test): Likewise.
16561 (trunc_test): Likewise.
16562 (significand_test): Likewise.
16563 (main): Don't call removed functions.
16564
bc61d27c
JM
165652014-03-07 Joseph Myers <joseph@codesourcery.com>
16566
5c780849
JM
16567 [BZ #16674]
16568 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16569 || __USE_XOPEN2K8].
16570 (ILL_ILLOPN): Likewise.
16571 (ILL_ILLADR): Likewise.
16572 (ILL_ILLTRP): Likewise.
16573 (ILL_PRVOPC): Likewise.
16574 (ILL_PRVREG): Likewise.
16575 (ILL_COPROC): Likewise.
16576 (ILL_BADSTK): Likewise.
16577 (FPE_INTDIV): Likewise.
16578 (FPE_INTOVF): Likewise.
16579 (FPE_FLTDIV): Likewise.
16580 (FPE_FLTOVF): Likewise.
16581 (FPE_FLTUND): Likewise.
16582 (FPE_FLTRES): Likewise.
16583 (FPE_FLTINV): Likewise.
16584 (FPE_FLTSUB): Likewise.
16585 (SEGV_MAPERR): Likewise.
16586 (SEGV_ACCERR): Likewise.
16587 (BUS_ADRALN): Likewise.
16588 (BUS_ADRERR): Likewise.
16589 (BUS_OBJERR): Likewise.
16590 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16591 (TRAP_TRACE): Likewise.
16592 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16593 __USE_XOPEN2K8].
16594 (CLD_KILLED): Likewise.
16595 (CLD_DUMPED): Likewise.
16596 (CLD_TRAPPED): Likewise.
16597 (CLD_STOPPED): Likewise.
16598 (CLD_CONTINUED): Likewise.
16599 (POLL_IN): Likewise.
16600 (POLL_OUT): Likewise.
16601 (POLL_MSG): Likewise.
16602 (POLL_ERR): Likewise.
16603 (POLL_PRI): Likewise.
16604 (POLL_HUP): Likewise.
16605 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16606 Likewise.
16607 (ILL_ILLOPN): Likewise.
16608 (ILL_ILLADR): Likewise.
16609 (ILL_ILLTRP): Likewise.
16610 (ILL_PRVOPC): Likewise.
16611 (ILL_PRVREG): Likewise.
16612 (ILL_COPROC): Likewise.
16613 (ILL_BADSTK): Likewise.
16614 (FPE_INTDIV): Likewise.
16615 (FPE_INTOVF): Likewise.
16616 (FPE_FLTDIV): Likewise.
16617 (FPE_FLTOVF): Likewise.
16618 (FPE_FLTUND): Likewise.
16619 (FPE_FLTRES): Likewise.
16620 (FPE_FLTINV): Likewise.
16621 (FPE_FLTSUB): Likewise.
16622 (SEGV_MAPERR): Likewise.
16623 (SEGV_ACCERR): Likewise.
16624 (BUS_ADRALN): Likewise.
16625 (BUS_ADRERR): Likewise.
16626 (BUS_OBJERR): Likewise.
16627 (BUS_MCEERR_AR): Likewise.
16628 (BUS_MCEERR_AO): Likewise.
16629 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16630 (TRAP_TRACE): Likewise.
16631 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16632 __USE_XOPEN2K8].
16633 (CLD_KILLED): Likewise.
16634 (CLD_DUMPED): Likewise.
16635 (CLD_TRAPPED): Likewise.
16636 (CLD_STOPPED): Likewise.
16637 (CLD_CONTINUED): Likewise.
16638 (POLL_IN): Likewise.
16639 (POLL_OUT): Likewise.
16640 (POLL_MSG): Likewise.
16641 (POLL_ERR): Likewise.
16642 (POLL_PRI): Likewise.
16643 (POLL_HUP): Likewise.
16644 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16645 (ILL_ILLOPN): Likewise.
16646 (ILL_ILLADR): Likewise.
16647 (ILL_ILLTRP): Likewise.
16648 (ILL_PRVOPC): Likewise.
16649 (ILL_PRVREG): Likewise.
16650 (ILL_COPROC): Likewise.
16651 (ILL_BADSTK): Likewise.
16652 (FPE_INTDIV): Likewise.
16653 (FPE_INTOVF): Likewise.
16654 (FPE_FLTDIV): Likewise.
16655 (FPE_FLTOVF): Likewise.
16656 (FPE_FLTUND): Likewise.
16657 (FPE_FLTRES): Likewise.
16658 (FPE_FLTINV): Likewise.
16659 (FPE_FLTSUB): Likewise.
16660 (SEGV_MAPERR): Likewise.
16661 (SEGV_ACCERR): Likewise.
16662 (BUS_ADRALN): Likewise.
16663 (BUS_ADRERR): Likewise.
16664 (BUS_OBJERR): Likewise.
16665 (BUS_MCEERR_AR): Likewise.
16666 (BUS_MCEERR_AO): Likewise.
16667 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16668 (TRAP_TRACE): Likewise.
16669 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16670 __USE_XOPEN2K8].
16671 (CLD_KILLED): Likewise.
16672 (CLD_DUMPED): Likewise.
16673 (CLD_TRAPPED): Likewise.
16674 (CLD_STOPPED): Likewise.
16675 (CLD_CONTINUED): Likewise.
16676 (POLL_IN): Likewise.
16677 (POLL_OUT): Likewise.
16678 (POLL_MSG): Likewise.
16679 (POLL_ERR): Likewise.
16680 (POLL_PRI): Likewise.
16681 (POLL_HUP): Likewise.
16682 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16683 Likewise.
16684 (ILL_ILLOPN): Likewise.
16685 (ILL_ILLADR): Likewise.
16686 (ILL_ILLTRP): Likewise.
16687 (ILL_PRVOPC): Likewise.
16688 (ILL_PRVREG): Likewise.
16689 (ILL_COPROC): Likewise.
16690 (ILL_BADSTK): Likewise.
16691 (ILL_BADIADDR): Likewise.
16692 (ILL_BREAK): Likewise.
16693 (FPE_INTDIV): Likewise.
16694 (FPE_INTOVF): Likewise.
16695 (FPE_FLTDIV): Likewise.
16696 (FPE_FLTOVF): Likewise.
16697 (FPE_FLTUND): Likewise.
16698 (FPE_FLTRES): Likewise.
16699 (FPE_FLTINV): Likewise.
16700 (FPE_FLTSUB): Likewise.
16701 (FPE_DECOVF): Likewise.
16702 (FPE_DECDIV): Likewise.
16703 (FPE_DECERR): Likewise.
16704 (FPE_INVASC): Likewise.
16705 (FPE_INVDEC): Likewise.
16706 (SEGV_MAPERR): Likewise.
16707 (SEGV_ACCERR): Likewise.
16708 (SEGV_PSTKOVF): Likewise.
16709 (BUS_ADRALN): Likewise.
16710 (BUS_ADRERR): Likewise.
16711 (BUS_OBJERR): Likewise.
16712 (BUS_MCEERR_AR): Likewise.
16713 (BUS_MCEERR_AO): Likewise.
16714 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16715 (TRAP_TRACE): Likewise.
16716 (TRAP_BRANCH): Likewise.
16717 (TRAP_HWBKPT): Likewise.
16718 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16719 __USE_XOPEN2K8].
16720 (CLD_KILLED): Likewise.
16721 (CLD_DUMPED): Likewise.
16722 (CLD_TRAPPED): Likewise.
16723 (CLD_STOPPED): Likewise.
16724 (CLD_CONTINUED): Likewise.
16725 (POLL_IN): Likewise.
16726 (POLL_OUT): Likewise.
16727 (POLL_MSG): Likewise.
16728 (POLL_ERR): Likewise.
16729 (POLL_PRI): Likewise.
16730 (POLL_HUP): Likewise.
16731 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16732 (ILL_ILLOPN): Likewise.
16733 (ILL_ILLADR): Likewise.
16734 (ILL_ILLTRP): Likewise.
16735 (ILL_PRVOPC): Likewise.
16736 (ILL_PRVREG): Likewise.
16737 (ILL_COPROC): Likewise.
16738 (ILL_BADSTK): Likewise.
16739 (FPE_INTDIV): Likewise.
16740 (FPE_INTOVF): Likewise.
16741 (FPE_FLTDIV): Likewise.
16742 (FPE_FLTOVF): Likewise.
16743 (FPE_FLTUND): Likewise.
16744 (FPE_FLTRES): Likewise.
16745 (FPE_FLTINV): Likewise.
16746 (FPE_FLTSUB): Likewise.
16747 (SEGV_MAPERR): Likewise.
16748 (SEGV_ACCERR): Likewise.
16749 (BUS_ADRALN): Likewise.
16750 (BUS_ADRERR): Likewise.
16751 (BUS_OBJERR): Likewise.
16752 (BUS_MCEERR_AR): Likewise.
16753 (BUS_MCEERR_AO): Likewise.
16754 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16755 (TRAP_TRACE): Likewise.
16756 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16757 __USE_XOPEN2K8].
16758 (CLD_KILLED): Likewise.
16759 (CLD_DUMPED): Likewise.
16760 (CLD_TRAPPED): Likewise.
16761 (CLD_STOPPED): Likewise.
16762 (CLD_CONTINUED): Likewise.
16763 (POLL_IN): Likewise.
16764 (POLL_OUT): Likewise.
16765 (POLL_MSG): Likewise.
16766 (POLL_ERR): Likewise.
16767 (POLL_PRI): Likewise.
16768 (POLL_HUP): Likewise.
16769 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16770 (ILL_ILLOPN): Likewise.
16771 (ILL_ILLADR): Likewise.
16772 (ILL_ILLTRP): Likewise.
16773 (ILL_PRVOPC): Likewise.
16774 (ILL_PRVREG): Likewise.
16775 (ILL_COPROC): Likewise.
16776 (ILL_BADSTK): Likewise.
16777 (FPE_INTDIV): Likewise.
16778 (FPE_INTOVF): Likewise.
16779 (FPE_FLTDIV): Likewise.
16780 (FPE_FLTOVF): Likewise.
16781 (FPE_FLTUND): Likewise.
16782 (FPE_FLTRES): Likewise.
16783 (FPE_FLTINV): Likewise.
16784 (FPE_FLTSUB): Likewise.
16785 (SEGV_MAPERR): Likewise.
16786 (SEGV_ACCERR): Likewise.
16787 (BUS_ADRALN): Likewise.
16788 (BUS_ADRERR): Likewise.
16789 (BUS_OBJERR): Likewise.
16790 (BUS_MCEERR_AR): Likewise.
16791 (BUS_MCEERR_AO): Likewise.
16792 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16793 (TRAP_TRACE): Likewise.
16794 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16795 __USE_XOPEN2K8].
16796 (CLD_KILLED): Likewise.
16797 (CLD_DUMPED): Likewise.
16798 (CLD_TRAPPED): Likewise.
16799 (CLD_STOPPED): Likewise.
16800 (CLD_CONTINUED): Likewise.
16801 (POLL_IN): Likewise.
16802 (POLL_OUT): Likewise.
16803 (POLL_MSG): Likewise.
16804 (POLL_ERR): Likewise.
16805 (POLL_PRI): Likewise.
16806 (POLL_HUP): Likewise.
16807 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16808 (ILL_ILLOPN): Likewise.
16809 (ILL_ILLADR): Likewise.
16810 (ILL_ILLTRP): Likewise.
16811 (ILL_PRVOPC): Likewise.
16812 (ILL_PRVREG): Likewise.
16813 (ILL_COPROC): Likewise.
16814 (ILL_BADSTK): Likewise.
16815 (FPE_INTDIV): Likewise.
16816 (FPE_INTOVF): Likewise.
16817 (FPE_FLTDIV): Likewise.
16818 (FPE_FLTOVF): Likewise.
16819 (FPE_FLTUND): Likewise.
16820 (FPE_FLTRES): Likewise.
16821 (FPE_FLTINV): Likewise.
16822 (FPE_FLTSUB): Likewise.
16823 (SEGV_MAPERR): Likewise.
16824 (SEGV_ACCERR): Likewise.
16825 (BUS_ADRALN): Likewise.
16826 (BUS_ADRERR): Likewise.
16827 (BUS_OBJERR): Likewise.
16828 (BUS_MCEERR_AR): Likewise.
16829 (BUS_MCEERR_AO): Likewise.
16830 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16831 (TRAP_TRACE): Likewise.
16832 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16833 __USE_XOPEN2K8].
16834 (CLD_KILLED): Likewise.
16835 (CLD_DUMPED): Likewise.
16836 (CLD_TRAPPED): Likewise.
16837 (CLD_STOPPED): Likewise.
16838 (CLD_CONTINUED): Likewise.
16839 (POLL_IN): Likewise.
16840 (POLL_OUT): Likewise.
16841 (POLL_MSG): Likewise.
16842 (POLL_ERR): Likewise.
16843 (POLL_PRI): Likewise.
16844 (POLL_HUP): Likewise.
16845 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16846 (ILL_ILLOPN): Likewise.
16847 (ILL_ILLADR): Likewise.
16848 (ILL_ILLTRP): Likewise.
16849 (ILL_PRVOPC): Likewise.
16850 (ILL_PRVREG): Likewise.
16851 (ILL_COPROC): Likewise.
16852 (ILL_BADSTK): Likewise.
16853 (ILL_DBLFLT): Likewise.
16854 (ILL_HARDWALL): Likewise.
16855 (FPE_INTDIV): Likewise.
16856 (FPE_INTOVF): Likewise.
16857 (FPE_FLTDIV): Likewise.
16858 (FPE_FLTOVF): Likewise.
16859 (FPE_FLTUND): Likewise.
16860 (FPE_FLTRES): Likewise.
16861 (FPE_FLTINV): Likewise.
16862 (FPE_FLTSUB): Likewise.
16863 (SEGV_MAPERR): Likewise.
16864 (SEGV_ACCERR): Likewise.
16865 (BUS_ADRALN): Likewise.
16866 (BUS_ADRERR): Likewise.
16867 (BUS_OBJERR): Likewise.
16868 (BUS_MCEERR_AR): Likewise.
16869 (BUS_MCEERR_AO): Likewise.
16870 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16871 (TRAP_TRACE): Likewise.
16872 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16873 __USE_XOPEN2K8].
16874 (CLD_KILLED): Likewise.
16875 (CLD_DUMPED): Likewise.
16876 (CLD_TRAPPED): Likewise.
16877 (CLD_STOPPED): Likewise.
16878 (CLD_CONTINUED): Likewise.
16879 (POLL_IN): Likewise.
16880 (POLL_OUT): Likewise.
16881 (POLL_MSG): Likewise.
16882 (POLL_ERR): Likewise.
16883 (POLL_PRI): Likewise.
16884 (POLL_HUP): Likewise.
16885 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16886 (ILL_ILLOPN): Likewise.
16887 (ILL_ILLADR): Likewise.
16888 (ILL_ILLTRP): Likewise.
16889 (ILL_PRVOPC): Likewise.
16890 (ILL_PRVREG): Likewise.
16891 (ILL_COPROC): Likewise.
16892 (ILL_BADSTK): Likewise.
16893 (FPE_INTDIV): Likewise.
16894 (FPE_INTOVF): Likewise.
16895 (FPE_FLTDIV): Likewise.
16896 (FPE_FLTOVF): Likewise.
16897 (FPE_FLTUND): Likewise.
16898 (FPE_FLTRES): Likewise.
16899 (FPE_FLTINV): Likewise.
16900 (FPE_FLTSUB): Likewise.
16901 (SEGV_MAPERR): Likewise.
16902 (SEGV_ACCERR): Likewise.
16903 (BUS_ADRALN): Likewise.
16904 (BUS_ADRERR): Likewise.
16905 (BUS_OBJERR): Likewise.
16906 (BUS_MCEERR_AR): Likewise.
16907 (BUS_MCEERR_AO): Likewise.
16908 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16909 (TRAP_TRACE): Likewise.
16910 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16911 __USE_XOPEN2K8].
16912 (CLD_KILLED): Likewise.
16913 (CLD_DUMPED): Likewise.
16914 (CLD_TRAPPED): Likewise.
16915 (CLD_STOPPED): Likewise.
16916 (CLD_CONTINUED): Likewise.
16917 (POLL_IN): Likewise.
16918 (POLL_OUT): Likewise.
16919 (POLL_MSG): Likewise.
16920 (POLL_ERR): Likewise.
16921 (POLL_PRI): Likewise.
16922 (POLL_HUP): Likewise.
16923 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16924 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16925
bc61d27c
JM
16926 [BZ #16670]
16927 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16928 before #include of <time.h>.
16929 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16930 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16931 (test-xfail-UNIX98/sched.h/conform): Likewise.
16932
302949e2
MS
169332014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16934
16935 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16936 error absence of trapping exception support.
16937 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16938
a00f522a
JM
169392014-03-07 Joseph Myers <joseph@codesourcery.com>
16940
6f99f280
JM
16941 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16942 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16943 * timezone/Makefile (testdata): Move definition above include of
16944 Rules.
16945 (test-zones): New variable.
16946 (tests-special): Add zone files.
16947 (build-testdata): Use $(evaluate-test).
16948
0b20a9e8
JM
16949 * elf/Makefile (tests-special): Rename tests to end with .out.
16950 ($(objpfx)noload-mem): Likewise.
16951 ($(objpfx)tst-leaks1-mem): Likewise.
16952 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16953 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16954 $(objpfx)test-iconvconfig.out.
16955 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16956 set -e inside subshell and redirect output to file.
16957 * iconvdata/Makefile (generated): Rename tests to end with .out.
16958 Correct type.
16959 (tests-special): Rename tests to end with .out.
16960 ($(objpfx)mtrace-tst-loading): Likewise.
16961 * intl/Makefile (generated): Likewise.
16962 (tests-special): Likewise.
16963 ($(objpfx)mtrace-tst-gettext): Likewise.
16964 * misc/Makefile (generated): Likewise.
16965 (tests-special): Likewise.
16966 ($(objpfx)tst-error1-mem): Likewise.
16967 * nptl/Makefile (tests-special): Likewise.
16968 ($(objpfx)tst-stack3-mem): Likewise.
16969 (generated): Likewise.
16970 * posix/Makefile (generated): Likewise.
16971 (tests-special): Likewise.
16972 (xtests-special): Likewise.
16973 ($(objpfx)tst-fnmatch-mem): Likewise.
16974 ($(objpfx)bug-regex2-mem): Likewise.
16975 ($(objpfx)bug-regex14-mem): Likewise.
16976 ($(objpfx)bug-regex21-mem): Likewise.
16977 ($(objpfx)bug-regex31-mem): Likewise.
16978 ($(objpfx)tst-vfork3-mem): Likewise.
16979 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16980 ($(objpfx)tst-pcre-mem): Likewise.
16981 ($(objpfx)tst-boost-mem): Likewise.
16982 ($(objpfx)bug-ga2-mem): Likewise.
16983 ($(objpfx)bug-glob2-mem): Likewise.
16984 * resolv/Makefile (generate): Likewise.
16985 (tests-special): Likewise.
16986 (xtests-special): Likewise.
16987 (generated): Likewise.
16988 ($(objpfx)mtrace-tst-leaks): Likewise.
16989 ($(objpfx)mtrace-tst-leaks2): Likewise.
16990
265d52ab
JM
16991 * scripts/merge-test-results.sh: New file.
16992 * Makefile (tests-special-notdir): New variable.
16993 (tests): Run merge-test-results.sh.
16994 (xtests): Likewise.
16995 * Rules (tests-special-notdir): New variable.
16996 (xtests-special-notdir): Likewise.
16997 (tests): Run merge-test-results.sh
16998 (xtests): Likewise.
16999
54ee292d
JM
17000 * Makeconfig (test-xfail-name): New variable.
17001 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17002 compute variable name for expected failures.
17003 * conform/Makefile (conformtest-headers-data): New variable.
17004 (conformtest-standards): Likewise.
17005 (conformtest-headers-ISO): Likewise.
17006 (conformtest-headers-ISO99): Likewise.
17007 (conformtest-headers-ISO11): Likewise.
17008 (conformtest-headers-POSIX): Likewise.
17009 (conformtest-headers-XPG3): Likewise.
17010 (conformtest-headers-XPG4): Likewise.
17011 (conformtest-headers-UNIX98): Likewise.
17012 (conformtest-headers-XOPEN2K): Likewise.
17013 (conformtest-headers-POSIX2008): Likewise.
17014 (conformtest-headers-XOPEN2K8): Likewise.
17015 (conformtest-header-list-base): Likewise.
17016 (conformtest-header-list-tests): Likewise.
17017 (conformtest-header-base): Likewise.
17018 (conformtest-header-tests): Likewise.
17019 (tests-special): Add $(conformtest-header-list-tests). If
17020 [$(fast-check) && !$(cross-compiling)], add
17021 $(conformtest-header-tests) instead of
17022 $(objpfx)run-conformtest.out.
17023 (generated): Add $(conformtest-header-list-base). If
17024 [$(fast-check) && !$(cross-compiling)], add
17025 $(conformtest-header-base). Remove previous setting.
17026 ($(conformtest-header-list-tests)): New target.
17027 (test-xfail-run-conformtest): Remove variable.
17028 ($(objpfx)run-conformtest.out): Remove target.
17029 (test-xfail-ISO11/complex.h/conform): New variable.
17030 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17031 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17032 (test-xfail-XPG3/varargs.h/conform): Likewise.
17033 (test-xfail-XPG4/varargs.h/conform): Likewise.
17034 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17035 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17036 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17037 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17038 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17039 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17040 (test-xfail-XPG3/ftw.h/conform): Likewise.
17041 (test-xfail-XPG3/grp.h/conform): Likewise.
17042 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17043 (test-xfail-XPG3/limits.h/conform): Likewise.
17044 (test-xfail-XPG3/pwd.h/conform): Likewise.
17045 (test-xfail-XPG3/search.h/conform): Likewise.
17046 (test-xfail-XPG3/signal.h/conform): Likewise.
17047 (test-xfail-XPG3/stdio.h/conform): Likewise.
17048 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17049 (test-xfail-XPG3/string.h/conform): Likewise.
17050 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17051 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17052 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17053 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17054 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17055 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17056 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17057 (test-xfail-XPG3/termios.h/conform): Likewise.
17058 (test-xfail-XPG3/time.h/conform): Likewise.
17059 (test-xfail-XPG3/unistd.h/conform): Likewise.
17060 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17061 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17062 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17063 (test-xfail-XPG4/netdb.h/conform): Likewise.
17064 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17065 (test-xfail-XPG4/signal.h/conform): Likewise.
17066 (test-xfail-XPG4/stdio.h/conform): Likewise.
17067 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17068 (test-xfail-XPG4/stropts.h/conform): Likewise.
17069 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17070 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17071 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17072 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17073 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17074 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17075 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17076 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17077 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17078 (test-xfail-XPG4/termios.h/conform): Likewise.
17079 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17080 (test-xfail-XPG4/unistd.h/conform): Likewise.
17081 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17082 (test-xfail-POSIX/sched.h/conform): Likewise.
17083 (test-xfail-POSIX/signal.h/conform): Likewise.
17084 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17085 (test-xfail-POSIX/tar.h/conform): Likewise.
17086 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17087 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17088 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17089 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17090 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17091 (test-xfail-UNIX98/sched.h/conform): Likewise.
17092 (test-xfail-UNIX98/signal.h/conform): Likewise.
17093 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17094 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17095 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17096 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17097 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17098 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17099 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17100 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17101 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17102 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17103 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17104 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17105 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17106 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17107 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17108 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17109 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17110 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17111 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17112 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17113 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17114 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17115 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17116 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17117 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17118 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17119 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17120 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17121 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17122 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17123 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17124 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17125 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17126 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17127 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17128 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17129 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17130 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17131 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17132 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17133 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17134 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17135 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17136 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17137 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17138 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17139 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17140 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17141 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17142 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17143 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17144 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17145 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17146 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17147 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17148 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17149 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17150 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17151 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17152 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17153 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17154 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17155 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17156 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17157 (conformtest-cc-flags): Likewise.
17158 ($(conformtest-header-tests): New target.
17159 * conform/check-header-lists.sh: New file.
17160 * conform/run-conformtest.sh: Remove.
17161
a00f522a
JM
17162 * conform/conformtest.pl: Allow ' and \ in values given for
17163 constants.
17164 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17165 inclusion.
17166 [POSIX] (sys/types.h): Likewise.
17167 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17168 inclusion.
17169 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17170 inclusion.
17171 * conform/data/signal.h-data (SIGIO): Remove expectation.
17172 [XPG3] (SIGBUS): Do not expect.
17173 [POSIX || XPG3] (SIGPOLL): Likewise.
17174 [POSIX || XPG3] (SIGPROF): Likewise.
17175 [POSIX || XPG3] (SIGSYS): Likewise.
17176 [XPG3] (SIGTRAP): Likewise.
17177 [POSIX || XPG3] (SIGURG): Likewise.
17178 [POSIX || XPG3] (SIGVTALRM): Likewise.
17179 [POSIX || XPG3] (SIGXCPU): Likewise.
17180 [POSIX || XPG3] (SIGXFSZ): Likewise.
17181 [POSIX] (SA_SIGINFO): Expect.
17182 [XPG3] (siginfo_t): Do not expect type or contents.
17183 [POSIX] (si_pid): Do not expect element.
17184 [POSIX] (si_uid): Likewise.
17185 [POSIX] (si_addr): Likewise.
17186 [POSIX] (si_status): Likewise.
17187 [POSIX] (si_band): Likewise.
17188 [XPG4] (si_value): Likewise.
17189 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17190 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17191 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17192 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17193 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17194 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17195 [POSIX || XPG3] (ILL_COPROC): Likewise.
17196 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17197 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17198 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17199 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17200 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17201 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17202 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17203 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17204 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17205 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17206 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17207 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17208 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17209 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17210 [POSIX || XPG3] (CLD_EXITED): Likewise.
17211 [POSIX || XPG3] (CLD_KILLED): Likewise.
17212 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17213 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17214 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17215 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17216 [POSIX || XPG3] (POLL_IN): Likewise.
17217 [POSIX || XPG3] (POLL_OUT): Likewise.
17218 [POSIX || XPG3] (POLL_MSG): Likewise.
17219 [POSIX || XPG3] (POLL_ERR): Likewise.
17220 [POSIX || XPG3] (POLL_PRI): Likewise.
17221 [POSIX || XPG3] (POLL_HUP): Likewise.
17222 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17223 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17224 (SIG*): Do not allow.
17225 [XPG3] (si_*): Likewise.
17226 [XPG3] (SI_*): Likewise.
17227 [XPG3 || XPG4] (sigev_*): Likewise.
17228 [XPG3 || XPG4] (SIGEV_*): Likewise.
17229 [XPG3 || XPG4] (sival_*): Likewise.
17230 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17231 [POSIX || XPG3] (BUS_*): Likewise.
17232 [POSIX || XPG3] (CLD_*): Likewise.
17233 [POSIX || XPG3] (FPE_*): Likewise.
17234 [POSIX || XPG3] (ILL_*): Likewise.
17235 [POSIX || XPG3] (POLL_*): Likewise.
17236 [POSIX || XPG3] (SEGV_*): Likewise.
17237 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17238 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17239 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17240 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17241 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17242 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17243 Specify type and value.
17244 (TVERSLEN): Likewise.
17245 (REGTYPE): Likewise.
17246 (AREGTYPE): Likewise.
17247 (LNKTYPE): Likewise.
17248 (SYMTYPE): Likewise.
17249 (CHRTYPE): Likewise.
17250 (BLKTYPE): Likewise.
17251 (DIRTYPE): Likewise.
17252 (FIFOTYPE): Likewise.
17253 (CONTTYPE): Likewise.
17254 (TSUID): Likewise.
17255 (TSGID): Likewise.
17256 (TSVTX): Likewise.
17257 (TUREAD): Likewise.
17258 (TUWRITE): Likewise.
17259 (TUEXEC): Likewise.
17260 (TGREAD): Likewise.
17261 (TGWRITE): Likewise.
17262 (TGEXEC): Likewise.
17263 (TOREAD): Likewise.
17264 (TOWRITE): Likewise.
17265 (TOEXEC): Likewise.
17266 [POSIX] (TSVTX): Expect constant.
17267
aa97dee1
JM
172682014-03-06 Joseph Myers <joseph@codesourcery.com>
17269
f214606a
JM
17270 * Makefile (tests): Change dependencies to ....
17271 (tests-special): ... additions to this variable.
17272 (tests): Depend on $(tests-special).
17273 * Makerules (check-abi-list): New variable.
17274 (check-abi): Depend on $(check-abi-list).
17275 [$(subdir) = elf] (tests-special): Add
17276 $(objpfx)check-abi-libc.out.
17277 [$(build-shared) = yes && subdir] (tests-special): Add
17278 $(check-abi-list).
17279 [$(build-shared) = yes && subdir] (tests): Do not depend on
17280 check-abi.
17281 * Rules (tests): Depend on $(tests-special).
17282 (xtests): Depend on $(xtests-special).
17283 * catgets/Makefile (tests): Change dependencies to ....
17284 (tests-special): ... additions to this variable.
17285 * conform/Makefile (tests): Change dependencies to ....
17286 (tests-special): ... additions to this variable.
17287 * elf/Makefile (tests): Change dependencies to ....
17288 (tests-special): ... additions to this variable.
17289 * grp/Makefile (tests): Change dependencies to ....
17290 (tests-special): ... additions to this variable.
17291 * iconv/Makefile (xtests): Change dependencies to ....
17292 (xtests-special): ... additions to this variable.
17293 * iconvdata/Makefile (tests): Change dependencies to ....
17294 (tests-special): ... additions to this variable.
17295 * intl/Makefile (tests): Change dependencies to ....
17296 (tests-special): ... additions to this variable. Also add
17297 $(objpfx)tst-gettext.out.
17298 * io/Makefile (tests): Change dependencies to ....
17299 (tests-special): ... additions to this variable.
17300 * libio/Makefile (tests): Change dependencies to ....
17301 (tests-special): ... additions to this variable.
17302 * malloc/Makefile (tests): Change dependencies to ....
17303 (tests-special): ... additions to this variable.
17304 * misc/Makefile (tests): Change dependencies to ....
17305 (tests-special): ... additions to this variable.
17306 * nptl/Makefile (tests): Change dependencies to ....
17307 (tests-special): ... additions to this variable.
17308 * nptl_db/Makefile (tests): Change dependencies to ....
17309 (tests-special): ... additions to this variable.
17310 * posix/Makefile (tests): Change dependencies to ....
17311 (tests-special): ... additions to this variable.
17312 (xtests): Change dependencies to ....
17313 (xtests-special): ... additions to this variable.
17314 * resolv/Makefile (tests): Change dependencies to ....
17315 (tests-special): ... additions to this variable.
17316 (xtests): Change dependencies to ....
17317 (xtests-special): ... additions to this variable.
17318 * stdio-common/Makefile (tests): Change dependencies to ....
17319 (tests-special): ... additions to this variable.
17320 (do-tst-unbputc): Remove target.
17321 (do-tst-printf): Likewise.
17322 * stdlib/Makefile (tests): Change dependencies to ....
17323 (tests-special): ... additions to this variable.
17324 * string/Makefile (tests): Change dependencies to ....
17325 (tests-special): ... additions to this variable.
17326 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17327 (tests-special): ... additions to this variable.
17328
81700b53
JM
17329 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17330 whole file.
17331 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17332 whole file.
17333 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17334 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17335
2ea18461
JM
17336 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17337 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17338 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17339 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17340 * conform/data/libgen.h-data [XPG3]: Likewise.
17341 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17342 * conform/data/ndbm.h-data [XPG3]: Likewise.
17343 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17344 * conform/data/netdb.h-data [XPG3]: Likewise.
17345 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17346 * conform/data/poll.h-data [XPG3]: Likewise.
17347 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17348 * conform/data/strings.h-data [XPG3]: Likewise.
17349 * conform/data/stropts.h-data [XPG3]: Likewise.
17350 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17351 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17352 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17353 Likewise.
17354 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17355 * conform/data/sys/time.h-data [XPG3]: Likewise.
17356 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17357 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17358 * conform/data/sys/un.h-data [XPG3]: Likewise.
17359 * conform/data/syslog.h-data [XPG3]: Likewise.
17360 * conform/data/ucontext.h-data [XPG3]: Likewise.
17361 * conform/data/utmpx.h-data [XPG3]: Likewise.
17362 * conform/data/varargs.h-data [UNIX98]: Enable file.
17363
355bc986
JM
17364 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17365
215db402
JM
17366 * math/libm-test.inc (struct test_f_f_data): Move expected results
17367 into structure for each rounding mode.
17368 (struct test_ff_f_data): Likewise.
17369 (struct test_ff_f_data_nexttoward): Likewise.
17370 (struct test_fi_f_data): Likewise.
17371 (struct test_fl_f_data): Likewise.
17372 (struct test_if_f_data): Likewise.
17373 (struct test_fff_f_data): Likewise.
17374 (struct test_c_f_data): Likewise.
17375 (struct test_f_f1_data): Likewise.
17376 (struct test_fF_f1_data): Likewise.
17377 (struct test_ffI_f1_data): Likewise.
17378 (struct test_c_c_data): Likewise.
17379 (struct test_cc_c_data): Likewise.
17380 (struct test_f_i_data): Likewise.
17381 (struct test_ff_i_data): Likewise.
17382 (struct test_f_l_data): Likewise.
17383 (struct test_f_L_data): Likewise.
17384 (struct test_fFF_11_data): Likewise.
17385 (RM_): New macro.
17386 (RM_FE_DOWNWARD): Likewise.
17387 (RM_FE_TONEAREST): Likewise.
17388 (RM_FE_TOWARDZERO): Likewise.
17389 (RM_FE_UPWARD): Likewise.
17390 (RUN_TEST_LOOP_f_f): Update references to expected results.
17391 (RUN_TEST_LOOP_2_f): Likewise.
17392 (RUN_TEST_LOOP_fff_f): Likewise.
17393 (RUN_TEST_LOOP_c_f): Likewise.
17394 (RUN_TEST_LOOP_f_f1): Likewise.
17395 (RUN_TEST_LOOP_fF_f1): Likewise.
17396 (RUN_TEST_LOOP_fI_f1): Likewise.
17397 (RUN_TEST_LOOP_ffI_f1): Likewise.
17398 (RUN_TEST_LOOP_c_c): Likewise.
17399 (RUN_TEST_LOOP_cc_c): Likewise.
17400 (RUN_TEST_LOOP_f_i): Likewise.
17401 (RUN_TEST_LOOP_f_i_tg): Likewise.
17402 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17403 (RUN_TEST_LOOP_f_b): Likewise.
17404 (RUN_TEST_LOOP_f_b_tg): Likewise.
17405 (RUN_TEST_LOOP_f_l): Likewise.
17406 (RUN_TEST_LOOP_f_L): Likewise.
17407 (RUN_TEST_LOOP_fFF_11): Likewise.
17408 * math/gen-libm-test.pl (parse_args): Output four copies of
17409 expected results for each test.
17410
67737b8f
JM
17411 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17412 (__ASSUME_UTIMES): Remove.
17413 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17414 (__ASSUME_UTIMES): Likewise.
17415
aa97dee1
JM
17416 * math/gen-auto-libm-tests.c: Update comment on output format.
17417 (output_for_one_input_case): Generate before-rounding and
17418 after-rounding information as conditions on output flags not
17419 floating-point format.
17420 * math/auto-libm-test-out: Regenerated.
17421 * math/gen-libm-test.pl (cond_value): New function.
17422 (or_cond_value): Use cond_value.
17423 (generate_testfile): Handle conditional exceptions.
17424
e6b6a857
JM
174252014-03-05 Joseph Myers <joseph@codesourcery.com>
17426
2f0a0f44
JM
17427 * math/libm-test.inc (max_valid_error): New variable.
17428 (init_max_error): Take new argument specifying whether function
17429 results are exactly determined. Set max_valid_error and bound
17430 other variables for errors based on this argument.
17431 (set_max_error): Do not record results above max_valid_error.
17432 (check_float_internal): Only accept errors of up to 0.5ulps if
17433 also at most max_valid_error.
17434 (START): Take new argument EXACT and pass it to init_max_error.
17435 (acos_test): Update call to START.
17436 (acos_test_tonearest): Likewise.
17437 (acos_test_towardzero): Likewise.
17438 (acos_test_downward): Likewise.
17439 (acos_test_upward): Likewise.
17440 (acosh_test): Likewise.
17441 (asin_test): Likewise.
17442 (asin_test_tonearest): Likewise.
17443 (asin_test_towardzero): Likewise.
17444 (asin_test_downward): Likewise.
17445 (asin_test_upward): Likewise.
17446 (asinh_test): Likewise.
17447 (atan_test): Likewise.
17448 (atanh_test): Likewise.
17449 (atan2_test): Likewise.
17450 (cabs_test): Likewise.
17451 (cacos_test): Likewise.
17452 (cacosh_test): Likewise.
17453 (carg_test): Likewise.
17454 (casin_test): Likewise.
17455 (casinh_test): Likewise.
17456 (catan_test): Likewise.
17457 (catanh_test): Likewise.
17458 (cbrt_test): Likewise.
17459 (ccos_test): Likewise.
17460 (ccosh_test): Likewise.
17461 (ceil_test): Likewise.
17462 (cexp_test): Likewise.
17463 (cimag_test): Likewise.
17464 (clog_test): Likewise.
17465 (clog10_test): Likewise.
17466 (conj_test): Likewise.
17467 (copysign_test): Likewise.
17468 (cos_test): Likewise.
17469 (cos_test_tonearest): Likewise.
17470 (cos_test_towardzero): Likewise.
17471 (cos_test_downward): Likewise.
17472 (cos_test_upward): Likewise.
17473 (cosh_test): Likewise.
17474 (cosh_test_tonearest): Likewise.
17475 (cosh_test_towardzero): Likewise.
17476 (cosh_test_downward): Likewise.
17477 (cosh_test_upward): Likewise.
17478 (cpow_test): Likewise.
17479 (cproj_test): Likewise.
17480 (creal_test): Likewise.
17481 (csin_test): Likewise.
17482 (csinh_test): Likewise.
17483 (csqrt_test): Likewise.
17484 (ctan_test): Likewise.
17485 (ctan_test_tonearest): Likewise.
17486 (ctan_test_towardzero): Likewise.
17487 (ctan_test_downward): Likewise.
17488 (ctan_test_upward): Likewise.
17489 (ctanh_test): Likewise.
17490 (ctanh_test_tonearest): Likewise.
17491 (ctanh_test_towardzero): Likewise.
17492 (ctanh_test_downward): Likewise.
17493 (ctanh_test_upward): Likewise.
17494 (erf_test): Likewise.
17495 (erfc_test): Likewise.
17496 (exp_test): Likewise.
17497 (exp_test_tonearest): Likewise.
17498 (exp_test_towardzero): Likewise.
17499 (exp_test_downward): Likewise.
17500 (exp_test_upward): Likewise.
17501 (exp10_test): Likewise.
17502 (exp10_test_tonearest): Likewise.
17503 (exp10_test_towardzero): Likewise.
17504 (exp10_test_downward): Likewise.
17505 (exp10_test_upward): Likewise.
17506 (pow10_test): Likewise.
17507 (exp2_test): Likewise.
17508 (expm1_test): Likewise.
17509 (expm1_test_tonearest): Likewise.
17510 (expm1_test_towardzero): Likewise.
17511 (expm1_test_downward): Likewise.
17512 (expm1_test_upward): Likewise.
17513 (fabs_test): Likewise.
17514 (fdim_test): Likewise.
17515 (floor_test): Likewise.
17516 (fma_test): Likewise.
17517 (fma_test_towardzero): Likewise.
17518 (fma_test_downward): Likewise.
17519 (fma_test_upward): Likewise.
17520 (fmax_test): Likewise.
17521 (fmin_test): Likewise.
17522 (fmod_test): Likewise.
17523 (fpclassify_test): Likewise.
17524 (frexp_test): Likewise.
17525 (hypot_test): Likewise.
17526 (ilogb_test): Likewise.
17527 (isfinite_test): Likewise.
17528 (finite_test): Likewise.
17529 (isgreater_test): Likewise.
17530 (isgreaterequal_test): Likewise.
17531 (isinf_test): Likewise.
17532 (isless_test): Likewise.
17533 (islessequal_test): Likewise.
17534 (islessgreater_test): Likewise.
17535 (isnan_test): Likewise.
17536 (isnormal_test): Likewise.
17537 (issignaling_test): Likewise.
17538 (isunordered_test): Likewise.
17539 (j0_test): Likewise.
17540 (j1_test): Likewise.
17541 (jn_test): Likewise.
17542 (ldexp_test): Likewise.
17543 (lgamma_test): Likewise.
17544 (gamma_test): Likewise.
17545 (lrint_test): Likewise.
17546 (lrint_test_tonearest): Likewise.
17547 (lrint_test_towardzero): Likewise.
17548 (lrint_test_downward): Likewise.
17549 (lrint_test_upward): Likewise.
17550 (llrint_test): Likewise.
17551 (llrint_test_tonearest): Likewise.
17552 (llrint_test_towardzero): Likewise.
17553 (llrint_test_downward): Likewise.
17554 (llrint_test_upward): Likewise.
17555 (log_test): Likewise.
17556 (log10_test): Likewise.
17557 (log1p_test): Likewise.
17558 (log2_test): Likewise.
17559 (logb_test): Likewise.
17560 (logb_test_downward): Likewise.
17561 (lround_test): Likewise.
17562 (llround_test): Likewise.
17563 (modf_test): Likewise.
17564 (nearbyint_test): Likewise.
17565 (nextafter_test): Likewise.
17566 (nexttoward_test): Likewise.
17567 (pow_test): Likewise.
17568 (pow_test_tonearest): Likewise.
17569 (pow_test_towardzero): Likewise.
17570 (pow_test_downward): Likewise.
17571 (pow_test_upward): Likewise.
17572 (remainder_test): Likewise.
17573 (drem_test): Likewise.
17574 (remainder_test_tonearest): Likewise.
17575 (drem_test_tonearest): Likewise.
17576 (remainder_test_towardzero): Likewise.
17577 (drem_test_towardzero): Likewise.
17578 (remainder_test_downward): Likewise.
17579 (drem_test_downward): Likewise.
17580 (remainder_test_upward): Likewise.
17581 (drem_test_upward): Likewise.
17582 (remquo_test): Likewise.
17583 (rint_test): Likewise.
17584 (rint_test_tonearest): Likewise.
17585 (rint_test_towardzero): Likewise.
17586 (rint_test_downward): Likewise.
17587 (rint_test_upward): Likewise.
17588 (round_test): Likewise.
17589 (scalb_test): Likewise.
17590 (scalbn_test): Likewise.
17591 (scalbln_test): Likewise.
17592 (signbit_test): Likewise.
17593 (sin_test): Likewise.
17594 (sin_test_tonearest): Likewise.
17595 (sin_test_towardzero): Likewise.
17596 (sin_test_downward): Likewise.
17597 (sin_test_upward): Likewise.
17598 (sincos_test): Likewise.
17599 (sinh_test): Likewise.
17600 (sinh_test_tonearest): Likewise.
17601 (sinh_test_towardzero): Likewise.
17602 (sinh_test_downward): Likewise.
17603 (sinh_test_upward): Likewise.
17604 (sqrt_test): Likewise.
17605 (sqrt_test_tonearest): Likewise.
17606 (sqrt_test_towardzero): Likewise.
17607 (sqrt_test_downward): Likewise.
17608 (sqrt_test_upward): Likewise.
17609 (tan_test): Likewise.
17610 (tan_test_tonearest): Likewise.
17611 (tan_test_towardzero): Likewise.
17612 (tan_test_downward): Likewise.
17613 (tan_test_upward): Likewise.
17614 (tanh_test): Likewise.
17615 (tgamma_test): Likewise.
17616 (trunc_test): Likewise.
17617 (y0_test): Likewise.
17618 (y1_test): Likewise.
17619 (yn_test): Likewise.
17620 (significand_test): Likewise.
17621
e6b6a857
JM
17622 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17623 individual tests in comment.
17624 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17625 (prev_max_error): New variable.
17626 (prev_real_max_error): Likewise.
17627 (prev_imag_max_error): Likewise.
17628 (compare_ulp_data): Don't refer to test names in comment.
17629 (find_test_ulps): Remove function.
17630 (find_function_ulps): Likewise.
17631 (find_complex_function_ulps): Likewise.
17632 (init_max_error): Take function name as argument. Look up ulps
17633 for that function.
17634 (print_ulps): Remove function.
17635 (print_max_error): Use prev_max_error instead of calling
17636 find_function_ulps.
17637 (print_complex_max_error): Use prev_real_max_error and
17638 prev_imag_max_error instead of calling find_complex_function_ulps.
17639 (check_float_internal): Take max_ulp parameter instead of calling
17640 find_test_ulps. Don't call print_ulps.
17641 (check_float): Update call to check_float_internal.
17642 (check_complex): Update calls to check_float_internal.
17643 (START): Pass argument to init_max_error.
17644 * math/gen-libm-test.pl (%results): Don't include "kind"
17645 information.
17646 (parse_ulps): Don't handle ulps of individual tests.
17647 (print_ulps_file): Likewise.
17648 (output_ulps): Likewise.
17649 * math/README.libm-test: Update.
17650 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17651 individual tests.
17652 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17653 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17654 * sysdeps/arm/libm-test-ulps: Likewise.
17655 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17656 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17657 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17658 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17659 * sysdeps/microblaze/libm-test-ulps: Likewise.
17660 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17661 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17662 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17663 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17664 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17665 * sysdeps/sh/libm-test-ulps: Likewise.
17666 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17667 * sysdeps/tile/libm-test-ulps: Likewise.
17668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17669
45adef3c
JM
176702014-03-04 Joseph Myers <joseph@codesourcery.com>
17671
17672 * math/libm-test.inc (print_complex_max_error): Check separately
17673 whether real and imaginary errors are within allowed range and
17674 pass 0 to print_complex_function_ulps instead of value within
17675 allowed range.
17676
000232b9
SP
176772014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17678
d4b17258
SP
17679 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17680 formatting.
17681 (get_handles_fopen): Likewise.
17682 (do_write_test): Likewise.
17683
091eff71
SP
17684 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17685
fa3cd248
SP
17686 * libio/fileops.c (do_ftell): Use cached offset when
17687 available.
17688 * libio/iofwide.c (do_ftell_wide): Likewise.
17689 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17690 _IO_file_attach.
17691 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17692
000232b9
SP
17693 [BZ #16532]
17694 * libio/libioP.h (get_file_offset): New function.
17695 * libio/fileops.c (get_file_offset): Likewise.
17696 (do_ftell): Likewise.
17697 (_IO_new_file_seekoff): Split out ftell logic.
17698 * libio/wfileops.c (do_ftell_wide): Likewise.
17699 (_IO_wfile_seekoff): Split out ftell logic.
17700 * libio/tst-ftell-active-handler.c: New test case.
17701 * libio/Makefile (tests): Add it.
17702
116f4d1a
RM
177032014-03-03 Roland McGrath <roland@hack.frob.com>
17704
17705 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17706 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17707
532a6035
SP
177082014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17709
17710 [BZ #16639]
17711 * nscd/connections.c (nscd_init): Call do_exit.
17712 (start_threads): Call do_exit and notify_parent.
17713 (begin_drop_privileges): Call do_exit.
17714 (finish_drop_privileges): Likewise.
17715 * nscd/selinux.c (preserve_capabilities): Likewise.
17716 (install_real_capabilities): Likewise.
17717 (nscd_selinux_enabled): Likewise.
17718 (avc_create_thread): Likewise.
17719 (avc_alloc_lock): Likewise.
17720 (nscd_avc_init): Likewise.
17721 * nscd/nscd.c (parent_fd): New static variable.
17722 (main): Create a pipe between parent and child processes.
17723 Skip closing parent_fd.
17724 (monitor_child): New function.
17725 (do_exit): Likewise.
17726 (notify_parent): Likewise.
17727 * nscd/nscd.h (notify_parent): Likewise.
17728 (do_exit): Likewise.
17729
d6285c9f
CD
177302014-03-03 Carlos O'Donell <carlos@redhat.com>
17731
17732 * malloc/malloc.c (__libc_calloc): Revert last change.
17733
2b85d2a0
AZ
177342014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17735
17736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17737
c7debbdf
RS
177382014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17739
17740 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17742 implementation.
17743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17744 (__libc_ifunc_impl_list): Likewise.
17745 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17746 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17747 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17748 * string/strrchr.c: Define STRRCHR.
17749
235eed86
OB
177502014-02-28 Ondřej Bílka <neleai@seznam.cz>
17751
17752 * benchtest/bench-strtok.c (simple_strtok): Delete.
17753 (strtok_string): Use as benchmark.
17754 * string/strtok (STRTOK): New macro.
17755
8e25d1e7
CD
177562014-02-28 Carlos O'Donell <carlos@redhat.com>
17757
ef563f92
CD
17758 * manual/threads.texi: Add header and standard comments to all
17759 functions.
17760
8e25d1e7
CD
17761 * elf/dl-lookup.c (check_match): New function.
17762 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17763 (do_lookup_x): Remove nested function check_match. Use non-nested
17764 function check_match.
17765
ff71cc37
RM
177662014-02-28 Roland McGrath <roland@hack.frob.com>
17767
f08e9a26
RM
17768 * csu/Makefile (generated, before-compile): Use += rather than =.
17769 * catgets/Makefile (generated, generated-dirs): Likewise.
17770 * debug/Makefile (generated): Likewise.
17771 * dlfcn/Makefile (generated): Likewise.
17772 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17773 * iconvdata/Makefile (before-compile, generated): Likewise.
17774 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17775 * libio/Makefile (generated): Likewise.
17776 * malloc/Makefile (generated): Likewise.
17777 * manual/Makefile (generated, generated-dirs): Likewise.
17778 * misc/Makefile (generated): Likewise.
17779 * posix/Makefile (generated): Likewise.
17780 * resolv/Makefile (generated): Likewise.
17781 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17782 * timezone/Makefile (generated, generated-dirs): Likewise.
17783
ff71cc37
RM
17784 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17785
fe13a20c
AZ
177862014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17787
57f41c40
AS
17788 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17789 power8 implementation.
17790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17791 file: POWER8 llround ifunc implementation.
17792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17793 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
17794 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17795 POWER8 llround implementation.
17796
57f41c40
AS
17797 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17798 power8 implementation.
17799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17800 file: POWER8 llrint ifunc implementation.
17801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17802 Add POWER8 implementation.
1ad8950a
AZ
17803 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17804 POWER8 llrint implementation.
17805
57f41c40
AS
17806 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17807 power8 implementation.
17808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17809 file: POWER8 finite ifunc implementation.
17810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17811 Add POWER8 implementation.
cac626d6
AZ
17812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17813 Likewise.
17814 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17815 POWER8 finite implementation.
17816 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17817
57f41c40
AS
17818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17819 power8 implementation.
17820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17821 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
17822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17823 POWER8 implementation.
17824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17825 Likewise.
57f41c40
AS
17826 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17827 isinf implementation.
4393fc11
AZ
17828 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17829
57f41c40
AS
17830 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17831 (INIT_ARCH): Add hwcap2 initialization.
17832 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17833 power8 implementation.
17834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17835 file: POWER8 isnan ifunc implementation.
487972ae
AZ
17836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17837 POWER8 implementation.
17838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17839 Likewise.
57f41c40
AS
17840 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17841 isnan implementation.
487972ae
AZ
17842 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17843
7d92b787
JY
178442014-02-27 Joey Ye <joey.ye@arm.com>
17845
17846 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17847 (_FP_NANFRAC_Q): Set to zero.
17848
1cadc858
SP
178492014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17850
17851 [BZ #16623]
17852 * math/auto-libm-test-in: New test inputs.
17853 * math/auto-libm-test-out: Regenerate.
17854 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17855 and DA.
17856 (__cos): Likewise.
17857 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17858
f8c17e79
JM
178592014-02-27 Joseph Myers <joseph@codesourcery.com>
17860
17861 * scripts/evaluate-test.sh: Take new argument indicating whether
17862 failure is expected.
17863 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17864 indicating whether failure is expected.
17865 * conform/Makefile (test-xfail-run-conformtest): New variable.
17866 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17867 level.
17868 * posix/Makefile (test-xfail-annexc): New variable.
17869 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17870
a5f891ac
JM
178712014-02-26 Joseph Myers <joseph@codesourcery.com>
17872
17873 * argp/Makefile: Include Makeconfig immediately after defining
17874 subdir.
17875 * assert/Makefile: Likewise.
17876 * benchtests/Makefile: Likewise.
17877 * catgets/Makefile: Likewise.
17878 * conform/Makefile: Likewise.
17879 * crypt/Makefile: Likewise.
17880 * csu/Makefile: Likewise.
17881 (all): Remove target.
17882 * ctype/Makefile: Include Makeconfig immediately after defining
17883 subdir.
17884 * debug/Makefile: Likewise.
17885 * dirent/Makefile: Likewise.
17886 * dlfcn/Makefile: Likewise.
17887 * gmon/Makefile: Likewise.
17888 * gnulib/Makefile: Likewise.
17889 * grp/Makefile: Likewise.
17890 * gshadow/Makefile: Likewise.
17891 * hesiod/Makefile: Likewise.
17892 * hurd/Makefile: Likewise.
17893 (all): Remove target.
17894 * iconvdata/Makefile: Include Makeconfig immediately after
17895 defining subdir.
17896 * inet/Makefile: Likewise.
17897 * intl/Makefile: Likewise.
17898 * io/Makefile: Likewise.
17899 * libio/Makefile: Likewise.
17900 (all): Remove target.
17901 * locale/Makefile: Include Makeconfig immediately after defining
17902 subdir.
17903 * login/Makefile: Likewise.
17904 * mach/Makefile: Likewise.
17905 (all): Remove target.
17906 * malloc/Makefile: Include Makeconfig immediately after defining
17907 subdir.
17908 (all): Remove target.
17909 * manual/Makefile: Include Makeconfig immediately after defining
17910 subdir.
17911 * math/Makefile: Likewise.
17912 * misc/Makefile: Likewise.
17913 * nis/Makefile: Likewise.
17914 * nss/Makefile: Likewise.
17915 * po/Makefile: Likewise.
17916 (all): Remove target.
17917 * posix/Makefile: Include Makeconfig immediately after defining
17918 subdir.
17919 * pwd/Makefile: Likewise.
17920 * resolv/Makefile: Likewise.
17921 * resource/Makefile: Likewise.
17922 * rt/Makefile: Likewise.
17923 * setjmp/Makefile: Likewise.
17924 * shadow/Makefile: Likewise.
17925 * signal/Makefile: Likewise.
17926 * socket/Makefile: Likewise.
17927 * soft-fp/Makefile: Likewise.
17928 * stdio-common/Makefile: Likewise.
17929 * stdlib/Makefile: Likewise.
17930 * streams/Makefile: Likewise.
17931 * string/Makefile: Likewise.
17932 * sunrpc/Makefile: Likewise.
17933 (all): Remove target.
17934 * sysvipc/Makefile: Include Makeconfig immediately after defining
17935 subdir.
17936 * termios/Makefile: Likewise.
17937 * time/Makefile: Likewise.
17938 * timezone/Makefile: Likewise.
17939 (all): Remove target.
17940 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17941 subdir.
17942 * wctype/Makefile: Likewise.
17943
5b456e9d
SE
179442014-02-26 Steve Ellcey <sellcey@mips.com>
17945
17946 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17947 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17948 (libc_feholdexcept_setround_mips): Ditto.
17949 (libc_feholdsetround): New.
17950 (libc_feholdsetroundf): New.
17951 (libc_feholdsetroundl): New.
17952 (libc_feupdateenv_test_mips): New.
17953 (libc_feupdateenv_test): New.
17954 (libc_feupdateenv_testf): New.
17955 (libc_feupdateenv_testl): New.
17956 (libc_feresetround): New.
17957 (libc_feresetroundf): New.
17958 (libc_feresetroundl): New.
17959 (libc_fetestexcept_mips): New.
17960 (libc_fetestexcept): New.
17961 (libc_fetestexceptf): New.
17962 (libc_fetestexceptl): New.
17963 (HAVE_RM_CTX): New.
17964 (libc_feholdexcept_setround_mips_ctx): New.
17965 (libc_feholdexcept_setround_ctx): New.
17966 (libc_feholdexcept_setroundf_ctx): New.
17967 (libc_feholdexcept_setroundl_ctx): New.
17968 (libc_fesetenv_mips_ctx): New.
17969 (libc_fesetenv_ctx): New.
17970 (libc_fesetenv_ctxf): New.
17971 (libc_fesetenv_ctxl): New.
17972 (libc_feupdateenv_mips_ctx): New.
17973 (libc_feupdateenv_ctx): New.
17974 (libc_feupdateenvf_ctx): New.
17975 (libc_feupdateenvl_ctx): New.
17976 (libc_feholdsetround_mips_ctx): New.
17977 (libc_feholdsetround_ctx): New.
17978 (libc_feholdsetroundf_ctx): New.
17979 (libc_feholdsetroundl_ctx): New.
17980 (libc_feresetround_mips_ctx): New.
17981 (libc_feresetround_ctx): New.
17982 (libc_feresetroundf_ctx): New.
17983 (libc_feresetroundl_ctx): New.
17984
085d0e35
CD
179852014-02-26 Carlos O'Donell <carlos@redhat.com>
17986
f067bf1f
CD
17987 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17988
085d0e35
CD
17989 * manual/ipc.texi: New file.
17990 * manual/Makefile (chapters): Add ipc.
17991 * manual/job.texi: Add "Inter-Process Communication" to next.
17992 * manual/process.texi: Add "Inter-Process Communication" to prev.
17993
86e58c08
AZ
179942014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17995
17996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17997
4248f0da
OB
179982014-02-26 Ondřej Bílka <neleai@seznam.cz>
17999
18000 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18001
cf822e3c
OB
18002 * manual/arith.texi: Fix spaces after sentences.
18003 * manual/charset.texi: Likewise.
18004 * manual/errno.texi: Likewise.
18005 * manual/install.texi: Likewise.
18006 * manual/llio.texi: Likewise.
18007 * manual/locale.texi: Likewise.
18008 * manual/maint.texi: Likewise.
18009 * manual/math.texi: Likewise.
18010 * manual/memory.texi: Likewise.
18011 * manual/message.texi: Likewise.
18012 * manual/probes.texi: Likewise.
18013 * manual/resource.texi: Likewise.
18014 * manual/signal.texi: Likewise.
18015 * manual/socket.texi: Likewise.
18016 * manual/stdio.texi: Likewise.
18017 * manual/string.texi: Likewise.
18018 * manual/time.texi: Likewise.
18019 * manual/users.texi: Likewise.
18020
ade40b10
CD
180212014-02-25 Carlos O'Donell <carlos@redhat.com>
18022
18023 [BZ #16632]
18024 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18025 _DEFAULT_SOURCE is defined.
18026
d0503676
CD
180272014-02-25 Ulrich Drepper <drepper@gmail.com>
18028 Carlos O'Donell <carlos@redhat.com>
18029
18030 [BZ #16613]
18031 * elf/dl-tls.c (_dl_count_modids): New function.
18032 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18033 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18034 audit library and increment generation counter.
18035 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18036 * elf/tst-audit9.c: New file.
18037 * elf/tst-auditmod9a.c: New file.
18038 * elf/tst-auditmod9b.c: New file.
18039 * elf/Makefile: Add rules to build and run tst-audit9.
18040
4cbf380c
FW
180412014-02-25 Florian Weimer <fweimer@redhat.com>
18042
18043 [BZ #15347]
18044 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18045
80a56cc3
WN
180462014-02-25 Will Newton <will.newton@linaro.org>
18047
18048 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18049 (__longjmp): Restore sp and lr before restoring callee
18050 saved registers. Add longjmp and longjmp_target
18051 SystemTap probe point.
18052 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18053 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18054 Define to zero to match jmpbuf layout.
18055 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18056 (__sigsetjmp): Save sp and lr before saving callee
18057 saved registers. Add setjmp SystemTap probe point.
18058
3ea0f74e
SL
180592014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18060
18061 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18062
b04acb26
AS
180632014-02-24 Andreas Schwab <schwab@suse.de>
18064
18065 [BZ #15804]
18066 * elf/pldd.c (wait_for_ptrace_stop): New function.
18067 (main): Call it after attaching.
18068
098ad55c
RM
180692014-02-22 Roland McGrath <roland@hack.frob.com>
18070
d4ec6ae1
RM
18071 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18072 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18073 Versions files is now verboten.
18074 * hurd/Versions (libc: GLIBC_2.0):
18075 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18076 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18077 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18078 * mach/Versions: Likewise.
18079
098ad55c
RM
18080 * csu/Versions: Remove unused %include.
18081 * resolv/Versions: Likewise.
18082
acd7f096
JM
180832014-02-21 Joseph Myers <joseph@codesourcery.com>
18084
f0881698
JM
18085 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18086 ($(objpfx)check-local-headers.out): Likewise.
18087 ($(objpfx)begin-end-check.out): Likewise.
18088 * Makerules (check-abi-%.out): Likewise.
18089 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18090 ($(objpfx)test2.cat): Likewise.
18091 ($(objpfx)de/libc.cat): Likewise.
18092 ($(objpfx)test-gencat.out): Likewise.
18093 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18094 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18095 ($(objpfx)noload-mem): Likewise.
18096 ($(objpfx)tst-pathopt.out): Likewise.
18097 ($(objpfx)tst-rtld-load-self.out): Likewise.
18098 ($(objpfx)tst-array1-cmp.out): Likewise.
18099 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18100 ($(objpfx)tst-array2-cmp.out): Likewise.
18101 ($(objpfx)tst-array3-cmp.out): Likewise.
18102 ($(objpfx)tst-array4-cmp.out): Likewise.
18103 ($(objpfx)tst-array5-cmp.out): Likewise.
18104 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18105 ($(objpfx)check-textrel.out): Likewise.
18106 ($(objpfx)check-execstack.out): Likewise.
18107 ($(objpfx)check-localplt.out): Likewise.
18108 ($(objpfx)order2-cmp.out): Likewise.
18109 ($(objpfx)tst-leaks1-mem): Likewise.
18110 ($(objpfx)tst-leaks1-static-mem): Likewise.
18111 ($(objpfx)tst-initorder-cmp.out): Likewise.
18112 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18113 ($(objpfx)tst-unused-dep.out): Likewise.
18114 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18115 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18116 * iconv/Makefile (test-iconvconfig): Likewise.
18117 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18118 ($(objpfx)iconv-test.out): Likewise.
18119 ($(objpfx)tst-tables.out): Likewise.
18120 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18121 ($(objpfx)tst-gettext.out): Likewise.
18122 ($(objpfx)tst-translit.out): Likewise.
18123 ($(objpfx)tst-gettext2.out): Likewise.
18124 ($(objpfx)tst-gettext4.out): Likewise.
18125 ($(objpfx)tst-gettext6.out): Likewise.
18126 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18127 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18128 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18129 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18130 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18131 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18132 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18133 ($(objpfx)wordexp-tst.out): Likewise.
18134 ($(objpfx)annexc.out): Likewise.
18135 ($(objpfx)tst-fnmatch-mem): Likewise.
18136 ($(objpfx)bug-regex2-mem): Likewise.
18137 ($(objpfx)bug-regex14-mem): Likewise.
18138 ($(objpfx)bug-regex21-mem): Likewise.
18139 ($(objpfx)bug-regex31-mem): Likewise.
18140 ($(objpfx)tst-vfork3-mem): Likewise.
18141 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18142 ($(objpfx)tst-pcre-mem): Likewise.
18143 ($(objpfx)tst-boost-mem): Likewise.
18144 ($(objpfx)tst-getconf.out): Likewise.
18145 ($(objpfx)bug-ga2-mem): Likewise.
18146 ($(objpfx)bug-glob2-mem): Likewise.
18147 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18148 ($(objpfx)mtrace-tst-leaks2): Likewise.
18149 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18150 ($(objpfx)tst-printf.out): Likewise.
18151 ($(objpfx)tst-setvbuf1.out): Likewise.
18152 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18153 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18154 ($(objpfx)tst-fmtmsg.out): Likewise.
18155 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18156 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18157
acd7f096
JM
18158 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18159 * bits/sigaction.h [__USE_MISC]: Likewise.
18160 * bits/waitstatus.h: Update #endif comments.
18161 * ctype/ctype.h: Likewise.
18162 * dirent/dirent.h: Likewise.
18163 [__USE_MISC]: Remove redundant conditionals.
18164 * grp/grp.h: Update #endif comments.
18165 [__USE_GNU]: Remove redundant conditionals.
18166 [__USE_MISC]: Likewise.
18167 * inet/netinet/in.h [__USE_GNU]: Likewise.
18168 * io/sys/stat.h [__USE_MISC]: Likewise.
18169 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18170 * libio/bits/stdio.h: Update #endif comments.
18171 [__USE_MISC]: Remove redundant conditionals.
18172 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18173 * libio/stdio.h: Update #endif comments.
18174 [__USE_MISC]: Remove redundant conditionals.
18175 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18176 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18177 * math/math.h: Update #else and #endif comments.
18178 [__USE_MISC]: Remove redundant conditionals.
18179 * misc/sys/uio.h: Update #endif comments.
18180 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18181 * posix/glob.h [__USE_MISC]: Likewise.
18182 * posix/sys/types.h: Update #endif comments.
18183 [__USE_MISC]: Remove redundant conditionals.
18184 * posix/sys/wait.h: Update #endif comments.
18185 [__USE_MISC]: Remove redundant conditionals.
18186 * posix/unistd.h: Update #endif comments.
18187 [__USE_MISC]: Remove redundant conditionals.
18188 * pwd/pwd.h [__USE_GNU]: Likewise.
18189 [__USE_MISC]: Likewise.
18190 * resolv/netdb.h [__USE_GNU]: Likewise.
18191 * signal/signal.h: Update #endif comments.
18192 [__USE_MISC]: Remove redundant conditionals.
18193 * stdlib/stdlib.h: Update #else and #endif comments.
18194 [__USE_MISC]: Remove redundant conditionals.
18195 [__USE_GNU]: Likewise.
18196 * string/bits/string2.h [__USE_MISC]: Likewise.
18197 * string/string.h: Update #endif comments.
18198 [__USE_MISC]: Remove redundant conditionals.
18199 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18200 Likewise.
18201 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18202 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18203 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18204 Likewise.
18205 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18206 Likewise.
18207 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18208 comments.
18209 [__USE_MISC]: Remove redundant conditionals.
18210 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18211 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18212 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18213 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18214 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18215 Likewise.
18216 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18217 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18218 Likewise.
18219 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18220 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18221 Likewise.
18222 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18223 Likewise.
18224 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18225 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18226 Likewise.
18227 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18228 Likewise.
18229 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18230 * sysdeps/x86/bits/string.h: Update #endif comments.
18231 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18232 conditionals.
18233 * time/sys/time.h: Update #endif comments.
18234 * time/time.h: Likewise.
18235 [__USE_MISC]: Remove redundant conditionals.
18236
a5d82e4e
YG
182372014-02-21 Yury Gribov <y.gribov@samsung.com>
18238
18239 [BZ #16600]
18240 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18241
9a80491d
AS
182422014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18243
18244 * Versions.def (librt): Add GLIBC_2.17.
18245
105fa381
AC
182462014-02-21 Adam Conrad <adconrad@0c3.net>
18247
18248 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18249 synonym for _SYS_AUXV_H to allow direct inclusion.
18250 * sysdeps/sparc/bits/hwcap.h: Likewise.
18251 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18252 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18253 * sysdeps/sparc/sysdep.h: Likewise.
18254
b8cd1c4e
SP
182552014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18256
18257 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18258
bd939d23
RS
182592014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18260
18261 * benchtests/bench-strrchr.c: Print length instead of position.
18262
5d7b57ca
JM
182632014-02-20 Joseph Myers <joseph@codesourcery.com>
18264
bc688c10
JM
18265 [BZ #16611]
18266 * sysdeps/unix/sysv/linux/kernel-features.h
18267 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18268 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18269 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18270 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18271 Likewise.
18272 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18273 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18274 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18275 (__ASSUME_SENDMMSG): Define instead of using previous
18276 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18277 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18278 (__ASSUME_SENDMMSG_SYSCALL): Define.
18279 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18280 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18281 Likewise.
18282 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18283 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18284 Likewise.
18285 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18286 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18287 Likewise.
18288 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18289 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18290 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18291 [__ASSUME_SENDMMSG]: Change conditionals to
18292 [__ASSUME_SENDMMSG_SOCKETCALL].
18293 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18294 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18295 Define.
18296 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18297 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18298 Likewise.
18299 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18300 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18301 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18302 [!__ASSUME_SENDMMSG]: Change conditional to
18303 [!__ASSUME_SENDMMSG_SOCKETCALL].
18304 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18305 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18306 Define.
18307
0e31b18c
JM
18308 [BZ #16610]
18309 * sysdeps/unix/sysv/linux/kernel-features.h
18310 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18311 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18312 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18313 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18314 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18315 [__i386__ || __sparc__]
18316 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18317 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18318 (__ASSUME_RECVMMSG): Define instead of using previous
18319 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18320 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18321 (__ASSUME_RECVMMSG_SYSCALL): Define.
18322 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18323 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18324 Likewise.
18325 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18326 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18327 Likewise.
18328 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18329 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18330 Likewise.
18331 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18332 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18333 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18334 [__ASSUME_RECVMMSG]: Change condition to
18335 [__ASSUME_RECVMMSG_SOCKETCALL].
18336 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18337 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18338 Define.
18339 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18340 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18341 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18342 Likewise.
18343 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18344 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18345 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18346 [!__ASSUME_RECVMMSG]: Change condition to
18347 [!__ASSUME_RECVMMSG_SOCKETCALL].
18348 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18349 (__ASSUME_RECVMMSG_SYSCALL): Define.
18350
dd481ccf
JM
18351 [BZ #16609]
18352 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18353 __powerpc__ || __s390__ || __sh__ || __sparc__]
18354 (__ASSUME_SOCKETCALL): Define.
18355 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18356 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18357 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18358 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18359 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18360 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18361 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18362 (__ASSUME_ACCEPT4): Define instead of using previous
18363 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18364 __powerpc__ || __sparc__ || __s390__)] condition.
18365 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18366 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18367 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18368 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18369 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18370 [!__ASSUME_ACCEPT4]: Change condition to
18371 [!__ASSUME_ACCEPT4_SOCKETCALL].
18372 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18373 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18374 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18375 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18376 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18377 __ASSUME_ACCEPT4_SYSCALL.
18378 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18379 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18380 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18381 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18382 __ASSUME_ACCEPT4_SYSCALL.
18383 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18384 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18385 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18386 [__ASSUME_ACCEPT4]: Change condition to
18387 [__ASSUME_ACCEPT4_SOCKETCALL].
18388 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18389 (__ASSUME_SOCKETCALL): Define.
18390 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18391 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18392 (__ASSUME_SOCKETCALL): Define.
18393 (__ASSUME_ACCEPT4): Remove.
18394 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18395 Define.
18396 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18397 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18398 Likewise.
18399 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18400 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18401
5d7b57ca
JM
18402 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18403 macro.
18404 (HWCAP_ARM_LPAE): Likewise.
18405 (HWCAP_ARM_EVTSTRM): Likewise.
18406 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18407 Add vpfd32, lpae and evtstrm.
18408 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18409 Increase to 22.
18410
63689d61
JM
184112014-02-19 Joseph Myers <joseph@codesourcery.com>
18412
18413 * math/auto-libm-test-in: Add tests of clog10.
18414 * math/auto-libm-test-out: Regenerated.
18415 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18416 * sysdeps/i386/fpu/libm-test-ulps: Update.
18417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18418
ab09bf61
AS
184192014-02-18 Andreas Schwab <schwab@suse.de>
18420
18421 [BZ #16574]
18422 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18423 Store non-zero if the second buffer was newly allocated.
18424 (send_dg): Likewise.
18425 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18426 to send_vc and send_dg.
18427 (res_nsend): Pass NULL for ansp2_malloced.
18428 * resolv/res_query.c (__libc_res_nquery): Add parameter
18429 answerp2_malloced and pass it down to __libc_res_nsend.
18430 (res_nquery): Pass additional NULL to __libc_res_nquery.
18431 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18432 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18433 second answer buffer if answerp2_malloced was set.
18434 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18435 (__libc_res_nquerydomain): Add parameter
18436 answerp2_malloced and pass it down to __libc_res_nquery.
18437 (res_nquerydomain): Pass additional NULL to
18438 __libc_res_nquerydomain.
18439 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18440 additional NULL to __libc_res_nsend and __libc_res_nquery.
18441 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18442 additional NULL to __libc_res_nsearch.
18443 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18444 parameter of __libc_res_nsearch to check for separately allocated
18445 second buffer.
18446 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18447 __libc_res_nquery.
18448 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18449 additional NULL to __libc_res_nquery.
18450 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18451 __libc_res_nsearch.
18452 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18453 * include/resolv.h: Update prototypes of __libc_res_nquery,
18454 __libc_res_nsearch, __libc_res_nsend.
18455
a4fb7861
JM
184562014-02-18 Joseph Myers <joseph@codesourcery.com>
18457
c6af2d89
JM
18458 * math/auto-libm-test-in: Add tests of fma.
18459 * math/auto-libm-test-out: Regenerated.
18460 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18461 (fma_towardzero_test_data): Likewise.
18462 (fma_downward_test_data): Likewise.
18463 (fma_upward_test_data): Likewise.
18464 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18465 mpc_mode.
18466 (rounding_modes): Add values for new field.
18467 (func_calc_method): Add value mpfr_fff_f.
18468 (func_calc_desc): Add mpfr_fff_f union field.
18469 (test_function): Add field exact_args.
18470 (FUNC): Add macro argument EXACT_ARGS.
18471 (FUNC_mpfr_f_f): Update call to FUNC.
18472 (FUNC_mpfr_f_f): Likewise.
18473 (FUNC_mpfr_ff_f): Likewise.
18474 (FUNC_mpfr_if_f): Likewise.
18475 (FUNC_mpc_c_f): Likewise.
18476 (FUNC_mpc_c_c): Likewise.
18477 (test_functions): Add fma. Update calls to FUNC.
18478 (handle_input_arg): Add argument exact_args.
18479 (add_test): Update call to handle_input_arg.
18480 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18481 (output_for_one_input_case): Update call to calc_generic_results.
18482 Recalculate exact zero results in each rounding mode.
18483
a4fb7861
JM
18484 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18485 non-negative before setting low bit.
18486 * math/auto-libm-test-in: Mark one asin test possibly having
18487 spurious underflow.
18488 * math/auto-libm-test-out: Regenerated.
18489 * sysdeps/i386/fpu/libm-test-ulps: Update.
18490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18491
ef114eaf
DH
184922014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18493
2b7f4f2c
SP
18494 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18495 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18496 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18497 * README: Add missing listing for microblaze*-*-linux-gnu.
18498
8125aedc
AM
184992014-02-16 Ondřej Bílka <neleai@seznam.cz>
18500
18501 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18502 duplicate code
18503
c70a4b1d
MF
185042014-02-16 Mike Frysinger <vapier@gentoo.org>
18505
18506 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18507 * sysdeps/unix/sysv/linux/ia64: Move directory from
18508 ports/sysdeps/unix/sysv/linux/ia64.
18509 * README: Update listing for ia64-*-linux-gnu.
18510
591aeaf7
TD
185112014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18512 Joseph Myers <joseph@codesourcery.com>
18513
18514 * Makeconfig (test-name): New variable.
18515 (evaluate-test): Likewise.
18516 * Makerules (do-test-clean): Remove .test-result files.
18517 (common-mostlyclean): Likewise.
18518 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18519 * scripts/evaluate-test.sh: New file.
18520
6e89caf1
JM
185212014-02-14 Joseph Myers <joseph@codesourcery.com>
18522
7f98f180
JM
18523 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18524 separate $(objpfx)tst-fopenloc-cmp.out and
18525 $(objpfx)tst-fopenloc-mem.out targets.
18526 (tests): Update dependencies.
18527 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18528 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18529 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18530 (tst-rxspencer-no-utf8-ARGS): New variable.
18531 (tst-rxspencer-no-utf8-ENV): Likewise.
18532 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18533 instead of $(objpfx)tst-rxspencer-mem.
18534 ($(objpfx)tst-rxspencer-mem): Change target to
18535 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18536 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18537 * posix/tst-rxspencer-no-utf8.c: New file.
18538
6e89caf1
JM
18539 * elf/Makefile ($(objpfx)order.out): Remove rule.
18540 [$(run-built-tests) = yes] (tests): Depend on
18541 $(objpfx)order-cmp.out.
18542 ($(objpfx)order-cmp.out): New rule.
18543 [$(run-built-tests) = yes] (tests): Depend on
18544 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18545 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18546 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18547 $(objpfx)tst-array5-static-cmp.out.
18548 ($(objpfx)tst-array1.out): Remove rule.
18549 ($(objpfx)tst-array1-cmp.out): New rule.
18550 ($(objpfx)tst-array1-static.out): Remove rule.
18551 ($(objpfx)tst-array1-static-cmp.out): New rule.
18552 ($(objpfx)tst-array2.out): Remove rule.
18553 ($(objpfx)tst-array2-cmp.out): New rule.
18554 ($(objpfx)tst-array3.out): Remove rule.
18555 ($(objpfx)tst-array3-cmp.out): New rule.
18556 ($(objpfx)tst-array4.out): Remove rule.
18557 ($(objpfx)tst-array4-cmp.out): New rule.
18558 ($(objpfx)tst-array5.out): Remove rule.
18559 ($(objpfx)tst-array5-cmp.out): New rule.
18560 ($(objpfx)tst-array5-static.out): Remove rule.
18561 ($(objpfx)tst-array5-static-cmp.out): New rule.
18562 [$(run-built-tests) = yes] (tests): Depend on
18563 $(objpfx)order2-cmp.out.
18564 ($(objpfx)order2.out): Remove rule.
18565 ($(objpfx)order2-cmp.out): New rule.
18566 ($(objpfx)tst-initorder.out): Remove rule.
18567 [$(run-built-tests) = yes] (tests): Depend on
18568 $(objpfx)tst-initorder-cmp.out.
18569 ($(objpfx)tst-initorder-cmp.out): New rule.
18570 ($(objpfx)tst-initorder2.out): Remove rule.
18571 [$(run-built-tests) = yes] (tests): Depend on
18572 $(objpfx)tst-initorder2-cmp.out.
18573 ($(objpfx)tst-initorder2-cmp.out): New rule.
18574 [$(run-built-tests) = yes] (tests): Depend on
18575 $(objpfx)tst-unused-dep-cmp.out.
18576 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18577 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18578 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18579 on $(objpfx)tst-setvbuf1-cmp.out.
18580 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18581 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18582 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18583 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18584 ($(objpfx)tst-svc.out): Remove rule.
18585 ($(objpfx)tst-svc-cmp.out): New rule.
18586
ed9a38e2
JM
185872014-02-13 Joseph Myers <joseph@codesourcery.com>
18588
18589 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18590 * ctype/ctype.h [__USE_MISC]: Likewise.
18591 * dirent/dirent.h [__USE_MISC]: Likewise.
18592 * grp/grp.h [__USE_MISC]: Likewise.
18593 * io/fcntl.h [__USE_MISC]: Likewise.
18594 * io/sys/stat.h [__USE_MISC]: Likewise.
18595 * libio/stdio.h [__USE_MISC]: Likewise.
18596 * posix/unistd.h [__USE_MISC]: Likewise.
18597 * pwd/pwd.h [__USE_MISC]: Likewise.
18598 * stdlib.h [__USE_MISC]: Likewise.
18599 * string/bits/string2.h [__USE_MISC]: Likewise.
18600 * string/string.h [__USE_MISC]: Likewise.
18601 * time/time.h [__USE_MISC]: Likewise.
18602
d6680619
AS
186032014-02-13 Andreas Schwab <schwab@suse.de>
18604
18605 [BZ #16574]
18606 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18607 second answer buffer if it was separately allocated.
18608
ace614b8
JM
186092014-02-12 Joseph Myers <joseph@codesourcery.com>
18610
743151ae
JM
18611 * sysdeps/mips/math-tests.h: Include <features.h>.
18612 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18613 (ROUNDING_TESTS_long_double): Do not define.
18614 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18615 (EXCEPTION_TESTS_long_double): Likewise.
18616 * sysdeps/mips/mips64/libm-test-ulps: Update.
18617
498afc54
JM
18618 * include/features.h (__USE_BSD): Remove macro definitions.
18619 (__USE_SVID): Likewise.
18620 (_BSD_SOURCE): Likewise.
18621 (_SVID_SOURCE): Likewise.
18622 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18623 from definition of _DEFAULT_SOURCE.
18624 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18625 [_DEFAULT_SOURCE].
18626 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18627 * bits/mman.h [__USE_BSD]: Likewise.
18628 * bits/termios.h [__USE_BSD]: Likewise.
18629 * bits/waitstatus.h [__USE_BSD]: Likewise.
18630 * ctype/ctype.h [__USE_SVID]: Likewise.
18631 * dirent/dirent.h [__USE_BSD]: Likewise.
18632 * grp/grp.h [__USE_SVID]: Likewise.
18633 [__USE_BSD]: Likewise.
18634 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18635 * io/fcntl.h [__USE_BSD]: Likewise.
18636 * io/ftw.h [__USE_BSD]: Likewise.
18637 * io/sys/stat.h [__USE_BSD]: Likewise.
18638 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18639 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18640 * libio/stdio.h [__USE_SVID]: Likewise.
18641 [__USE_BSD]: Likewise.
18642 * math/math.h [__USE_SVID]: Likewise.
18643 [__USE_BSD]: Likewise.
18644 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18645 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18646 * misc/search.h [__USE_SVID]: Likewise.
18647 * misc/sys/mman.h [__USE_BSD]: Likewise.
18648 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18649 * misc/sys/uio.h [__USE_BSD]: Likewise.
18650 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18651 * posix/glob.h [__USE_BSD]: Likewise.
18652 * posix/regex.h [__USE_BSD]: Likewise.
18653 * posix/sys/types.h [__USE_BSD]: Likewise.
18654 [__USE_SVID]: Likewise.
18655 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18656 * posix/sys/wait.h [__USE_BSD]: Likewise.
18657 [__USE_SVID]: Likewise.
18658 * posix/unistd.h [__USE_BSD]: Likewise.
18659 [__USE_SVID]: Likewise.
18660 * pwd/pwd.h [__USE_SVID]: Likewise.
18661 * resolv/netdb.h [__USE_BSD]: Likewise.
18662 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18663 * signal/signal.h [__USE_BSD]: Likewise.
18664 [__USE_SVID]: Likewise.
18665 * socket/sys/socket.h [__USE_BSD]: Likewise.
18666 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18667 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18668 [__USE_SVID]: Likewise.
18669 * string/bits/string2.h [__USE_BSD]: Likewise.
18670 [__USE_SVID]: Likewise.
18671 * string/bits/string3.h [__USE_BSD]: Likewise.
18672 * string/endian.h [__USE_BSD]: Likewise.
18673 * string/string.h [__USE_SVID]: Likewise.
18674 [__USE_BSD]: Likewise.
18675 * string/strings.h [__USE_BSD]: Likewise.
18676 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18677 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18678 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18679 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18680 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18681 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18682 Likewise.
18683 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18684 Likewise.
18685 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18686 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18687 Likewise.
18688 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18689 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18690 Likewise.
18691 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18692 Likewise.
18693 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18694 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18695 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18696 Likewise.
18697 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18698 Likewise.
18699 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18700 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18701 * termios/termios.h [__USE_BSD]: Likewise.
18702 * time/sys/time.h [__USE_BSD]: Likewise.
18703 * time/time.h [__USE_BSD]: Likewise.
18704 [__USE_SVID]: Likewise.
18705
dd7b064c
JM
18706 * Makefile (subdir_targets): Remove subdir_lint.out.
18707
a2c4c199
JM
18708 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18709 (do-tst-printf): Likewise.
18710 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18711 $(objpfx)tst-printf.out.
18712
8756f740
JM
18713 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18714
1b6dd3f1
JM
18715 * Makerules (check-abi-%): Change target to
18716 $(objpfx)check-abi-%.out.
18717 (check-abi target): Update dependencies.
18718 (check-abi-pattern variable): Redirect output of diff to $@.
18719 (check-abi variable): Likewise.
18720 * elf/Makefile (check-abi): Update dependencies.
18721
ace614b8
JM
18722 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18723 unused.
18724 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18725 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18726 subnormal range.
18727 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18728 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18729 value has largest subnormal exponent.
18730 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18731 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18732 * sysdeps/aarch64/soft-fp/sfp-machine.h
18733 (_FP_TININESS_AFTER_ROUNDING): New macro.
18734 * sysdeps/alpha/soft-fp/sfp-machine.h
18735 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18736 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18737 Likewise.
18738 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18739 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18740 * sysdeps/mips/soft-fp/sfp-machine.h
18741 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18742 * sysdeps/powerpc/soft-fp/sfp-machine.h
18743 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18744 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18745 Likewise.
18746 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18747 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18748 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18749 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18750 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18751 Likewise.
18752
fbfdf9cb
DAS
187532014-02-12 Dylan Alex Simon <dylan@dylex.net>
18754
18755 [BZ #16545]
18756 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18757 model 1.
18758
68b7efaa
RH
187592014-02-12 Richard Henderson <rth@redhat.com>
18760
c70a4b1d 18761 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
18762 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18763 * sysdeps/unix/sysv/linux/alpha: Move directory from
18764 ports/sysdeps/unix/sysv/linux/alpha.
18765 * README: Update listing for alpha-*-linux-gnu.
18766
cb4a2928
JM
187672014-02-11 Joseph Myers <joseph@codesourcery.com>
18768
c941736c
JM
18769 * include/features.h: Update comment documenting feature test
18770 macros.
18771 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18772 _DEFAULT_SOURCE.
18773 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18774 (_SVID_SOURCE): Likewise.
18775 (_DEFAULT_SOURCE): Update description of default features.
18776 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18777 with _GNU_SOURCE.
18778 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18779 (S_ISVTX): Likewise.
18780 * manual/math.texi (Mathematical Constants): Likewise.
18781 * manual/signal.texi (Interrupted Primitives): Likewise.
18782 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18783 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18784 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18785 Don't refer to _SVID_SOURCE in warning text.
18786
e8d8d7ec
JM
18787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18788
cb4a2928
JM
18789 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18790 already defined.
18791 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18792 * sysdeps/mips/dl-lookup.c: Remove.
18793 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18794
7e6424e3
AK
187952014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18796
18797 [BZ #16447]
18798 * math/auto-libm-test-in: Add testcase for expl.
18799 * math/auto-libm-test-out: Regenerate.
18800 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18801 calculation of unsafe.
18802 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18803
75eff3fe
MS
188042014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18805
18806 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18807 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18808 ports/sysdeps/unix/sysv/linux/aarch64.
18809 * README: Update listing for aarch64*-*-linux-gnu.
18810
d35f1e80
WN
188112014-02-11 Will Newton <will.newton@linaro.org>
18812
18813 * manual/probes.texi (Mathematical Function Probes): Use
18814 "triggered" instead of "hit".
18815
7b3436d4
WN
18816 * manual/probes.texi (Internal Probes): Add documentation
18817 of setjmp, longjmp and longjmp_target probes.
18818
b4f12ca3
WN
18819 * include/stap-probe.h: Add comment about probe argument
18820 format.
18821
c13a72b7
WN
18822 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18823 definition. (tr_where, tr_freehook, tr_mallochook,
18824 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18825
195b8165
DM
188262014-02-11 David S. Miller <davem@davemloft.net>
18827
18828 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18829 processing int_tests.
18830
2ad7600b
JM
188312014-02-10 Joseph Myers <joseph@codesourcery.com>
18832
18833 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18834 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18835 * sysdeps/unix/sysv/linux/mips: Move directory from
18836 ports/sysdeps/unix/sysv/linux/mips.
18837 * README: Update listing for mips-*-linux-gnu and
18838 mips64-*-linux-gnu.
18839
73588a72
AS
188402014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18841
18842 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18843 * sysdeps/unix/sysv/linux/m68k: Move directory from
18844 ports/sysdeps/unix/sysv/linux/m68k.
18845 * README: Update listing for m68k-*-linux-gnu.
18846
4372980f
CM
188472014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18848
18849 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18850 * sysdeps/unix/sysv/linux/generic: Move directory from
18851 ports/sysdeps/unix/sysv/linux/generic.
18852 * sysdeps/unix/sysv/linux/tile: Move directory from
18853 ports/sysdeps/unix/sysv/linux/tile.
18854 * README: Update listing for tile*-*-linux-gnu.
18855
a1ffb40e
OB
188562014-02-10 Ondřej Bílka <neleai@seznam.cz>
18857
57f41c40
AS
18858 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18859 __builtin_expect.
a1ffb40e
OB
18860 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18861 * catgets/open_catalog.c (__open_catalog): Likewise.
18862 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18863 * debug/confstr_chk.c: Likewise.
18864 * debug/fread_chk.c (__fread_chk): Likewise.
18865 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18866 * debug/getgroups_chk.c: Likewise.
18867 * debug/mbsnrtowcs_chk.c: Likewise.
18868 * debug/mbsrtowcs_chk.c: Likewise.
18869 * debug/mbstowcs_chk.c: Likewise.
18870 * debug/memcpy_chk.c: Likewise.
18871 * debug/memmove_chk.c: Likewise.
18872 * debug/mempcpy_chk.c: Likewise.
18873 * debug/memset_chk.c: Likewise.
18874 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18875 * debug/strcat_chk.c (__strcat_chk): Likewise.
18876 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18877 * debug/strncat_chk.c (__strncat_chk): Likewise.
18878 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18879 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18880 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18881 * debug/wcpncpy_chk.c: Likewise.
18882 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18883 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18884 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18885 * debug/wcsncpy_chk.c: Likewise.
18886 * debug/wcsnrtombs_chk.c: Likewise.
18887 * debug/wcsrtombs_chk.c: Likewise.
18888 * debug/wcstombs_chk.c: Likewise.
18889 * debug/wmemcpy_chk.c: Likewise.
18890 * debug/wmemmove_chk.c: Likewise.
18891 * debug/wmempcpy_chk.c: Likewise.
18892 * debug/wmemset_chk.c: Likewise.
18893 * dirent/scandirat.c (SCANDIRAT): Likewise.
18894 * dlfcn/dladdr1.c (dladdr1): Likewise.
18895 * dlfcn/dladdr.c (dladdr): Likewise.
18896 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18897 * dlfcn/dlerror.c (__dlerror): Likewise.
18898 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18899 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18900 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18901 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18902 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18903 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18904 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18905 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18906 Likewise.
18907 * elf/dl-conflict.c: Likewise.
18908 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18909 * elf/dl-dst.h: Likewise.
18910 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18911 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18912 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18913 * elf/dl-init.c (call_init, _dl_init): Likewise.
18914 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18915 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18916 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18917 Likewise.
a1ffb40e
OB
18918 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18919 Likewise.
18920 * elf/dl-minimal.c (__libc_memalign): Likewise.
18921 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18922 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18923 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18924 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18925 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18926 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18927 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18928 * elf/dl-writev.h (_dl_writev): Likewise.
18929 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18930 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18931 (dl_main): Likewise.
a1ffb40e
OB
18932 * elf/setup-vdso.h (setup_vdso): Likewise.
18933 * grp/compat-initgroups.c (compat_call): Likewise.
18934 * grp/fgetgrent.c (fgetgrent): Likewise.
18935 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18936 * grp/putgrent.c (putgrent): Likewise.
18937 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18938 Likewise.
18939 * hurd/hurdinit.c: Likewise.
18940 * iconvdata/8bit-gap.c (struct): Likewise.
18941 * iconvdata/ansi_x3.110.c : Likewise.
18942 * iconvdata/big5.c : Likewise.
18943 * iconvdata/big5hkscs.c : Likewise.
18944 * iconvdata/cp1255.c: Likewise.
18945 * iconvdata/cp1258.c : Likewise.
18946 * iconvdata/cp932.c : Likewise.
18947 * iconvdata/euc-cn.c: Likewise.
18948 * iconvdata/euc-jisx0213.c : Likewise.
18949 * iconvdata/euc-jp.c: Likewise.
18950 * iconvdata/euc-jp-ms.c : Likewise.
18951 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18952 * iconvdata/gb18030.c : Likewise.
18953 * iconvdata/gbbig5.c (const): Likewise.
18954 * iconvdata/gbgbk.c: Likewise.
18955 * iconvdata/gbk.c : Likewise.
18956 * iconvdata/ibm1364.c : Likewise.
18957 * iconvdata/ibm930.c : Likewise.
18958 * iconvdata/ibm932.c: Likewise.
18959 * iconvdata/ibm933.c : Likewise.
18960 * iconvdata/ibm935.c : Likewise.
18961 * iconvdata/ibm937.c : Likewise.
18962 * iconvdata/ibm939.c : Likewise.
18963 * iconvdata/ibm943.c: Likewise.
18964 * iconvdata/iso_11548-1.c: Likewise.
18965 * iconvdata/iso-2022-cn.c : Likewise.
18966 * iconvdata/iso-2022-cn-ext.c : Likewise.
18967 * iconvdata/iso-2022-jp-3.c: Likewise.
18968 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18969 * iconvdata/iso-2022-kr.c : Likewise.
18970 * iconvdata/iso646.c (gconv_end): Likewise.
18971 * iconvdata/iso_6937-2.c : Likewise.
18972 * iconvdata/iso_6937.c : Likewise.
18973 * iconvdata/iso8859-1.c: Likewise.
18974 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18975 * iconvdata/shift_jisx0213.c : Likewise.
18976 * iconvdata/sjis.c : Likewise.
18977 * iconvdata/t.61.c : Likewise.
18978 * iconvdata/tcvn5712-1.c : Likewise.
18979 * iconvdata/tscii.c: Likewise.
18980 * iconvdata/uhc.c : Likewise.
18981 * iconvdata/unicode.c (gconv_end): Likewise.
18982 * iconvdata/utf-16.c (gconv_end): Likewise.
18983 * iconvdata/utf-32.c (gconv_end): Likewise.
18984 * iconvdata/utf-7.c (base64): Likewise.
18985 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18986 * iconv/gconv_close.c (__gconv_close): Likewise.
18987 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18988 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18989 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18990 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18991 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18992 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18993 * iconv/iconv.c (iconv): Likewise.
18994 * iconv/iconv_close.c: Likewise.
18995 * iconv/loop.c (SINGLE): Likewise.
18996 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18997 * include/atomic.h: Likewise.
18998 * inet/inet6_option.c (option_alloc): Likewise.
18999 * intl/bindtextdom.c (set_binding_values): Likewise.
19000 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19001 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19002 * intl/localealias.c (read_alias_file): Likewise.
19003 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
19004 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19005 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
19006 * libio/fmemopen.c (fmemopen): Likewise.
19007 * libio/iofgets.c (_IO_fgets): Likewise.
19008 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19009 * libio/iofgetws.c (fgetws): Likewise.
19010 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19011 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
19012 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19013 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
19014 * locale/findlocale.c (_nl_find_locale): Likewise.
19015 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19016 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19017 Likewise.
19018 * locale/setlocale.c (setlocale): Likewise.
19019 * login/programs/pt_chown.c (main): Likewise.
19020 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19021 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
19022 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19023 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
19024 * math/e_exp2l.c: Likewise.
19025 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19026 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19027 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19028 * math/s_catan.c (__catan): Likewise.
19029 * math/s_catanf.c (__catanf): Likewise.
19030 * math/s_catanh.c (__catanh): Likewise.
19031 * math/s_catanhf.c (__catanhf): Likewise.
19032 * math/s_catanhl.c (__catanhl): Likewise.
19033 * math/s_catanl.c (__catanl): Likewise.
19034 * math/s_ccosh.c (__ccosh): Likewise.
19035 * math/s_ccoshf.c (__ccoshf): Likewise.
19036 * math/s_ccoshl.c (__ccoshl): Likewise.
19037 * math/s_cexp.c (__cexp): Likewise.
19038 * math/s_cexpf.c (__cexpf): Likewise.
19039 * math/s_cexpl.c (__cexpl): Likewise.
19040 * math/s_clog10.c (__clog10): Likewise.
19041 * math/s_clog10f.c (__clog10f): Likewise.
19042 * math/s_clog10l.c (__clog10l): Likewise.
19043 * math/s_clog.c (__clog): Likewise.
19044 * math/s_clogf.c (__clogf): Likewise.
19045 * math/s_clogl.c (__clogl): Likewise.
19046 * math/s_csin.c (__csin): Likewise.
19047 * math/s_csinf.c (__csinf): Likewise.
19048 * math/s_csinh.c (__csinh): Likewise.
19049 * math/s_csinhf.c (__csinhf): Likewise.
19050 * math/s_csinhl.c (__csinhl): Likewise.
19051 * math/s_csinl.c (__csinl): Likewise.
19052 * math/s_csqrt.c (__csqrt): Likewise.
19053 * math/s_csqrtf.c (__csqrtf): Likewise.
19054 * math/s_csqrtl.c (__csqrtl): Likewise.
19055 * math/s_ctan.c (__ctan): Likewise.
19056 * math/s_ctanf.c (__ctanf): Likewise.
19057 * math/s_ctanh.c (__ctanh): Likewise.
19058 * math/s_ctanhf.c (__ctanhf): Likewise.
19059 * math/s_ctanhl.c (__ctanhl): Likewise.
19060 * math/s_ctanl.c (__ctanl): Likewise.
19061 * math/w_pow.c: Likewise.
19062 * math/w_powf.c: Likewise.
19063 * math/w_powl.c: Likewise.
19064 * math/w_scalb.c (sysv_scalb): Likewise.
19065 * math/w_scalbf.c (sysv_scalbf): Likewise.
19066 * math/w_scalbl.c (sysv_scalbl): Likewise.
19067 * misc/error.c (error_tail): Likewise.
19068 * misc/pselect.c (__pselect): Likewise.
19069 * nis/nis_callback.c (__nis_create_callback): Likewise.
19070 * nis/nis_call.c (__nisfind_server): Likewise.
19071 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19072 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19073 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19074 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19075 * nis/nis_lookup.c (nis_lookup): Likewise.
19076 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
19077 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19078 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 19079 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
19080 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19081 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19082 * nis/nss_compat/compat-initgroups.c (add_group)
19083 (internal_getgrent_r): Likewise.
19084 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19085 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19086 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19087 (internal_getspnam_r): Likewise.
19088 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19089 (_nss_nis_getaliasbyname_r): Likewise.
19090 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19091 (_nss_nis_getntohost_r): Likewise.
19092 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19093 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19094 (_nss_nis_getgrgid_r): Likewise.
19095 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19096 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19097 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19098 (_nss_nis_gethostbyname4_r): Likewise.
19099 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19100 (initgroups_netid): Likewise.
a1ffb40e 19101 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
19102 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19103 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19104 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19105 (_nss_nis_getprotobynumber_r): Likewise.
19106 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19107 (_nss_nis_getsecretkey): Likewise.
19108 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19109 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19110 (_nss_nis_getpwuid_r): Likewise.
19111 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19112 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19113 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19114 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19115 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19116 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
19117 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19118 Likewise.
57f41c40
AS
19119 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19120 (_nss_nisplus_getntohost_r): Likewise.
19121 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19122 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19123 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19124 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 19125 Likewise.
57f41c40
AS
19126 * nis/nss_nisplus/nisplus-initgroups.c
19127 (_nss_nisplus_initgroups_dyn): Likewise.
19128 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19129 (_nss_nisplus_getnetbyaddr_r): Likewise.
19130 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19131 (_nss_nisplus_getprotobynumber_r): Likewise.
19132 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19133 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
19134 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19135 Likewise.
57f41c40
AS
19136 * nis/nss_nisplus/nisplus-service.c
19137 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19138 (_nss_nisplus_getservbyport_r): Likewise.
19139 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19140 (_nss_nisplus_getspnam_r): Likewise.
19141 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19142 Likewise.
a1ffb40e
OB
19143 * nscd/aicache.c (addhstaiX): Likewise.
19144 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
19145 * nscd/connections.c (register_traced_file, send_ro_fd)
19146 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19147 (main_loop_epoll): Likewise.
a1ffb40e
OB
19148 * nscd/grpcache.c (addgrbyX): Likewise.
19149 * nscd/hstcache.c (addhstbyX): Likewise.
19150 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19151 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
19152 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19153 (addinnetgrX): Likewise.
19154 * nscd/nscd-client.h (__nscd_acquire_maplock)
19155 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
19156 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19157 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19158 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19159 Likewise.
19160 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19161 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
19162 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19163 (__nscd_get_map_ref): Likewise.
a1ffb40e 19164 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
19165 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19166 Likewise.
a1ffb40e
OB
19167 * nscd/pwdcache.c (addpwbyX): Likewise.
19168 * nscd/selinux.c (preserve_capabilities): Likewise.
19169 * nscd/servicescache.c (addservbyX): Likewise.
19170 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19171 * posix/fnmatch.c (fnmatch): Likewise.
19172 * posix/getopt.c (_getopt_internal_r): Likewise.
19173 * posix/glob.c (glob, glob_in_dir): Likewise.
19174 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
19175 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19176 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
19177 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19178 * resolv/res_init.c: Likewise.
19179 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19180 * resolv/res_query.c (__libc_res_nquery): Likewise.
19181 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19182 Likewise.
19183 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19184 * stdio-common/perror.c (perror): Likewise.
19185 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19186 * stdio-common/tmpnam.c (tmpnam): Likewise.
19187 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19188 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
19189 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19190 Likewise.
a1ffb40e
OB
19191 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19192 * stdlib/putenv.c (putenv): Likewise.
19193 * stdlib/setenv.c (__add_to_environ): Likewise.
19194 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19195 * stdlib/strtol_l.c (INTERNAL): Likewise.
19196 * string/memmem.c (memmem): Likewise.
19197 * string/strerror.c (strerror): Likewise.
19198 * string/strnlen.c (__strnlen): Likewise.
19199 * string/test-memmem.c (simple_memmem): Likewise.
19200 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19201 * sunrpc/pm_getport.c (__get_socket): Likewise.
19202 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19203 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
19204 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19205 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
19206 Likewise.
19207 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19208 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19209 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19210 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19211 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
19212 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19213 Likewise.
19214 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19215 Likewise.
a1ffb40e
OB
19216 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19217 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19218 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19219 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19220 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19222 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19223 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19224 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19225 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19226 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19227 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19228 Likewise.
19229 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19230 Likewise.
19231 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19232 Likewise.
19233 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19235 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19236 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19237 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19238 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19239 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19240 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19241 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19242 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19243 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19244 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19245 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19246 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19247 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
19248 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19249 Likewise.
a1ffb40e
OB
19250 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19251 Likewise.
19252 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19253 Likewise.
19254 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19255 Likewise.
19256 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19257 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19258 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19259 Likewise.
19260 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19261 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19262 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19263 * sysdeps/posix/sleep.c: Likewise.
19264 * sysdeps/posix/tempname.c: Likewise.
19265 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19266 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19267 Likewise.
57f41c40
AS
19268 * sysdeps/powerpc/powerpc32/dl-machine.h
19269 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
19270 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19271 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19272 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19273 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19274 Likewise.
19275 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19276 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19277 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19278 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19279 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19280 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19281 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19282 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19283 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19284 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19285 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19286 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19287 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19289 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19290 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19291 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19292 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19293 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19294 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19295 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19296 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19297 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19298 Likewise.
19299 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19300 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19301 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19302 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19303 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19304 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19305 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19306 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19307 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19308 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19309 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19310 Likewise.
19311 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19312 (__posix_fallocate64_l64): Likewise.
19313 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19314 (posix_fallocate): Likewise.
57f41c40
AS
19315 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19316 Likewise.
a1ffb40e 19317 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
19318 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19319 (getifaddrs_internal): Likewise.
a1ffb40e
OB
19320 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19321 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19322 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19323 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19324 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19325 (__posix_fallocate64_l64): Likewise.
19326 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19327 Likewise.
19328 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
19329 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19330 (__get_clockfreq): Likewise.
a1ffb40e
OB
19331 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19332 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19333 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19334 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19335 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19336 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19337 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19338 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19339 Likewise.
19340 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19341 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19342 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19343 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19344 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19345 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19346 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19347 Likewise.
19348 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19349 (posix_fallocate): Likewise.
19350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19351 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19352 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19353 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19354 (elf_machine_rela, elf_machine_rela_relative)
19355 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19356 * time/asctime.c (asctime_internal): Likewise.
19357 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19358 * time/tzset.c (__tzset_parse_tz): Likewise.
19359 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19360 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19361 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19362 * wcsmbs/wcsmbsload.h: Likewise.
19363
f3d338c9
OB
19364 [BZ #15894]
19365 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19366
57f41c40
AS
19367 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19368 (arena_get2): Remove THREAD_STATS conditionals.
19369 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19370 (__malloc_stats, int): Likewise.
bdfe308a 19371
d674667c
MF
193722014-02-08 Mike Frysinger <vapier@gentoo.org>
19373
19374 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19375 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19376
6349768c
MF
19377 * manual/setjmp.texi: Fix typos/grammar errors.
19378
0b7c7473
MF
19379 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19380 Only return early when n is <= 0. Delete unused return statement.
19381
ac8cc9e3
MF
19382 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19383 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19384 * debug/tst-longjmp_chk3.c: New file.
19385
c5bb8e23
MF
19386 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19387 (test_main): Replace code with set_fortify_handler call.
19388 * debug/test-strcpy_chk.c: Likewise.
19389 * debug/tst-chk1.c: Likewise.
19390 * debug/tst-longjmp_chk.c: Likewise.
19391 * test-skeleton.c: Include fcntl.h & paths.h
19392 (set_fortify_handler): Define.
19393
10444e42
MF
19394 * debug/tst-longjmp_chk.c: Add header comment and include
19395 ../test-skeleton.c.
19396 (do_test): Mark static.
19397 (TEST_FUNCTION): Define.
19398
1e805e8d
MF
19399 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19400 (IP_PMTUDISC_INTERFACE): Likewise.
19401 (IP_MULTICAST_IF): Likewise.
19402 (IP_MULTICAST_TTL): Likewise.
19403 (IP_MULTICAST_LOOP): Likewise.
19404 (IP_ADD_MEMBERSHIP): Likewise.
19405 (IP_DROP_MEMBERSHIP): Likewise.
19406 (IP_UNBLOCK_SOURCE): Likewise.
19407 (IP_BLOCK_SOURCE): Likewise.
19408 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19409 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19410 (IP_MSFILTER): Likewise.
19411 (MCAST_JOIN_GROUP): Likewise.
19412 (MCAST_BLOCK_SOURCE): Likewise.
19413 (MCAST_UNBLOCK_SOURCE): Likewise.
19414 (MCAST_LEAVE_GROUP): Likewise.
19415 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19416 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19417 (MCAST_MSFILTER): Likewise.
19418 (IP_MULTICAST_ALL): Likewise.
19419 (IP_UNICAST_IF): Likewise.
19420
73f79bb7
MF
19421 * timezone/Makefile: Delete $(have-ksh) check.
19422 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19423 * timezone/tzselect.ksh: Add +x mode bits.
19424
8da79b60
MF
19425 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19426 (ANON_INODE_FS_MAGIC): Likewise.
19427 (BDEVFS_MAGIC): Likewise.
19428 (BINFMTFS_MAGIC): Likewise.
19429 (BTRFS_TEST_MAGIC): Likewise.
19430 (CRAMFS_MAGIC_WEND): Likewise.
19431 (DEBUGFS_MAGIC): Likewise.
19432 (ECRYPTFS_SUPER_MAGIC): Likewise.
19433 (EXT3_SUPER_MAGIC): Likewise.
19434 (EXT4_SUPER_MAGIC): Likewise.
19435 (FUTEXFS_SUPER_MAGIC): Likewise.
19436 (HOSTFS_SUPER_MAGIC): Likewise.
19437 (HUGETLBFS_MAGIC): Likewise.
19438 (MINIX3_SUPER_MAGIC): Likewise.
19439 (MTD_INODE_FS_MAGIC): Likewise.
19440 (NILFS_SUPER_MAGIC): Likewise.
19441 (OPENPROM_SUPER_MAGIC): Likewise.
19442 (PIPEFS_MAGIC): Likewise.
19443 (PSTOREFS_MAGIC): Likewise.
19444 (QNX6_SUPER_MAGIC): Likewise.
19445 (RAMFS_MAGIC): Likewise.
19446 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19447 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19448 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19449 (SECURITYFS_MAGIC): Likewise.
19450 (SELINUX_MAGIC): Likewise.
19451 (SMACK_MAGIC): Likewise.
19452 (SOCKFS_MAGIC): Likewise.
19453 (SQUASHFS_MAGIC): Likewise.
19454 (STACK_END_MAGIC): Likewise.
19455 (TMPFS_MAGIC): Likewise.
19456 (USBDEVICE_SUPER_MAGIC): Likewise.
19457 (V9FS_MAGIC): Likewise.
19458 (XENFS_SUPER_MAGIC): Likewise.
19459 (CRAMFS_MAGIC): Fix typo in comment.
19460 (EXT2_SUPER_MAGIC): Update comment.
19461 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19462
464263cc
JM
194632014-02-08 Joseph Myers <joseph@codesourcery.com>
19464
c6bfe5c4
JM
19465 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19466 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19467 * sysdeps/unix/sysv/linux/arm: Move directory from
19468 ports/sysdeps/unix/sysv/linux/arm.
19469 * README: Update listing for arm-*-linux-gnueabi.
19470
464263cc
JM
19471 * README: Remove mention of am33.
19472
32749f6c
RM
194732014-02-07 Roland McGrath <roland@hack.frob.com>
19474
19475 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19476 than the comma operator, to avoid "rhs of comma has no effect"
19477 compiler warnings.
19478 (__sigfillset, __sigandset, __sigorset): Likewise.
19479 * include/signal.h (__sigemptyset): Likewise.
19480 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19481
d5b396c1
AM
194822014-02-07 Allan McRae <allan@archlinux.org>
19483
19484 * version.h (RELEASE): Set to "development".
19485 (VERSION): Set to "2.19.90"
19486 * NEWS: Add 2.20 section.
19487
3bfff2ed
CD
194882014-02-06 Carlos O'Donell <carlos@redhat.com>
19489
19490 [BZ #16529]
19491 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19492
ee7cc385
SP
194932014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19494
19495 * manual/contrib.texi: Update entry for Carlos O'Donell,
19496 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19497
f877c4f2
CD
194982014-02-05 Carlos O'Donell <carlos@rehdat.com>
19499
27e839f6
CD
19500 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19501
f877c4f2
CD
19502 * sysdeps/unix/sysv/linux/kernel-features.h
19503 [__LINUX_KERNEL_VERSION >= 0x020621]
19504 (__ASSUME_PROC_PID_TASK_COMM): Define.
19505
68159946
SP
195062014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19507
ba17cdbd
SP
19508 [BZ #16398]
19509 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19510 conversion when destination buffer does not have enough space.
19511 * libio/tst-ftell-partial-wide.c: New test case.
19512 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19513
68159946
SP
19514 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19515 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19516 Leonard and Allan McRae.
19517
2b528732
DM
195182014-02-04 David S. Miller <davem@davemloft.net>
19519
19520 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19521 32-bit.
19522
0ff82463
AZ
195232014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19524
57f41c40
AS
19525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19526 New file
c01603f7
AZ
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19528 New file
57f41c40
AS
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19530 New file.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19532 New file.
c01603f7
AZ
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19534 New file.
57f41c40
AS
19535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19536 New file.
19537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19538 New file.
c01603f7
AZ
19539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19540 New file.
19541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19542 New file.
19543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19544 New file.
19545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19546 New file.
19547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19548 New file.
19549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19550 New file.
19551
195522014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19553
0ff82463
AZ
19554 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19555 * shlib-versions: Likewise.
19556
1695c773
AZ
195572014-02-04 Roland McGrath <roland@hack.frob.com>
19558 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19559
19560 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19561 (abilist-pattern): New variable, set to %-le.abilist.
19562
19563 * Makerules (abilist-pattern): New variable.
19564 (vpath): Use $(abilist-pattern) in place of %.abilist.
19565 (check-abi-% pattern rule): Likewise.
19566 (check-abi, update-abi): Likewise.
19567
6c0ce4b4
EW
195682014-02-04 Eric Wong <normalperson@yhbt.net>
19569
19570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19571
481e3524
CD
195722014-02-03 Carlos O'Donell <carlos@redhat.com>
19573
19574 * manual/startup.texi: Add next, previous, and top entries for
19575 the `Program Arguments' and `Environment Variables' nodes.
19576
375592d3
AO
195772014-02-03 Alexandre Oliva <aoliva@redhat.com>
19578
19579 * manual/macros.texi: Add comments before MTASC-safety macros.
19580
f54838ba
AO
19581 * manual/users.texi: Document MTASC-safety properties.
19582
57f41c40
AS
19583 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19584 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
19585 @deftypefun, and add @safety note.
19586 * manual/signal.texi: Move comments that analyze the above
19587 functions to their home place.
19588
fd3daba4
AM
195892014-02-03 Allan McRae <allan@archlinux.org>
19590
19591 * po/sl.po: Update Slovenian translation from translation project.
19592
597636d7
AO
195932014-02-02 Alexandre Oliva <aoliva@redhat.com>
19594
19595 * manual/time.texi (timegm): Add missing blank after @c.
19596 Reported by Joseph Myers <joseph@codesourcery.com>.
19597
ee196e3c
AO
195982014-02-01 Alexandre Oliva <aoliva@redhat.com>
19599
19600 * manual/check-safety.sh: New.
19601 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19602
f8d529d5
AO
19603 * manual/terminal.texi: Document MTASC-safety properties.
19604
de55fdf4
AO
19605 * manual/filesys.texi: Document MTASC-safety properties.
19606
c3299c08
AO
19607 * manual/errno.texi: Document MTASC-safety properties.
19608
06e90b14
AO
19609 * manual/intro.texi: Document safety identifiers and
19610 conditionals.
19611
1acd4371
AO
19612 * manual/string.texi (wcstok): Fix prototype.
19613 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19614
23e5b8cb
AO
19615 * manual/time.texi: Document MTASC-safety properties.
19616
11087373
AO
19617 * manual/string.texi: Document MTASC-safety properties.
19618
5da2c93d
AO
19619 * manual/threads.texi: Document MTASC-safety properties.
19620
171e9210
AO
19621 * manual/stdio.texi: Document MTASC-safety properties.
19622
d9e02532
AO
19623 * manual/syslog.texi: Document MTASC-safety properties.
19624
6af8bab7
AO
19625 * manual/sysinfo.texi: Document MTASC-safety properties.
19626
663b02d7
AO
19627 * manual/startup.texi: Document MTASC-safety properties.
19628
973f180b
AO
19629 * manual/socket.texi: Document MTASC-safety properties.
19630
8f3c25c8
AO
19631 * manual/signal.texi: Document MTASC-safety properties.
19632
542210fb
AO
196332014-01-31 Alexandre Oliva <aoliva@redhat.com>
19634
19635 * manual/setjmp.texi: Document MTASC-safety properties.
19636
433c45a2
AO
19637 * manual/search.texi: Document MTASC-safety properties.
19638
c8ce789c
AO
19639 * manual/resource.texi: Document MTASC-safety properties.
19640
19f5d29c
AO
19641 * manual/process.texi: Document MTASC-safety properties.
19642
e2dfb7f4
AO
19643 * manual/platform.texi: Document MTASC-safety properties.
19644
8c1413f5
AO
19645 * manual/pipe.texi: Document MTASC-safety properties.
19646
03483ada
AO
19647 * manual/pattern.texi: Document MTASC-safety properties.
19648
29e7e2df
AO
19649 * manual/message.texi: Document MTASC-safety properties.
19650
9f529d7c
AO
19651 [BZ #12751]
19652 * manual/memory.texi: Document MTASC-safety properties.
19653
27aaa791
AO
19654 * manual/math.texi: Document MTASC-safety properties.
19655
f2d58726
AO
19656 * manual/locale.texi: Document MTASC-safety properties.
19657
2cc3615c
AO
19658 * manual/llio.texi: Document MTASC-safety properties.
19659
d9f0ec97
AO
19660 * manual/libdl.texi: New.
19661
e7c4409a
AO
19662 * manual/lang.texi: Document MTASC-safety properties.
19663
27bdc63c
AO
19664 * manual/job.texi: Document MTASC-safety properties.
19665
a7b90ea9
AO
19666 * manual/getopt.texi: Document MTASC-safety properties.
19667
c49130e3
AO
19668 * manual/ctype.texi: Document MTASC-safety properties.
19669
0d23a5c1
MR
196702014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19671
19672 [BZ #16046]
19673 * csu/libc-tls.c (static_map): Remove variable.
19674 (__libc_setup_tls): Use main executable's link map for TLS data.
19675 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19676 casing for LM_ID_BASE and GL(dl_nns).
19677 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19678 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19679 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19680 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19681 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19682 member.
19683 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19684 l_phnum members.
19685
0037bb60
AO
196862014-01-30 Alexandre Oliva <aoliva@redhat.com>
19687
19688 * manual/debug.texi: Document MTASC-safety properties.
19689
409e00bd
L
196902014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19691
19692 [BZ #16510]
19693 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19694 of __x86_64__ when disabling x87 inline functions.
19695
86e60666
AO
196962014-01-29 Alexandre Oliva <aoliva@redhat.com>
19697
19698 * manual/charset.texi: Document MTASC-safety properties.
19699
76167637
AO
19700 * manual/crypt.texi: Document MTASC-safety properties.
19701
e567f2a0
AO
19702 * manual/conf.texi: Document MTASC-safety properties.
19703
b719dafd
AO
19704 * manual/arith.texi: Document MTASC-safety properties.
19705
4a16c662
AO
19706 * manual/argp.texi: Document MTASC-safety properties.
19707
0a57b83e
AO
19708 * manual/macros.texi: Introduce macros to document multi
19709 thread, asynchronous signal and asynchronous cancellation
19710 safety properties.
19711 * manual/intro.texi: Introduce the properties themselves.
19712
feab2397
KK
197132014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19714
19715 * sysdeps/sh/sh4/Makefile: New file.
19716
1c0d11bc
AS
197172014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19718
19719 * math/gen-libm-test.pl ($srcdir): New variable.
19720 ($auto_input): Use it.
19721
af37a8a3
SP
197222014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19723
d7b00f98
SP
19724 [BZ #16506]
19725 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19726 access beyond array bounds when parsing netgroups file.
19727
af37a8a3
SP
19728 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19729 the old buffer before realloc.
19730
0c00f062
AM
197312014-01-27 Allan McRae <allan@archlinux.org>
19732
19733 * po/fr.po: Update French translation from translation project.
19734
7d69a1b0
KK
197352014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19736
19737 * sysdeps/sh/libm-test-ulps: Regenerate.
19738
6e697ff7
DM
197392014-01-24 David S. Miller <davem@davemloft.net>
19740
19741 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19742
9cadb35c
KK
197432014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19744
19745 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19746 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19747
5d41dadf
SP
197482013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19749
19750 [BZ #16474]
19751 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19752 string pointers after reallocation.
19753
0bad441c
KK
197542014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19755
19756 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19757 __SH4A__ instead of __SH_FPU_ANY__.
19758
7007c661
KK
197592014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19760
19761 * sysdeps/sh/fpu_control.h: New file.
19762 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19763 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19764 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19765 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19766 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19767 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19768 * sysdeps/sh/sys/ucontext.h: Remove.
19769 * sysdeps/sh/sys: Remove directory.
19770
0f0c35e4
AK
197712014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19772
19773 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19774 s390/sys/ucontext.h.
19775 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19776 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19777
4959e284
L
197782014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19779
19780 [BZ #15605]
19781 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19782
d98720e0
AZ
197832014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19784
19785 [BZ#16431]
19786 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19787 Adjust the vDSO correctly for internal calls.
19788 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19789
91cbd0bc
AM
197902014-01-20 Allan McRae <allan@archlinux.org>
19791
19792 * po/ca.po: Update Catalan translation from translation project.
19793
7a02cfad
MF
197942014-01-16 Mike Frysinger <vapier@gentoo.org>
19795
19796 * sysdeps/s390/sotruss-lib.c: New file.
19797
736c304a
AZ
197982014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19799
19800 [BZ#16430]
6e077ee5 19801 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
19802 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19803 local calls issues by not having a PLT stub required for IFUNC calls.
19804 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19805
94d0cea0
JM
198062014-01-16 Joseph Myers <joseph@codesourcery.com>
19807
19808 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19809 * math/test-fpucw-static.c: Likewise.
19810
980cb518
SP
198112013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19812
19813 [BZ #16453]
19814 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19815
2393fc01
AZ
198162014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19817
19818 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19819 implementation for powerpc.
19820
d359bcc2
OB
198212014-01-15 Ondřej Bílka <neleai@seznam.cz>
19822
19823 [BZ #14782]
19824 * sysdeps/posix/system.c (__libc_system): Do not enable
19825 asynchronous cancellation.
19826
7beb48cb
AK
198272014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19828
19829 [BZ #16427]
19830 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19831 handling only for numbers special also in the IEEE case.
19832
c20d5bf5
AK
198332014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19834
19835 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19836
e83bd4ee
AM
198372014-01-11 Allan McRae <allan@archlinux.org>
19838
76d0ea69
AM
19839 * po/bg.po: Update Bulgarian translation from translation project.
19840
e83bd4ee
AM
19841 * po/de.po: Update German translation from translation project.
19842
bc2ba20a
RM
198432014-01-10 Roland McGrath <roland@hack.frob.com>
19844
19845 * sysdeps/generic/gcc-compat.h: New file.
19846
649ecea2
SP
198472014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19848
19849 * benchtests/asin-inputs: Correct slow inputs.
19850 * benchtests/acos-inputs: Likewise.
19851
1b19c006
AM
198522014-01-10 Allan McRae <allan@archlinux.org>
19853
a46dab08
AM
19854 * po:sv.po: Update Swedish translation from translation project.
19855
421df74a
AM
19856 * po/vi.po: Update Vietnamese translation from translation project.
19857
d61c51a7
AM
19858 * po/eo.po: Update Esperanto translation from translation project.
19859
0339a319
AM
19860 * po/cs.po: Update Czech translation from translation project.
19861
94ad3e99
AM
19862 * po/nl.po: Update Dutch translation from translation project.
19863
e349ca71
AM
19864 * po/pl.po: Update Polish translation from translation project.
19865
ddf930c1
AM
19866 * po/ru.po: Update Russian translation from translation project.
19867
1b19c006
AM
19868 * po/uk.po: Update Ukrainian translation from translation project.
19869
9f236c49
BM
198702014-01-08 Brooks Moses <bmoses@google.com>
19871
19872 * elf/dl-load.c: Fix comment typo.
19873
cd6701cf
CD
198742014-01-08 Carlos O'Donell <carlos@redhat.com>
19875
19876 * po/header.pot: Rename to...
19877 * po/pot.header: ... this.
19878 * po/Makefile: Use pot.header.
19879
66671c84
YK
198802014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19881 Maxim Kuvyrkov <maxim@kugelworks.com>
19882
19883 [BZ #16394]
cd6701cf
CD
19884 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19885 SRC and DEST against LEN.
66671c84 19886
38f34581
AZ
198872014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19888
19889 [BZ #16414]
19890 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19891 implementation.
19892 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19893
198942014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19895
19896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19897
4c327f2a
JM
198982014-01-08 Joseph Myers <joseph@codesourcery.com>
19899
19900 [BZ #16408]
19901 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19902 for large positive arguments.
19903
b821f414
JM
199042014-01-07 Joseph Myers <joseph@codesourcery.com>
19905
1f0f2067
JM
19906 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19907
a5a326f6
JM
19908 * math/auto-libm-test-in: Mark various tests with
19909 xfail-rounding:ldbl-128ibm.
19910 * math/auto-libm-test-out: Regenerated.
19911
b821f414
JM
19912 [BZ #16407]
19913 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19914 Increase overflow threshold.
19915
94c8a4bc
OB
199162014-01-07 Ondřej Bílka <neleai@seznam.cz>
19917
19918 [BZ #14286]
19919 * stdio-common/vfprintf.c: Check for integer overflow.
19920
87ded0c3
AK
199212014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19922
19923 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19924 the first argument and return value of __tls_get_addr_internal.
19925
c5eebdd0
AK
199262014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19927
19928 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19929 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19930
05d138ef
AK
199312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19932
19933 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19934 * sysdeps/s390/rtld-global-offsets.sym: New file.
19935 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19936 GLIBC_2.19 symbol.
19937 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19938 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19939 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19940 ... this.
19941 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19942 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19943 ... this.
19944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19945 Regenerate.
19946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19947 Regenerate.
19948 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19949 halfs of GPRs for high_gprs contexts.
19950 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19951 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19952 field.
19953 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19954 uc_flags field.
19955 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19956 64 bit versions:
19957 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19958 for high GPRs (uc_high_gprs) and for future extensions
19959 (__reserved).
19960 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19961 for future extensions (__reserved).
19962 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19963 64 bit versions:
19964 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19965 SC_HIGHGPRS offset definition.
19966 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19967 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19968
93a45ff1
AK
19969 * Versions.def: Add GLIBC_2.19 for libpthread.
19970 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19971 siglongjmp for libpthread with GLIBC_2.19 symver.
19972 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19973 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19974 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19975 * sysdeps/s390/__longjmp.c: New file.
19976 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19977 * sysdeps/s390/longjmp.c: New file.
19978 * sysdeps/s390/setjmp.S: New file.
19979 * sysdeps/s390/sigjmp.S: New file.
19980 * sysdeps/s390/v1-longjmp.c: New file.
19981 * sysdeps/s390/v1-setjmp.h: New file.
19982 * sysdeps/s390/v1-sigjmp.c: New file.
19983 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19984 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19985 GLIBC_2.19 version.
19986 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19987 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19988 versioned symbols for ____longjmp_chk.
19989 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19990 Likewise.
19991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19992 Regenerate.
19993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19994 Regenerate.
19995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19996 Regenerate.
19997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19998 Regenerate.
19999 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20000 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20001 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20002 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20003 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20004 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20005 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20006 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20007 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20008 * sysdeps/s390/rtld-__longjmp.c: New file.
20009 * sysdeps/s390/rtld-setjmp.S: New file.
20010
eb3fc44b
JM
200112014-01-06 Joseph Myers <joseph@codesourcery.com>
20012
20013 [BZ #16400]
20014 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20015 Return -__logl (x) for small positive arguments without evaluating
20016 a polynomial.
20017
9341dde4
MF
200182014-01-06 Mike Frysinger <vapier@gentoo.org>
20019
20020 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20021 Rename to ...
20022 (__ptrace_peeksiginfo_args): ... this.
20023 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20024 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20025 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20026
4cff0293
AM
200272014-01-06 Allan McRae <allan@archlinux.org>
20028
20029 * inet/netinet/in.h: Fix typo in comment.
20030
75595dcf
AJ
200312014-01-05 Andreas Jaeger <aj@suse.de>
20032
20033 * sysdeps/i386/fpu/libm-test-ulps: Update.
20034
79c1e109
AM
200352014-01-05 Allan McRae <allan@archlinux.org>
20036
dd804818
AM
20037 * po/libc.pot: Regenerated.
20038
79c1e109
AM
20039 * malloc/memusagestat.c: Fix gettext call formatting.
20040
0c813d1f
SK
200412014-01-04 Sami Kerola <kerolasa@iki.fi>
20042
20043 * nscd/nscd.c: Improve usage() output.
20044
20f4a8d9
MF
200452014-01-04 Mike Frysinger <vapier@gentoo.org>
20046
20047 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20048 * sysdeps/unix/sysv/linux/configure: Regenerated.
20049 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20050 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20051
22562bb2
JM
200522014-01-03 Joseph Myers <joseph@codesourcery.com>
20053
20054 [BZ #16390]
20055 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20056 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20057
d7ad2d9b
AZ
200582014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20059
20060 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20061 extra tokens at end of #undef directive.
20062 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20063 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20064 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20065
7dd009d8
JM
200662014-01-03 Joseph Myers <joseph@codesourcery.com>
20067
24db925a
JM
20068 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20069
7dd009d8
JM
20070 * math/auto-libm-test-in: Mark various tests with
20071 xfail-rounding:ldbl-128ibm.
20072 * math/auto-libm-test-out: Regenerated.
20073
396e3ecf
JM
200742014-01-02 Joseph Myers <joseph@codesourcery.com>
20075
819e5d50
JM
20076 [BZ #16386]
20077 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20078 numbers with subnormal high part when calculating exponent.
20079
90b6a1e5
JM
20080 [BZ #16385]
20081 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20082 fabs.
20083
396e3ecf
JM
20084 [BZ #16384]
20085 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20086 M_LN2l.
20087 (__ieee754_acoshl): Use __log1pl not __log1p.
20088
6c8dbf00
OB
200892013-01-02 Ondřej Bílka <neleai@seznam.cz>
20090
57f41c40
AS
20091 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20092 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20093 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20094 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20095 (reused_arena, arena_get2): Convert to GNU style.
20096 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20097 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20098 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 20099 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
20100 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20101 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20102 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20103 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20104 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20105 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 20106 * malloc/malloc.h: Likewise.
57f41c40
AS
20107 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20108 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 20109 * malloc/mcheck.h: Likewise.
57f41c40
AS
20110 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20111 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
20112 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20113 * malloc/morecore.c (__default_morecore): Likewise.
20114 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
20115 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20116 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20117 (print_and_abort): Likewise.
6c8dbf00
OB
20118 * malloc/obstack.h: Likewise.
20119 * malloc/set-freeres.c (__libc_freeres): Likewise.
20120 * malloc/tst-mallocstate.c (main): Likewise.
20121 * malloc/tst-mtrace.c (main): Likewise.
20122 * malloc/tst-realloc.c (do_test): Likewise.
20123
d4124212
SP
201242013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20125
9a3c6a6f
SP
20126 [BZ #16366]
20127 * nscd/netgroupcache.c (do_notfound): New function.
20128 (addgetnetgrentX): Use it.
20129
d4124212
SP
20130 [BZ # 16365]
20131 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20132 NSS_STATUS_NOTFOUND.
20133
97b9a009
JM
201342014-01-01 Joseph Myers <joseph@codesourcery.com>
20135
20136 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20138
d4697bc9
AM
201392014-01-01 Allan McRae <allan@archlinux.org>
20140
ddb3687f
AM
20141 * scripts/update-copyrights: Update configure input file suffix.
20142
88726d48
AM
20143 * NEWS: Update copyright year.
20144 * catgets/gencat.c: Likewise.
20145 * csu/version.c: Likewise.
20146 * debug/catchsegv.sh: Likewise.
20147 * debug/pcprofiledump.c: Likewise.
20148 * debug/xtrace.sh: Likewise.
20149 * elf/ldconfig.c: Likewise.
20150 * elf/ldd.bash.in: Likewise.
20151 * elf/pldd.c: Likewise.
20152 * elf/sotruss.ksh: Likewise.
20153 * elf/sprof.c: Likewise.
20154 * iconv/iconv_prog.c: Likewise.
20155 * iconv/iconvconfig.c: Likewise.
20156 * locale/programs/locale.c: Likewise.
20157 * locale/programs/localedef.c: Likewise.
20158 * login/programs/pt_chown.c: Likewise.
20159 * malloc/memusage.sh: Likewise.
20160 * malloc/memusagestat.c: Likewise.
20161 * malloc/mtrace.pl: Likewise.
20162 * manual/libc.texinfo: Likewise.
20163 * nscd/nscd.c: Likewise.
20164 * nss/getent.c: Likewise.
20165 * nss/makedb.c: Likewise.
20166 * posix/getconf.c: Likewise.
20167 * scripts/test-installation.pl: Likewise.
20168
d4697bc9
AM
20169 * All files with FSF copyright notices: Update copyright dates
20170 using scripts/update-copyrights.
20171 * intl/plural.c: Regenerated.
20172 * locale/programs/charmap-kw.h: Likewise.
20173 * locale/programs/locfile-kw.h: Likewise.
20174
c8590f9d
MF
201752013-12-31 Mike Frysinger <vapier@gentoo.org>
20176
20177 * sysdeps/unix/sysv/linux/configure: Regenerated.
20178 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20179 the linux/fanotify.h header.
20180 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20181 HAVE_LINUX_FANOTIFY_H is defined.
20182
b19221b9
SP
201832013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20184
dd1d85e5
SP
20185 * benchtests/cos-inputs: New inputs.
20186 * benchtests/sin-inputs: Likewise.
20187
1acbb90f
SP
20188 * benchtests/atan-inputs: New inputs. Fix name of multiple
20189 precision fallback inputs.
20190
4c012ed3
SP
20191 * benchtests/atanh-inputs: New inputs.
20192 * benchtests/tanh-inputs: Likewise.
20193
eff98324
SP
20194 * benchtests/acosh-inputs: New inputs.
20195 * benchtests/asinh-inputs: Likewise.
20196
ce641152
SP
20197 * benchtests/cosh-inputs: New inputs.
20198 * benchtests/sinh-inputs: Likewise.
20199
b19221b9
SP
20200 * benchtests/acos-inputs: Add more inputs.
20201 * benchtests/asin-inputs: Likewise.
20202
030a4976 202032013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 20204
030a4976 20205 [BZ #16375]
9dcc8f11
VS
20206 * manual/arith.texi: Fix spelling.
20207 * manual/charset.texi: Likewise.
20208 * manual/errno.texi: Likewise.
20209 * manual/filesys.texi: Likewise.
20210 * manual/lang.texi: Likewise.
20211 * manual/llio.texi: Likewise.
20212 * manual/locale.texi: Likewise.
20213 * manual/message.texi: Likewise.
20214 * manual/resource.texi: Likewise.
20215 * manual/search.texi: Likewise.
20216 * manual/setjmp.texi: Likewise.
20217 * manual/stdio.texi: Likewise.
20218 * manual/string.texi: Likewise.
20219 * manual/sysinfo.texi: Likewise.
20220 * manual/time.texi: Likewise.
20221
11520a57
CD
202222013-12-27 Carlos O'Donell <carlos@redhat.com>
20223
20224 * po/sl.po: New file.
20225
471103ae
MF
202262013-12-27 Mike Frysinger <vapier@gentoo.org>
20227
20228 * .gitignore: Add core/.gdbinit/.gdb_history.
20229
6c9642ed
AM
202302013-12-27 Allan McRae <allan@archlinux.org>
20231
20232 [BZ #16369]
20233 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20234 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20235
3f637079
BM
202362013-12-24 Brooks Moses <bmoses@google.com>
20237
20238 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20239 all compilers that claim C++98 compliance, not just GCC.
20240 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20241 Likewise.
20242
abc26e99
MK
202432013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20244
20245 * NEWS: Restore accidentally deleted bug-fix entries.
20246
362b47fe
MK
202472013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20248 Ondřej Bílka <neleai@seznam.cz>
20249
20250 [BZ #15073]
20251 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 20252 have_lock.
362b47fe 20253
b9bcbbcb
OB
202542013-12-23 Ondřej Bílka <neleai@seznam.cz>
20255
20256 [BZ #12986]
20257 * manual/stdio.texi (String Input Conversions): Clarify that character
20258 classes are not supported.
20259
fb55fcd2
AZ
202602013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20261
20262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20263
ef7344f0
JM
202642013-12-22 Joseph Myers <joseph@codesourcery.com>
20265
4f40e4b3
JM
20266 [BZ #16337]
20267 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20268 Calculate results for small negative arguments directly rather
20269 than using reflection formula with special underflow handling.
20270
ef7344f0
JM
20271 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20272 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20273 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20274 (fchflags): Likewise.
20275 (revoke): Likewise.
20276 (setlogin): Likewise.
20277 (sigaltstack): Likewise.
20278 (wait4): Likewise.
20279 (sigblock): Remove.
20280 (sigsetmask): Likewise.
20281 (wait3): Likewise.
20282 (waitpid): Likewise.
20283 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20284 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20285 file.
20286 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20287 * sysdeps/unix/bsd/Makefile: ... here.
20288 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20289 * sysdeps/unix/bsd/Versions: ... here.
20290 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20291 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20292 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20293 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20294 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20295 * sysdeps/unix/bsd/sigblock.c: ... here.
20296 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20297 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20298 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20299 * sysdeps/unix/bsd/sigvec.c: ... here.
20300 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20301 * sysdeps/unix/bsd/tcdrain.c: ... here.
20302 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20303 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20304 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20305 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20306 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20307 * sysdeps/unix/bsd/wait.c: ... here.
20308 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20309 * sysdeps/unix/bsd/wait3.c: ... here.
20310 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20311 * sysdeps/unix/bsd/waitpid.c: ... here.
20312
5b0626b9
JM
203132013-12-21 Joseph Myers <joseph@codesourcery.com>
20314
20315 [BZ #16356]
20316 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20317 round-to-nearest for [!USE_AS_EXPM1L].
20318 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20319 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20320 more tests of exp and exp10. Expect some exp10 tests to miss
20321 exceptions or fail in directed rounding modes.
20322 * math/auto-libm-test-out: Regenerated.
20323 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20324 (exp10_test_tonearest): New function.
20325 (exp10_towardzero_test_data): New array.
20326 (exp10_test_towardzero): New function.
20327 (exp10_downward_test_data): New array.
20328 (exp10_test_downward): New function.
20329 (exp10_upward_test_data): New array.
20330 (exp10_test_upward): New function.
20331 (main): Call the new functions.
20332 * sysdeps/i386/fpu/libm-test-ulps: Update.
20333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20334
7fda5682
JM
203352013-12-20 Joseph Myers <joseph@codesourcery.com>
20336
31e3a405
JM
20337 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20338 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20339 * math/auto-libm-test-out: Regenerated.
20340 * math/libm-test.inc (acosh_test_data): Add more tests.
20341 (atanh_test_data): Likewise.
20342 (ceil_test_data): Likewise.
20343 (copysign_test_data): Likewise.
20344 * sysdeps/i386/fpu/libm-test-ulps: Update.
20345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20346
85bff96a
JM
20347 * timezone/checktab.awk: Update from tzcode 2013i.
20348 * timezone/private.h: Likewise.
20349 * timezone/scheck.c: Likewise.
20350 * timezone/tzfile.h: Likewise.
20351 * timezone/tzselect.ksh: Likewise.
20352 * timezone/zdump.c: Likewise.
20353 * timezone/zic.c: Likewise.
20354
b7867a3b
JM
20355 * math/auto-libm-test-in: Add tests of cpow.
20356 * math/auto-libm-test-out: Regenerated.
20357 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20358 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20359 mpc_cc_c.
20360 (func_calc_desc): Add mpc_cc_c union field.
20361 (test_functions): Add cpow.
20362 (special_fill_2pi): New function.
20363 (special_real_inputs): Add 2pi.
20364 (calc_generic_results): Handle mpc_cc_c.
20365 * sysdeps/i386/fpu/libm-test-ulps: Update.
20366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20367
7fda5682
JM
20368 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20369 csqrt, ctan and ctanh.
20370 * math/auto-libm-test-out: Regenerated.
20371 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20372 (TEST_COND_x86): Likewise.
20373 (ccos_test_data): Use AUTO_TESTS_c_c.
20374 (ccosh_test_data): Likewise.
20375 (cexp_test_data): Likewise.
20376 (clog_test_data): Likewise.
20377 (csqrt_test_data): Likewise.
20378 (ctan_test_data): Likewise.
20379 (ctan_tonearest_test_data): Likewise.
20380 (ctan_towardzero_test_data): Likewise.
20381 (ctan_downward_test_data): Likewise.
20382 (ctan_upward_test_data): Likewise.
20383 (ctanh_test_data): Likewise.
20384 (ctanh_tonearest_test_data): Likewise.
20385 (ctanh_towardzero_test_data): Likewise.
20386 (ctanh_downward_test_data): Likewise.
20387 (ctanh_upward_test_data): Likewise.
20388 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20389 mpc_c_c.
20390 (func_calc_desc): Add mpc_c_c union field.
20391 (FUNC_mpc_c_c): New macro.
20392 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20393 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20394 ctanh.
20395 (special_fill_min_subnorm_p120): New function.
20396 (special_real_inputs): Add min_subnorm_p120.
20397 (calc_generic_results): Handle mpc_c_c.
20398 * sysdeps/i386/fpu/libm-test-ulps: Update.
20399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20400
5ff8d60e
SP
204012013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20402
57f41c40
AS
20403 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20404 (do_sin_slow): New functions.
20405 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20406 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20407
84ba214c
SP
20408 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20409 Use M to change sign of result instead of X. Assume X is
20410 positive.
20411 (csloww1): Likewise.
20412 (__sin): Adjust.
20413 (__cos): Adjust.
20414
975195e4
SP
20415 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20416 arguments A and DA.
20417 (__sin): Adjust.
20418 (__cos): Likewise.
20419
5ff8d60e
SP
20420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20421 (__cos): Likewise.
20422 (sloww1): Don't adjust sign of DX.
20423 (csloww1): Likewise.
20424 (sloww2): Use X directly and don't adjust sign of DX.
20425 (csloww2): Likewise.
20426
eb983568
JM
204272013-12-19 Joseph Myers <joseph@codesourcery.com>
20428
64a17f1a
JM
20429 * math/auto-libm-test-in: Add tests of cabs and carg.
20430 * math/auto-libm-test-out: Regenerated.
20431 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20432 (carg_test_data): Likewise.
20433 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20434 mpc_c_f.
20435 (func_calc_desc): Add mpc_c_f union field.
20436 (test_functions): Add cabs and carg.
20437 (calc_generic_results): Handle mpc_c_f.
20438
eb983568
JM
20439 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20440 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20441 as a macro and a compat symbol.
20442 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20443 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20444 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20445 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20446 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20447 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20448 not use .hidden.
20449 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20450 Likewise.
20451 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20452 Likewise.
20453 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20454 Likewise.
20455 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20456 Likewise.
20457 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20458 Likewise.
20459 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20460 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20461 from GLIBC_2.3.2.
20462
6eeb678a
AZ
204632013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20464
20465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20466
6f6fc482
JM
204672013-12-19 Joseph Myers <joseph@codesourcery.com>
20468
21fea2e2
JM
20469 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20470 trailing whitespace removed.
20471 * scripts/config.guess: Update to version 2013-11-29.
20472 * scripts/config.sub: Update to version 2013-10-01.
20473
6f6fc482
JM
20474 * math/auto-libm-test-in: Add tests of sincos.
20475 * math/auto-libm-test-out: Regenerated.
20476 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20477 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20478 mpfr_f_11.
20479 (func_calc_desc): Add mpfr_f_11 union field.
20480 (test_functions): Add sincos.
20481 (calc_generic_results): Handle mpfr_f_11.
20482 * sysdeps/i386/fpu/libm-test-ulps: Update.
20483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20484
83f5c32d
AS
204852013-12-19 Andreas Schwab <schwab@suse.de>
20486
20487 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20488 CALL_MCOUNT.
20489 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20490 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20491 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20492
c688b419
JM
204932013-12-19 Joseph Myers <joseph@codesourcery.com>
20494
335ee092
JM
20495 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20496 * sysdeps/i386/fpu/libm-test-ulps: Update.
20497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20498
f88acd39
JM
20499 [BZ #16293]
20500 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20501 round-to-nearest mode when using frndint.
20502 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20503 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20504 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20505 Likewise.
20506 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20507 sinh test to fail.
20508 * math/auto-libm-test-out: Regenerated.
20509 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20510 (TEST_COND_x86): Likewise.
20511 (expm1_tonearest_test_data): New array.
20512 (expm1_test_tonearest): New function.
20513 (expm1_towardzero_test_data): New array.
20514 (expm1_test_towardzero): New function.
20515 (expm1_downward_test_data): New array.
20516 (expm1_test_downward): New function.
20517 (expm1_upward_test_data): New array.
20518 (expm1_test_upward): New function.
20519 (main): Run the new test functions.
20520 * sysdeps/i386/fpu/libm-test-ulps: Update.
20521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20522
c688b419
JM
20523 * include/features.h: Update comment documenting feature test
20524 macros. Mention _DEFAULT_SOURCE in comment.
20525 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20526 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20527 _BSD_SOURCE and _SVID_SOURCE.
20528 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20529 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20530 !_SVID_SOURCE]: Likewise.
20531 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20532 (__USE_POSIX_IMPLICITLY): Define.
20533 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20534 (_POSIX_SOURCE): Undefine and redefine.
20535 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20536 (_POSIX_C_SOURCE): Likewise.
20537 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20538 (Feature Test Macros): Update documentation of default features.
20539
9f6e964c
RS
205402013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20541
20542 * benchtests/Makefile: Add bench-strtok.
20543 * benchtests/bench-strtok.c: New file: strtok benchtest.
20544
ee0a148a
AM
205452013-12-19 Allan McRae <allan@archlinux.org>
20546
20547 * manual/install.texi: Suppress menu for plain text output.
20548 * INSTALL: Regenerated.
20549
b9ab448f
BM
205502013-12-18 Brooks Moses <bmoses@google.com>
20551
20552 [BZ #15846]
20553 * misc/getauxval.c: Include errno.h.
20554 (__getauxval): Set errno to ENOENT if the requested type is not
20555 found.
20556 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20557 don't declare with __attribute_const__.
20558 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20559 * manual/startup.texi: Document that getauxval sets errno.
20560
23776487
JM
205612013-12-18 Joseph Myers <joseph@codesourcery.com>
20562
f889953b
JM
20563 * math/auto-libm-test-in: Add tests of jn and yn.
20564 * math/auto-libm-test-out: Regenerated.
20565 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20566 (yn_test_data): Likewise.
20567 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20568 mpfr_if_f.
20569 (func_calc_desc): Add mpfr_if_f union field.
20570 (FUNC_mpfr_if_f): New macro.
20571 (test_functions): Add jn and yn.
20572 (calc_generic_results): Assert type of second input for
20573 mpfr_ff_f. Handle mpfr_if_f.
20574 (output_for_one_input_case): Disable all checking for arguments
20575 fitting floating-point types in case of an integer argument.
20576 * sysdeps/i386/fpu/libm-test-ulps: Update.
20577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20578
23776487
JM
20579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20580 Don't expect fegetround reference in libm.so.
20581
cb756c6d
MS
205822013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20583
20584 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20585 $(config-cflags-nofma).
20586
2dec468f
JM
205872013-12-18 Joseph Myers <joseph@codesourcery.com>
20588
5953eb3a
JM
20589 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20590 * math/auto-libm-test-out: Regenerated.
20591
2dec468f
JM
20592 [BZ #16338]
20593 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20594 to determine exponent and adjust argument to have exponent of -1.
20595 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20596 log2.
20597 * math/auto-libm-test-out: Regenerated.
20598 * sysdeps/i386/fpu/libm-test-ulps: Update.
20599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20600
4d84e6ad
OB
206012013-12-18 Ondřej Bílka <neleai@seznam.cz>
20602
20603 * manual/probes.texi: Remove cases when per-thread arenas are
20604 disabled.
20605
1818483b
AS
206062013-12-18 Andreas Schwab <schwab@suse.de>
20607
20608 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20609 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20610 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20611 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20612 * sysdeps/i386/i686/multiarch/Makefile: Update.
20613 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20614
25de95bf
JM
206152013-12-17 Joseph Myers <joseph@codesourcery.com>
20616
20617 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20618 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20619
674762d9
PE
206202013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20621
ed27ed83 20622 [BZ #15968]
0748546f
PE
20623 Support TZ transition times < 00:00:00.
20624 This is needed for version-3 tz-format files; it supports time
20625 stamps past 2037 for America/Godthab (the only entry in the tz
20626 database for which this change is relevant).
20627 * manual/time.texi (TZ Variable): Document transition times
20628 from -167:59:59 through -00:00:01.
20629 * time/tzset.c (tz_rule): Time of day is now signed.
20630 (__tzset_parse_tz): Parse negative time of day.
20631
4480e934
PE
20632 Document TZ transition times >= 25:00:00.
20633 * manual/time.texi (TZ Variable): Document transition times from
20634 25:00:00 through 167:59:59. These are already supported, and this
20635 support will help with version-3 tz-format files.
20636
69947401
PE
20637 * manual/time.texi (TZ Variable): Modernize North America example
20638 to reflect current (i.e., 2007-and-later) daylight saving rules.
20639
674762d9
PE
20640 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20641
7011c262
JM
206422013-12-17 Joseph Myers <joseph@codesourcery.com>
20643
2fc6557e
JM
20644 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20645 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20646 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20647 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20648 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20649 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20650 * sysdeps/unix/bsd/clock.c: Likewise.
20651 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20652 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20653 * sysdeps/unix/bsd/init-posix.c: Likewise.
20654 * sysdeps/unix/bsd/poll.c: Likewise.
20655 * sysdeps/unix/bsd/ptsname.c: Likewise.
20656 * sysdeps/unix/bsd/seekdir.c: Likewise.
20657 * sysdeps/unix/bsd/setegid.c: Likewise.
20658 * sysdeps/unix/bsd/seteuid.c: Likewise.
20659 * sysdeps/unix/bsd/setgid.c: Likewise.
20660 * sysdeps/unix/bsd/setrgid.c: Likewise.
20661 * sysdeps/unix/bsd/setruid.c: Likewise.
20662 * sysdeps/unix/bsd/setsid.c: Likewise.
20663 * sysdeps/unix/bsd/setuid.c: Likewise.
20664 * sysdeps/unix/bsd/sigaction.c: Likewise.
20665 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20666 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20667 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20668 * sysdeps/unix/bsd/telldir.c: Likewise.
20669 * sysdeps/unix/bsd/times.c: Likewise.
20670 * sysdeps/unix/bsd/usleep.c: Likewise.
20671
029c7b25
JM
20672 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20673 ($(objpfx)libbsd-compat.a): Remove rule.
20674
7011c262
JM
20675 * include/features.h (__FAVOR_BSD): Do not define.
20676 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20677 features conflicting with POSIX.
20678 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20679 (_BSD_SOURCE): Remove description of not being a subset of other
20680 feature test macros.
20681 * manual/job.texi (getpgrp): Do not document BSD version.
20682 (getpgid): Do not document by reference to BSD getpgrp.
20683 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20684 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20685 * signal/signal.h [__FAVOR_BSD]: Likewise.
20686 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20687 instead of making contents conditional on [__FAVOR_BSD].
20688 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20689
affb6f78
AZ
206902013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20691
20692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20693
c88769dd
JM
206942013-12-17 Joseph Myers <joseph@codesourcery.com>
20695
6432a540
JM
20696 [BZ #16314]
20697 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20698 values below 2**-450, not 2**-500.
20699 * math/auto-libm-test-in: Don't allow spurious underflow from
20700 hypot.
20701 * math/auto-libm-test-out: Regenerated.
20702
c88769dd
JM
20703 [BZ #16316]
20704 [BZ #16330]
20705 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20706 values of ha and hb and sort them after adjusting subnormal
20707 arguments.
20708 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20709 Likewise.
20710 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20711 values of ea and eb and sort them after adjusting subnormal
20712 arguments.
20713 * math/auto-libm-test-in: Do not expect some hypot tests of
20714 subnormals to fail. Add more hypot tests.
20715 * math/auto-libm-test-out: Regenerated.
20716
29618f6b
KK
207172013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20718
20719 [BZ #13304]
20720 * sysdeps/sh/s_fma.c: New file.
20721 * sysdeps/sh/s_fmaf.c: New file.
20722 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20723 version.
20724 * sysdeps/sh/Implies: Add sh/soft-fp.
20725
eacfdfbf
RM
207262013-12-16 Roland McGrath <roland@hack.frob.com>
20727
20728 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20729 level of indirection to members `objname', `errstring', `malloced'.
20730 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20731 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20732 it as the __longjmp argument (just pass 1 instead).
20733 (_dl_catch_error): Initialize C with argument pointers and address of
20734 volatile local ERRCODE rather than copying values out of C at return.
20735
ff362e5b
JM
207362013-12-16 Joseph Myers <joseph@codesourcery.com>
20737
20738 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20739 * math/auto-libm-test-out: Regenerated.
20740 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20741 (hypot_test_data): Likewise.
20742 (pow_test_data): Likewise.
20743 (pow_tonearest_test_data): Likewise.
20744 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20745 mpfr_ff_f.
20746 (func_calc_desc): Add mpfr_ff_f union field.
20747 (FUNC_mpfr_ff_f): New macro.
20748 (test_functions): Add atan2, hypot and pow.
20749 (special_fill_min): New function.
20750 (special_fill_minus_min): Likewise.
20751 (special_fill_min_subnorm): Likewise.
20752 (special_fill_minus_min_subnorm): Likewise.
20753 (special_real_inputs): Add min, -min, min_subnorm and
20754 -min_subnorm.
20755 (calc_generic_results): Handle mpfr_ff_f.
20756 * sysdeps/i386/fpu/libm-test-ulps: Update.
20757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20758
5764c27f
WN
207592013-12-16 Will Newton <will.newton@linaro.org>
20760
20761 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20762 (Aligned Memory Blocks): Add documentation for aligned_alloc
20763 and suggest it as an alternative to posix_memalign.
20764 (Hooks for Malloc): Document __memalign_hook is also called
20765 for aligned_alloc. (Summary of Malloc): Add summary for
20766 aligned alloc. Document __memalign_hook is also called
20767 for aligned_alloc.
20768
0a096e44
WN
207692013-12-16 Will Newton <will.newton@linaro.org>
20770
20771 * manual/memory.texi (Malloc Examples): Clarify default
20772 alignment documentation. Suggest posix_memalign rather
20773 than memalign or valloc.
20774 (Aligned Memory Blocks): Remove suggestion to use memalign
20775 or valloc. Remove obsolete comment about BSD.
20776 Document memalign errno values and mark the function obsolete.
20777 Document posix_memalign returned error codes. Mark valloc
20778 as obsolete. (Hooks for Malloc): __memalign_hook is also
20779 called for posix_memalign and valloc.
20780 (Summary of Malloc): Add posix_memalign to function summary.
20781 __memalign_hook is also called for posix_memalign and valloc.
20782
8d561986
SP
207832013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20784
20785 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20786 TAYLOR_SIN.
20787 (__sin): Adjust.
20788 (__cos): Likewise.
20789 (sloww): Use mynumber union. Expand ternary operator into
20790 if-else statements.
20791 (cslow): use mynumber union.
20792
73616a74
AM
207932013-12-16 Allan McRae <allan@archlinux.org>
20794
9e8ac24b
AM
20795 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20796 * configure: Regenerated.
20797
6f8e37eb
AM
20798 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20799
8894bad3
AM
20800 [BZ #14120]
20801 * configure.ac: Added --enable-maintainer-mode. Check for
20802 autoconf when enabled.
20803 * configure: Regenerated.
20804
73616a74
AM
20805 * nscd/nscd.service: New file.
20806 * nscd/nscd.tmpfiles: New file.
20807
584b18eb
OB
208082013-12-14 Ondřej Bílka <neleai@seznam.cz>
20809
20810 [BZ #12100]
20811 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20812 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20813 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20814 (strstr): Add __strstr_sse2_unaligned ifunc.
20815 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20816 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20817 (strcasestr): Remove __strcasestr_sse42 ifunc.
20818 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20821
8a5c7897
KK
208222013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20823
20824 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20825 * sysdeps/sh/bits/fenv.h: ... here.
20826 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20827
fd712ef3
AZ
208282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20829
20830 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20831
42fcb46c
AZ
20832 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20833 hypotf multiarch implementations.
20834 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20835 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20836 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20837 multiarch hypot for PPC64.
20838 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20839 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20840 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20841 multiarch hypotf for PPC64.
20842
83efded4
AZ
20843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20844 modff multiarch implementations.
20845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20848 multiarch modf for PPC64.
20849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20852 multiarch modff for PPC64.
20853
43e246d2
AZ
20854 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20855 and logl multiarch implementations.
20856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20859 multiarch logb for PPC64.
20860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20863 multiarch logb for PPC64.
20864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20867 multiarch logb for PPC64.
20868
8fdad123
AZ
20869 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20870 isinff multiarch implementation.
20871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20872 file.
20873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20875 multiarch isinf for PPC64.
20876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20877 file.
20878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20879 multiarch isinff for PPC64.
20880
1481d706
AZ
20881 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20882 finitef multiarch implementation.
20883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20884 file.
20885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20887 multiarch finite for PPC64.
20888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20889 file.
20890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20891 multiarch finitef for PPC64.
20892
5ccd5fc8
AZ
20893 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20894 lrint multiarch implementation.
20895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20896 file.
20897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20899 multiarch llrint for PPC64.
20900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20901 multiarch lrint for PPC64.
20902
2568f3fa
AZ
20903 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20904 copysignf multiarch implementation.
20905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20906 file.
20907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20908 file.
20909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20910 multiarch copysign for PPC64.
20911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20912 multiarch copysignf for PPC64.
20913
1cb341fd
AZ
20914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20915 multiarch implementation.
20916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20917 file.
20918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20919 file.
20920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20921 file.
20922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20923 file.
20924 multiarch llround for PPC64.
20925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20926 multiarch trunc for PPC64.
20927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20928 multiarch truncf for PPC64.
20929
59a3e194
AZ
20930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20931 multiarch implementation.
20932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20933 file.
20934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20935 file.
20936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20937 file.
20938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20939 file.
20940 multiarch llround for PPC64.
20941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20942 multiarch round for PPC64.
20943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20944 multiarch roundf for PPC64.
20945
357fd3b4
AZ
20946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20947 multiarch implementation.
20948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20949 file.
20950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20951 file.
20952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20953 file.
20954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20955 file.
20956 multiarch llround for PPC64.
20957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20958 multiarch floor for PPC64.
20959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20960 multiarch floorf for PPC64.
20961
96770f12
AZ
20962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20963 multiarch implementation.
20964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20965 file.
20966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20967 file.
20968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20969 file.
20970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20971 file.
20972 multiarch llround for PPC64.
20973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20974 multiarch ceil for PPC64.
20975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20976 multiarch ceilf for PPC64.
20977
c3627f6e
AZ
20978 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20979 multiarch implementation.
20980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20981 file.
20982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20983 file.
20984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20985 file.
20986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20987 multiarch llround for PPC64.
20988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20989 multiarch lround for PPC64.
20990
b2284ad7
AZ
20991 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20992 multiarch implementation.
20993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20996 file.
20997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21000 multiarch isnan for PPC64.
21001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21002 multiarch isnanf for PPC64.
21003
69bbc63d
AZ
21004 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21005 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21006 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21007 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21008 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21010
c24517c9
AZ
21011 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21012 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21013 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21014 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21015
a52374e8
AZ
21016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21017 multiarch implementations.
21018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21019 (__libc_ifunc_impl_list): Likewise.
21020 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21021 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21022 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21023 multiarch stpcpy for PPC64.
21024
7f5ec113
AZ
21025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21026 multiarch implementations.
21027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21028 (__libc_ifunc_impl_list): Likewise.
21029 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21030 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21031 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21032 multiarch strcpy for PPC64.
21033
e28bcd42
AZ
21034 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21035 redefine function name.
21036 (_wordcopy_fwd_dest_aligned): Likewise.
21037 (_wordcopy_bwd_aligned): Likewise.
21038 (_wordcopy_bwd_dest_aligned): Likewise.
21039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21040 multiarch implementations.
21041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21042 (__libc_ifunc_impl_list): Likewise.
21043 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21044 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21045 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21046 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21047 multiarch wcscpy for PPC64.
21048
92cacfce
AZ
21049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21050 multiarch implementations.
21051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21052 (__libc_ifunc_impl_list): Likewise.
21053 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21054 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21055 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21056 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21057 multiarch wcscpy for PPC64.
21058
7b714620
AZ
21059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21060 multiarch implementations.
21061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21062 (__libc_ifunc_impl_list): Likewise.
21063 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21064 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21065 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21066 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21067 multiarch wcsrchr for PPC64.
21068
16fd2ae3
AZ
21069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21070 multiarch implementations.
21071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21072 (__libc_ifunc_impl_list): Likewise.
21073 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21074 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21075 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21076 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21077 multiarch wcschr for PPC64.
21078
9ee2969b
AZ
21079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21080 multiarch implementations.
21081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21082 (__libc_ifunc_impl_list): Likewise.
21083 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21084 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21085 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21086 multiarch strchrnul for PPC64.
21087
372dc060
AZ
21088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21089 implementations.
21090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21091 (__libc_ifunc_impl_list): Likewise.
21092 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21093 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21094 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21095 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21096 strchr for PPC64.
21097
24c2c3b9
AZ
21098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21099 implementations.
21100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21101 (__libc_ifunc_impl_list): Likewise.
21102 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21103 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21104 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21105 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21106 strncmp for PPC64.
21107
1c92d9a0
AZ
21108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21109 multiarch implementations.
21110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21111 (__libc_ifunc_impl_list): Likewise.
21112 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21113 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21114 strncasecmp for PPC64.
21115 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21116 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21117 multiarch strncasecmp_l for PPC64.
21118
17de3ee3
AZ
21119 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21120 multiarch implementations.
21121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21122 (__libc_ifunc_impl_list): Likewise.
21123 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21124 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21125 multiarch strcasecmp for PPC64.
21126 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21127 file.
21128 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21129 multiarch strcasecmp_l for PPC64.
21130
62982bf9
AZ
21131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21132 implementations.
21133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21134 (__libc_ifunc_impl_list): Likewise.
21135 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21136 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21137 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21138 strnlen for PPC64.
21139
a65f4904
AZ
21140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21141 implementations.
21142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21143 (__libc_ifunc_impl_list): Likewise.
21144 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21145 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21146 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21147 strlen for PPC64.
21148
1fd005ad
AZ
21149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21150 implementations.
21151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21152 (__libc_ifunc_impl_list): Likewise.
21153 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21154 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21155 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21156 rawmemrchr for PPC64.
21157
cd05ba91
AZ
21158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21159 implementation.
21160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21161 (__libc_ifunc_impl_list): Likewise.
21162 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21163 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21164 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21165 memrchr for PPC64.
21166
870f8676
AZ
21167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21168 implementation.
21169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21170 (__libc_ifunc_impl_list): Likewise.
21171 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21172 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21173 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21174 memchr for PPC64.
21175
f00be62b
AZ
21176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21177 implementation.
21178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21179 (__libc_ifunc_impl_list): Likewise.
21180 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21181 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21182 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21183 mempcpy for PPC64.
21184
8a29a3d0
AZ
21185 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21186 avoid cretion of __bzero symbol.
21187 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21188 Likewise.
21189 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21190 Likewise.
21191 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21192 Likewise.
21193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21194 multiarch implementations.
21195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21196 (__libc_ifunc_impl_list): Likewise.
21197 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21198 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21199 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21200 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21201 bzero for PPC32.
21202 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21203 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21204 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21205 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21206 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21207 memset for PPC64.
21208 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21209
07253fcf
AZ
21210 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21212 implementations.
21213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21214 (__libc_ifunc_impl_list): Likewise.
21215 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21216 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21217 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21218 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21219 memcmp for PPC64.
21220
b5beafbc
AZ
21221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21222 multiarch for POWER/PPC64.
21223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21224 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21225 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21226 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21227 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21228 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21229 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21230 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21231 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21232 memcpy for PPC64.
21233
5e6a4d4b
AZ
21234 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21235 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21236 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21237 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21238 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21239 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21240 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21241 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21242 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21243 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21244 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21245 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21246 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21247 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21248 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21256
ddfab6dc
KK
212572013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21258
21259 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21260
19b5525e
SP
212612013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21262
21263 * benchtests/Makefile (bench): Add exp2 and log2.
21264 (LDLIBS-bench-exp2): Add -lm.
21265 (LDLIBS-bench-log2): Likewise.
21266 * benchtests/exp2-inputs: New inputs file.
21267 * benchtests/log2-inputs: New inputs file.
21268 * benchtests/log-inputs: Add new inputs.
21269 * benchtests/tan-inputs: Likewise.
21270
196f7f5d
SP
212712013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21272
7a74607f
SP
21273 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21274 definition...
57f41c40
AS
21275 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21276 (csloww2): ... from here.
7a74607f 21277
196f7f5d
SP
21278 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21279 instead of structures.
21280 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21281 (POLYNOMIAL): Likewise.
21282 (TAYLOR_SLOW): Likewise.
21283 (__sin): Likewise.
21284 (__cos): Likewise.
21285 (slow1): Likewise.
21286 (slow2): Likewise.
21287 (sloww): Likewise.
21288 (sloww1); Likewise.
21289 (sloww2): Likewise.
21290 (bsloww1): Likewise.
21291 (bsloww2): Likewise.
21292 (cslow2): Likewise.
21293 (csloww): Likewise.
21294 (csloww1): Likewise.
21295 (csloww2): Likewise.
21296
0dfa665c
OB
212972013-12-10 Ondřej Bílka <neleai@seznam.cz>
21298
21299 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21300 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21301 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21302 * malloc/hooks.c (realloc_check): Likewise.
21303
5782a80f
OB
21304 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21305 * malloc/arena.c: Remove PER_THREAD conditional.
21306 [!PER_THREAD]: Remove code.
21307 (ptmalloc_unlock_all2): Likewise.
21308 (ptmalloc_init): Likewise.
21309 (_int_new_arena): Likewise.
21310 (arena_get2): Likewise.
21311 * malloc/hooks.c (__malloc_get_state): Likewise.
21312 (__malloc_set_state): Likewise.
21313 * malloc/malloc.c: Likewise.
21314 (struct malloc_state): Likewise.
21315 (struct malloc_par): Likewise.
21316 (__libc_realloc): Likewise.
21317 (__libc_mallopt): Likewise.
21318
aeb95445
AZ
213192013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21320
21321 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21322
e8349efd
OB
213232013-12-09 Ondřej Bílka <neleai@seznam.cz>
21324
21325 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21326 macro to a function. Check for zero perturb_byte.
21327 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21328
f3eeb3fc 21329 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
21330 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21331 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
21332 force_reg by atomic_forced_read.
21333 * malloc/arena.c (ptmalloc_init): Likewise.
21334 * malloc/hooks.c (top_check): Likewise.
21335
be2f9009
AZ
213362013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21337
21338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21339
e7b914bd
MT
213402013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21341
21342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21343
9f0be4f8
JM
213442013-12-08 Joseph Myers <joseph@codesourcery.com>
21345
21346 * math/auto-libm-test-in: Add tests of lgamma.
21347 * math/auto-libm-test-out: Regenerated.
21348 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21349 (M_LOG_2_SQRT_PIl): Likewise.
21350 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21351 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21352 mpfr_f_f1.
21353 (func_calc_desc): Add mpfr_f_f1 union field.
21354 (ARGS1): New macro.
21355 (ARGS2): Likewise.
21356 (ARGS3): Likewise.
21357 (ARGS4): Likewise.
21358 (RET1): Likewise.
21359 (RET2): Likewise.
21360 (CALC): Likewise.
21361 (FUNC): Likewise.
21362 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21363 (test_functions): Add lgamma.
21364 (calc_generic_results): Handle mpfr_f_f1.
21365 * sysdeps/i386/fpu/libm-test-ulps: Update.
21366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21367
24eeafdb
AZ
213682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21369
21370 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21371 __mpn_add_n for PowerPC64/POWER7.
21372 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21373 __mpn_sub_n for PowerPC64/POWER7.
21374
4a2c0fd4
AZ
21375 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21376 __mpn_addmul_1 for PowerPC64.
21377 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21378 __mpn_submul_1 for PowerPC64.
21379 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21380 for PowerPC64.
21381 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21382 for PowerPC64.
21383
4b5b548c
FS
213842013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21385
21386 [BZ #15089]
21387 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21388
0a3ac0aa
AZ
213892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21390
21391 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21392
ccdc8438
AZ
21393 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21394 add multiarch folders.
21395 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21396 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21397 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21398 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21399 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21400 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21401 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21402 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21403 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21404 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21405 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21412
2e973d99
AZ
21413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21414 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21416 New file.
21417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21418 New file.
21419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21420 multiarch __ieee754_hypot for PowerPC32.
21421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21422 New file.
21423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21424 New file.
21425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21426 multiarch __ieee754_hypotf for PowerPC32.
21427
2d9470b2
AZ
21428 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21429 long_double_symbol only if __logbl is defined.
21430 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21431 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21432 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21433 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21434 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21435 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21436 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21437 path for implementation.
21438 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21439 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21441 logb, and logbl multiarch implementations for PowerPC32.
21442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21443 file.
21444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21445 file.
21446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21447 multiarch logb for PowerPC32.
21448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21449 file.
21450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21451 file.
21452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21453 multiarch logbf for PowerPC32.
21454 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21456 file.
21457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21458 multiarch logbl implementation for PowerPC32.
21459
5212ffce
AZ
21460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21461 and modff multiarch implementations.
21462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21463 New file.
21464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21465 New file.
21466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21467 multiarch modf for PowerPC32.
21468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21469 New file.
21470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21471 New file.
21472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21473 multiarch modff for PowerPC32.
21474
79dccf31
AZ
21475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21476 and lrintf multiarch implementations.
21477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21478 New file.
21479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21480 New file.
21481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21482 multiarch lrint for PowerPC32.
21483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21484 file: multiarch lrintf for PowerPC32.
21485
deb66480
AZ
21486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21487 and lroundf multiarch implementations.
21488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21489 New file.
21490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21491 New file.
21492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21493 New file.
21494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21495 multiarch lround for PowerPC32.
21496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21497 file: multiarch lroundf for PowerPC32.
21498
264b036b
AZ
21499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21500 copysign and copysignf multiarch implementations.
21501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21502 New file.
21503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21504 New file.
21505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21506 file: multiarch copysign for PowerPC32.
21507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21508 file: multiarch copysignf for PowerPC32.
21509
d47db6c9
AZ
21510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21511 and truncf multiarch implementations.
21512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21513 New file.
21514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21515 file.
21516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21517 multiarch trunc for PowerPC32.
21518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21519 New file.
21520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21521 New file.
21522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21523 multiarch truncf for PowerPC32.
21524
ddb60b5a
AZ
21525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21526 and roundf multiarch implementations.
21527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21528 New file.
21529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21530 file.
21531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21532 multiarch round for PowerPC32.
21533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21534 New file.
21535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21536 New file.
21537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21538 multiarch roundf for PowerPC32.
21539
bedcf49b
AZ
21540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21541 and floorf multiarch implementations.
21542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21543 New file.
21544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21545 file.
21546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21547 multiarch floor for PowerPC32.
21548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21549 New file.
21550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21551 New file.
21552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21553 multiarch floorf for PowerPC32.
21554
35ae5b40
AZ
21555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21556 and ceilf multiarch implementations.
21557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21558 New file.
21559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21560 file.
21561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21562 multiarch ceil for PowerPC32.
21563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21564 New file.
21565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21566 file.
21567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21568 multiarch ceilf for PowerPC32.
21569
ae1a4cd9
AZ
21570 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21571 is defined.
21572 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21573 FINITEF is defined.
21574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21575 and finitef multiarch implementations.
21576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21577 New file.
21578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21579 file.
21580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21581 multiarch finite for PowerPC32.
21582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21583 New file.
21584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21585 file: multiarch finitef for PowerPC32.
21586
64fffd65
AZ
21587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21588 and isinff multiarch implementations.
21589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21590 file.
21591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21592 file.
21593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21594 multiarch isinf for PowerPC32.
21595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21596 New file.
21597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21598 multiarch isinff for PowerPC32.
21599
8e4e7ba2
AZ
21600 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21601 alias when __isnan is defined.
21602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21603 and isnanf multiarch implementations.
21604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21605 file.
21606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21607 file.
21608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21609 file.
21610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21611 file.
21612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21613 multiarch isnan for PowerPC32.
21614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21615 New file.
21616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21617 New file.
21618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21619 multiarch isnanf for PowerPC32.
21620
ddba588e
AZ
21621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21622 and sqrtf multiarch implementations.
21623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21624 file.
21625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21626 file.
21627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21628 multiarch sqrt for PowerPC32.
21629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21630 file.
21631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21632 file.
21633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21634 multiarch sqrtf for PowerPC32.
21635
0f96a2f0
AZ
21636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21637 and llroundf multiarch implementations.
21638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21639 New file.
21640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21641 New file.
21642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21643 New file.
21644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21645 file: multiarch llround for PowerPC32.
21646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21647 file: multiarch llroundf for PowerPC32.
21648
c9b5d79e
AZ
21649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21650 multiarch PowerPC32 fpu implementations.
21651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21652 New file.
21653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21654 New file.
21655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21656 multiarch llrint for PowerPC32.
21657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21658 New file.
21659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21660 New file.
21661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21662 file.
21663
9cbb3aab
AZ
21664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21665
ea5a72f8
AZ
21666 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21667 file.
21668 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21669 file.
21670 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21671 file.
21672 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21673 multiarch wordcopy for PPC32.
21674 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21675 wordcopy objects.
21676 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21677 (__libc_ifunc_impl_list): Likewise.
21678 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21679 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21680 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21681 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21682 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21683 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21684
93be09e7
AZ
21685 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21686 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21687 file.
21688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21689 file.
21690 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21691 file.
21692 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21693 multiarch wcscpy for PPC32.
21694 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21695 multiarch objects.
21696 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21697 (__libc_ifunc_impl_list): Likewise.
21698 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21699 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21700 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21701 sysdeps/powerpc/power6/wcscpy.c.
21702
bb04e529
AZ
21703 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21704 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21705 file.
21706 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21707 file.
21708 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21709 file.
21710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21711 multiarch wcsrchr for PPC32.
21712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21713 multiarch objects.
21714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21715 (__libc_ifunc_impl_list): Likewise.
21716 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21717 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21718 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21719 sysdeps/powerpc/power6/wcsrchr.c.
21720
05b5cd1c
AZ
21721 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21722 file.
21723 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21724 file.
21725 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21726 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21727 multiarch wcschr for PPc32.
21728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21729 multiarch objects.
21730 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21731 (__libc_ifunc_impl_list): Likewise.
21732 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21733 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21734 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21735 sysdeps/powerpc/power6/wcschr.c.
21736
ba964147
AZ
21737 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21738 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21739 file.
21740 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21741 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21742 file: multiarch strchr for PPC32.
21743 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21744 multiarch objects.
21745 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21746 (__libc_ifunc_impl_list): Likewise.
21747
31c81aaa
AZ
21748 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21749 name.
21750 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21751 file.
21752 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21753 file.
21754 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21755 multiarch strchrnul for PPC32.
21756 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21757 multiarch objects.
21758 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21759 (__libc_ifunc_impl_list): Likewise.
21760
0d0607d9
AZ
21761 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21762 file.
21763 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21764 multiarch strncasecmp for PPC32.
21765 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21766 file.
21767 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21768 multiarch strncasecmp_l for PPC32.
21769 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21770 strncasecmp multiarch objects.
21771 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21772 (__libc_ifunc_impl_list): Likewise.
21773
4dfd5c86
AZ
21774 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21775 file.
21776 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21777 multiarch strncasecmp for PPC32.
21778 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21779 New file.
21780 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21781 multiarch strcasecmp_l for PPC32.
21782 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21783 multiarch objects.
21784 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21785 (__libc_ifunc_impl_list): Likewise.
21786
a19e01a3
AZ
21787 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21788 file.
21789 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21790 file.
21791 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21792 multiarch strncmp for PPC32.
21793 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21794 multiarch objects.
21795 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21796 (__libc_ifunc_impl_list): Likewise.
21797
ae9cf7a2
AZ
21798 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21799 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21800 file.
21801 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21802 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21804 multiarch objects.
21805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21806 (__libc_ifunc_impl_list): Likewise.
21807
3148bb7d
AZ
21808 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21809 file.
21810 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21811 file.
21812 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21813 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21814 multiarch objects.
21815 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21816 (__libc_ifunc_impl_list): Likewise.
21817
7af8b946
AZ
21818 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21819 file.
21820 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21821 file.
21822 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21823 multiarch rawmemchr for PPC32.
21824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21825 multiarch objects.
21826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21827 (__libc_ifunc_impl_list): Likewise.
21828
03a6aa6a
AZ
21829 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21830 file.
21831 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21832 file.
21833 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21834 file: memrchr multiarch for PPC32.
21835 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21836 multiarch objects.
21837 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21838 (__libc_ifunc_impl_list): Likewise.
21839
1c62e6d9
AZ
21840 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21841 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21842 file.
21843 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21844 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21845 multiarch memchr for PPC32.
21846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21847 multiarch objects.
21848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21849 (__libc_ifunc_impl_list): Likewise.
21850
87da8bdb
AZ
21851 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21852 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21853 file.
21854 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21855 file.
21856 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21857 file: multiarch mempcpy for PPC32.
21858 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21859 multiarch objects.
21860 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21861 (__libc_ifunc_impl_list): Likewise.
21862
20ed4714
AZ
21863 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21864 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21865 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21866 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21867 multiarch bzero for PPC32.
21868 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21869 file.
21870 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21871 file.
21872 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21873 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21874 file: multiarch memset for PPC32.
21875 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21876 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21877 memset multiarch objects.
21878 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21879 (__libc_ifunc_impl_list): Likewise.
21880
ab3e3a46
AZ
21881 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21882 file.
21883 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21884 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21885 memcmp for PPC32.
21886 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21888 multiarch objects.
21889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21890 (__libc_ifunc_impl_list): Likewise.
21891
930de6f0
AZ
21892 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21893 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21894 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21895 file.
21896 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21897 file.
21898 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21899 file.
21900 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21901 multiarch memcpy for PPC32.
21902 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21903 multiarch objects.
21904 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21905 (__libc_ifunc_impl_list): Likewise.
21906
4c628e00
AZ
21907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21908 support multiarch for POWER/PPC32.
21909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21910 Likewise.
21911 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21913 Implies file to make multiarch folder appers before the fpu and
21914 default folder for power4 configuration.
21915
f4479220
SP
219162013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21917
21918 * scripts/bench.pl: Append volatile keyword to type.
21919
8517800f
KK
219202013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21921
21922 * sysdeps/sh/sotruss-lib.c: New file.
21923 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21924
180138f1
AZ
219252013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21926
21927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21928
bbf37bdc
JM
219292013-12-05 Joseph Myers <joseph@codesourcery.com>
21930
e47cc4e0
JM
21931 [BZ #6810]
21932 * math/w_tgamma.c: Include <errno.h>.
21933 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21934 * math/w_tgammaf.c: Include <errno.h>.
21935 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21936 * math/w_tgammal.c: Include <errno.h>.
21937 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21938 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21939 underflow. Add more tgamma tests.
21940 * math/auto-libm-test-out: Regenerated.
21941 * sysdeps/i386/fpu/libm-test-ulps: Update.
21942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21943
bbf37bdc
JM
21944 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21945 sin, sinh, tan, tanh, tgamma, y0 and y1.
21946 * math/auto-libm-test-out: Regenerated.
21947 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21948 (TEST_COND_x86): Likewise.
21949 (M_E2l): Remove macro.
21950 (M_E3l): Likewise.
21951 (M_2_SQRT_PIl): Likewise.
21952 (M_SQRT_PIl): Likewise.
21953 (M_1_DIV_El): Likewise.
21954 (log_test_data): Use AUTO_TESTS_f_f.
21955 (log10_test_data): Likewise.
21956 (log1p_test_data): Likewise.
21957 (log2_test_data): Likewise.
21958 (sin_test_data): Likewise.
21959 (sin_tonearest_test_data): Likewise.
21960 (sin_towardzero_test_data): Likewise.
21961 (sin_downward_test_data): Likewise.
21962 (sin_upward_test_data): Likewise.
21963 (sinh_test_data): Likewise.
21964 (sinh_tonearest_test_data): Likewise.
21965 (sinh_towardzero_test_data): Likewise.
21966 (sinh_downward_test_data): Likewise.
21967 (sinh_upward_test_data): Likewise.
21968 (tan_test_data): Likewise.
21969 (tan_tonearest_test_data): Likewise.
21970 (tan_towardzero_test_data): Likewise.
21971 (tan_downward_test_data): Likewise.
21972 (tan_upward_test_data): Likewise.
21973 (tanh_test_data): Likewise.
21974 (tgamma_test_data): Likewise.
21975 (y0_test_data): Likewise.
21976 (y1_test_data): Likewise.
21977 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21978 (special_real_inputs): Add pi/4.
21979 * sysdeps/i386/fpu/libm-test-ulps: Update.
21980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21981
eb5ad6b9
AZ
219822013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21983
21984 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21985 "longjmp_target" static probes.
21986 (__longjmp): Rename to __longjmp_symbol.
21987 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21988 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21989 on which longjmp to generate.
21990 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21991 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21992 probe.
21993 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21994 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21995 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21996 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21997 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21998 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22000 __longjmp_symbol based on which __longjmp to generate.
22001 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22002 probe.
22003 (setjmp): Rename to setjmp_symbol.
22004 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22005 (_setjmp): Rename to _setjmp_symbol.
22006 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22007 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22008 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22009 which setjmp to generate.
22010 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22011 "longjmp_target" static probes.
22012
d136c6dc
SP
220132013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22014
9298ecba
SP
22015 * benchtests/README: Add note about output arguments.
22016 * benchtests/bench-sincos.c: Remove file.
22017 * benchtests/sincos-inputs: New file.
22018 * scripts/bench.pl: Identify output arguments and define
22019 static variables for them.
22020
232983e9
SP
22021 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22022
d136c6dc
SP
22023 [BZ #15941]
22024 * Makefile (INSTALL): Add install-plain.texi as the primary
22025 dependency.
22026 * manual/install-plain.texi: New file.
22027 * manual/install.texi: Include node directive only for
22028 non-plaintext output.
22029
699ff837
JM
220302013-12-04 Joseph Myers <joseph@codesourcery.com>
22031
ab07cea8
JM
22032 * stdlib/longlong.h: Update from GCC.
22033
699ff837
JM
22034 [BZ #6807]
22035 [BZ #15901]
22036 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22037 * math/w_j0f.c (y0f): Likewise.
22038 * math/w_j0l.c (__y0l): Likewise.
22039 * math/w_j1.c (y1): Likewise.
22040 * math/w_j1f.c (y1f): Likewise.
22041 * math/w_j1l.c (__y1l): Likewise
22042 * math/w_jn.c (yn): Likewise.
22043 * math/w_jnf.c (ynf): Likewise.
22044 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22045 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22046 value for Bessel function domain errors outside _SVID_ mode.
22047 Adjust sign of return value for yn (negative integer, 0).
22048 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22049 by zero in return for negative x and set sign appropriately for
22050 negative n.
22051 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22052 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22053 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22054 expectations in error cases.
22055 (y1_test_data): Likewise.
22056 (yn_test_data): Likewise.
22057 * sysdeps/i386/fpu/libm-test-ulps: Update.
22058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22059
5b118558
UW
220602013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22061
22062 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22063 "64" to "64-v1". Add "64-v2".
22064 (abi-64-options): Rename to ...
22065 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22066 (abi-64-condition): Rename to ...
22067 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22068 (abi-64-ld-soname): Rename to ...
22069 (abi-64-v1-ld-soname): ... this.
22070 (abi-64-v2-options): Define.
22071 (abi-64-v2-condition): Likewise.
22072 (abi-64-v2-ld-soname): Likewise.
22073 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22074 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22078
61cd8fe4
UW
220792013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22080 Alan Modra <amodra@gmail.com>
22081
22082 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22083 New versions for use with the ELFv2 ABI.
22084 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22085 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22086 declaration.
22087 (struct La_ppc64v2_retval): Likewise.
22088 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22089 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22090 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22091 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22092 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22093 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22094 Do not save or restore CR.
22095 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22096 (_dl_profile_resolve): Do no save or restore CR. Support extended
22097 return values for ELFv2 ABI. Fix location of FPR return registers.
22098 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22099 updated values for _CALL_ELF == 2.
22100 (La_regs, La_retval, int_retval): Likewise.
22101
8b8a692c
UW
221022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22103
22104 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22105 (FRAME_MIN_SIZE_PARM): Likewise.
22106 (FRAME_BACKCHAIN): Likewise.
22107 (FRAME_CR_SAVE): Likewise.
22108 (FRAME_LR_SAVE): Likewise.
22109 (FRAME_TOC_SAVE): Likewise.
22110 (FRAME_PARM_SAVE): Likewise.
22111 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22112 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22113 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22114 (call_mcount_parm_offset): New macro.
22115 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22116 (PROF): Use symbolic stack frame offsets.
22117 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22118 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22119 Redefine in terms of FRAME_MIN_SIZE.
22120 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22121 (_dl_profile_resolve): Likewise. Update comment.
22122 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22123 symbols stack frame offsets.
22124 (__sigsetjmp): Likewise.
22125 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22126 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22127 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22128 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22129
22130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22131 (FRAME_BACKCHAIN): Remove.
22132 (FRAME_CR_SAVE): Likewise.
22133 (FRAME_LR_SAVE): Likewise.
22134 (FRAME_COMPILER_DW): Likewise.
22135 (FRAME_LINKER_DW): Likewise.
22136 (FRAME_TOC_SAVE): Likewise.
22137 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
22138 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22139 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22140 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
22141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22142 (CHECK_SP): Use symbolic stack frame offsets.
22143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22144 zone" instead of caller's parameter save area for temp storage.
22145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22146 Likewise. Also, use symbolic stack frame offsets.
22147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22148 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22149 our own stack frame instead of the caller's.
22150 (__socket): Use symbolic stack frame offsets.
22151
122b66de
UW
221522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22153 Alan Modra <amodra@gmail.com>
22154
22155 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22156 Define.
57f41c40
AS
22157 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22158 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
22159 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22160 New function.
22161 (elf_machine_fixup_plt): Call it.
22162 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22163 reloc arguments.
22164 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
22165 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22166 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
22167 r2 before calling target.
22168
696caf1d
UW
221692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22170 Alan Modra <amodra@gmail.com>
22171
22172 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22173 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22174 versions of macros to support ELFv2 ABI.
22175 (LOCALENTRY): New macro.
22176 (ENTRY, EALIGN): Use it.
22177 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22178 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22179 fall through into ENTRY entry point.
22180 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22181 Only define if _CALL_ELF != 2.
22182
22183 (elf_machine_matches_host): Verify ABI version matches.
22184 (RTLD_START): Use LOCALENTRY.
22185 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22186 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22187 (PLT_ENTRY_WORDS): New macro.
22188 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22189 (elf_machine_runtime_setup): Support ELFv2 ABI.
22190 (elf_machine_fixup_plt): Likewise.
22191 (elf_machine_plt_conflict): Likewise.
22192 (resolve_ifunc): Likewise.
22193 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22194 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22195 Likewise.
22196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22197 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22199 (makecontext): Support ELFv2 ABI.
22200 * elf/elf.h (EF_PPC64_ABI): Define.
22201
d31beafa
UW
222022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22203
57f41c40
AS
22204 * sysdeps/powerpc/powerpc64/sysdep.h
22205 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22206 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22207 (ENTRY) [ASSEMBLER]: ... but instead here ...
22208 (EALIGN) [ASSEMBLER]: ... and here.
22209 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22210 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22211 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
22212 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22213 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
22214 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22215 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
22216 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22218 Use PPC64_LOAD_FUNCPTR.
22219
b525166b
UW
22220 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22221
7ec07d9a
AM
222222013-12-04 Alan Modra <amodra@gmail.com>
22223
22224 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22225 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22226 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22227 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22228
22229 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22230 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22231 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22232 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22233 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22234 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22235
5162e7dd
UW
222362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22237
22238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22239 (__makecontext): Fix incorrect CFI when backtracing out of
22240 context created via makecontext.
22241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22242 (__setcontext): Fix incorrect CFI during switch to new context.
22243 (__novec_setcontext): Likewise.
22244
19e3372b
OB
222452013-12-04 Ondřej Bílka <neleai@seznam.cz>
22246
22247 [BZ #4772]
22248 * time/strptime_l.c (__strptime_internal): Allow modifiers
22249 in strptime.
22250 * time/tst-strptime.c (day_tests): Add testcase.
22251
ecaf142d
SP
222522013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22253
22254 * scripts/bench.pl: Skip over blank lines.
22255
fbf964ae
PE
222562013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22257
22258 [BZ #926]
22259 * manual/time.texi (Calendar Time): Clarify what timezone functions
22260 use.
22261
fa60a674
AZ
222622013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22263
22264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22265
d674f0ef
OB
222662013-12-04 Ondřej Bílka <neleai@seznam.cz>
22267
22268 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22269 implementation.
22270 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22271 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22272 * debug/memset_chk.c (__memset_chk): Likewise.
22273 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22274 * debug/strncpy_chk.c: Likewise.
22275
17dea188
JM
222762013-12-03 Joseph Myers <joseph@codesourcery.com>
22277
749008ff
JM
22278 [BZ #15268]
22279 [BZ #15425]
22280 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22281 (__ieee754_exp): For possibly underflowing results, check size of
22282 result and force underflow exception if required.
22283 * math/auto-libm-test-in: Add more tests of exp.
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
17dea188
JM
22288 [BZ #16283]
22289 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22290 * math/w_exp2f.c (__exp2f): Likewise.
22291 * math/w_exp2l.c (__exp2l): Likewise.
22292 * math/auto-libm-test-in: Do not allow missing errno on exp2
22293 underflow.
22294 * math/auto-libm-test-out: Regenerated.
22295
b20de2c3
OB
222962013-12-03 Ondřej Bílka <neleai@seznam.cz>
22297
22298 [BZ #16274]
22299 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22300 handle filename validation.
22301 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22302 (do_open): Delete.
22303
d8e2dbe3
JM
223042013-12-03 Joseph Myers <joseph@codesourcery.com>
22305
34e16df5
JM
22306 [BZ #6786]
22307 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22308 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22309 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22310 <float.h>.
22311 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22312 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22313 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22314 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22315 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22316 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22317 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22318 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22319 Add more erfc tests.
22320 * math/auto-libm-test-out: Regenerated.
22321 * sysdeps/i386/fpu/libm-test-ulps: Update.
22322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22323
d8e2dbe3
JM
22324 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22325 exp2, expm1, j0 and j1.
22326 * math/auto-libm-test-out: Regenerated.
22327 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22328 (erfc_test_data): Likewise.
22329 (exp_test_data): Likewise.
22330 (exp_tonearest_test_data): Likewise.
22331 (exp_towardzero_test_data): Likewise.
22332 (exp_downward_test_data): Likewise.
22333 (exp_upward_test_data): Likewise.
22334 (exp10_test_data): Likewise.
22335 (exp2_test_data): Likewise.
22336 (expm1_test_data): Likewise.
22337 (j0_test_data): Likewise.
22338 (j1_test_data): Likewise.
22339 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22340 (input_flag_type): Add flag_xfail_rounding.
22341 (input_flags): Add xfail-rounding.
22342 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22343 (output_for_one_input_case): Handle flag_xfail_rounding.
22344 * sysdeps/i386/fpu/libm-test-ulps: Update.
22345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22346
18d14251
AJ
223472013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22348
3d2e6075 22349 [BZ #16289]
18d14251
AJ
22350 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22351 division by 0.
22352
520d437b
SP
223532013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22354
22355 [BZ #16195]
22356 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22357 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22358 (STAP_PROBE0): New macro.
22359 (STAP_PROBE1): Likewise.
22360 (STAP_PROBE2): Likewise.
22361 (STAP_PROBE3): Likewise.
22362 (STAP_PROBE4): Likewise.
22363
416e0145
OB
223642013-12-02 Ondřej Bílka <neleai@seznam.cz>
22365
22366 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22367
9d17796a
SE
223682013-12-02 Steve Ellcey <sellcey@mips.com>
22369
22370 * benchtests/Makefile (bench): Add sqrt.
22371 (LDLIBS-bench-sqrt): New.
22372 * benchtests/sqrt-input: New.
22373
f524d6a8
PS
223742013-12-02 Pavel Simerda <psimerda@redhat.com>
22375
639a0ef8
PS
22376 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22377 (GAIH_EAI): Likewise.
22378 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22379 (gaih_inet): Likewise.
22380 (getaddrinfo): Don't use GAIH_EAI.
22381
f524d6a8
PS
22382 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22383 (struct gaih): Remove definition.
22384
df3aedaf
SP
223852013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22386
22387 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22388 Use HERRNOP directly.
22389
1ab19dec
AZ
223902013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22391
b42ad38d 22392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22393
176b0c79
JM
223942013-11-30 Joseph Myers <joseph@codesourcery.com>
22395
22396 * math/gen-auto-libm-tests.c (test_functions): Add more
22397 single-argument functions.
22398 (special_fill_pi_2): New function.
22399 (special_fill_minus_pi_2): Likewise.
22400 (special_fill_pi_6): Likewise.
22401 (special_fill_minus_pi_6): Likewise.
22402 (special_fill_pi_3): Likewise.
22403 (special_fill_2pi_3): Likewise.
22404 (special_fill_e): Likewise.
22405 (special_fill_1_e): Likewise.
22406 (special_fill_e_minus_1): Likewise.
22407 (special_real_inputs): Add more special inputs.
22408 (output_for_one_input_case): Do not require ERANGE on underflow to
22409 zero if round-to-nearest result does not underflow to zero, unless
22410 exact results required.
22411 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22412 atan, atanh, cbrt, cos and cosh.
22413 * math/auto-libm-test-out: Regenerated.
22414 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22415 (acos_tonearest_test_data): Likewise.
22416 (acos_towardzero_test_data): Likewise.
22417 (acos_downward_test_data): Likewise.
22418 (acos_upward_test_data): Likewise.
22419 (acosh_test_data): Likewise.
22420 (asin_test_data): Likewise.
22421 (asin_tonearest_test_data): Likewise.
22422 (asin_towardzero_test_data): Likewise.
22423 (asin_upward_test_data): Likewise.
22424 (asinh_test_data): Likewise.
22425 (atan_test_data): Likewise.
22426 (atanh_test_data): Likewise.
22427 (cbrt_test_data): Likewise.
22428 (cos_test_data): Likewise.
22429 (cos_tonearest_test_data): Likewise.
22430 (cos_towardzero_test_data): Likewise.
22431 (cos_downward_test_data): Likewise.
22432 (cos_upward_test_data): Likewise.
22433 (cosh_test_data): Likewise.
22434 (cosh_tonearest_test_data): Likewise.
22435 (cosh_towardzero_test_data): Likewise.
22436 (cosh_downward_test_data): Likewise.
22437 (cosh_upward_test_data): Likewise.
22438 * sysdeps/i386/fpu/libm-test-ulps: Update.
22439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22440
ffb536d0
JM
224412013-11-29 Joseph Myers <joseph@codesourcery.com>
22442
2a77a467
JM
22443 [BZ #6787]
22444 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22445 * math/w_exp10f.c (__exp10f): Likewise.
22446 * math/w_exp10l.c (__exp10l): Likewise.
22447 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22448 errno settings in existing tests.
22449
ea3bc4e8
JM
22450 [BZ #14032]
22451 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22452 precision control set to double precision.
22453 * sysdeps/i386/fpu/w_sqrt.c: New file.
22454 * math/auto-libm-test-in: Add more tests.
22455 * math/auto-libm-test-out: Update.
22456
0712c9d8
JM
22457 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22458 (sqrt_test_tonearest): New function.
22459 (sqrt_towardzero_test_data): New variable.
22460 (sqrt_test_towardzero): New function.
22461 (sqrt_downward_test_data): New variable.
22462 (sqrt_test_downward): New function.
22463 (sqrt_upward_test_data): New variable.
22464 (sqrt_test_upward): New function.
22465 (main): Call the new functions.
22466
ffb536d0
JM
22467 * math/gen-auto-libm-tests.c: New file.
22468 * math/auto-libm-test-in: Likewise.
22469 * math/auto-libm-test-out: New generated file.
22470 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22471 variables.
22472 (%beautify): Add generated representations of zero.
22473 (top level): Set $auto_input and call parse_auto_input.
22474 (beautify): Remove trailing "f" from hex float constants.
22475 (parse_args): Handle XFAIL_TEST.
22476 (convert_condition): New function.
22477 (or_value): Likewise.
22478 (or_cond_value): Likewise.
22479 (generate_testfile): Handle AUTO_TESTS_* lines.
22480 (parse_auto_input): New function.
22481 * math/libm-test.inc (XFAIL_TEST): New macro.
22482 (ERRNO_UNCHANGED): Update value.
22483 (ERRNO_EDOM): Likewise.
22484 (ERRNO_ERANGE): Likewise.
22485 (IGNORE_RESULT): Likewise.
22486 (TEST_COND_flt_32): New macro.
22487 (TEST_COND_dbl_64): Likewise.
22488 (TEST_COND_ldbl_96_intel): Likewise.
22489 (TEST_COND_ldbl_96_m68k): Likewise.
22490 (TEST_COND_ldbl_128): Likewise.
22491 (TEST_COND_ldbl_128ibm): Likewise.
22492 (TEST_COND_long32): Likewise.
22493 (TEST_COND_long64): Likewise.
22494 (TEST_COND_before_rounding): Likewise.
22495 (TEST_COND_after_rounding): Likewise.
22496 (enable_test): Handle XFAIL_TEST flag.
22497 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22498 with finite results.
22499 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22500 auto-libm-test-out.
22501
acd98a8e
AK
225022013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22503 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22504
22505 [BZ #16214]
22506 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22507 __tls_get_addr_internal instead of __tls_get_offset in order to
22508 avoid GOT pointer dependency. Make rtld export
22509 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22510 __tls_get_addr since we are a __tls_get_offset platform.
22511 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22512 GOT pointer being set up before.
22513 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22514
3c1c46a6
JM
225152013-11-28 Joseph Myers <joseph@codesourcery.com>
22516
7475aef5
JM
22517 * manual/math.texi (Errors in Math Functions): Document accuracy
22518 goals.
22519
8bca7cd8
JM
22520 [BZ #15004]
22521 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22522 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22523 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22524 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22525 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22526 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22527 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22528 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22529 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22530 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22531 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22532 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22533 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22534 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22535 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22536 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22537
91a1f3fe
JM
22538 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22539 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22540 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22541 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22542 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22543 Likewise.
22544 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22545 Likewise.
22546 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22547 Likewise.
22548 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22549 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22550 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22551 atomic-feupdateenv and flt-rounds.
22552 * sysdeps/powerpc/nofpu/Versions (libc): Add
22553 __atomic_feholdexcept, __atomic_feclearexcept,
22554 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22555 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22556 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22557 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22558 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22559 here.
22560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22561 Update.
22562
c5df7609
JM
22563 * manual/arith.texi (FP Exceptions): Document that exceptions may
22564 not be raised when matherr is used.
22565 (Math Error Reporting): Document overflow in directed rounding
22566 modes. Document that errno may not be set when finite values are
22567 returned on overflow. Document intent to set errno on underflow
22568 only for underflow to zero.
22569
3c1c46a6
JM
22570 [BZ #16271]
22571 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22572 round-to-nearest then adjust result for other rounding modes.
22573 * include/fenv.h (fegetround): Use libm_hidden_proto.
22574 * math/fegetround.c (fegetround): Use libm_hidden_def.
22575 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22576 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22577 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22578 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22579 Likewise.
22580 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22581 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22582 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22583 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22584
5a4c6d53
SP
225852013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22586
22587 [BZ #16077]
22588 * nss/Versions (libnss_files): Add
22589 _nss_files_gethostbyname3_r.
22590 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22591 New function.
22592 (HOST_DB_LOOKUP): Remove macro.
22593 (_nss_files_gethostbyname_r): Implement function without the
22594 HOST_DB_LOOKUP macro.
22595 (_nss_files_gethostbyname2_r): Likewise.
22596
897b98ba
OB
225972013-11-28 Ondřej Bílka <neleai@seznam.cz>
22598
22599 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22600
6f476861
UB
226012013-11-26 Uros Bizjak <ubizjak@gmail.com>
22602
22603 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22604 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22605 warning.
22606
bd12ab55
AZ
226072013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22608
22609 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22610 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22611 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22612 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22613 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22614 __fe_nomask_env_priv and attribute_hidden.
22615 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22616 (libc_feupdateenv_test_ppc): Likewise.
22617 (libc_feresetround_ppc): Likewise.
22618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22619 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22620 compat_symbol macro.
22621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22622 (__fe_nomask_env): Likewise.
22623 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22624
52bb6543
OB
226252013-11-26 Ondřej Bílka <neleai@seznam.cz>
22626
22627 * string/Makefile: Remove ifunc tests.
22628 * string/test-string.h: Define TEST_IFUNC.
22629 * string/test-bcopy-ifunc.c: Remove.
22630 * string/test-bzero-ifunc.c: Likewise.
22631 * string/test-memccpy-ifunc.c: Likewise.
22632 * string/test-memchr-ifunc.c: Likewise.
22633 * string/test-memcmp-ifunc.c: Likewise.
22634 * string/test-memcpy-ifunc.c: Likewise.
22635 * string/test-memmem-ifunc.c: Likewise.
22636 * string/test-memmove-ifunc.c: Likewise.
22637 * string/test-mempcpy-ifunc.c: Likewise.
22638 * string/test-memrchr-ifunc.c: Likewise.
22639 * string/test-memset-ifunc.c: Likewise.
22640 * string/test-rawmemchr-ifunc.c: Likewise.
22641 * string/test-stpcpy-ifunc.c: Likewise.
22642 * string/test-stpncpy-ifunc.c: Likewise.
22643 * string/test-strcasecmp-ifunc.c: Likewise.
22644 * string/test-strcasestr-ifunc.c: Likewise.
22645 * string/test-strcat-ifunc.c: Likewise.
22646 * string/test-strchr-ifunc.c: Likewise.
22647 * string/test-strchrnul-ifunc.c: Likewise.
22648 * string/test-strcmp-ifunc.c: Likewise.
22649 * string/test-strcpy-ifunc.c: Likewise.
22650 * string/test-strcspn-ifunc.c: Likewise.
22651 * string/test-strlen-ifunc.c: Likewise.
22652 * string/test-strncasecmp-ifunc.c: Likewise.
22653 * string/test-strncat-ifunc.c: Likewise.
22654 * string/test-strncmp-ifunc.c: Likewise.
22655 * string/test-strncpy-ifunc.c: Likewise.
22656 * string/test-strnlen-ifunc.c: Likewise.
22657 * string/test-strpbrk-ifunc.c: Likewise.
22658 * string/test-strrchr-ifunc.c: Likewise.
22659 * string/test-strspn-ifunc.c: Likewise.
22660 * string/test-strstr-ifunc.c: Likewise.
22661
ab260039 226622013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
22663
22664 * benchtests/Makefile: Remove ifunc tests.
22665 * benchtests/bench-string.h: Define TEST_IFUNC.
22666 * benchtests/bench-bcopy-ifunc.c: Remove.
22667 * benchtests/bench-bzero-ifunc.c: Likewise.
22668 * benchtests/bench-memccpy-ifunc.c: Likewise.
22669 * benchtests/bench-memchr-ifunc.c: Likewise.
22670 * benchtests/bench-memcmp-ifunc.c: Likewise.
22671 * benchtests/bench-memcpy-ifunc.c: Likewise.
22672 * benchtests/bench-memmem-ifunc.c: Likewise.
22673 * benchtests/bench-memmove-ifunc.c: Likewise.
22674 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22675 * benchtests/bench-memrchr-ifunc.c: Likewise.
22676 * benchtests/bench-memset-ifunc.c: Likewise.
22677 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22678 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22679 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22680 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22681 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22682 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22683 * benchtests/bench-strcat-ifunc.c: Likewise.
22684 * benchtests/bench-strchr-ifunc.c: Likewise.
22685 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22686 * benchtests/bench-strcmp-ifunc.c: Likewise.
22687 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22688 * benchtests/bench-strcpy-ifunc.c: Likewise.
22689 * benchtests/bench-strcspn-ifunc.c: Likewise.
22690 * benchtests/bench-strlen-ifunc.c: Likewise.
22691 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22692 * benchtests/bench-strncat-ifunc.c: Likewise.
22693 * benchtests/bench-strncmp-ifunc.c: Likewise.
22694 * benchtests/bench-strncpy-ifunc.c: Likewise.
22695 * benchtests/bench-strnlen-ifunc.c: Likewise.
22696 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22697 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 22698 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
22699 * benchtests/bench-strspn-ifunc.c: Likewise.
22700 * benchtests/bench-strstr-ifunc.c: Likewise.
22701
227022013-11-26 Ondřej Bílka <neleai@seznam.cz>
22703
ab260039
OB
22704 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22705
d1d9eaf4 227062013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 22707
d1d9eaf4
OB
22708 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22709 * rt/aio.h: Likewise.
22710 * sysdeps/gnu/bits/utmp.h: Likewise.
22711 * sysdeps/gnu/bits/utmpx.h: Likewise.
22712 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22713 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22714 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22715 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22716 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22717 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22718 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22719 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22720 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22721 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22722 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22723 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22724 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22726 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22727 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22728 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22729 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22730 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22731 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22732 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22733 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22734 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22735 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22736 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22738 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22739 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22740 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22741 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22742 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22743 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22744 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22745 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22746 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22747 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22748 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22749 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22750 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22751 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22752 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22753 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22754
a7624ed9
CD
227552013-11-25 Carlos O'Donell <carlos@redhat.com>
22756
22757 [BZ #16245]
22758 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22759 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22760
63cfe52b
JM
227612013-11-25 Joseph Myers <joseph@codesourcery.com>
22762
22763 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22764 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22765 Likewise.
22766
41e8926a
AZ
227672013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22768
22769 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22770 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22771 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22772 (__fesetround): Remove define.
22773 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22774 rounding and exceptions handling.
22775 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22776 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22777 (__fe_nomask_env): Likewise.
22778 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22779 __fegetround instead of fegetround.
22780 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22781 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22782
6851bd4d
RM
227832013-11-21 Roland McGrath <roland@hack.frob.com>
22784
070906ff
RM
22785 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22786 it's there.
22787
6851bd4d
RM
22788 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22789
84ae135d
MI
227902013-11-21 Meador Inge <meadori@codesourcery.com>
22791
22792 [BZ #11157]
22793 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22794 (encrypt_r): Likewise.
22795 * malloc/obstack.h (obstack_free): Likewise.
22796 * posix/unistd.h (encrypt): Likewise.
22797
daf75146
GM
227982013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22799
22800 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22801 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22802 DL_CALL_DT_FINI() that call the functions directly.
22803 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22804 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22805 * elf/dl-fini.c: Likewise.
22806
10ad46bc
OB
228072013-11-20 Ondřej Bílka <neleai@seznam.cz>
22808
22809 * malloc/hooks.c (memalign_check): Add alignment rounding.
22810 * malloc/malloc.c (_mid_memalign): New function.
22811 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22812 Implement by calling _mid_memalign.
22813 * manual/probes.texi (Memory Allocation Probes): Remove
22814 memory_valloc_retry and memory_pvalloc_retry.
22815
f3fd2628
SP
228162013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22817
4712799f
SP
22818 * locale/programs/locarchive.c (open_archive): Add const
22819 qualifier to ARCHIVEFNAME and copy default fname to
22820 DEFAULT_FNAME.
22821
0417b20f
SP
22822 [BZ #15601]
22823 * libio/tst-widetext.input: Rename Oriya to Odia.
22824 * locale/iso-639.def: Likewise.
22825
f3fd2628
SP
22826 * manual/probes.texi (Mathematical Function Probes): Add
22827 documentation for sin, cos, asin and acos probes.
22828 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22829 (__sin32): Add slowasin probe.
22830 (__cos32): Add slowacos probe.
22831 (__mpsin): Add slowsin probe.
22832 (__mpcos): Add slowcos probe.
22833
73c1ce4f
JM
228342013-11-19 Joseph Myers <joseph@codesourcery.com>
22835
22836 [BZ #15483]
22837 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22838 thread-local __sim_exceptions_thread and global
22839 __sim_exceptions_global.
22840 (__sim_disabled_exceptions): Change to thread-local
22841 __sim_disabled_exceptions_thread and global
22842 __sim_disabled_exceptions_global.
22843 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22844 and global __sim_round_mode_global.
22845 (__simulate_exceptions): Use thread-local floating-point state and
22846 set global state from it as needed.
22847 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22848 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22849 __sim_round_mode_thread.
22850 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22851 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22852 and global __sim_exceptions_global.
22853 (__sim_disabled_exceptions): Change to thread-local
22854 __sim_disabled_exceptions_thread and global
22855 __sim_disabled_exceptions_global.
22856 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22857 and global __sim_round_mode_global.
22858 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22859 (SIM_SET_GLOBAL): Likewise.
22860 * sysdeps/powerpc/soft-fp/sfp-machine.h
22861 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22862 __sim_round_mode_thread.
22863 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22864 __sim_disabled_exceptions_thread.
22865 (__sim_exceptions): Change to __sim_exceptions_thread.
22866 (__sim_disabled_exceptions): Change to
22867 __sim_disabled_exceptions_thread.
22868 (__sim_round_mode): Change to __sim_round_mode_thread.
22869 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22870 thread-local floating-point state and set global state from it as
22871 needed.
22872 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22873 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22874 (__sim_disabled_exceptions): Remove extern declaration.
22875 (feenableexcept): Use thread-local floating-point state and set
22876 global state from it as needed.
22877 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22878 extern declaration.
22879 (__sim_disabled_exceptions): Likewise.
22880 (__sim_round_mode): Likewise.
22881 (__fegetenv): Use thread-local floating-point state.
22882 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22883 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22884 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22885 floating-point state and set global state from it as needed.
22886 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22887 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22888 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22889 Likewise.
22890 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22891 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22892 Likewise.
22893 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22894 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22895 Use __sim_round_mode_thread.
22896 * math/test-fenv-tls.c: New file.
22897 * math/Makefile (tests): Add test-fenv-tls.
22898 ($(objpfx)test-fenv-tls): Depend on
22899 $(common-objpfx)nptl/libpthread.so.
22900
b5449b12
AS
229012013-11-19 Andreas Schwab <schwab@suse.de>
22902
22903 * locale/programs/locale.c (show_info): Decode wordarray elements.
22904 * locale/categories.def (LC_MONETARY): Add element for
22905 _NL_MONETARY_CRNCYSTR.
22906 * locale/C-monetary.c (conversion_rate): New variable.
22907 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22908 element.
22909
e186536b
CM
229102013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22911
22912 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22913 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22914
5c349950
PP
229152013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22916
22917 * elf/Makefile (tst-auxv): New test.
22918 * elf/tst-auxv.c: New
22919 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22920
699df45b
JM
229212013-11-18 Joseph Myers <joseph@codesourcery.com>
22922
22923 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22924 (hidden_proto): Caller changed.
22925 (hidden_tls_proto): New macro.
22926 (libc_hidden_tls_proto): Likewise.
22927 (rtld_hidden_tls_proto): Likewise.
22928 (libm_hidden_tls_proto): Likewise.
22929 (libresolv_hidden_tls_proto): Likewise.
22930 (librt_hidden_tls_proto): Likewise.
22931 (libdl_hidden_tls_proto): Likewise.
22932 (libnss_files_hidden_tls_proto): Likewise.
22933 (libnsl_hidden_tls_proto): Likewise.
22934 (libnss_nisplus_hidden_tls_proto): Likewise.
22935 (libutil_hidden_tls_proto): Likewise.
22936
b7589107
OB
229372013-11-18 Ondřej Bílka <neleai@seznam.cz>
22938
22939 [BZ #10253]
22940 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22941 (decompose_rpath): Defer expansion to fillin_rpath.
22942 (_dl_init_paths): Pass linkmap to fillin_rpath.
22943
250c23bd
RS
229442013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22945
22946 * benchtests/Makefile: Add strsep.
22947 * benchtests/bench-strsep.c: New file: strsep benchtest.
22948 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22949
a7931fcf
AS
229502013-11-18 Andreas Schwab <schwab@suse.de>
22951
22952 * locale/programs/locale.c (show_info) [case byte]: Check for
22953 '\377' instead of '\177'.
22954 * locale/C-monetary.c (not_available): Always use "\377".
22955 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22956 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22957 detect unavailable sign_posn locale elements.
22958 * locale/localeconv.c (__localeconv): For grouping and
22959 mon_grouping handle "\177" and "\377" like no grouping.
22960 (INT_ELEM): New macro. Use it to set all numeric members.
22961 * locale/programs/ld-monetary.c (monetary_read)
22962 <tok_mon_grouping>: Normalize single -1 to the empty string.
22963 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22964 Likewise.
22965
728dab0e
OB
229662013-11-07 Ondřej Bílka <neleai@seznam.cz>
22967
22968 [BZ #16055]
22969 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22970 when we match (nil).
22971 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22972
66294491
JM
229732013-11-16 Joseph Myers <joseph@codesourcery.com>
22974
ce665817
JM
22975 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22976 (NO_TEST_INLINE): Update value.
22977 (ERRNO_UNCHANGED): Likewise.
22978 (ERRNO_EDOM): Likewise.
22979 (ERRNO_ERANGE): Likewise.
22980 (IGNORE_RESULT): Likewise.
22981 (check_float_internal): Check signs of NaN results if
22982 TEST_NAN_SIGN used.
22983 (check_complex): Pass TEST_NAN_SIGN flag through to second
22984 check_float_internal call.
22985 (copysign_test_data): Add tests with quiet NaNs as second
22986 argument. Use TEST_NAN_SIGN.
22987 (fabs_test_data): Add test of negative quiet NaN argument. Use
22988 TEST_NAN_SIGN.
22989 (signbit_test_data): Add tests of quiet NaN argument.
22990 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22991
ee1466a9
JM
22992 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22993 $ignore_result.
22994 (parse_args): Handle function results specified as IGNORE.
22995 * math/libm-test.inc (IGNORE_RESULT): New macro.
22996 (check_float_internal): Do not check numerical result if flag
22997 IGNORE_RESULT set.
22998 (check_complex): Pass through IGNORE_RESULT to second
22999 check_float_internal call.
23000 (check_int): Do not check numerical result if flag IGNORE_RESULT
23001 set.
23002 (check_long): Likewise.
23003 (check_bool): Likewise.
23004 (check_longlong): Likewise.
23005 (lrint_test_data): Add tests of infinite and NaN arguments.
23006 (lrint_tonearest_test_data): Likewise.
23007 (lrint_towardzero_test_data): Likewise.
23008 (lrint_downward_test_data): Likewise.
23009 (lrint_upward_test_data): Likewise.
23010 (llrint_test_data): Likewise.
23011 (llrint_tonearest_test_data): Likewise.
23012 (llrint_towardzero_test_data): Likewise.
23013 (llrint_downward_test_data): Likewise.
23014 (llrint_upward_test_data): Likewise.
23015 (lround_test_data): Likewise.
23016 (llround_test_data): Likewise.
23017
14407b7e
JM
23018 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23019 (ERRNO_UNCHANGED): Update value.
23020 (ERRNO_EDOM): Likewise.
23021 (ERRNO_ERANGE): Likewise.
23022 (NO_TEST_INLINE_FLOAT): New macro.
23023 (NO_TEST_INLINE_DOUBLE): Likewise.
23024 (enable_test): New function.
23025 (RUN_TEST_f_f): Check enable_test before running test.
23026 (RUN_TEST_2_f): Likewise.
23027 (RUN_TEST_fff_f): Likewise.
23028 (RUN_TEST_c_f): Likewise.
23029 (RUN_TEST_f_f1): Likewise.
23030 (RUN_TEST_fF_f1): Likewise.
23031 (RUN_TEST_fI_f1): Likewise.
23032 (RUN_TEST_ffI_f1): Likewise.
23033 (RUN_TEST_c_c): Likewise.
23034 (RUN_TEST_cc_c): Likewise.
23035 (RUN_TEST_f_i): Likewise.
23036 (RUN_TEST_f_i_tg): Likewise.
23037 (RUN_TEST_ff_i_tg): Likewise.
23038 (RUN_TEST_f_b): Likewise.
23039 (RUN_TEST_f_b_tg): Likewise.
23040 (RUN_TEST_f_l): Likewise.
23041 (RUN_TEST_f_L): Likewise.
23042 (RUN_TEST_fFF_11): Likewise.
23043 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23044 conditionals.
23045 (cosh_test_data): Likewise.
23046 (exp_test_data): Likewise.
23047 (expm1_test_data): Likewise.
23048 (hypot_test_data): Likewise.
23049 (pow_test_data): Likewise.
23050 (sinh_test_data): Likewise.
23051 (tanh_test_data): Likewise.
23052 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23053 flags argument.
23054
ca07f197
JM
23055 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23056 tests with quiet NaN input and output.
23057 (acosh_test_data): Likewise.
23058 (asin_test_data): Likewise.
23059 (asinh_test_data): Likewise.
23060 (atan_test_data): Likewise.
23061 (atanh_test_data): Likewise.
23062 (atan2_test_data): Likewise.
23063 (cbrt_test_data): Likewise.
23064 (cos_test_data): Likewise.
23065 (cosh_test_data): Likewise.
23066 (erf_test_data): Likewise.
23067 (erfc_test_data): Likewise.
23068 (exp_test_data): Likewise.
23069 (exp10_test_data): Likewise.
23070 (exp2_test_data): Likewise.
23071 (expm1_test_data): Likewise.
23072 (hypot_test_data): Likewise.
23073 (j0_test_data): Likewise.
23074 (j1_test_data): Likewise.
23075 (jn_test_data): Likewise.
23076 (lgamma_test_data): Likewise.
23077 (log_test_data): Likewise.
23078 (log10_test_data): Likewise.
23079 (log1p_test_data): Likewise.
23080 (log2_test_data): Likewise.
23081 (pow_test_data): Likewise.
23082 (scalb_test_data): Likewise.
23083 (sin_test_data): Likewise.
23084 (sincos_test_data): Likewise.
23085 (sinh_test_data): Likewise.
23086 (tan_test_data): Likewise.
23087 (tanh_test_data): Likewise.
23088 (tgamma_test_data): Likewise.
23089 (y0_test_data): Likewise.
23090 (y1_test_data): Likewise.
23091 (yn_test_data): Likewise.
23092
66294491
JM
23093 [BZ #16167]
23094 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23095 argument being NaN and avoid computations with second argument in
23096 that case.
23097 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23098 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23099 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23100
1820b143
CL
231012013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23102
23103 * locale/iso-639.def: Add Chitwani Tharu (the).
23104
714bd261
AS
231052013-11-14 Andreas Schwab <schwab@suse.de>
23106
23107 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23108 word instead of empty string.
23109
7ab44563
AZ
231102013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23111
23112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23113 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23115 (__fe_nomask_env): Likewise.
23116
e8470ea2
SE
231172013-11-13 Steve Ellcey <sellcey@mips.com>
23118
23119 * benchtests/bench-timing.h: Include time.h.
23120
17c1d9f0
L
231212013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23122
23123 [BZ #15997]
23124 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23125 to 3.4.0 for x32.
23126 * sysdeps/unix/sysv/linux/configure: Regenerated.
23127
9310c284
JM
231282013-11-13 Joseph Myers <joseph@codesourcery.com>
23129
23130 [BZ #16151]
23131 * stdlib/strtod_l.c (round_and_return): Do not consider
23132 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23133 exponent one less than half the least subnormal exponent.
23134 * stdlib/test-strtod-round-data: Add more tests.
23135 * stdlib/tst-strtod-round.c (tests): Regenerated.
23136
7a2ad8cf
AZ
231372013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23138
23139 [BZ #14143]
23140 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23141 (__fe_mask_env): Likewise.
23142 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23143 libm_hidden_proto and add function prototype.
23144 (__fe_mask_env): Add function prototype.
23145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23146 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23148 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23150 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23151
50727aa7
MS
231522013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23153
b2f386c1 23154 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
23155 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23156
a615be46
MS
231572013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23158
23159 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23160 of htab_find_slot().
23161
7ddace62
DM
231622013-11-11 David S. Miller <davem@davemloft.net>
23163
23164 [BZ #16150]
23165 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23166 symbol in the non-vis3 case in static builds.
23167 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23168 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23169 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23170 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23171
9182aa67
JK
231722013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23173
23174 [BZ #387]
23175 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23176 it is empty.
23177
450a2e2d
AZ
231782013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23179
b2f386c1
SP
23180 * benchtests/Makefile: Add bench-strtod.
23181 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 23182
8ec3f656
AS
231832013-11-11 Andreas Schwab <schwab@suse.de>
23184
23185 [BZ #16153]
23186 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23187 terminating NUL in key length.
23188
76a9b998
AZ
231892013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23190
23191 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23192 Add artificial ODP entry for vDSO symbol for PPC64.
23193 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23194 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23195
e4368156
OB
231962013-11-07 Ondřej Bílka <neleai@seznam.cz>
23197
23198 [BZ #15374]
23199 * nss/getent.c (services_keys): Recognize services starting with digit.
23200
8d6bb57c
DM
232012013-11-06 David S. Miller <davem@davemloft.net>
23202
23203 [BZ #15985]
23204 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23205 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23206
e256c421
WN
232072013-11-06 Will Newton <will.newton@linaro.org>
23208
23209 * manual/memory.texi (Malloc Examples): Remove register
23210 keyword from examples.
23211
f6e12daa 232122013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 23213
f6e12daa 23214 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 23215
9d880655
AS
232162013-11-04 Joseph Myers <joseph@codesourcery.com>
23217
fd2f9486 23218 [BZ #6981]
9d880655
AS
23219 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23220 depending on [__GCC_IEC_559 > 0].
23221 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23222 depending on [__GCC_IEC_559_COMPLEX > 0].
23223
ae129d3c
CL
232242013-11-03 Chris Leonard <cjl@sugarlabs.org>
23225
23226 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23227 to iso-639.def.
23228
4a15c2a4 232292013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
23230
23231 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23232
8b35e35d
OB
232332013-11-01 Ondřej Bílka <neleai@seznam.cz>
23234
23235 [BZ #16112]
23236 * malloc/malloc (malloc_info): Do not handle first bin as
23237 special case.
23238
1d70fd6c
CL
232392013-11-01 Chris Leonard <cjl@sugarlabs.org>
23240
23241 * locale/iso-639.def: Add Central Nahuatl (nhn).
23242
8c5c2600
BH
232432013-11-01 Bruno Haible <bruno@clisp.org>
23244
23245 [BZ #7003]
23246 * manual/math.texi (BSD Random): Specify range upper bound as
23247 in POSIX.
23248
da5579c2
CL
232492013-10-31 Chris Leonard <cjl@sugarlabs.org>
23250
23251 * locale/iso-639.def: Add Meadow Mari (mhr).
23252
5d30d853
OB
232532013-10-31 Ondřej Bílka <neleai@seznam.cz>
23254
23255 [BZ #14752], [BZ #15763]
23256 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23257 Validate name.
23258 * rt/tst_shm.c: Add test for escaping directory.
23259
a4966c61
AS
232602013-10-31 Andreas Schwab <schwab@suse.de>
23261
8a43e768 23262 [BZ #15917]
a4966c61
AS
23263 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23264 followed by 'x' as part of digit sequence.
23265 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23266
28d708c4
MAP
232672013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23268
23269 [BZ #16037]
23270 * configure.ac: allow GNU Make 4.0 and greater.
23271 * configure: Regenerated.
23272
a56ee40b
WN
232732013-10-30 Will Newton <will.newton@linaro.org>
23274
23275 [BZ #16038]
23276 * malloc/hooks.c (memalign_check): Limit alignment to the
23277 maximum representable power of two.
23278 * malloc/malloc.c (__libc_memalign): Likewise.
23279 * malloc/tst-memalign.c (do_test): Add test for very
23280 large alignment values.
23281 * malloc/tst-posix_memalign.c (do_test): Likewise.
23282
c6e4925d
OB
232832013-10-30 Ondřej Bílka <neleai@seznam.cz>
23284
23285 [BZ #11087]
23286 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23287 (munmap_chunk): Likewise.
23288 (mremap_chunk): Likewise.
23289
232902013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23291
8a43e768 23292 [BZ #15799]
bbea82f7
OB
23293 * stdlib/div.c (div): Remove obsolete code.
23294 * stdlib/ldiv.c (ldiv): Likewise.
23295 * stdlib/lldiv.c (lldiv): Likewise.
23296
977f4b31
SP
232972013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23298
23299 [BZ #16071]
23300 * nss/nss_files/files-XXX.c (get_contents_ret): New
23301 enumerator.
23302 (get_contents): New function.
23303 (internal_getent): Use it. Expand size of LINEBUFLEN.
23304
cb8a6dbd
MF
233052013-10-30 Mike Frysinger <vapier@gentoo.org>
23306
23307 * configure.in: Moved to ...
23308 * configure.ac: ... here. Change reference to configure.in
23309 to configure.ac.
23310 * sysdeps/arm/preconfigure.ac: ... here.
23311 configure.in to configure.ac.
23312 * sysdeps/gnu/configure.in: Moved to ...
23313 * sysdeps/gnu/configure.ac: ... here.
23314 * sysdeps/i386/configure.in: Moved to ...
23315 * sysdeps/i386/configure.ac: ... here.
23316 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23317 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23318 * sysdeps/mach/configure.in: Moved to ...
23319 * sysdeps/mach/configure.ac: ... here.
23320 * sysdeps/mach/hurd/configure.in: Moved to ...
23321 * sysdeps/mach/hurd/configure.ac: ... here.
23322 * sysdeps/powerpc/configure.in: Moved to ...
23323 * sysdeps/powerpc/configure.ac: ... here.
23324 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23325 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23326 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23327 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23328 * sysdeps/s390/s390-32/configure.in: Moved to ...
23329 * sysdeps/s390/s390-32/configure.ac: ... here.
23330 * sysdeps/s390/s390-64/configure.in: Moved to ...
23331 * sysdeps/s390/s390-64/configure.ac: ... here.
23332 * sysdeps/sh/configure.in: Moved to ...
23333 * sysdeps/sh/configure.ac: ... here.
23334 * sysdeps/sparc/configure.in: Moved to ...
23335 * sysdeps/sparc/configure.ac: ... here.
23336 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23337 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23338 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23339 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23340 * sysdeps/x86_64/configure.in: Moved to ...
23341 * sysdeps/x86_64/configure.ac: ... here.
23342 * sysdeps/x86_64/preconfigure.in: Moved to ...
23343 * sysdeps/x86_64/preconfigure.ac: ... here.
23344 * aclocal.m4: Change reference to configure.in to configure.ac.
23345 * config.h.in: Likewise.
23346 * manual/install.texi: Likewise.
23347 * manual/maint.texi: Likewise.
23348 * Makefile: Likewise.
23349 * malloc/Makefile: Likewise.
23350 * nscd/Makefile: Likewise.
23351 * Makeconfig: Change reference to configure.in and
23352 preconfigure.in to configure.ac and preconfigure.ac
23353 respectively.
23354 * INSTALL: Regenerated.
23355 * configure: Likewise.
23356 * sysdeps/gnu/configure: Likewise.
23357 * sysdeps/i386/configure: Likewise.
23358 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23359 * sysdeps/mach/configure: Likewise.
23360 * sysdeps/mach/hurd/configure: Likewise.
23361 * sysdeps/powerpc/configure: Likewise.
23362 * sysdeps/powerpc/powerpc32/configure: Likewise.
23363 * sysdeps/powerpc/powerpc64/configure: Likewise.
23364 * sysdeps/s390/s390-32/configure: Likewise.
23365 * sysdeps/s390/s390-64/configure: Likewise.
23366 * sysdeps/sh/configure: Likewise.
23367 * sysdeps/sparc/configure: Likewise.
23368 * sysdeps/unix/sysv/linux/configure: Likewise.
23369 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23370 * sysdeps/x86_64/configure: Likewise.
23371 * sysdeps/x86_64/preconfigure: Likewise.
23372
36a4953a
AS
233732013-10-29 Andreas Schwab <schwab@suse.de>
23374
23375 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23376
c79a1204
SP
233772013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23378
dfa1b402
SP
23379 * benchtests/pow-inputs: Add new inputs.
23380
54f73d9c
SP
23381 * benchtests/exp-inputs: Add new inputs.
23382
c79a1204
SP
23383 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23384 conditional check for return value.
23385 (__cos32): Likewise.
23386
67beb545 233872013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23388
23389 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23390 to provide a boost for large inputs with word alignment.
23391 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23392 implementation based on optimized PPC64 strcpy.
23393 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23394 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23395 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23396 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23397
151659f6
OB
233982013-10-25 Ondřej Bílka <neleai@seznam.cz>
23399
482a077e 23400 [BZ #2801]
151659f6
OB
23401 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23402
10b0f26b
OB
234032013-10-25 Ondřej Bílka <neleai@seznam.cz>
23404
23405 [BZ #14876]
23406 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23407 * time/tst-strptime.c (day_tests): Add testcase.
23408
ca42d35e
OB
234092013-10-25 Ondřej Bílka <neleai@seznam.cz>
23410
482a077e 23411 [BZ #14029]
ca42d35e
OB
23412 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23413
52e6d801
FB
234142013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23415
23416 [BZ #16074]
23417 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23418 MAP_FAILED on error.
23419
7cbcdb36
SP
234202013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23421
23422 [BZ #16072]
23423 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23424 heap for large requests.
23425
894f3f10
AM
234262013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23427
23428 [BZ #9954]
23429 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23430 result if the result has no associated interface.
23431 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23432 interface for all 127.X.Y.Z addresses.
23433
b85545a6
CL
234342013-10-24 Chris Leonard <cjl@sugarlabs.org>
23435
23436 * locale/iso-639.def: Add Ligurian (lij)
23437
d1f23d46
OB
234382013-10-21 Ondřej Bílka <neleai@seznam.cz>
23439
23440 [BZ #15825]
23441 * sunrpc/rpc_main.c: Document rpcgen -5.
23442
4db5b08f
MS
234432013-10-19 Michael Stahl <mstahl@redhat.com>
23444
23445 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23446
a471e96a
OB
234472013-10-19 Ondřej Bílka <neleai@seznam.cz>
23448
d1f23d46 23449 [BZ #10278]
a471e96a
OB
23450 * posix/glob.c: Match only directories when trailing slash is present.
23451 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23452 (main): Add testcase.
23453
45c30c61
OB
234542013-10-19 Ondřej Bílka <neleai@seznam.cz>
23455
23456 [BZ #15670]
23457 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23458
484c12fb
CD
234592013-10-18 Carlos O'Donell <carlos@redhat.com>
23460
3d7dc513
CD
23461 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23462 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23463 AUTH_DES and cindex for FIPS 140-2.
23464 (DES Encryption): Add cindex FIPS 46-3.
23465
484c12fb
CD
23466 * locale/locarchive.h (struct locarhandle): Add fname.
23467 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23468 if an optional argument was specified to --list-archive,
23469 otherwise NULL.
23470 * locale/programs/locarchive.c (show_archive_content): Take new
23471 argument fname and pass it via ah.fname to open_archive.
23472 * locale/programs/localedef.h: Update decl.
23473 (open_archive): If AH->fname is non-null, open that file
23474 rather than the default file name, and don't ignore ENOENT.
23475 (create_archive): Set AH.fname to NULL.
23476 (delete_locales_from_archive): Likewise.
23477 (add_locales_to_archive): Likewise.
23478 * locale/programs/locfile.c (write_all_categories): Likewise.
23479
3c8325fb
JM
234802013-10-18 Joseph Myers <joseph@codesourcery.com>
23481 Aldy Hernandez <aldyh@redhat.com>
23482
23483 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23484 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23485 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23486 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23487 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23488 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23489 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23490 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23491 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23492 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23493 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23494 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23495 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23496 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23497 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23498 Likewise.
23499 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23500 Likewise.
23501 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23502 Likewise.
23503 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23504 Likewise.
23505 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23506 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23507 Likewise.
23508 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23509 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23510 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23511 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23512 Likewise.
23513 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23514 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23515 * sysdeps/powerpc/preconfigure: Likewise.
23516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23517 Likewise.
23518 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23519 Replace contents of file by #include of <fenv_libc.h>.
23520 * sysdeps/powerpc/soft-fp/sfp-machine.h
23521 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23522 and <sys/prctl.h>.
23523 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23524 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23525 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23526 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23527 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23528 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23530 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23531 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23532 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23533 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23534 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23536 Allow copysignl PLT reference to be missing.
23537
5abe0682
RS
235382013-10-18 Richard Sandiford <richard@codesourcery.com>
23539 Joseph Myers <joseph@codesourcery.com
23540
23541 [BZ #15948]
23542 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23543 single character.
23544 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23545
c7738d08
SP
235462013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23547
23548 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23549 * elf/tst-tls1.c: Likewise.
23550 * elf/tst-tls10.h: Likewise.
23551 * elf/tst-tls14.c: Likewise.
23552 * elf/tst-tls2.c: Likewise.
23553 * elf/tst-tls3.c: Likewise.
23554 * elf/tst-tls4.c: Likewise.
23555 * elf/tst-tls5.c: Likewise.
23556 * elf/tst-tls6.c: Likewise.
23557 * elf/tst-tls7.c: Likewise.
23558 * elf/tst-tls8.c: Likewise.
23559 * elf/tst-tls9.c: Likewise.
23560 * elf/tst-tlsmod1.c: Likewise.
23561 * elf/tst-tlsmod13.c: Likewise.
23562 * elf/tst-tlsmod13a.c: Likewise.
23563 * elf/tst-tlsmod14a.c: Likewise.
23564 * elf/tst-tlsmod16a.c: Likewise.
23565 * elf/tst-tlsmod16b.c: Likewise.
23566 * elf/tst-tlsmod2.c: Likewise.
23567 * elf/tst-tlsmod3.c: Likewise.
23568 * elf/tst-tlsmod4.c: Likewise.
23569 * elf/tst-tlsmod5.c: Likewise.
23570 * elf/tst-tlsmod6.c: Likewise.
23571
0bfcf2c7
OB
235722013-10-18 Ondřej Bílka <neleai@seznam.cz>
23573
23574 [BZ #12486]
23575 * malloc/malloc.c: remove checks for statistics.
23576
264aad1e
OB
235772013-10-17 Ondřej Bílka <neleai@seznam.cz>
23578
23579 [BZ #15277]
23580 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23581 * inet/tst-network.c: Add testcase.
23582
b957ced8
AS
235832013-10-17 Andreas Schwab <schwab@suse.de>
23584
23585 [BZ #15218]
23586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23587 to determine canonical name.
23588
c5d5d574
OB
235892013-10-17 Ondřej Bílka <neleai@seznam.cz>
23590
23591 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23592 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23593 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23594 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23596 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23597 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23598 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23599 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23600 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23601 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23602 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23603 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23604 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23605 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23606 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23608 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23609 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23610 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23611 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23612 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23613 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23614 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23615 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23616 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23617 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23618 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23619 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23620 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23621 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23622 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23623 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23624 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23625 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23626 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23627 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23628 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23629 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23630 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23631 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23632 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23633 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23634 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23635 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23636 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23637 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23638 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23639 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23640 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23641 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23642 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23643 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23644 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23645 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23646 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23648 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23649
e5c2c2d0
JM
236502013-10-17 Joseph Myers <joseph@codesourcery.com>
23651
23652 [BZ #16041]
23653 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23654 make result into a quiet NaN.
23655
51ca9e29
JM
236562013-10-16 Joseph Myers <joseph@codesourcery.com>
23657
23658 * soft-fp/adddf3.c: Fix horizontal whitespace.
23659 * soft-fp/addsf3.c: Likewise.
23660 * soft-fp/addtf3.c: Likewise.
23661 * soft-fp/divdf3.c: Likewise.
23662 * soft-fp/divsf3.c: Likewise.
23663 * soft-fp/divtf3.c: Likewise.
23664 * soft-fp/double.h: Likewise.
23665 * soft-fp/eqdf2.c: Likewise.
23666 * soft-fp/eqsf2.c: Likewise.
23667 * soft-fp/eqtf2.c: Likewise.
23668 * soft-fp/extenddftf2.c: Likewise.
23669 * soft-fp/extended.h: Likewise.
23670 * soft-fp/extendsfdf2.c: Likewise.
23671 * soft-fp/extendsftf2.c: Likewise.
23672 * soft-fp/extendxftf2.c: Likewise.
23673 * soft-fp/fixdfdi.c: Likewise.
23674 * soft-fp/fixdfsi.c: Likewise.
23675 * soft-fp/fixdfti.c: Likewise.
23676 * soft-fp/fixsfdi.c: Likewise.
23677 * soft-fp/fixsfsi.c: Likewise.
23678 * soft-fp/fixsfti.c: Likewise.
23679 * soft-fp/fixtfdi.c: Likewise.
23680 * soft-fp/fixtfsi.c: Likewise.
23681 * soft-fp/fixtfti.c: Likewise.
23682 * soft-fp/fixunsdfdi.c: Likewise.
23683 * soft-fp/fixunsdfsi.c: Likewise.
23684 * soft-fp/fixunsdfti.c: Likewise.
23685 * soft-fp/fixunssfdi.c: Likewise.
23686 * soft-fp/fixunssfsi.c: Likewise.
23687 * soft-fp/fixunssfti.c: Likewise.
23688 * soft-fp/fixunstfdi.c: Likewise.
23689 * soft-fp/fixunstfsi.c: Likewise.
23690 * soft-fp/fixunstfti.c: Likewise.
23691 * soft-fp/floatdidf.c: Likewise.
23692 * soft-fp/floatdisf.c: Likewise.
23693 * soft-fp/floatditf.c: Likewise.
23694 * soft-fp/floatsidf.c: Likewise.
23695 * soft-fp/floatsisf.c: Likewise.
23696 * soft-fp/floatsitf.c: Likewise.
23697 * soft-fp/floattidf.c: Likewise.
23698 * soft-fp/floattisf.c: Likewise.
23699 * soft-fp/floattitf.c: Likewise.
23700 * soft-fp/floatundidf.c: Likewise.
23701 * soft-fp/floatundisf.c: Likewise.
23702 * soft-fp/floatunditf.c: Likewise.
23703 * soft-fp/floatunsidf.c: Likewise.
23704 * soft-fp/floatunsisf.c: Likewise.
23705 * soft-fp/floatunsitf.c: Likewise.
23706 * soft-fp/floatuntidf.c: Likewise.
23707 * soft-fp/floatuntisf.c: Likewise.
23708 * soft-fp/floatuntitf.c: Likewise.
23709 * soft-fp/fmadf4.c: Likewise.
23710 * soft-fp/fmasf4.c: Likewise.
23711 * soft-fp/fmatf4.c: Likewise.
23712 * soft-fp/gedf2.c: Likewise.
23713 * soft-fp/gesf2.c: Likewise.
23714 * soft-fp/getf2.c: Likewise.
23715 * soft-fp/ledf2.c: Likewise.
23716 * soft-fp/lesf2.c: Likewise.
23717 * soft-fp/letf2.c: Likewise.
23718 * soft-fp/muldf3.c: Likewise.
23719 * soft-fp/mulsf3.c: Likewise.
23720 * soft-fp/multf3.c: Likewise.
23721 * soft-fp/negdf2.c: Likewise.
23722 * soft-fp/negsf2.c: Likewise.
23723 * soft-fp/negtf2.c: Likewise.
23724 * soft-fp/op-1.h: Likewise.
23725 * soft-fp/op-2.h: Likewise.
23726 * soft-fp/op-4.h: Likewise.
23727 * soft-fp/op-8.h: Likewise.
23728 * soft-fp/op-common.h: Likewise.
23729 * soft-fp/quad.h: Likewise.
23730 * soft-fp/single.h: Likewise.
23731 * soft-fp/soft-fp.h: Likewise.
23732 * soft-fp/sqrtdf2.c: Likewise.
23733 * soft-fp/sqrtsf2.c: Likewise.
23734 * soft-fp/sqrttf2.c: Likewise.
23735 * soft-fp/subdf3.c: Likewise.
23736 * soft-fp/subsf3.c: Likewise.
23737 * soft-fp/subtf3.c: Likewise.
23738 * soft-fp/truncdfsf2.c: Likewise.
23739 * soft-fp/trunctfdf2.c: Likewise.
23740 * soft-fp/trunctfsf2.c: Likewise.
23741 * soft-fp/trunctfxf2.c: Likewise.
23742 * soft-fp/unorddf2.c: Likewise.
23743 * soft-fp/unordsf2.c: Likewise.
23744 * soft-fp/unordtf2.c: Likewise.
23745
9ebb0332
JM
237462013-10-15 Joseph Myers <joseph@codesourcery.com>
23747
23748 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23749 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23750
4b1a6d8b
OB
237512013-10-15 Ondřej Bílka <neleai@seznam.cz>
23752
23753 * elf/dl-libc.c: Clear initfini list after freeing.
23754
1e145589
JM
237552013-10-14 Joseph Myers <joseph@codesourcery.com>
23756
23757 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23758 * soft-fp/addsf3.c: Likewise.
23759 * soft-fp/addtf3.c: Likewise.
23760 * soft-fp/divdf3.c: Likewise.
23761 * soft-fp/divsf3.c: Likewise.
23762 * soft-fp/divtf3.c: Likewise.
23763 * soft-fp/double.h: Likewise.
23764 * soft-fp/eqdf2.c: Likewise.
23765 * soft-fp/eqsf2.c: Likewise.
23766 * soft-fp/eqtf2.c: Likewise.
23767 * soft-fp/extenddftf2.c: Likewise.
23768 * soft-fp/extended.h: Likewise.
23769 * soft-fp/extendsfdf2.c: Likewise.
23770 * soft-fp/extendsftf2.c: Likewise.
23771 * soft-fp/extendxftf2.c: Likewise.
23772 * soft-fp/fixdfdi.c: Likewise.
23773 * soft-fp/fixdfsi.c: Likewise.
23774 * soft-fp/fixdfti.c: Likewise.
23775 * soft-fp/fixsfdi.c: Likewise.
23776 * soft-fp/fixsfsi.c: Likewise.
23777 * soft-fp/fixsfti.c: Likewise.
23778 * soft-fp/fixtfdi.c: Likewise.
23779 * soft-fp/fixtfsi.c: Likewise.
23780 * soft-fp/fixtfti.c: Likewise.
23781 * soft-fp/fixunsdfdi.c: Likewise.
23782 * soft-fp/fixunsdfsi.c: Likewise.
23783 * soft-fp/fixunsdfti.c: Likewise.
23784 * soft-fp/fixunssfdi.c: Likewise.
23785 * soft-fp/fixunssfsi.c: Likewise.
23786 * soft-fp/fixunssfti.c: Likewise.
23787 * soft-fp/fixunstfdi.c: Likewise.
23788 * soft-fp/fixunstfsi.c: Likewise.
23789 * soft-fp/fixunstfti.c: Likewise.
23790 * soft-fp/floatdidf.c: Likewise.
23791 * soft-fp/floatdisf.c: Likewise.
23792 * soft-fp/floatditf.c: Likewise.
23793 * soft-fp/floatsidf.c: Likewise.
23794 * soft-fp/floatsisf.c: Likewise.
23795 * soft-fp/floatsitf.c: Likewise.
23796 * soft-fp/floattidf.c: Likewise.
23797 * soft-fp/floattisf.c: Likewise.
23798 * soft-fp/floattitf.c: Likewise.
23799 * soft-fp/floatundidf.c: Likewise.
23800 * soft-fp/floatundisf.c: Likewise.
23801 * soft-fp/floatunsidf.c: Likewise.
23802 * soft-fp/floatunsisf.c: Likewise.
23803 * soft-fp/floatuntidf.c: Likewise.
23804 * soft-fp/floatuntisf.c: Likewise.
23805 * soft-fp/floatuntitf.c: Likewise.
23806 * soft-fp/fmadf4.c: Likewise.
23807 * soft-fp/fmasf4.c: Likewise.
23808 * soft-fp/fmatf4.c: Likewise.
23809 * soft-fp/gedf2.c: Likewise.
23810 * soft-fp/gesf2.c: Likewise.
23811 * soft-fp/getf2.c: Likewise.
23812 * soft-fp/ledf2.c: Likewise.
23813 * soft-fp/lesf2.c: Likewise.
23814 * soft-fp/letf2.c: Likewise.
23815 * soft-fp/muldf3.c: Likewise.
23816 * soft-fp/mulsf3.c: Likewise.
23817 * soft-fp/multf3.c: Likewise.
23818 * soft-fp/negdf2.c: Likewise.
23819 * soft-fp/negsf2.c: Likewise.
23820 * soft-fp/negtf2.c: Likewise.
23821 * soft-fp/op-1.h: Likewise.
23822 * soft-fp/op-2.h: Likewise.
23823 * soft-fp/op-4.h: Likewise.
23824 * soft-fp/op-8.h: Likewise.
23825 * soft-fp/op-common.h: Likewise.
23826 * soft-fp/quad.h: Likewise.
23827 * soft-fp/single.h: Likewise.
23828 * soft-fp/soft-fp.h: Likewise.
23829 * soft-fp/sqrtdf2.c: Likewise.
23830 * soft-fp/sqrtsf2.c: Likewise.
23831 * soft-fp/sqrttf2.c: Likewise.
23832 * soft-fp/subdf3.c: Likewise.
23833 * soft-fp/subsf3.c: Likewise.
23834 * soft-fp/subtf3.c: Likewise.
23835 * soft-fp/truncdfsf2.c: Likewise.
23836 * soft-fp/trunctfdf2.c: Likewise.
23837 * soft-fp/trunctfsf2.c: Likewise.
23838 * soft-fp/trunctfxf2.c: Likewise.
23839 * soft-fp/unorddf2.c: Likewise.
23840 * soft-fp/unordsf2.c: Likewise.
23841 * soft-fp/unordtf2.c: Likewise.
23842
17c48a60
OB
238432013-10-14 Ondřej Bílka <neleai@seznam.cz>
23844
23845 [BZ #15672]
23846 * misc/error.c (error_tail): Fix possible buffer overflow.
23847
cabba934
OB
238482013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23849
23850 [BZ #13028]
23851 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23852 address.
23853
94bf958a
PM
238542013-10-14 P. J. McDermott <pj@pehjota.net>
23855
23856 [BZ #832]
23857 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23858 testing pipefail option.
23859
71b4dea7
JM
238602013-10-12 Joseph Myers <joseph@codesourcery.com>
23861
23862 * soft-fp/double.h: Indent preprocessor directives inside #if.
23863 * soft-fp/extended.h: Likewise.
23864 * soft-fp/op-2.h: Likewise.
23865 * soft-fp/op-4.h: Likewise.
23866 * soft-fp/op-common.h: Likewise.
23867 * soft-fp/quad.h: Likewise.
23868 * soft-fp/single.h: Likewise.
23869 * soft-fp/soft-fp.h: Likewise.
23870
55602758
YC
238712013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23872
23873 * iconv/iconv_prog.c: Fix typos.
23874 * stdio-common/psiginfo-data.h: Likewise.
23875
9cd83302
RT
238762013-10-12 Reuben Thomas <rrt@sc3d.org>
23877
23878 [BZ #15764]
23879 * locale/setlocale.c: Fix typo.
23880
99fd9f47
JM
238812013-10-12 Joseph Myers <joseph@codesourcery.com>
23882
b7ea74f0
JM
23883 [BZ #16036]
23884 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23885 signaling NaN arguments.
23886 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23887 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23888
8a509447
JM
23889 [BZ #14910]
23890 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23891 unordered operands.
23892 * soft-fp/gesf2.c (__gesf2): Likewise.
23893 * soft-fp/getf2.c (__getf2): Likewise.
23894 * soft-fp/ledf2.c (__ledf2): Likewise.
23895 * soft-fp/lesf2.c (__lesf2): Likewise.
23896 * soft-fp/letf2.c (__letf2): Likewise.
23897
98998e9f
JM
23898 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23899 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23900 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23901 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23902 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23903 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23904 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23905 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23906 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23907 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23908 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23909 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23910 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23911 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23912 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23913 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23914 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23915 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23916 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23917 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23918 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23919 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23920 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23921 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23922 * soft-fp/floattidf.c (__floattidf): Likewise.
23923 * soft-fp/floattisf.c (__floattisf): Likewise.
23924 * soft-fp/floattitf.c (__floattitf): Likewise.
23925 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23926 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23927 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23928 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23929 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23930 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23931 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23932 * soft-fp/gesf2.c (__gesf2): Likewise.
23933 * soft-fp/getf2.c (__getf2): Likewise.
23934 * soft-fp/ledf2.c (__ledf2): Likewise.
23935 * soft-fp/lesf2.c (__lesf2): Likewise.
23936 * soft-fp/letf2.c (__letf2): Likewise.
23937
8edc4a11
JM
23938 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23939 Undefine and redefine.
23940 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23941 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23942 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23943 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23944 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23945 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23946 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23947 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23948 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23949 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23950 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23951 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23952 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23953 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23954 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23955
8399acaf
JM
23956 [BZ #16032]
23957 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23958 without decrementing exponent if mantissa >= that for the
23959 denominator, not >.
23960 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23961 denominator, not >. Decrement exponent in < case instead of
23962 incrementing in >= case.
23963 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23964 without decrementing exponent if mantissa >= that for the
23965 denominator, not >.
23966
99fd9f47
JM
23967 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23968 computing saturated result for unsigned overflow.
23969
10e1cf6b
SP
239702013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23971 Jeff Law <law@redhat.com>
23972
23973 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23974 (atan2Mp): Add systemtap probe marker.
23975 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23976 (__ieee754_log): Add systemtap probe marker.
23977 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23978 (atanMp): Add systemtap probe marker.
23979 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23980 (tanMp): Add systemtap probe marker.
23981 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23982 (__slowexp): Add systemtap probe marker.
23983 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23984 (__slowpow): Add systemtap probe marker.
23985 * manual/probes.texi: Document probes.
23986
3d110c7c
EB
239872013-10-11 Eric Biggers <ebiggers3@gmail.com>
23988
23989 [BZ #15362]
23990 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23991 written.
23992 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23993 written.
23994 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23995 written to buffer but not flushed.
23996 * libio/iofwrite_u.c: Likewise.
23997 * libio/iopadn.c: Return bytes returned even if EOF was
23998 encountered.
23999 * libio/iowpadn.c: Likewise.
24000 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24001 if _IO_padn does not write the whole buffer.
24002 [!COMPILE_WPRINTF] (PAD): Likewise.
24003
75b4202a
DM
240042013-10-10 David S. Miller <davem@davemloft.net>
24005
24006 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24007 directory block.
24008
6c6352e6
JM
240092013-10-10 Joseph Myers <joseph@codesourcery.com>
24010
33b853c3
JM
24011 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24012 instead of FSF address.
24013 * soft-fp/fixdfti.c: Likewise.
24014 * soft-fp/fixsfti.c: Likewise.
24015 * soft-fp/fixtfti.c: Likewise.
24016 * soft-fp/fixunsdfti.c: Likewise.
24017 * soft-fp/fixunssfti.c: Likewise.
24018 * soft-fp/fixunstfti.c: Likewise.
24019 * soft-fp/floattidf.c: Likewise.
24020 * soft-fp/floattisf.c: Likewise.
24021 * soft-fp/floattitf.c: Likewise.
24022 * soft-fp/floatuntidf.c: Likewise.
24023 * soft-fp/floatuntisf.c: Likewise.
24024 * soft-fp/floatuntitf.c: Likewise.
24025 * soft-fp/trunctfxf2.c: Likewise.
24026
6c6352e6
JM
24027 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24028 * soft-fp/fixdfti.c: Likewise.
24029 * soft-fp/fixsfti.c: Likewise.
24030 * soft-fp/fixtfti.c: Likewise.
24031 * soft-fp/fixunsdfti.c: Likewise.
24032 * soft-fp/fixunssfti.c: Likewise.
24033 * soft-fp/fixunstfti.c: Likewise.
24034 * soft-fp/floattidf.c: Likewise.
24035 * soft-fp/floattisf.c: Likewise.
24036 * soft-fp/floattitf.c: Likewise.
24037 * soft-fp/floatuntidf.c: Likewise.
24038 * soft-fp/floatuntisf.c: Likewise.
24039 * soft-fp/floatuntitf.c: Likewise.
24040 * soft-fp/trunctfxf2.c: Likewise.
24041
3bf78b71
DM
240422013-10-10 David S. Miller <davem@davemloft.net>
24043
24044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24045
6f10289e
JM
240462013-10-10 Joseph Myers <joseph@codsourcery.com>
24047
bd878fc0
JM
24048 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24049 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24050 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24051 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24052 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24053 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24054 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24055
6f10289e
JM
24056 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24057 for NaNs before doing comparisons on argument.
24058 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24059 Likewise.
24060
321e2684
WN
240612013-10-10 Will Newton <will.newton@linaro.org>
24062
24063 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24064 passed to _int_memalign does not overflow.
24065
40fefba1
TR
240662013-10-10 Torvald Riegel <triegel@redhat.com>
24067
24068 * scripts/bench.pl: Add include-sources directive.
24069 * benchtests/README: Update documentation.
24070
2ae21ed2
JM
240712013-10-10 Joseph Myers <joseph@codesourcery.com>
24072
dcc2dd3f
JM
24073 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24074 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24075 instead of FP_INIT_ROUNDMODE.
24076 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24077 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24078
2ae21ed2
JM
24079 [BZ #16034]
24080 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24081 copy class of input value.
24082 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24083 not handle exceptions.
24084 * soft-fp/negsf2.c (__negsf2): Likewise.
24085 * soft-fp/negtf2.c (__negtf2): Likewise.
24086 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24087
cb8f9562
JM
240882013-10-09 Joseph Myers <joseph@codesourcery.com>
24089
24090 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24091 semicolon. From Linux kernel.
24092
5b60c59d
AB
240932013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24094
24095 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24096
b86835ca
YC
240972013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24098
24099 [BZ #156]
24100 * manual/socket.texi: Added statement about buffer
24101 for gethostbyname2_r.
24102
e7044ea7
OB
241032013-10-08 Ondřej Bílka <neleai@seznam.cz>
24104
24105 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24106 Use .p2align directive instead, throughout.
24107 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24108 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24109 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24112 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24113 * sysdeps/x86_64/strchr.S: Likewise.
24114 * sysdeps/x86_64/strrchr.S: Likewise.
24115
09544cbc
SP
241162013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24117
88576635
SP
24118 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24119
e7b2d1dd
SP
24120 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24121
09544cbc
SP
24122 * sysdeps/generic/math_private.h (__mpsin1): Remove
24123 declaration.
24124 (__mpcos1): Likewise.
24125 (__mpsin): New argument __range_reduce.
24126 (__mpcos): Likewise.
24127 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24128 (slow): Use __mpsin and __mpcos.
24129 (slow1): Likewise.
24130 (slow2): Likewise.
24131 (sloww): Likewise.
24132 (sloww1): Likewise.
24133 (sloww2): Likewise.
24134 (bsloww): Likewise.
24135 (bsloww1): Likewise.
24136 (bsloww2): Likewise.
24137 (cslow2): Likewise.
24138 (csloww): Likewise.
24139 (csloww1): Likewise.
24140 (csloww2): Likewise.
24141 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24142 range_reduce. Merge in __mpsin1.
24143 (__mpcos): Likewise.
24144 (__mpsin1): Remove.
24145 (__mpcos1): Likewise.
24146
7602d070
JM
241472013-10-07 Joseph Myers <joseph@codesourcery.com>
24148
24149 * locale/loadlocale.c (_nl_intern_locale_data): Use
24150 LOCFILE_ALIGNED_P.
24151 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24152 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24153 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24154 obstack data is appropriately aligned.
24155 (obstack_int32_grow_fast): Likewise.
24156 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24157 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24158 (add_locale_uint32_array): Likewise.
24159
a357259b
SP
241602013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24161
24162 * benchtests/Makefile: Remove ARGLIST and RET variables.
24163 ($(objpfx)bench-%.c): Pass only function name to the script.
24164 * benchtests/README: Update documentation.
24165 * benchtests/acos-inputs: Add new directives.
24166 * benchtests/acosh-inputs: Likewise.
24167 * benchtests/asin-inputs: Likewise.
24168 * benchtests/asinh-inputs: Likewise.
24169 * benchtests/atan-inputs: Likewise.
24170 * benchtests/atanh-inputs: Likewise.
24171 * benchtests/cos-inputs: Likewise.
24172 * benchtests/cosh-inputs: Likewise.
24173 * benchtests/exp-inputs: Likewise.
24174 * benchtests/log-inputs: Likewise.
24175 * benchtests/pow-inputs: Likewise.
24176 * benchtests/rint-inputs: Likewise.
24177 * benchtests/sin-inputs: Likewise.
24178 * benchtests/sinh-inputs: Likewise.
24179 * benchtests/tan-inputs: Likewise.
24180 * benchtests/tanh-inputs: Likewise.
24181 * scripts/bench.pl: Add support for new directives.
24182
9ec1b13d
AM
241832013-10-07 Alan Modra <amodra@gmail.com>
24184
24185 * README: Fix careless merge.
24186
8b7d57cd
AM
241872013-10-05 Alan Modra <amodra@gmail.com>
24188
24189 * NEWS: Mention powerpc64le support and bugs fixed.
24190 * README: Both big-endian and little-endian powerpc64 supported.
24191
7b7bab13
ST
241922013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24193
57f41c40
AS
24194 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24195 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
24196 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24197 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24198
d39baad1
RA
241992013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24200
24201 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24202 match prototype.
24203
cd78f7e7
JM
242042013-10-04 Joseph Myers <joseph@codesourcery.com>
24205
29d73d86
JM
24206 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24207 Move -mhard-float appending from
24208 ports/sysdeps/powerpc/powerpc32/Makefile.
24209 [$(with-fp) = yes] (ASFLAGS): Likewise.
24210 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24211 * sysdeps/powerpc/nofpu: Move directory from
24212 ports/sysdeps/powerpc/nofpu.
24213 * sysdeps/powerpc/soft-fp: Move directory from
24214 ports/sysdeps/powerpc/soft-fp.
24215 * sysdeps/powerpc/powerpc32/405: Move directory from
24216 ports/sysdeps/powerpc/powerpc32/405.
24217 * sysdeps/powerpc/powerpc32/440: Move directory from
24218 ports/sysdeps/powerpc/powerpc32/440.
24219 * sysdeps/powerpc/powerpc32/464: Move directory from
24220 ports/sysdeps/powerpc/powerpc32/464.
24221 * sysdeps/powerpc/powerpc32/476: Move directory from
24222 ports/sysdeps/powerpc/powerpc32/476.
24223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24224 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24226 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24228 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24230 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24232 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24233 * README: Update for powerpc-*-linux-gnu software floating point
24234 support in libc.
24235
e246b347
JM
24236 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24237 case to powerpc/powerpc32*.
24238 * sysdeps/unix/sysv/linux/configure: Regenerated.
24239
89c2003e
JM
24240 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24241 (_FPU_MASK_OM): Define as 0x04.
24242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24244 0x00c10080.
24245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24246 0x0000003c.
24247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24248
cd78f7e7
JM
24249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24250 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24251 getcontext_e500.
24252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24253 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24254 setcontext_e500.
24255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24256 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24257 and setcontext_e500.
24258
c755294d
CL
242592013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24260
24261 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24262
e16d221c
SP
242632013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24264
24265 * manual/threads.texi (Default Thread Attributes): Fix typo.
24266
215c7d43
WN
242672013-10-04 Will Newton <will.newton@linaro.org>
24268
24269 * malloc/Makefile: Add tst-memalign.
24270 * malloc/tst-memalign.c: New file.
24271
27d0461b
WN
24272 * malloc/tst-posix_memalign.c: Add comments.
24273 (do_test): Add comments and call free on all potentially
24274 allocated pointers. Add space after cast.
24275
1bc92709
WN
24276 * malloc/tst-pvalloc.c: Add comments.
24277 (do_test): Add comments and call free on all potentially
24278 allocated pointers. Remove duplicate check for NULL pointer.
24279 Add space after cast.
24280
66a9be9d
WN
24281 * malloc/tst-valloc.c: Add comments.
24282 (do_test): Add comments and call free on all potentially
24283 allocated pointers. Remove duplicate check for NULL pointer.
24284 Add space after cast.
24285
4cb81307
AM
242862013-10-04 Alan Modra <amodra@gmail.com>
24287
24288 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24289 Use stdint types in rather than __attribute__((mode())).
24290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24291
f8e3e9f3
AM
242922013-10-04 Alan Modra <amodra@gmail.com>
24293
24294 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24295 Correct handling of unaligned relocs for little-endian.
24296 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24297
8f9ebb08
AM
242982013-10-04 Alan Modra <amodra@gmail.com>
24299
24300 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24301 * configure: Regenerate.
24302 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24303 * shlib-versions: Likewise.
24304
0edf96c2
AM
243052013-10-04 Alan Modra <amodra@gmail.com>
24306
24307 * string/tester.c (test_memrchr): Increment reported test cycle.
24308
e0f7a380
AM
243092013-10-04 Alan Modra <amodra@gmail.com>
24310
24311 * string/test-memcpy.c (do_one_test): When reporting errors, print
24312 string address and don't overrun end of string.
24313
466b0393
AM
243142013-10-04 Alan Modra <amodra@gmail.com>
24315
24316 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24317 insrdi. Make better use of reg selection to speed exit slightly.
24318 Schedule entry path a little better. Remove useless "are we done"
24319 checks on entry to main loop. Handle wrapping around zero address.
24320 Correct main loop count. Handle single left-over word from main
24321 loop inline rather than by using loop_small. Remove extra word
24322 case in loop_small caused by wrong loop count. Add little-endian
24323 support.
24324 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24325 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24326 cache hint.
24327 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24328 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24329 support. Avoid rlwimi.
24330 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24331
3be87c77
AM
243322013-10-04 Alan Modra <amodra@gmail.com>
24333
24334 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 24335 insrdi. Formatting.
3be87c77
AM
24336 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24337 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24338 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24339 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24340 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24341 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24342
759cfef3
AM
243432013-10-04 Alan Modra <amodra@gmail.com>
24344
24345 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24346 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24347 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24348 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24349 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24350 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24351 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24352 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24353 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24354 use of regs. Use power7 mtocrf. Tidy function tails.
24355
fe6e95d7
AM
243562013-10-04 Alan Modra <amodra@gmail.com>
24357
24358 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24359 Formatting. Consistently use rXXX register defines or rN defines.
24360 Use early exit labels that avoid restoring unused non-volatile regs.
24361 Make cr field use more consistent with rWORDn compares. Rename
24362 regs used as shift registers for unaligned loop, using rN defines
24363 for short lifetime/multiple use regs.
24364 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24365 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24366 addi 1,1,64 to pop stack frame. Simplify return value code.
24367 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24368
664318c3
AM
243692013-10-04 Alan Modra <amodra@gmail.com>
24370
24371 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24372 support. Correct typos, formatting. Optimize tail. Use insrdi
24373 rather than rlwimi.
24374 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24375 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24376 little-endian support. Correct typos.
24377 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24378 rather than rlwimi.
24379 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24380 in loop and entry code to keep "and." results.
24381 (strchr): Add little-endian support. Comment. Move cntlzd
24382 earlier in tail.
24383 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24384
43b84013
AM
243852013-10-04 Alan Modra <amodra@gmail.com>
24386
24387 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24388 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24389 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24390 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24391
8a7413f9
AM
243922013-10-04 Alan Modra <amodra@gmail.com>
24393
24394 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24395 (rTMP): Define as r11.
24396 (strcmp): Add little-endian support. Optimise tail.
24397 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24398 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24399 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24400 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24401 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24402 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24403 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24404
33ee81de
AM
244052013-10-04 Alan Modra <amodra@gmail.com>
24406
24407 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24408 little-endian support. Remove unnecessary "are we done" tests.
24409 Handle "s" wrapping around zero and extremely large "size".
24410 Correct main loop count. Handle single left-over word from main
24411 loop inline rather than by using small_loop. Correct comments.
24412 Delete "zero" tail, use "end_max" instead.
24413 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24414
db9b4570
AM
244152013-10-04 Alan Modra <amodra@gmail.com>
24416
24417 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24418 support. Don't branch over align.
24419 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24420 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24421 support. Rearrange tmp reg use to suit. Comment.
24422 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24423
f7c399cf
AM
244242013-10-04 Alan Modra <amodra@gmail.com>
24425
24426 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24427
0b2c2ace
AM
244282013-10-04 Alan Modra <amodra@gmail.com>
24429
24430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24431 conditional form of branch and link when obtaining pc.
24432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24433
02f04a6c
AM
244342013-10-04 Alan Modra <amodra@gmail.com>
24435
24436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24437 HIWORD/LOWORD.
24438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24440
9b874b2f
AM
244412013-10-04 Alan Modra <amodra@gmail.com>
24442
24443 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24444 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24445 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24446 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24447 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24448 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24449 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24450 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24451 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24452 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24453
be1e5d31
AB
244542013-10-04 Anton Blanchard <anton@au1.ibm.com>
24455 Alistair Popple <alistair@ozlabs.au.ibm.com>
24456 Alan Modra <amodra@gmail.com>
24457
24458 [BZ #15723]
24459 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24460 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24461 _dl_hwcap access for little-endian.
24462 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24463 destroy vmx regs when saving unaligned.
24464 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24465 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24466 destroy vmx regs when saving unaligned.
24467
fef13a78
AM
244682013-10-04 Alan Modra <amodra@gmail.com>
24469
24470 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24471 Don't use a union to pack hi/low value.
24472
76a66d51
AB
244732013-10-04 Anton Blanchard <anton@au1.ibm.com>
24474
24475 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24476 for little-endian.
24477 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24478 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24479 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24480 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24481 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24482
6a31fe7f
AM
244832013-10-04 Alan Modra <amodra@gmail.com>
24484
24485 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24486 constants to usual value for .cst8 section, and remove redundant
24487 high address load.
24488 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24489 constant for 0x1p52. Load little-endian words of double from
24490 correct stack offsets.
24491
7b88401f
AM
244922013-10-04 Alan Modra <amodra@gmail.com>
24493
24494 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24495 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24496 words of double from correct stack offsets.
24497 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24498 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24499 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24500 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24501 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24502 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24503 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24504 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24505 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24506 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24507 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24508 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24509 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24510 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24511 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24512 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24513 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24514
9c008155
AM
245152013-10-04 Alan Modra <amodra@gmail.com>
24516
24517 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24518 64-bit int/double union.
24519 (_FPU_SETCW): Likewise.
24520 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24521 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24522
da13146d
AM
245232013-10-04 Alan Modra <amodra@gmail.com>
24524
24525 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24526 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24527
603e8410
AM
245282013-10-04 Alan Modra <amodra@gmail.com>
24529
24530 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24531 use vector int constants.
24532 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24533
4a28b3ca
AB
245342013-10-04 Anton Blanchard <anton@au1.ibm.com>
24535
24536 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24537 array with long long.
24538 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24539 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24540 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24541 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24542 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24543 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24544 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24545 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24546 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24547 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24548 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24549 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24550 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24551
2ca85d2b
AB
245522013-10-04 Anton Blanchard <anton@au1.ibm.com>
24553
24554 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24555 (__signbit): Likewise. Correct for little-endian.
24556 (__signbitl): Call __signbit.
24557 (lrint): Correct for little-endian.
24558 (lrintf): Call lrint.
24559
62a728ae
AM
245602013-10-04 Alan Modra <amodra@gmail.com>
24561
24562 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24563 union 32-bit int array member with 64-bit int array.
24564 (t515, tm256): Double rather than long double.
24565 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24566
32c301df
AM
245672013-10-04 Alan Modra <amodra@gmail.com>
24568
24569 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24570 Delete.
24571 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24572 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24573 version of math_ldbl.h.
24574
650ef4bd
AM
245752013-10-04 Alan Modra <amodra@gmail.com>
24576
24577 [BZ #15734], [BZ #15735]
24578 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24579 all uses of ieee875 long double macros and unions. Simplify test
24580 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24581 ldbl_extract_mantissa value for ix,iy exponents. Properly
24582 normalize after ldbl_extract_mantissa, and don't add hidden bit
24583 already handled. Don't treat low word of ieee854 mantissa like
24584 low word of IBM long double and mask off bit when testing for
24585 zero.
24586 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24587 all uses of ieee875 long double macros and unions. Simplify tests
24588 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24589 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24590 two1022, instead use their values. Recognise that tests for large
24591 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24592 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24593 Rewrite all uses of ieee875 long double macros and unions. Simplify
24594 test for 0.0L and nan. Correct negation.
24595 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24596 ieee875 long double macros and unions. Correct output for large
24597 magnitude x. Correct absolute value calculation.
24598 (__erfcl): Likewise.
24599 * math/libm-test.inc: Add tests for errors discovered in IBM long
24600 double versions of fmodl, remainderl, erfl and erfcl.
24601
765714ca
AM
246022013-10-04 Alan Modra <amodra@gmail.com>
24603
24604 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24605 all uses of ieee854 long double macros and unions. Simplify tests
24606 for long doubles that are fully specified by the high double.
24607 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24608 Likewise.
24609 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24610 Remove dead code too.
24611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24612 (__ieee754_ynl): Likewise.
24613 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24614 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24615 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24616 Remove dead code too.
24617 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24618 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24619 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24620 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24621 Simplify.
24622 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24623 Simplify.
24624 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24625 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24626 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24627 Comment on variable precision.
24628 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24629 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24630 Likewise.
24631 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24632 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24633 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24634 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24635 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24636
4ebd120c
AM
246372013-10-04 Alan Modra <amodra@gmail.com>
24638
24639 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24640 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24641 all uses of ieee854 long double macros and unions.
24642 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24643 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24644 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24645 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24646 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24647 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24648 Likewise.
24649 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24650 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24651 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24652 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24653 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24654 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24655 Simplify sign and nan test too.
24656 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24657 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24658 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24659 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24660 Likewise.
24661 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24662 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24663 Likewise.
24664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24665 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24666 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24667 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24668 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24669 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24670
1b6adf88
AM
246712013-10-04 Alan Modra <amodra@gmail.com>
24672
24673 * stdio-common/printf_size.c (__printf_size): Don't use
24674 union ieee854_long_double in fpnum union.
24675 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24676 signbit macro to retrieve sign from long double.
24677 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24678 retrieve sign from long double.
24679 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24680 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24681 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24682 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24683 * math/test-misc.c (main): Don't use union ieee854_long_double.
24684
4cf69995
AM
246852013-10-04 Alan Modra <amodra@gmail.com>
24686
24687 [BZ #15680]
24688 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24689 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24690 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24691 calculation. Remove unnecessary test for denormal exponent.
24692 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24693 Correct handling of denormals. Avoid undefined shift behaviour.
24694 Correct normalisation of low mantissa when low double is denormal.
24695 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24696 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24697 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24698 Correct normalisation of low mantissa. Test for overflow of high
24699 mantissa and normalise.
24700 (ldbl_nearbyint): Use more readable constant for two52.
24701 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24702 (__mpn_construct_long_double): Fix test for overflow of high
24703 mantissa and correct normalisation. Avoid undefined shift.
24704
9605ca6c
AM
247052013-10-04 Alan Modra <amodra@gmail.com>
24706
24707 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24708 (union ibm_extended_long_double): Define as an array of ieee754_double.
24709 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24710 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24711 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24712 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24713 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24714 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24715 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24716 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24717 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24718 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24719 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24720
975569d0
JM
247212013-10-03 Joseph Myers <joseph@codesourcery.com>
24722
d3d23756
JM
24723 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24724 page size instead of calling getpagesize.
24725
975569d0
JM
24726 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24727 (LOCFILE_ALIGN_MASK): Likewise.
24728 (LOCFILE_ALIGN_UP): Likewise.
24729 (LOCFILE_ALIGNED_P): Likewise.
24730 * locale/programs/ld-collate.c (collate_output): Use the new
24731 macros instead of __alignof__ (int32_t).
24732 * locale/weight.h (findidx): Likewise.
24733
b1fe1f2b
OB
247342013-10-03 Ondřej Bílka <neleai@seznam.cz>
24735
24736 [BZ #431]
24737 * manual/string.texi: Fix strncat and wcsncat.
24738
5f855e35
BM
247392013-10-03 Brooks Moses <bmoses@google.com>
24740
24741 [BZ #15915]
24742 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24743 * Makerules: ...here, and adjust associated comments.
24744
3cef6009
WN
247452013-10-02 Will Newton <will.newton@linaro.org>
24746
24747 * malloc/Makefile: Add tst-pvalloc.
24748 * malloc/tst-pvalloc.c: New file.
24749
7815420b
WN
247502013-10-02 Will Newton <will.newton@linaro.org>
24751
24752 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24753 improve test coverage.
24754
4868b204
WN
247552013-10-02 Will Newton <will.newton@linaro.org>
24756
24757 * malloc/Makefile: Add tst-posix_memalign.
24758 * malloc/tst-posix_memalign.c: New file.
24759
29c793b3
EB
247602013-10-01 Eric Blake <eblake@redhat.com>
24761
24762 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24763 Use __THROWNL rather than __THROW on static functions.
24764
fd967522
PM
247652013-09-30 Petr Machata <pmachata@redhat.com>
24766
24767 * elf/elf.h (R_AARCH64_ABS16): New macro.
24768 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24769 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24770 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24771 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24772 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24773 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24774 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24775 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24776 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24777 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24778 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24779 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24780 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24781 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24782 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24783 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24784 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24785 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24786 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24787 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24788 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24789 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24790 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24791 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24792 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24793 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24794 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24795 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24796 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24797 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24798 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24799 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24800 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24801 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24802 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24803 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24804 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24805 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24806 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24807 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24808 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24809 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24810 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24811 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24812 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24813 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24814 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24815 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24816 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24817 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24818 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24819 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24820 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24821 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24822 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24823 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24824 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24825 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24826 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24827 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24828 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24829 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24830 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24831 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24832 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24833 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24834 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24835 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24836 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24837 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24838 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24839 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24840 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24841 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24842 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24843 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24844 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24845 (R_AARCH64_TLSDESC_LDR): Likewise.
24846 (R_AARCH64_TLSDESC_ADD): Likewise.
24847 (R_AARCH64_TLSDESC_CALL): Likewise.
24848
b2179107
AS
248492013-09-30 Andreas Schwab <schwab@suse.de>
24850
24851 [BZ #15048]
24852 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24853 the nss database lookup.
24854 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24856
47f28d0a
MF
248572013-09-28 Mike Frysinger <vapier@gentoo.org>
24858
24859 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24860
248612013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
24862
24863 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24864 ${Bash-specific parameter/pattern/string} parameter expansion.
24865 * sysdeps/unix/make-syscalls.sh: Likewise.
24866
f4518a17
KK
248672013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24868
24869 * sysdeps/sh/stackguard-macros.h: New file.
24870
dc1a95c7
OB
248712013-09-26 Ondřej Bílka <neleai@seznam.cz>
24872
24873 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24874 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24875 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24876 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24877 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24878 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24879
5ebbff8f
AZ
248802013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24881
24882 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24883 Fix thread ID register.
24884
4fd2cf9f
JM
248852013-09-25 Joseph Myers <joseph@codesourcery.com>
24886
24887 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24888 [POSIX || UNIX98]: Require rather than permitting all symbols from
24889 <time.h>.
24890 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24891 element of struct sched_param.
24892 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24893 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24894 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24895 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24896 constant.
24897
12c22bc4
OL
248982013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24899
24900 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24901 argument calculation.
24902
a03d8ea7
JM
249032013-09-24 Joseph Myers <joseph@codesourcery.com>
24904
24905 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24906 Expect macro.
24907 [POSIX] (pthread_attr_t): Do not require type.
24908 [POSIX] (pthread_cond_t): Likewise.
24909 [POSIX] (pthread_condattr_t): Likewise.
24910 [POSIX] (pthread_key_t): Likewise.
24911 [POSIX] (pthread_mutex_t): Likewise.
24912 [POSIX] (pthread_mutexattr_t): Likewise.
24913 [POSIX] (pthread_once_t): Likewise.
24914 [POSIX] (pthread_t): Likewise.
24915 [POSIX-based standards] (pthread_atfork): Expect function.
24916
6055173a
JM
249172013-09-24 Joseph Myers <joseph@codesourcery.com>
24918 Richard Sandiford <richard@codesourcery.com>
24919
24920 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24921 (swap_endianness_p): New extern variable.
24922 (set_big_endian): New inline function.
24923 (maybe_swap_uint32): Likewise.
24924 (maybe_swap_uint32_array): Likewise.
24925 (maybe_swap_uint32_obstack): Likewise.
24926 * locale/programs/locfile.c: Include <stdbool.h>.
24927 (swap_endianness_p): New variable.
24928 (add_locale_uint32): Call maybe_swap_uint32.
24929 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24930 (write_locale_data): Call maybe_swap_uint32_array.
24931 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24932 maybe_swap_uint32.
24933 (obstack_int32_grow_fast): Likewise.
24934 (output_weightwc): Call maybe_swap_uint32_obstack.
24935 (collate_output): Likewise.
24936 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24937 (OPT_LITTLE_ENDIAN): Likewise.
24938 (options): Add --little-endian and --big-endian options.
24939 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24940 * locale/programs/locarchive.c: Include "locfile.h".
24941 (GET): New macro.
24942 (SET): Likewise.
24943 (INC): Likewise.
24944 (create_archive): Use the new macros to access fields of
24945 structures directly mapped from or written to locale archives.
24946 (oldlocrecentcmp): Likewise.
24947 (enlarge_archive): Likewise.
24948 (insert_name): Likewise.
24949 (add_alias): Likewise.
24950 (add_locale): Likewise.
24951 (delete_locales_from_archive): Likewise.
24952 (show_archive_content): Likewise.
24953 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24954 locale data.
24955
39bf0bb4
RM
249562013-09-24 Roland McGrath <roland@hack.frob.com>
24957
24958 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24959 http://www.gnu.org/doc/freemanuals.texi.
24960 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24961
f02eed10
WN
249622013-09-24 Will Newton <will.newton@linaro.org>
24963
24964 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24965 macro.
24966
a3a6c312
JM
249672013-09-23 Joseph Myers <joseph@codesourcery.com>
24968
24969 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24970 unsigned char.
24971
107375ac
MR
249722013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24973
24974 * manual/threads.texi (POSIX Threads): Fix a typo.
24975
141f3a77
SP
249762013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24977
303e567a
SP
24978 [BZ #14547]
24979 * string/tst-strcoll-overflow.c: New test case.
24980 * string/Makefile (xtests): Add tst-strcoll-overflow.
24981 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24982 cache if string sizes may cause integer overflow.
24983
141f3a77
SP
24984 [BZ #14547]
24985 * string/strcoll_l.c (coll_seq): New members rule, idx,
24986 save_idx and back_us.
24987 (get_next_seq_nocache): New function.
24988 (do_compare_nocache): New function.
24989 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24990 when malloc fails.
24991
c61b4d41
CD
249922013-09-23 Carlos O'Donell <carlos@redhat.com>
24993
0b1f8e35
CD
24994 [BZ #15754]
24995 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24996 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24997 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24998
c61b4d41
CD
24999 [BZ #15754]
25000 * elf/Makefile (tests): Add tst-ptrguard1.
25001 (tests-static): Add tst-ptrguard1-static.
25002 (tst-ptrguard1-ARGS): Define.
25003 (tst-ptrguard1-static-ARGS): Define.
25004 * elf/tst-ptrguard1.c: New file.
25005 * elf/tst-ptrguard1-static.c: New file.
25006 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25007 * sysdeps/i386/stackguard-macros.h: Likewise.
25008 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25009 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25010 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25011 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25012 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25013 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25014
250152013-09-23 Hector Marco <hecmargi@upv.es>
25016 Ismael Ripoll <iripoll@disca.upv.es>
25017 Carlos O'Donell <carlos@redhat.com>
25018
25019 [BZ #15754]
25020 * sysdeps/generic/stackguard-macros.h: Define
25021 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25022 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25023 Define __pointer_chk_guard_local.
25024 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25025 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25026
f5f4e7b4
VV
250272013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25028
25029 [BZ #15859]
25030 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25031
5bb43a43
AS
250322013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25033
25034 * include/string.h (__ffs): Declare as hidden.
25035 * string/ffs.c (__ffs): Define as hidden.
25036 * sysdeps/i386/ffs.c (__ffs): Likewise.
25037 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25038 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25039 * sysdeps/s390/ffs.c (__ffs): Likewise.
25040 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25041
3ea5be54
AO
250422013-09-20 Alexandre Oliva <aoliva@redhat.com>
25043
ffb89e53
AO
25044 * NEWS: Mention malloc probes.
25045
322dea08
AO
25046 * malloc/arena.c (new_heap): New memory_heap_new probe.
25047 (grow_heap): New memory_heap_more probe.
25048 (shrink_heap): New memory_heap_less probe.
25049 (heap_trim): New memory_heap_free probe.
25050 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25051 (systrim): New memory_sbrk_less probe.
25052 * manual/probes.texi: Document them.
25053
655673f3
AO
25054 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25055 * manual/probes.texi: Document it.
25056
35fed6f1
AO
25057 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25058 (__libc_realloc): Add memory_realloc_retry probe.
25059 (__libc_memalign): Add memory_memalign_retry probe.
25060 (__libc_valloc): Add memory_valloc_retry probe.
25061 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25062 (__libc_calloc): Add memory_calloc_retry probe.
25063 * manual/probes.texi: Document them.
25064
6999d38c
AO
25065 * malloc/arena.c (get_free_list): Add probe
25066 memory_arena_reuse_free_list.
25067 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25068 and memory_arena_reuse.
25069 (arena_get2) [!PER_THREAD]: Likewise.
25070 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25071 memory_arena_reuse_realloc.
25072 * manual/probes.texi: Document them.
25073
0653427f
AO
25074 * malloc/malloc.c (__libc_free): Add
25075 memory_mallopt_free_dyn_thresholds probe.
25076 (__libc_mallopt): Add multiple memory_mallopt probes.
25077 * manual/probes.texi: Document them.
25078
3ea5be54
AO
25079 * malloc/malloc.c: Include stap-probe.h.
25080 (__libc_mallopt): Add memory_mallopt probe.
25081 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25082 * manual/probes.texi: New.
25083 * manual/Makefile (chapters): Add probes.
25084 * manual/threads.texi: Set next node.
25085
e35696c3 250862013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 25087
e35696c3
CL
25088 [BZ #15963, #13985]
25089 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25090 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25091 Add `Chinese' to `nan' entry name.
25092
4aafb73c
SP
250932013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25094
25095 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25096 (POLYNOMIAL): Likewise.
25097 (TAYLOR_SINCOS): Likewise.
25098 (TAYLOR_SLOW): Likewise.
25099 (__sin): Use TAYLOR_SINCOS.
25100 (__cos): Likewise.
25101 (slow): Use TAYLOR_SLOW.
25102 (sloww): Likewise.
25103 (bsloww): Likewise.
25104 (csloww): Likewise.
25105
d84f25c7
LD
251062013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25107
25108 * stdlib/strtod_l.c: Fix buffer overrun.
25109
5eea0404
SP
251102013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25111
7849ff93
SP
25112 * benchtests/Makefile (bench): Add sincos.
25113 * benchtests/bench-sincos.c: New file.
25114
cfa3c886
SP
25115 * math/libm-test.inc (cos_test_data): New test inputs.
25116 (sin_test_data): Likewise.
25117
b348e1e3
SP
25118 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25119 macro.
25120 (__sin): Use it.
25121 (__cos): Likewise.
25122 (slow1): Likewise.
25123 (slow2): Likewise.
25124 (sloww1): Likewise.
25125 (sloww2): Likewise.
25126 (bsloww1): Likewise.
25127 (bsloww2): Likewise.
25128 (cslow2): Likewise.
25129 (csloww1): Likewise.
25130 (csloww2): Likewise.
25131
6cce25f8
SP
25132 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25133 function.
25134 (__sin): Use it.
25135 (__cos): Likewise.
25136
5eea0404
SP
25137 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25138 gotos.
25139 (__cos): Likewise.
25140
9c21573c
MR
251412013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25142
25143 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25144 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25145 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25146 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25147 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25148 * elf/cache.c (print_entry): Handle the new cache flags.
25149
24d22e65
JM
251502013-09-18 Joseph Myers <joseph@codesourcery.com>
25151 Aldy Hernandez <aldyh@redhat.com>
25152
25153 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25154 Change condition to [_SOFT_FLOAT].
25155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25157 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25158 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25159 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25160 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25161 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25162 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25167 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25170 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25171 declaration.
25172
d13ef066
JM
251732013-09-18 Joseph Myers <joseph@codesourcery.com>
25174
2e071de0
JM
25175 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25176 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25177 (__longjmp): Use LOAD_GP to load saved GPRs.
25178 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25179 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25180 (__sigsetjmp): Use SAVE_GP to save GPRs.
25181
d13ef066
JM
25182 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25183 Do not append -msoft-float.
25184 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25185
97a0650b
SP
251862013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25187
25188 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25189
11ca09e9
JM
251902013-09-17 Joseph Myers <joseph@codesourcery.com>
25191
25192 [BZ #15966]
25193 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25194 (_FPU_GETCW): Use initial "__" on variable and field names but not
25195 on macro parameter name.
25196 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25197 parentheses around reference to macro parameter.
25198
08ffcf34
RS
251992013-09-13 Richard Sandiford <richard@codesourcery.com>
25200
25201 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25202 prototype.
25203 (ctype_startup): Use uint32_t in cast and sizeof for
25204 ctype->charnames.
25205
ae7080d3
JL
252062013-09-11 Jia Liu <proljc@gmail.com>
25207
25208 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25209 __daddr_t_defined.
25210 [__FreeBSD__]: Likewise.
25211
5905e7b3
OB
252122013-09-11 Ondřej Bílka <neleai@seznam.cz>
25213
25214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25215 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25216 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25217 (strchr): Remove __strchr_sse42 ifunc selection.
25218 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25219 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25220
b987c776
WN
252212013-09-11 Will Newton <will.newton@linaro.org>
25222
25223 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25224 parameter to RES. Remove hardcoded 1000 value.
25225 * benchtests/bench-skeleton.c (main): Pass RES parameter
25226 to TIMING_INIT and multiply result by 1000.
25227
ddf985af
AZ
252282013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25229
25230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25231
ffdd3181
AS
252322013-09-11 Andreas Schwab <schwab@suse.de>
25233
25234 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25235 if not defined.
25236 (O_TMPFILE) [__USE_GNU]: Define.
25237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25238 Define.
25239
b73ed247
WN
252402013-09-11 Will Newton <will.newton@linaro.org>
25241
25242 [BZ #15857]
25243 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25244 does not overflow.
25245
55e17aad
WN
252462013-09-11 Will Newton <will.newton@linaro.org>
25247
25248 [BZ #15856]
25249 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25250 does not overflow.
25251
1159a193
WN
252522013-09-11 Will Newton <will.newton@linaro.org>
25253
25254 [BZ #15855]
25255 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25256 does not overflow.
25257
5905e7b3 252582013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
25259
25260 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25261 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25262 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25263 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25264 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25265
cdfc721b
AM
252662013-09-10 Allan McRae <allan@archlinux.org>
25267
aa04af00
AM
25268 [BZ #15748]
25269 * manual/arith.texi (Parsing of Floats): Clarify
25270 cross-reference.
25271
cdfc721b
AM
25272 [BZ #15849]
25273 * manual/install.texi (Running make install): Mention
25274 --enable-pt-chown.
25275 * INSTALL: Regenerated.
25276
95e7cf29
MR
252772013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25278
25279 * csu/init-first.c (_init): Remove the !SHARED condition around
25280 FPU control word initialization.
25281 * elf/dl-support.c (_dl_fpu_control): New variable.
25282 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25283 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25284 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25285 * math/test-fpucw-static.c: New file.
25286 * math/test-fpucw-ieee.c: New file.
25287 * math/test-fpucw-ieee-static.c: New file.
25288 * math/Makefile (tests): Add `test-fpucw-ieee' and
25289 `$(tests-static)'.
25290 (tests-static): New variable.
25291 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25292 dependency to...
25293 [($(build-shared),yes)]
25294 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25295 ... this.
25296 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25297 New dependency.
25298
83e43bf0
AM
252992013-09-09 Allan McRae <allan@archlinux.org>
25300
a9f5ce09
AM
25301 [BZ #15939]
25302 * manual/string.texi (Collation Functions): Fix typo in
25303 strcoll example.
25304 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25305
34829bc2
AM
25306 [BZ #15893]
25307 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25308
3932737d
AM
25309 [BZ #15892]
25310 * libio/memstream.c (open_memstream): Fix memory leak.
25311 * libio/wmemstream.c (open_wmemstream): Likewise.
25312
83e43bf0
AM
25313 [BZ #15895]
25314 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25315
0c66b8e9
WN
253162013-09-09 Will Newton <will.newton@linaro.org>
25317
25318 * malloc/Makefile: Add tst-realloc to tests.
25319 * malloc/tst-realloc.c: New file.
25320
f6b00fd1
AM
253212013-09-09 Allan McRae <allan@archlinux.org>
25322
25323 [BZ #15844]
25324 * COPYING: Update from GNU website to fix FSF address.
25325 * COPYING.LIB: Likewise.
25326
eec55e16
DM
253272013-09-06 David S. Miller <davem@davemloft.net>
25328
25329 * po/zh_TW.po: Update Chinese (traditional) translation from
25330 translation project.
25331
1ecbb381
RS
253322013-09-06 Richard Sandiford <richard@codesourcery.com>
25333 Joseph Myers <joseph@codesourcery.com>
25334
25335 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25336 "localeinfo.h".
25337 (obstack_chunk_alloc): New macro.
25338 (obstack_chunk_free): Likewise.
25339 (record_offset): New function.
25340 (init_locale_data): Likewise.
25341 (align_locale_data): Likewise.
25342 (add_locale_empty): Likewise.
25343 (add_locale_raw_data): Likewise.
25344 (add_locale_raw_obstack): Likewise.
25345 (add_locale_string): Likewise.
25346 (add_locale_wstring): Likewise.
25347 (add_locale_uint32): Likewise.
25348 (add_locale_uint32_array): Likewise.
25349 (add_locale_char): Likewise.
25350 (start_locale_structure): Likewise.
25351 (end_locale_structure): Likewise.
25352 (start_locale_prelude): Likewise.
25353 (end_locale_prelude): Likewise.
25354 (write_locale_data): Take locale_file structure rather than an
25355 iovec.
25356 * locale/programs/locfile.h: Include "obstack.h".
25357 (struct locale_file): Change to store locale file contents instead
25358 of header.
25359 (init_locale_data): New prototype.
25360 (align_locale_data): Likewise.
25361 (add_locale_empty): Likewise.
25362 (add_locale_raw_data): Likewise.
25363 (add_locale_raw_obstack): Likewise.
25364 (add_locale_string): Likewise.
25365 (add_locale_wstring): Likewise.
25366 (add_locale_uint32): Likewise.
25367 (add_locale_uint32_array): Likewise.
25368 (add_locale_char): Likewise.
25369 (start_locale_structure): Likewise.
25370 (end_locale_structure): Likewise.
25371 (start_locale_prelude): Likewise.
25372 (end_locale_prelude): Likewise.
25373 (write_locale_data): Update prototype.
25374 * locale/programs/3level.h (struct TABLE): Remove result field.
25375 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25376 Use new locale_file interface.
25377 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25378 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25379 * locale/programs/ld-address.c (address_output): Use new
25380 locale_file interface.
25381 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25382 NO_ADD_LOCALE.
25383 (collate_finish): Don't call collseq_table_finalize.
25384 (collate_output): Use new locale_file interface.
25385 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25386 in file.
25387 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25388 (TABLE): Move defines earlier in file.
25389 (ELEMENT): Likewise.
25390 (DEFAULT): Likewise.
25391 (wctrans_table_add): Move macro and inline function earlier in
25392 file.
25393 (struct wctype_table): Move type earlier in file.
25394 (add_locale_wctype_table): New static prototype.
25395 (struct locale_ctype_t): Use logical types instead of struct iovec
25396 pointers for members.
25397 (ctype_output): Use new locale_file interface.
25398 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25399 new locale_file interface.
25400 (allocate_arrays): Update for use of new locale_file interface.
25401 * locale/programs/ld-identification.c (identification_output): Use
25402 new locale_file interface.
25403 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25404 * locale/programs/ld-messages.c (messages_output): Likewise.
25405 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25406 * locale/programs/ld-name.c (name_output): Likewise.
25407 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25408 * locale/programs/ld-paper.c (paper_output): Likewise.
25409 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25410 * locale/programs/ld-time.c (time_output): Likewise.
25411
e029e2e5
AZ
254122013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25413
25414 * benchtests/Makefile: Add memrchr benchmark.
25415 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25416 benchmark as memrchr.
25417 * benchtests/bench-memrchr-ifunc.c: New file.
25418 * benchtests/bench-memrchr.c: New file.
25419
bbf6e8e4
WN
254202013-09-06 Will Newton <will.newton@linaro.org>
25421
25422 * benchtests/Makefile (string-bench): Add memcpy.
25423
6c82a2f8
CD
254242013-09-05 Carlos O'Donell <carlos@redhat.com>
25425 Cong Wang <amwang@redhat.com>
25426
e732c5f0 25427 [BZ #15850]
6c82a2f8
CD
25428 * sysdeps/unix/sysv/linux/bits/in.h
25429 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25430 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25431 before __USE_KERNEL_IPV6_DEFS uses.
25432 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25433 IPPROTO_BEETPH.
25434 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25435 sockaddr_in6, or ipv6_mreq.
25436
5430fc65
AZ
254372013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25438
25439 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25440 memory access for final bytes in some large inputs.
25441 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25442
4660856c
AZ
254432013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25444
25445 * string/test-memrchr.c: New file.
25446 * string/test-memrchr-ifunc.c: New file.
25447 * string/Makefile: Add new memrchr testcase.
25448
bb8ea713
MF
254492013-09-05 Mike Frysinger <vapier@gentoo.org>
25450
25451 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25452 fanotify_init returns EPERM.
25453
b92a20b5
JM
254542013-09-04 Joseph Myers <joseph@codesourcery.com>
25455
25456 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25457 errors.
25458 (top level): Treat second token from macro or constant entries for
25459 allowed headers as allowed.
25460 * include/complex.h: Condition internal declarations on
25461 [!_ISOMAC].
25462 * include/fenv.h: Condition include of <stdbool.h> and internal
25463 declarations on [!_ISOMAC].
7447ccd9
CL
25464
254652013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25466
3e181dda 25467 [BZ #15923]
7447ccd9
CL
25468 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25469
3f2e46a4
JM
254702013-09-04 Joseph Myers <joseph@codesourcery.com>
25471
25472 * configure.in (--enable-versioning): Remove configure option.
25473 (libc_cv_asm_symver_directive): Remove configure test.
25474 (libc_cv_ld_version_script_option): Likewise.
25475 (VERSIONING): Remove variable and AC_SUBST.
25476 (DO_VERSIONING): Remove AC_DEFINE.
25477 * configure: Regenerated.
25478 * config.h.in (DO_VERSIONING): Remove macro.
25479 * Makerules [$(versioning) = yes]: Change conditionals to
25480 [$(build-shared) = yes].
25481 * config.make.in (versioning): Remove variable.
25482 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25483 [$(build-shared) = yes].
25484 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25485 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25486 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25487 [$(build-shared) = yes].
25488 * extra-lib.mk [$(versioning) = yes]: Likewise.
25489 * hurd/Makefile [$(versioning) = yes]: Likewise.
25490 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25491 [SHARED].
25492 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25493 [SHARED].
25494 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25495 [SHARED && !NO_HIDDEN].
25496 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25497 [SHARED].
25498 [SHARED && DO_VERSIONING]: Likewise..
25499 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25500 [$(build-shared) = yes].
25501 * manual/install.texi (--disable-versioning): Remove
25502 documentation.
25503 * INSTALL: Regenerated.
25504 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25505 to [SHARED].
25506 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25507 [$(build-shared) = yes].
25508 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25509 * sysdeps/i386/i686/multiarch/strstr-c.c
25510 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25511 [SHARED && !NO_HIDDEN].
25512 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25513 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25514 * sysdeps/powerpc/powerpc32/dl-machine.c
25515 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25516 * sysdeps/powerpc/powerpc32/sysdep.h
25517 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25518 to [SHARED && PIC && !NO_HIDDEN].
25519 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25520 conditional to [SHARED].
25521
44558701
WN
255222013-09-04 Will Newton <will.newton@linaro.org>
25523
25524 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25525 * benchtests/bench-string.h: Include bench-timing.h instead
25526 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25527 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25528 call to HP_TIMING_DIFF_INIT.
25529 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25530 instead of hp-timing.h macros.
25531 * benchtests/bench-memchr.c: Likewise.
25532 * benchtests/bench-memcmp.c: Likewise.
25533 * benchtests/bench-memcpy.c: Likewise.
25534 * benchtests/bench-memmem.c: Likewise.
25535 * benchtests/bench-memmove.c: Likewise.
25536 * benchtests/bench-memset.c: Likewise.
25537 * benchtests/bench-rawmemchr.c: Likewise.
25538 * benchtests/bench-strcasecmp.c: Likewise.
25539 * benchtests/bench-strcasestr.c: Likewise.
25540 * benchtests/bench-strcat.c: Likewise.
25541 * benchtests/bench-strchr.c: Likewise.
25542 * benchtests/bench-strcmp.c: Likewise.
25543 * benchtests/bench-strcpy.c: Likewise.
25544 * benchtests/bench-strcpy_chk.c: Likewise.
25545 * benchtests/bench-strlen.c: Likewise.
25546 * benchtests/bench-strncasecmp.c: Likewise.
25547 * benchtests/bench-strncat.c: Likewise.
25548 * benchtests/bench-strncmp.c: Likewise.
25549 * benchtests/bench-strncpy.c: Likewise.
25550 * benchtests/bench-strnlen.c: Likewise.
25551 * benchtests/bench-strpbrk.c: Likewise.
25552 * benchtests/bench-strrchr.c: Likewise.
25553 * benchtests/bench-strspn.c: Likewise.
25554 * benchtests/bench-strstr.c: Likewise.
25555
cae16d66
WN
255562013-09-04 Will Newton <will.newton@linaro.org>
25557
25558 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25559
ffa3cd7f
JM
255602013-09-03 Joseph Myers <joseph@codesourcery.com>
25561
25562 [BZ #15427]
25563 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25564 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25565 * math/libm-test.inc (lgamma_test_data): Add more tests.
25566 * sysdeps/i386/fpu/libm-test-ulps: Update.
25567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25568
8f02859f
OB
255692013-09-03 Ondřej Bílka <neleai@seznam.cz>
25570
25571 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25572 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25573 Add ifunc.
25574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25575 Add strcmp-sse2-unaligned
25576 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25577
18d43716
MF
255782013-09-02 Mike Frysinger <vapier@gentoo.org>
25579
25580 * Versions.def (libc): Add GLIBC_2.19.
25581
ac444012
MF
255822013-09-02 Mike Frysinger <vapier@gentoo.org>
25583
25584 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25585 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25586
b7835e32
JM
255872013-09-02 Joseph Myers <joseph@codesourcery.com>
25588
25589 [BZ #14155]
25590 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25591 intermediate calculations in recurrence.
25592 (__ieee754_ynf): Likewise.
25593 * math/libm-test.inc (jn_test_data): Do not allow spurious
25594 underflow exception. Add more tests.
25595 (yn_test_data): Add more tests.
25596 * sysdeps/i386/fpu/libm-test-ulps: Update.
25597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25598
8220f4f0
OB
255992013-09-02 Ondřej Bílka <neleai@seznam.cz>
25600
25601 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25602
f24a6d08
OB
256032013-08-30 Ondřej Bílka <neleai@seznam.cz>
25604
25605 * csu/init-first.c: Fix then/than typos.
25606 * locale/programs/ld-collate.c: Likewise.
25607 * locale/programs/linereader.h: Likewise.
25608 * manual/charset.texi: Likewise.
25609 * manual/filesys.texi: Likewise.
25610 * manual/stdio.texi: Likewise.
25611 * manual/string.texi: Likewise.
25612 * stdlib/fmtmsg.c: Likewise.
25613 * sysdeps/i386/stpncpy.S: Likewise.
25614 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25615 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25616 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25617 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25618
382466e0
OB
256192013-08-30 Ondřej Bílka <neleai@seznam.cz>
25620
25621 * elf/dl-open.c: Fix typos.
25622 * iconvdata/gbbig5.c: Likewise.
25623 * iconvdata/iso-2022-jp.c: Likewise.
25624 * iconv/gconv_int.h: Likewise.
25625 * iconv/loop.c: Likewise.
25626 * nis/rpcsvc/nis.h: Likewise.
25627 * resolv/ns_name.c: Likewise.
25628 * stdio-common/vfscanf.c: Likewise.
25629 * streams/stropts.h: Likewise.
25630 * sunrpc/rpc_thread.c: Likewise.
25631 * sysdeps/i386/strpbrk.S: Likewise.
25632 * sysdeps/ieee754/k_standard.c: Likewise.
25633 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25634 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25635 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25636 * sysdeps/mach/hurd/profil.c: Likewise.
25637 * sysdeps/s390/dl-procinfo.h: Likewise.
25638 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25639 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25640 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25641 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25642 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25643
0186c6e9
OB
256442013-08-30 Ondřej Bílka <neleai@seznam.cz>
25645
25646 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25648
d4e16af1
OB
256492013-08-29 Ondřej Bílka <neleai@seznam.cz>
25650
25651 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25652 aix specific files.
25653 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25654 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25655 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25656 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25657 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25658 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25659 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25660 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25661
88335980
TS
256622013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25663 Roland McGrath <roland@hack.frob.com>
25664
25665 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25666 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25667
ed479b02
ST
256682013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25669
25670 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25671 __executable_start symbol instead of _start.
25672
f1cc4c86
TS
256732013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25674
d821f07c
TS
25675 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25676 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25677 Move macros to...
25678 * sysdeps/gnu/ldsodefs.h: ... this new file.
25679
c54290cf
TS
25680 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25681 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25682 instead of ELFOSABI_LINUX.
25683
0007fc9b 25684 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
25685 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25686 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25687 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25688 Likewise.
25689 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25690 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25691 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25692 Likewise.
25693 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25694 (ibm_extended_long_double): Add ieee_nan member.
25695 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25696 (do_test): New function.
25697
f1cc4c86
TS
25698 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25699 TEST_TRUNC.
25700 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25701 functions, renamed from truncdfsf_test, trunctfsf_test,
25702 trunctfdf_test.
25703 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25704 functions.
25705 (do_test): Run all these.
25706
6f65e668
OB
257072013-08-29 Ondřej Bílka <neleai@seznam.cz>
25708
25709 * argp/argp-help.c: Fix typos.
25710 * argp/argp-parse.c: Likewise.
25711 * debug/backtracesyms.c: Likewise.
25712 * elf/elf.h: Likewise.
25713 * malloc/malloc.c: Likewise.
25714 * nis/nis_print.c: Likewise.
25715 * resolv/res_comp.c: Likewise.
25716 * stdlib/stdlib.h: Likewise.
25717 * sunrpc/clnt_tcp.c: Likewise.
25718 * sunrpc/clnt_udp.c: Likewise.
25719 * sunrpc/clnt_unix.c: Likewise.
25720 * sysdeps/unix/bsd/ptsname.c: Likewise.
25721 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25722 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
25723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25724 Likewise.
25725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25726 Likewise.
25727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25728 Likewise.
6f65e668
OB
25729 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25730
3a309239
SP
257312013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25732
25733 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25735
3b813b29
MF
257362013-08-27 Mike Frysinger <vapier@gentoo.org>
25737
25738 [BZ #15897]
25739 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25740 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25741 ($(objpfx)bug-dl-leaf): New rule.
25742 ($(objpfx)bug-dl-leaf.so): Likewise.
25743 ($(objpfx)bug-dl-leaf.out): Likewise.
25744 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25745 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25746 * dlfcn/bug-dl-leaf.c: New test.
25747 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25748 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25749 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25750 (dlclose): Likewise.
25751 (dlmopen): Likewise.
25752
8cc3269f
RM
257532013-08-27 Roland McGrath <roland@hack.frob.com>
25754
7f9d0034
RM
25755 * include/netdb.h [!_ISOMAC]:
25756 Don't include <tls.h>.
25757 (h_errno, __libc_h_errno): Move declaration and macros out of
25758 [_LIBC_REENTRANT].
25759
fb431262
RM
25760 * include/resolv.h [_RESOLV_H_]:
25761 Don't include <tls.h>.
25762 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25763 * resolv/res_libc.c: Don't include <tls.h>.
25764 (_res): Use __attribute__ ((nocommon)) in place of
25765 __attribute__ ((section (".bss"))).
25766
bd81123a
RM
25767 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25768 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25769
c4e42566
RM
25770 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25771
f890a59b
RM
25772 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25773 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25774
25775 * resolv/res_mkquery.c: Include <sys/time.h>.
25776
5d1f0a09
RM
25777 * inet/ifreq.c: Moved to ...
25778 * sysdeps/unix/ifreq.c: ... here.
25779 * inet/ifreq.c: New file, true stub version.
25780
6fcf28b3
RM
25781 * socket/sa_len.c: New file.
25782 * socket/Makefile (aux): Add it.
25783 * sysdeps/unix/sysv/linux/Makefile
25784 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25785 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25786 and #include <socket/sa_len.c>.
25787 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25788 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25789
e041fb8b
RM
25790 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25791 * bits/socket.h: ... here.
25792
8cc3269f
RM
25793 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25794 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25795 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25796
5d228a43
AS
257972013-08-27 Andreas Schwab <schwab@suse.de>
25798
45b8accc
AS
25799 [BZ #15736]
25800 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25801 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25802 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25803 * string/test-strcasecmp.c (test_main): Run tests in several
25804 locales.
25805 * string/test-strncasecmp.c (test_main): Likewise.
25806
5d228a43
AS
25807 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25808 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25809 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25811 (__strncasecmp_ssse3) [PIC]: Likewise.
25812
59d112a4
RM
258132013-08-26 Roland McGrath <roland@hack.frob.com>
25814
53234cc3
RM
25815 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25816
59d112a4
RM
25817 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25818 instead of explicitly declaring xdecrypt.
25819 * nis/nss_nis/nis-publickey.c: Likewise.
25820
595aba70
SP
258212013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25822
25823 [BZ #15890]
25824 * nscd/aicache.c: Include res_hconf.h.
25825 (addhstaiX): Initialize res_hconf.
25826
ffabd393
AS
258272013-08-26 Andreas Schwab <schwab@suse.de>
25828
25829 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25830 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25831
e0a69f5c
SP
258322013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25833
25834 * nscd/aicache.c (addhstaiX): Fix indentation.
25835
8c12f01d
MF
258362013-08-25 Mike Frysinger <vapier@gentoo.org>
25837
25838 * configure.ac: Quote $build_pt_chown test.
25839 * configure: Regenerated.
25840
8fe89494
JM
258412013-08-23 Joseph Myers <joseph@codesourcery.com>
25842
25843 [BZ #15532]
25844 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25845 * math/s_cexpf.c (__cexpf): Likewise.
25846 * math/s_cexpl.c (__cexpl): Likewise.
25847 * math/libm-test.inc (cexp_test_data): Correct expected return
25848 value for NaN + i0. Add another test.
25849
75b181d6
DM
258502013-08-22 David S. Miller <davem@davemloft.net>
25851
25852 * po/ca.po: Update Catalan translation from translation project.
936241e4 25853 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 25854
acd06bb1
JM
258552013-08-21 Joseph Myers <joseph@codesourcery.com>
25856
25857 [BZ #15797]
25858 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25859 is infinite, not alongside NaN test.
25860 * math/s_fdimf.c (__fdimf): Likewise.
25861 * math/s_fdiml.c (__fdiml): Likewise.
25862 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25863 errno is unchanged.
25864
c0c3f78a
OB
258652013-08-21 Ondřej Bílka <neleai@seznam.cz>
25866
25867 * argp/argp-help.c: Fix typos.
25868 * crypt/speeds.c: Likewise.
25869 * csu/check_fds.c: Likewise.
25870 * elf/dl-load.c: Likewise.
25871 * elf/dl-open.c: Likewise.
25872 * elf/reldep3.c: Likewise.
25873 * elf/reldep.c: Likewise.
25874 * elf/sprof.c: Likewise.
25875 * iconv/iconv_charmap.c: Likewise.
25876 * iconv/skeleton.c: Likewise.
25877 * iconv/strtab.c: Likewise.
25878 * io/lockf64.c: Likewise.
25879 * libio/libioP.h: Likewise.
25880 * resolv/gai_notify.c: Likewise.
25881 * resolv/ns_name.c: Likewise.
25882 * resolv/ns_samedomain.c: Likewise.
25883 * resolv/res_send.c: Likewise.
25884 * stdlib/random.c: Likewise.
25885 * sunrpc/rpc/xdr.h: Likewise.
25886 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25887 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25888 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25889 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25890 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25891 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25892 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25893 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25894 * sysdeps/mach/hurd/check_fds.c: Likewise.
25895 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25896 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25897 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25898 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25899 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25900 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25901 * sysdeps/pthread/aio_notify.c: Likewise.
25902 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25903 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25904 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25905 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25906 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25907
46ed1038
LD
259082013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25909
25910 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25911 version if bit_Slow_SSE4_2 is set.
25912 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25913 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25914
d400dcac
AZ
259152013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25916
25917 [BZ #15867]
25918 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25919 trampoline stack frame information.
25920 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25921 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25922 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25923 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25924 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25925 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25926 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25927 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25928 sa_flags value.
25929 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25930 interrupting a syscall and set with option SA_SIGINFO.
25931
42c8fdd8
JM
259322013-08-20 Joseph Myers <joseph@codesourcery.com>
25933
c980f2f4
JM
25934 [BZ #15531]
25935 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25936 argument is infinite.
25937 * math/s_cprojf.c (__cprojf): Likewise.
25938 * math/s_cprojl.c (__cprojl): Likewise.
25939 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25940 * math/libm-test.inc (cproj_test_data): Add more tests.
25941
0716c4fc
JM
25942 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25943
42c8fdd8
JM
25944 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25945 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25946 size. Use __ffs to determine corresponding shift.
25947
b31469d0
JM
259482013-08-20 Joseph Myers <joseph@codesourcery.com>
25949 Roland McGrath <roland@hack.frob.com>
25950
25951 * Makefile (INSTALL): Remove trailing blank lines from output of
25952 makeinfo.
25953
4e39af6e
AK
259542013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25955
25956 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25957 Align 32 bit compat elf_greg to 8 bytes.
25958
f315524e
AA
259592013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25960
25961 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25962
1326ba1a
SP
259632013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25964
25965 * string/strcoll_l.c (coll_seq): New structure.
25966 (get_next_seq_cached): New function.
25967 (get_next_seq): New function.
25968 (do_compare): New function.
25969 (STRCOLL): Use GNU style definition. Simplify implementation
25970 by using get_next_seq, get_next_seq_cached and do_compare.
25971
91ce4085
FW
259722013-08-16 Florian Weimer <fweimer@redhat.com>
25973
25974 [BZ #14699]
25975 CVE-2013-4237
25976 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25977 member.
25978 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25979 member.
25980 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25981 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25982 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25983 conditional.
25984 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25985 GETDENTS_64BIT_ALIGNED.
25986 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25987 * manual/filesys.texi (Reading/Closing Directory): Document
25988 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25989 strongly.
25990 * manual/conf.texi (Limits for Files): Add portability note to
25991 NAME_MAX, PATH_MAX.
25992 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25993
ca0a6bc4
AS
259942013-08-13 Andreas Schwab <schwab@suse.de>
25995
25996 [BZ #15749]
25997 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25998 of fabs.
25999 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26000 LDBL_MAX_EXP >= 16384]: Add tests for it.
26001
6c1fd795
DM
260022013-08-12 David S. Miller <davem@davemloft.net>
26003
26004 * version.h (RELEASE): Set to "development".
26005 (VERSION): Set to "2.18.90".
26006 * NEWS: Add 2.19 section.
26007
31ad488d
DM
260082013-08-03 David S. Miller <davem@davemloft.net>
26009
26010 * po/ko.po: Update Korean translation from translation project.
26011
db24e684
DM
260122013-08-01 David S. Miller <davem@davemloft.net>
26013
26014 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26015 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26016 Bilka.
26017
f723285b
DM
260182013-07-30 David S. Miller <davem@davemloft.net>
26019
26020 * po/fr.po: Update French translation from translation project.
26021
3cbc52db
DM
260222013-07-28 David S. Miller <davem@davemloft.net>
26023
30bbc0cc
DM
26024 * po/cs.po: Update Czech translation from translation project.
26025
3cbc52db
DM
26026 * po/sv.po: Update Swedish translation from translation project.
26027
d492e6d0
DM
260282013-07-27 David S. Miller <davem@davemloft.net>
26029
f1a7f492
DM
26030 * po/eo.po: Update Esperanto translation from translation project.
26031
90e62a4a
DM
26032 * po/vi.po: Update Vietnamese translation from translation project.
26033
d492e6d0
DM
26034 * po/de.po: Update German translation from translation project.
26035
d4baa62d
DM
260362013-07-26 David S. Miller <davem@davemloft.net>
26037
641aa7b4
DM
26038 * po/bg.po: Update Bulgarian translation from translation project.
26039
d4baa62d
DM
26040 * po/nl.po: Update Dutch translation from translation project.
26041 * po/pl.po: Update Polish translation from translation project.
26042 * po/ru.po: Update Russian translation from translation project.
26043
61a9dcb9
DM
260442013-07-24 David S. Miller <davem@davemloft.net>
26045
26046 * po/libc.pot: Update.
26047
7b1f8b58
AZ
260482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26049
26050 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26051 variable page size.
26052 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26053 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26054 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26055
a8fc7a03
AK
260562013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26057
26058 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26059
e4608715
CD
260602013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26061 Andreas Schwab <schwab@suse.de>
26062 Roland McGrath <roland@hack.frob.com>
26063 Joseph Myers <joseph@codesourcery.com>
26064 Carlos O'Donell <carlos@redhat.com>
26065
26066 [BZ #15755]
26067 * config.h.in: Define HAVE_PT_CHOWN.
26068 * config.make.in (build-pt-chown): New variable.
26069 * configure.in (--enable-pt_chown): New configure option.
26070 * configure: Regenerate.
26071 * login/Makefile: Include Makeconfig. Build pt_chown only if
26072 build-pt-chown is enabled.
26073 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26074 pt_chown to fix pty ownership.
26075 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26076 CLOSE_ALL_FDS.
26077 * manual/install.texi (Configuring and compiling): Mention
26078 --enable-pt_chown. Add @findex for grantpt.
26079 * INSTALL: Regenerate.
26080
da2d62df
DM
260812013-07-20 David S. Miller <davem@davemloft.net>
26082
26083 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26084 difference between 32-bit and 64-bit.
26085
d7e06450
CD
260862013-07-15 Carlos O'Donell <carlos@redhat.com>
26087
26088 [BZ #15711]
26089 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26090 Avoid system header dependency with -ffreestanding.
26091 ($(objpfx)bits/syscall%d): Likewise.
26092
f959cfd7
DM
260932013-07-13 David S. Miller <davem@davemloft.net>
26094
26095 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26096 underflows from atanl/atan2l due to bug 15319.
26097 (casinh_test_data): Likewise.
26098
c61f8513
DM
260992013-07-07 David S. Miller <davem@davemloft.net>
26100
26101 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26102
72c90ed0
JA
261032013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26104
26105 * sysdeps/i386/fpu/libm-test-ulps: Update.
26106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26107
52dfbe13
SP
261082013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26109
26110 * configure.in (--enable-lock-elision): Fix message text.
26111 * INSTALL: Regenerate.
26112 * configure: Regenerate.
26113
3f169543
AZ
261142013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26115
26116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26117
521c6785
AJ
261182013-07-03 Andreas Jaeger <aj@suse.de>
26119
26120 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26121 define.
26122 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26123 (ptrace_peeksiginfo_args): Add.
26124 (__ptrace_peeksiginfo_flags): Add.
26125 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26126 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26127 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26128
d2cc15cb
AM
261292013-07-03 Allan McRae <allan@archlinux.org>
26130
26131 * sysdeps/i386/fpu/libm-test-ulps: Update.
26132
3aaeeca7
DM
261332013-07-02 David S. Miller <davem@davemloft.net>
26134
26135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26136
5314ed1a
MT
261372013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26138
26139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26140
67338156
JM
261412013-07-02 Joseph Myers <joseph@codesourcery.com>
26142
26143 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26145
1717da59
AK
261462013-07-02 Andi Kleen <ak@linux.intel.com>
26147
26148 * config.h.in (ENABLE_LOCK_ELISION): Add.
26149 * configure.in (--enable-lock-elision): Add option.
26150 * manual/install.texi: Document --enable lock elision.
26151 * configure: Regenerate
26152 * INSTALL: Regenerate.
26153
1c81621c
L
261542013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26155
26156 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26157 SSE4.2 strcasecmp for libc.a.
26158 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26159
77f01ab5
JM
261602013-07-02 Joseph Myers <joseph@codesourcery.com>
26161
26162 [BZ #13304]
26163 * soft-fp/op-common.h (_FP_FMA): New macro.
26164 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26165 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26166 (_FP_MUL_MEAT_1_imm): ... here.
26167 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26168 (_FP_MUL_MEAT_1_wide): ... here.
26169 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26170 (_FP_MUL_MEAT_1_hard): ... here.
26171 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26172 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26173 (_FP_MUL_MEAT_2_wide): ... here.
26174 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26175 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26176 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26177 (_FP_MUL_MEAT_2_gmp): ... here.
26178 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26179 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26180 (_FP_MUL_MEAT_4_wide): ... here.
26181 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26182 (_FP_MUL_MEAT_4_gmp): ... here.
26183 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26184 (_FP_WFRACBITS_DW_S): Likewise.
26185 (_FP_WFRACXBITS_DW_S): Likewise.
26186 (_FP_HIGHBIT_DW_S): Likewise.
26187 (FP_FMA_S): Likewise.
26188 (_FP_FRAC_HIGH_DW_S): Likewise.
26189 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26190 (_FP_WFRACBITS_DW_D): Likewise.
26191 (_FP_WFRACXBITS_DW_D): Likewise.
26192 (_FP_HIGHBIT_DW_D): Likewise.
26193 (FP_FMA_D): Likewise.
26194 (_FP_FRAC_HIGH_DW_D): Likewise.
26195 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26196 (_FP_WFRACBITS_DW_E): Likewise.
26197 (_FP_WFRACXBITS_DW_E): Likewise.
26198 (_FP_HIGHBIT_DW_E): Likewise.
26199 (FP_FMA_E): Likewise.
26200 (_FP_FRAC_HIGH_DW_E): Likewise.
26201 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26202 (_FP_WFRACBITS_DW_Q): Likewise.
26203 (_FP_WFRACXBITS_DW_Q): Likewise.
26204 (_FP_HIGHBIT_DW_Q): Likewise.
26205 (FP_FMA_Q): Likewise.
26206 (_FP_FRAC_HIGH_DW_Q): Likewise.
26207 * soft-fp/fmasf4.c: New file.
26208 * soft-fp/fmadf4.c: Likewise.
26209 * soft-fp/fmatf4.c: Likewise.
26210
6308fd9a
LD
262112013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26212
26213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26214 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26215 Silvermont.
26216 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26217 macro.
26218 (index_Slow_SSE4_2): Likewise.
26219 (index_Prefer_PMINUB_for_stringop): Likewise.
26220 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26221 bit_Slow_SSE4_2 is set.
26222 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26223 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26224
89cd9569
RA
262252013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26226
26227 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26228 rtld_global._dl_hwcap2.
26229 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26230 POWER8.
26231 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26232 POWER8 feature descriptions defined in _dl_hwcap2.
26233 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26234 string handling for POWER8 feature bits.
26235 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26236 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26237 _dl_powerpc_cap_flags.
26238 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26239 * sysdeps/powerpc/rtld-global-offsets.sym
26240 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26241 _dl_hwcap2 in the rtld_global_ro structure.
26242
1ae8bfe0
RA
262432013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26244
26245 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26246 hardware capabilities in support of AT_HWCAP2.
26247 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26248 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26249 GLRO(dl_hwcap2).
26250 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26251 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26252 explicitly the unknown a_type display mechanism is used.
26253 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26254 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26255 struct member.
26256 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26257 to macro prototype for AT_HWCAP2 support.
26258 * sysdeps/i386/dl-procinfo.h: Likewise.
26259 * sysdeps/s390/dl-procinfo.h: Likewise.
26260 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26261 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26262 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26263 return -1 for unknown a_type display fallback.
26264 * sysdeps/sparc/dl-procinfo.h: Likewise.
26265 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26266 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26267
8fbec010
JM
262682013-06-28 Joseph Myers <joseph@codesourcery.com>
26269
26270 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26271 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26272
0432680e
PY
262732013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26274
26275 [BZ #12492]
26276 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26277 mprotect making __stack_prot writable.
26278
ce61a2ad
NF
262792013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26280 Joseph Myers <joseph@codesourcery.com>
26281
26282 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26283 as being properly aligned.
26284
f91f1c0f
MR
262852013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26286
3d0f5d0c
MR
26287 * dlfcn/modstatic5.c: New file.
26288 * dlfcn/tststatic5.c: New file.
26289 * dlfcn/Makefile (tests): Add tststatic5.
26290 (tests-static): Likewise.
26291 (modules-names): Add modstatic5.
26292 (tststatic5-ENV): New variable.
26293 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26294
f91f1c0f
MR
26295 [BZ #15022]
26296 * elf/dl-support.c (_dl_main_map): New variable.
26297 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26298 (_dl_nns, _dl_load_adds): Set to 1.
26299 (_dl_initial_searchlist): Refer to _dl_main_map.
26300 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26301 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26302 call to _dl_get_origin.
26303 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26304 around call_map.
26305 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26306 * dlfcn/modstatic3.c: New file.
26307 * dlfcn/tststatic3.c: New file.
26308 * dlfcn/tststatic4.c: New file.
26309 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26310 (tests-static): Likewise.
26311 (modules-names): Add modstatic3.
26312 (tststatic3-ENV, tststatic4-ENV): New variables.
26313 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26314 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26315
cbe7d24b
JM
263162013-06-26 Joseph Myers <joseph@codesourcery.com>
26317
26318 * configure.in (CC): Require GCC version 4.4 or later.
26319 * configure: Regenerated.
26320 * manual/install.texi (Tools for Compilation): Update GCC version
26321 requirement.
26322 * INSTALL: Regenerated.
26323
11b8a0e1
LD
263242013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26325
26326 [BZ #15674]
bb5bb87c
L
26327 * string/test-memcmp.c (check2): New.
26328 (main): Call check2.
26329
11b8a0e1
LD
26330 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26331
b0037103
MR
263322013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26333
26334 [BZ #15022]
26335 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26336 over to...
26337 (dl_open_worker) [!SHARED]: ... here.
26338
c18c701d
RA
263392013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26340
26341 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26342
1d17fa5f
RH
263432013-06-25 Richard Henderson <rth@redhat.com>
26344
26345 * locale/programs/locarchive.c: Include <libc-internal.h>
26346
8fcb833a
JM
263472013-06-25 Joseph Myers <joseph@codesourcery.com>
26348
26349 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26350 trailing whitespace removed.
26351
17db6e8d
MF
263522013-06-24 Mike Frysinger <vapier@gentoo.org>
26353
26354 [BZ #10283]
17db6e8d
MF
26355 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26356 * locale/programs/locarchive.c: Include libc-mmap.h.
26357 (prepare_address_space): Take two new outputs (the mmap base and len).
26358 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26359 values.
26360 (create_archive): Declare new mmap base and len values for
26361 prepare_address_space, and store the result in ah.
26362 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26363 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26364 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26365 Declare new mmap base and len values for
26366 prepare_address_space, and store the result in new_ah.
26367 (open_archive): Declare new mmap base and len values for
26368 prepare_address_space, and store the result in ah.
26369 (close_archive): If ah->mmap_base is not NULL, use that and
26370 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26371 * sysdeps/generic/libc-mmap.h: New file.
26372
d605071e
MF
263732013-06-24 Mike Frysinger <vapier@gentoo.org>
26374
26375 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26376 (ALIGN_UP): Likewise.
26377 (PTR_ALIGN_DOWN): Likewise.
26378 (PTR_ALIGN_UP): Likewise.
26379
2f063a6e
RA
263802013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26381
26382 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26383 entry mapped to PPC_PLATFORM_POWER8.
26384 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26385 POWER8.
26386 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26387 (_dl_string_platform): Add case for exporting platform position for
26388 POWER8.
26389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26390 search path to sysdeps/powerpc/powerpc32/power8 directory.
26391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26392 search path to sysdeps/powerpc/powerpc64/power8 directory.
26393 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26394 power7 directories.
26395 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26396 power7 directories.
26397
a31ee4b3
SP
263982013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26399
a74ca98f
SP
26400 * INSTALL: Regenerate.
26401
a31ee4b3
SP
26402 * nscd/connections.c (nscd_init): Fix comment.
26403
695c378f
JM
264042013-06-22 Joseph Myers <joseph@codesourcery.com>
26405
d8412221
JM
26406 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26407
695c378f
JM
26408 [BZ #15667]
26409 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26410 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26411
d1d54715
MR
264122013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26413
26414 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26415 DL_DST_REQ_STATIC.
26416 (DL_DST_REQ_STATIC): Remove macro.
26417
8fdda7af
JM
264182013-06-21 Joseph Myers <joseph@codesourcery.com>
26419
26420 [BZ #7006]
26421 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26422 with a shift of 0 bits.
26423
f3bc5e5a
MR
264242013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26425
26426 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26427 $(tststatic-ENV).
26428
be09e8c9
KK
264292013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26430
26431 [BZ #15655]
26432 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26433
85c2e611
AZ
264342013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26435
26436 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26437 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26438 accepts -fno-tree-loop-distribute-patterns.
26439 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26440 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26441 recursive call.
26442 * string/memset.c (memset): Likewise.
26443 * string/test-memmove.c (simple_memmove): Disable loop transformation
26444 to library calls.
26445 * string/test-memset.c (simple_memset): Likewise.
26446 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26447 * benchtests/bench-memset.c (simple_memset): Likewise.
26448 * configure: Regenerated.
26449
c91e0825
JM
264502013-06-20 Joseph Myers <joseph@codesourcery.com>
26451
b8c792af
JM
26452 * math/test-misc.c (main): Ignore fesetround failure when failures
26453 of subsequent rounding tests would be ignored.
26454
c91e0825
JM
26455 [BZ #15654]
26456 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26457 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26458 * math/fegetenv.c (__fegetenv): Return 0.
26459 * math/fegetexcept.c (fegetexcept): Return 0.
26460 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26461 FE_TONEAREST.
26462 * math/feholdexcpt.c (feholdexcept): Return 0.
26463 * math/fesetenv.c (__fesetenv): Return 0.
26464 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26465 argument FE_TONEAREST.
26466 * math/feupdateenv.c (__feupdateenv): Return 0.
26467 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26468
bfcacbde
RM
264692013-06-18 Roland McGrath <roland@hack.frob.com>
26470
26471 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26472 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26473 ($(objpfx)rtld-%.os rules): Use them.
26474
e55a9b25
AZ
264752013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26476
26477 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26478 fields.
26479
346d65b3
RM
264802013-06-17 Roland McGrath <roland@hack.frob.com>
26481
12086fb4
RM
26482 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26483 length of target pattern, then descending length of dependency pattern.
26484 * configure.in (AWK): Require gawk 3.1.2 or newer.
26485 * manual/install.texi (Tools for Compilation): Say that we do.
26486 * configure: Regenerated.
26487
346d65b3
RM
26488 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26489 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26490 * scripts/sysd-rules.awk: ... this new script.
26491 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26492 than a glob-style pattern.
26493
1a846317
JM
264942013-06-17 Joseph Myers <joseph@codesourcery.com>
26495
26496 * math/test-misc.c (main): Do not treat incorrectly rounded
26497 conversions as failure unless ROUNDING_TESTS passes.
26498
8fc75e6f
JM
264992013-06-15 Joseph Myers <joseph@codesourcery.com>
26500
3711a167
JM
26501 [BZ #15631]
26502 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26503 restore exception state around main square root computation, then
26504 check for inexactness explicitly.
26505
8fc75e6f
JM
26506 * math/libm-test.inc (fma_test_data): Add another test.
26507
61dd6208
SP
265082013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26509
adf23d2c
SP
26510 * manual/threads.texi (Non-POSIX Extensions): New document
26511 node. Document pthread_getattr_default_np and
26512 pthread_setattr_default_np.
26513
61dd6208
SP
26514 * Versions.def (libpthread): Add GLIBC_2.18.
26515 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26517 Likewise.
26518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26519 Likewise.
26520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26521 Likewise.
26522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26523 Likewise.
26524 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26525 Likewise.
26526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26527 Likewise.
26528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26529 Likewise.
26530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26531 Likewise.
26532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26533 Likewise.
26534
d086fc7b
LD
265352013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26536
26537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26538 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26539
747ef469
SP
265402013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26541 H.J. Lu <hjl.tools@gmail.com>
26542
26543 [BZ #15627]
26544 * sysdeps/x86_64/rtld-memset.c: Remove file.
26545 * sysdeps/x86_64/rtld-memset.S: New file.
26546
1b2feed2
JM
265472013-06-14 Joseph Myers <joseph@codesourcery.com>
26548
26549 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26550 (test_in_one_mode): Take arguments for whether the rounding mode
26551 is supported for each floating-point type.
26552 (do_test): Pass new arguments to test_in_one_mode using
26553 ROUNDING_TESTS.
26554
a58ad3f8
RM
265552013-06-13 Roland McGrath <roland@hack.frob.com>
26556
26557 * posix/tst-waitid.c (do_test): Distinguish different instances of
26558 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26559 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26560 before entering the kernel for waitpid.
26561
c204ab28
SP
265622013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26563
26564 * NEWS: Fix note on clock function precision. Text by Roland
26565 McGrath.
26566
f4a29fba
RM
265672013-06-13 Roland McGrath <roland@hack.frob.com>
26568
26569 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26570 it into place only when and if the sanity check passes.
26571
1f24b9ad
JM
265722013-06-13 Joseph Myers <joseph@codesourcery.com>
26573
26574 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26575 output for whether conversion result is exact. Take argument
26576 indicating whether type is IBM long double.
26577 (round_for_all): Change need_exact field to ibm_ld.
26578 * stdlib/tst-strtod-round.c (struct exactness): New type.
26579 (struct test): Change bool ld_ok field to struct exactness exact.
26580 (TEST): Update all definitions for change to field.
26581 (tests): Regenerate array contents.
26582 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26583 field value. Check for IBM long double here.
26584 (do_test): Update calls to test_in_one_mode.
26585
58206c68
SP
265862013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26587
26588 [BZ #12515]
26589 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26590 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26591
2d6f4c5b 265922013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
26593
26594 [BZ #15605]
26595 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26596 generated by the compiler on loop optimizations.
26597 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26598 general definitions.
26599
94f2c076
JM
266002013-06-12 Joseph Myers <joseph@codesourcery.com>
26601
26602 * math/bug-nextafter.c: Include <math-tests.h>.
26603 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26604 the relevant type.
26605 * math/bug-nexttoward.c: Include <math-tests.h>.
26606 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26607 the relevant type.
26608 * math/test-misc.c: Include <math-tests.h>.
26609 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26610 the relevant type.
26611
e0e50a0a
AJ
266122013-06-12 Andreas Jaeger <aj@suse.de>
26613
26614 * po/ia.po: Update Interlingua translation from translation
26615 project.
26616
25061094
SP
266172013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26618
26619 * include/fenv.h: Include stdbool.h.
26620 (struct rm_ctx): New structure.
26621 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26622 Define macro.
26623 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26624 (SET_RESTORE_ROUNDF): Likewise.
26625 (SET_RESTORE_ROUNDL): Likewise.
26626 (SET_RESTORE_ROUND_NOEX): Likewise.
26627 (SET_RESTORE_ROUND_NOEXF): Likewise.
26628 (SET_RESTORE_ROUND_NOEXL): Likewise.
26629 (SET_RESTORE_ROUND_53BIT): Likewise.
26630 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26631 (libc_feresetround_noexf_ctx): Likewise.
26632 (libc_feresetround_noexl_ctx): Likewise.
26633 (libc_feholdsetround_53bit_ctx): Likewise.
26634 (libc_feresetround_53bit_ctx): Likewise.
26635 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26636 (libc_feholdexcept_setround_sse_ctx): New function.
26637 (libc_fesetenv_sse_ctx): Likewise.
26638 (libc_feupdateenv_sse_ctx): Likewise.
26639 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26640 (libc_feholdexcept_setround_387_ctx): Likewise.
26641 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26642 (libc_feholdsetround_387_prec_ctx): Likewise.
26643 (libc_feholdsetround_387_ctx): Likewise.
26644 (libc_feholdsetround_387_53bit_ctx): Likewise.
26645 (libc_feholdsetround_sse_ctx): Likewise.
26646 (libc_feresetround_sse_ctx): Likewise.
26647 (libc_feresetround_387_ctx): Likewise.
26648 (libc_feupdateenv_387_ctx): Likewise.
26649 (libc_feholdexcept_setroundf_ctx): Define macro.
26650 (libc_fesetenvf_ctx): Likewise.
26651 (libc_feupdateenvf_ctx): Likewise.
26652 (libc_feholdsetroundf_ctx): Likewise.
26653 (libc_feresetroundf_ctx): Likewise.
26654 (libc_feholdexcept_setround_ctx): Likewise.
26655 (libc_fesetenv_ctx): Likewise.
26656 (libc_feupdateenv_ctx): Likewise.
26657 (libc_feholdsetround_ctx): Likewise.
26658 (libc_feresetround_ctx): Likewise.
26659 (libc_feholdexcept_setroundl_ctx): Likewise.
26660 (libc_feupdateenvl_ctx): Likewise.
26661 (libc_feholdsetroundl_ctx): Likewise.
26662 (libc_feresetroundl_ctx): Likewise.
26663 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26664 (libc_feresetround_53bit_ctx): Likewise.
26665
59b30555
SP
266662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26667
26668 * locale/iso-639.def: Convert to UTF-8.
26669
f1d73d30
JM
266702013-06-11 Joseph Myers <joseph@codesourcery.com>
26671
26672 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26673 (EXCEPTION_TESTS_double): Likewise.
26674 (EXCEPTION_TESTS_long_double): Likewise.
26675 (EXCEPTION_TESTS): Likewise.
26676 * math/libm-test.inc (test_exceptions): Only test exceptions if
26677 EXCEPTION_TESTS (FLOAT).
26678
94aca5e7
SP
266792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26680
26681 * benchtests/Makefile (string-bench): Add strcpy_chk and
26682 stpcpy_chk.
26683 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26684 * benchtests/bench-stpcpy_chk.c: New file.
26685 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26686 * benchtests/bench-strcpy_chk.c: New file.
26687 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26688 code.
26689 (do_test): Likewise.
26690
fac0c5f2
RA
266912013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26692
26693 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26694 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26695 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26696 with tabs where appropriate.
26697 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26698 dl-procinfo.h.
26699 [PPC_PLATFORM_PPC440]: Likewise.
26700 [PPC_PLATFORM_PPC464]: Likewise.
26701 [PPC_PLATFORM_PPC476]: Likewise.
26702 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26703 ppc464, and ppc476 platform strings merging from ports/
26704 dl-procinfo.h.
26705
f22bc486
AS
267062013-06-11 Andreas Schwab <schwab@suse.de>
26707
26708 [BZ #14991]
26709 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26710 (from_ucs4_idx): Regenerate.
26711 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26712 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26713 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26714 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26715 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26716 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26717 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26718 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26719 from FROM_LOOP and TO_LOOP specific macros.
26720 (BODY): Handle combining characters.
26721 * iconvdata/BIG5HKSCS.irreversible: Update.
26722 * iconvdata/BIG5HKSCS.precomposed: New file.
26723 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26724 characters.
26725 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26726
c1f75dc3
SP
267272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26728
4eacded2
SP
26729 * include/sys/time.h: Fix indentation and add copyright header.
26730
fec799f8
SP
26731 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26732 (do_test): Likewise.
26733 * string/test-memchr.c (do_one_test): Likewise.
26734 (do_test): Likewise.
26735 * string/test-memcmp.c (do_one_test): Likewise.
26736 (do_test): Likewise.
26737 * string/test-memcpy.c (do_one_test): Likewise.
26738 (do_test): Likewise.
26739 * string/test-memmem.c (do_one_test): Likewise.
26740 (do_test): Likewise.
26741 (do_random_tests): Likewise.
26742 * string/test-memmove.c (do_one_test): Likewise.
26743 (do_test): Likewise.
26744 * string/test-memset.c (do_one_test): Likewise.
26745 (do_test): Likewise.
26746 * string/test-rawmemchr.c (do_one_test): Likewise.
26747 (do_test): Likewise.
26748 * string/test-strcasecmp.c (do_one_test): Likewise.
26749 (do_test): Likewise.
26750 * string/test-strcasestr.c (do_one_test): Likewise.
26751 (do_test): Likewise.
26752 * string/test-strcat.c (do_one_test): Likewise.
26753 (do_test): Likewise.
26754 * string/test-strchr.c (do_one_test): Likewise.
26755 (do_test): Likewise.
26756 * string/test-strcmp.c (do_one_test): Likewise.
26757 (do_test): Likewise.
26758 * string/test-strcpy.c (do_one_test): Likewise.
26759 (do_test): Likewise.
26760 * string/test-string.h: Likewise.
26761 (test_init): Likewise.
26762 * string/test-strlen.c (do_one_test): Likewise.
26763 (do_test): Likewise.
26764 * string/test-strncasecmp.c (do_one_test): Likewise.
26765 (do_test): Likewise.
26766 * string/test-strncat.c (do_one_test): Likewise.
26767 (do_test): Likewise.
26768 * string/test-strncmp.c (do_one_test): Likewise.
26769 (do_test_limit): Likewise.
26770 (do_test): Likewise.
26771 * string/test-strncpy.c (do_one_test): Likewise.
26772 (do_test): Likewise.
26773 * string/test-strnlen.c (do_one_test): Likewise.
26774 (do_test): Likewise.
26775 * string/test-strpbrk.c (do_one_test): Likewise.
26776 (do_test): Likewise.
26777 * string/test-strrchr.c (do_one_test): Likewise.
26778 (do_test): Likewise.
26779 * string/test-strspn.c (do_one_test): Likewise.
26780 (do_test): Likewise.
26781 * string/test-strstr.c (do_one_test): Likewise.
26782 (do_test): Likewise.
26783
97020474
SP
26784 * benchtests/Makefile (string-bench): Add string benchmarks.
26785 * benchtests/bench-bcopy-ifunc.c: New file.
26786 * benchtests/bench-bcopy.c: New file.
26787 * benchtests/bench-bzero-ifunc.c: New file.
26788 * benchtests/bench-bzero.c: New file.
26789 * benchtests/bench-memccpy-ifunc.c: New file.
26790 * benchtests/bench-memccpy.c: New file.
26791 * benchtests/bench-memchr-ifunc.c: New file.
26792 * benchtests/bench-memchr.c: New file.
26793 * benchtests/bench-memcmp-ifunc.c: New file.
26794 * benchtests/bench-memcmp.c: New file.
26795 * benchtests/bench-memmem-ifunc.c: New file.
26796 * benchtests/bench-memmem.c: New file.
26797 * benchtests/bench-memmove-ifunc.c: New file.
26798 * benchtests/bench-memmove.c: New file.
26799 * benchtests/bench-mempcpy-ifunc.c: New file.
26800 * benchtests/bench-mempcpy.c: New file.
26801 * benchtests/bench-memset-ifunc.c: New file.
26802 * benchtests/bench-memset.c: New file.
26803 * benchtests/bench-rawmemchr-ifunc.c: New file.
26804 * benchtests/bench-rawmemchr.c: New file.
26805 * benchtests/bench-stpcpy-ifunc.c: New file.
26806 * benchtests/bench-stpcpy.c: New file.
26807 * benchtests/bench-stpncpy-ifunc.c: New file.
26808 * benchtests/bench-stpncpy.c: New file.
26809 * benchtests/bench-strcasecmp-ifunc.c: New file.
26810 * benchtests/bench-strcasecmp.c: New file.
26811 * benchtests/bench-strcasestr-ifunc.c: New file.
26812 * benchtests/bench-strcasestr.c: New file.
26813 * benchtests/bench-strcat-ifunc.c: New file.
26814 * benchtests/bench-strcat.c: New file.
26815 * benchtests/bench-strchr-ifunc.c: New file.
26816 * benchtests/bench-strchr.c: New file.
26817 * benchtests/bench-strchrnul-ifunc.c: New file.
26818 * benchtests/bench-strchrnul.c: New file.
26819 * benchtests/bench-strcmp-ifunc.c: New file.
26820 * benchtests/bench-strcmp.c: New file.
26821 * benchtests/bench-strcpy-ifunc.c: New file.
26822 * benchtests/bench-strcpy.c: New file.
26823 * benchtests/bench-strcspn-ifunc.c: New file.
26824 * benchtests/bench-strcspn.c: New file.
26825 * benchtests/bench-strlen-ifunc.c: New file.
26826 * benchtests/bench-strlen.c: New file.
26827 * benchtests/bench-strncasecmp-ifunc.c: New file.
26828 * benchtests/bench-strncasecmp.c: New file.
26829 * benchtests/bench-strncat-ifunc.c: New file.
26830 * benchtests/bench-strncat.c: New file.
26831 * benchtests/bench-strncmp-ifunc.c: New file.
26832 * benchtests/bench-strncmp.c: New file.
26833 * benchtests/bench-strncpy-ifunc.c: New file.
26834 * benchtests/bench-strncpy.c: New file.
26835 * benchtests/bench-strnlen-ifunc.c: New file.
26836 * benchtests/bench-strnlen.c: New file.
26837 * benchtests/bench-strpbrk-ifunc.c: New file.
26838 * benchtests/bench-strpbrk.c: New file.
26839 * benchtests/bench-strrchr-ifunc.c: New file.
26840 * benchtests/bench-strrchr.c: New file.
26841 * benchtests/bench-strspn-ifunc.c: New file.
26842 * benchtests/bench-strspn.c: New file.
26843 * benchtests/bench-strstr-ifunc.c: New file.
26844 * benchtests/bench-strstr.c: New file.
26845
c1f75dc3
SP
26846 * benchtests/Makefile: Disable parallel execution of targets.
26847 (string-bench): Add memcpy.
26848 (benchset): New variable to store a list of benchmark sets.
26849 (bench-func): Renamed from bench.
26850 (bench-set): New target.
26851 (bench): Depend on bench-func and bench-set.
26852 * benchtests/README: Add section on benchmark sets.
26853 * benchtests/bench-memcpy-ifunc.c: New file.
26854 * benchtests/bench-memcpy.c: New file.
26855 * benchtests/bench-string.h: New file.
26856
50fd745b
AS
268572013-06-11 Andreas Schwab <schwab@suse.de>
26858
26859 [BZ #15577]
26860 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26861 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26862 values in the triple.
26863 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26864 terminator in the group key.
26865
3ee7e9fe
AJ
268662013-06-11 Andreas Jaeger <aj@suse.de>
26867
26868 * po/zh_TW.po: Update Chinese (traditional) translation from
26869 translation project.
26870
89fb6835
SP
268712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26872
26873 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26874 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26875 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26876 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26877 (clock_getcpuclockid): Likewise.
26878 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26879 Add weak_alias and libc_hidden_def.
26880 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26881 * rt/clock_gettime.c (clock_gettime): Rename to
26882 __clock_gettime. Add weak_alias and libc_hidden_def.
26883 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26884 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26885 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26886 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26887 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26888 Likewise.
26889 * rt/clock_settime.c (clock_settime): Rename to
26890 __clock_settime. Add weak_alias and libc_hidden_def.
26891 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26892
0efa6f8b
JM
268932013-06-10 Joseph Myers <joseph@codesourcery.com>
26894
b8c61b4b
JM
26895 * mach/err_boot.sub: Remove trailing whitespace.
26896 * mach/err_ipc.sub: Likewise.
26897 * mach/err_mach.sub: Likewise.
26898
0efa6f8b
JM
26899 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26900 (ROUNDING_TESTS_double): Likewise.
26901 (ROUNDING_TESTS_long_double): Likewise.
26902 (ROUNDING_TESTS): Likewise.
26903 * math/libm-test.inc: Include <math-tests.h>.
26904 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26905 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26906 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26907 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26908
50b818bf
SP
269092013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26910
26911 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26912 of assigning.
26913
60d2f8f3
JM
269142013-06-08 Joseph Myers <joseph@codesourcery.com>
26915
4902d2c3
JM
26916 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26917 otherwise empty TRANS lines.
26918 * sysdeps/gnu/errlist.c: Regenerated.
26919
60d2f8f3
JM
26920 * catgets/gencat.c (error_print): Use (void) in function
26921 definition.
26922 * crypt/crypt_util.c (__init_des): Likewise.
26923 * crypt/speeds.c (Stop): Likewise.
26924 (main): Likewise.
26925 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26926 * inet/ruserpass.c (token): Likewise.
26927 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26928 * intl/localealias.c (extend_alias_table): Likewise.
26929 * intl/plural-exp.c (init_germanic_plural): Likewise.
26930 * libio/fcloseall.c (__fcloseall): Likewise.
26931 * libio/genops.c (_IO_flush_all): Likewise.
26932 (_IO_flush_all_linebuffered): Likewise.
26933 (_IO_cleanup): Likewise.
26934 (_IO_iter_begin): Likewise.
26935 (_IO_iter_end): Likewise.
26936 (_IO_list_lock): Likewise.
26937 (_IO_list_unlock): Likewise.
26938 (_IO_list_resetlock): Likewise.
26939 * libio/getchar.c (getchar): Likewise.
26940 * libio/getchar_u.c (getchar_unlocked): Likewise.
26941 * libio/getwchar.c (getwchar): Likewise.
26942 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26943 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26944 * login/getpt.c (__getpt): Likewise.
26945 * login/tst-utmp.c (main): Likewise.
26946 * malloc/hooks.c (__malloc_check_init): Likewise.
26947 * malloc/malloc.c (__malloc_stats): Likewise.
26948 * malloc/mtrace.c (tr_break): Likewise.
26949 (mtrace): Likewise.
26950 (muntrace): Likewise.
26951 * misc/fstab.c (endfsent): Likewise.
26952 * misc/getclktck.c (__getclktck): Likewise.
26953 * misc/getdtsz.c (__getdtablesize): Likewise.
26954 * misc/gethostid.c (gethostid): Likewise.
26955 * misc/getpagesize.c (__getpagesize): Likewise.
26956 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26957 (__get_nprocs): Likewise.
26958 (__get_phys_pages): Likewise.
26959 (__get_avphys_pages): Likewise.
26960 * misc/getttyent.c (getttyent): Likewise.
26961 (setttyent): Likewise.
26962 (endttyent): Likewise.
26963 * misc/getusershell.c (getusershell): Likewise.
26964 (endusershell): Likewise.
26965 (setusershell): Likewise.
26966 (initshells): Likewise.
26967 * misc/hsearch.c (__hdestroy): Likewise.
26968 * misc/sync.c (sync): Likewise.
26969 * misc/syslog.c (closelog_internal): Likewise.
26970 (closelog): Likewise.
26971 * misc/ttyslot.c (ttyslot): Likewise.
26972 * misc/vhangup.c (vhangup): Likewise.
26973 * posix/fork.c (__fork): Likewise.
26974 * posix/getegid.c (__getegid): Likewise.
26975 * posix/geteuid.c (__geteuid): Likewise.
26976 * posix/getgid.c (__getgid): Likewise.
26977 * posix/getpid.c (__getpid): Likewise.
26978 * posix/getppid.c (__getppid): Likewise.
26979 * posix/getuid.c (__getuid): Likewise.
26980 * posix/pause.c (pause): Likewise.
26981 * posix/setpgrp.c (setpgrp): Likewise.
26982 * posix/setsid.c (__setsid): Likewise.
26983 * posix/test-vfork.c (noop): Likewise.
26984 * resolv/gethnamaddr.c (_endhtent): Likewise.
26985 (_gethtent): Likewise.
26986 (ht_endhostent): Likewise.
26987 (gethostent): Likewise.
26988 (dns_service): Likewise.
26989 * stdlib/drand48.c (drand48): Likewise.
26990 * stdlib/lrand48.c (lrand48): Likewise.
26991 * stdlib/mrand48.c (mrand48): Likewise.
26992 * stdlib/rand.c (rand): Likewise.
26993 * stdlib/random.c (__random): Likewise.
26994 * stdlib/setenv.c (clearenv): Likewise.
26995 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26996 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26997 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26998 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26999 (__get_nprocs): Likewise.
27000 (__get_phys_pages): Likewise.
27001 (__get_avphys_pages): Likewise.
27002 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27003 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27004 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27005 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27006 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27007 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27008 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27009 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27010 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27011 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27012 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27013 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27014 * sysdeps/posix/clock.c (clock): Likewise.
27015 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27016 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27017 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27018 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27019 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27020 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27021 (__get_nprocs_conf): Likewise.
27022 (__get_phys_pages): Likewise.
27023 (__get_avphys_pages): Likewise.
27024 * time/clock.c (clock): Likewise.
27025 * time/tzset.c (__tzname_max): Likewise.
27026
2e09a79a
JM
270272013-06-07 Joseph Myers <joseph@codesourcery.com>
27028
27029 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27030 (__bswap_32): Do not use "register".
27031 * crypt/crypt.c (_ufc_doit_r): Likewise.
27032 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27033 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27034 * gmon/gmon.c (__monstartup): Likewise.
27035 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27036 * hurd/hurdmalloc.c (more_memory): Likewise.
27037 (malloc): Likewise.
27038 (free): Likewise.
27039 (realloc): Likewise.
27040 (malloc_fork_prepare): Likewise.
27041 (malloc_fork_parent): Likewise.
27042 (malloc_fork_child): Likewise.
27043 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27044 (_svcauth_des): Likewise.
27045 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27046 * inet/inet_net.c (inet_network): Likewise.
27047 * inet/inet_netof.c (inet_netof): Likewise.
27048 * inet/rcmd.c (__validuser2_sa): Likewise.
27049 * io/fts.c (fts_open): Likewise.
27050 (fts_load): Likewise.
27051 (fts_close): Likewise.
27052 (fts_read): Likewise.
27053 (fts_children): Likewise.
27054 (fts_build): Likewise.
27055 (fts_stat): Likewise.
27056 (fts_sort): Likewise.
27057 (fts_alloc): Likewise.
27058 (fts_lfree): Likewise.
27059 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27060 (_IO_file_xsgetn): Likewise.
27061 (_IO_file_xsgetn_mmap): Likewise.
27062 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27063 (_IO_cookie_write): Likewise.
27064 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27065 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27066 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27067 * malloc/obstack.c (_obstack_begin): Likewise.
27068 (_obstack_begin_1): Likewise.
27069 (_obstack_newchunk): Likewise.
27070 (_obstack_allocated_p): Likewise.
27071 (obstack_free): Likewise.
27072 (_obstack_memory_used): Likewise.
27073 * misc/getttyent.c (getttynam): Likewise.
27074 (getttyent): Likewise.
27075 (skip): Likewise.
27076 (value): Likewise.
27077 * misc/getusershell.c (initshells): Likewise.
27078 * misc/syslog.c (__vsyslog_chk): Likewise.
27079 * misc/ttyslot.c (ttyslot): Likewise.
27080 * nis/nis_hash.c (__nis_hash): Likewise.
27081 * posix/fnmatch_loop.c (FCT): Likewise.
27082 * posix/getconf.c (print_all): Likewise.
27083 (main): Likewise.
27084 * posix/getopt.c (exchange): Likewise.
27085 * posix/glob.c (globfree): Likewise.
27086 (prefix_array): Likewise.
27087 (__glob_pattern_type): Likewise.
27088 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27089 (NS_GET32): Likewise.
27090 (NS_PUT16): Likewise.
27091 (NS_PUT32): Likewise.
27092 * resolv/gethnamaddr.c (getanswer): Likewise.
27093 (gethostbyname2): Likewise.
27094 (gethostbyaddr): Likewise.
27095 (_gethtent): Likewise.
27096 (_gethtbyname2): Likewise.
27097 (_gethtbyaddr): Likewise.
27098 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27099 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27100 * resolv/res_init.c (__res_vinit): Likewise.
27101 (net_mask): Likewise.
27102 * resolv/res_mkquery.c (outchar): Likewise.
27103 (PRINT): Likewise.
27104 * stdio-common/printf_fp.c (outchar): Likewise.
27105 (PRINT): Likewise.
27106 * stdio-common/printf_fphex.c (outchar): Likewise.
27107 (PRINT): Likewise.
27108 * stdio-common/printf_size.c (outchar): Likewise.
27109 (PRINT): Likewise.
27110 * stdio-common/test_rdwr.c (main): Likewise.
27111 * stdio-common/tfformat.c (matches): Likewise.
27112 * stdio-common/vfprintf.c (outchar): Likewise.
27113 (printf_unknown): Likewise.
27114 (buffered_vfprintf): Likewise.
27115 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27116 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27117 (ReadFile): Likewise.
27118 * stdlib/qsort.c (SWAP): Likewise.
27119 (_quicksort): Likewise.
27120 * stdlib/setenv.c (__add_to_environ): Likewise.
27121 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27122 * stdlib/strtol_l.c (__strtol_l): Likewise.
27123 * stdlib/tst-strtod.c (main): Likewise.
27124 * stdlib/tst-strtol.c (main): Likewise.
27125 * stdlib/tst-strtoll.c (main): Likewise.
27126 * string/bits/string2.h (__strcmp_cc): Likewise.
27127 (__strcmp_cg): Likewise.
27128 (__strcspn_c1): Likewise.
27129 (__strcspn_c2): Likewise.
27130 (__strcspn_c3): Likewise.
27131 (__strspn_c1): Likewise.
27132 (__strspn_c2): Likewise.
27133 (__strspn_c3): Likewise.
27134 (__strsep_1c): Likewise.
27135 (__strsep_2c): Likewise.
27136 (__strsep_3c): Likewise.
27137 * string/memccpy.c (__memccpy): Likewise.
27138 * string/stpcpy.c (__stpcpy): Likewise.
27139 * string/strcmp.c (strcmp): Likewise.
27140 * string/strrchr.c (strrchr): Likewise.
27141 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27142 Likewise.
27143 * sysdeps/mach/hurd/getcwd.c
27144 (_hurd_canonicalize_directory_name_internal): Likewise.
27145 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27146 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27147 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27148 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27149 Likewise, in both definitions.
27150 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27151 definitions.
27152 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27153 64] (__bswap_64): Likewise.
27154 * time/test_time.c (main): Likewise.
27155 * time/tzfile.c (__tzfile_read): Likewise.
27156 (__tzfile_compute): Likewise.
27157 * time/tzset.c (__tzset_parse_tz): Likewise.
27158 (tzset_internal): Likewise.
27159 (compute_change): Likewise.
27160 * wcsmbs/wcscat.c (__wcscat): Likewise.
27161 * wcsmbs/wcschr.c (wcschr): Likewise.
27162 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27163 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27164 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27165 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27166 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27167 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27168 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27169 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27170 * wcsmbs/wmemset.c (wmemset): Likewise.
27171
9e54314b
JM
271722013-06-06 Joseph Myers <joseph@codesourcery.com>
27173
27174 * scripts/config.guess: Update to version 2013-05-16.
27175 * scripts/config.sub: Update to version 2013-04-24.
27176 * scripts/install-sh: Update to version 2011-11-20.07.
27177 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27178 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27179
350635a5
OB
271802013-06-06 Ondřej Bílka <neleai@seznam.cz>
27181
27182 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27183 * elf/sln.c: Likewise.
27184 * hurd/hurd/ioctl.h: Likewise.
27185 * hurd/hurdmalloc.c: Likewise.
27186 * hurd/xattr.c: Likewise.
27187 * include/shlib-compat.h: Likewise.
27188 * inet/ruserpass.c: Likewise.
27189 * libio/iofgets_u.c: Likewise.
27190 * libio/iofgetws_u.c: Likewise.
27191 * locale/programs/ld-identification.c: Likewise.
27192 * locale/programs/ld-time.c: Likewise.
27193 * mach/msg-destroy.c: Likewise.
27194 * nss/nss_files/files-netgrp.c: Likewise.
27195 * resolv/res_data.c: Likewise.
27196 * soft-fp/op-1.h: Likewise.
27197 * soft-fp/op-2.h: Likewise.
27198 * soft-fp/op-4.h: Likewise.
27199 * soft-fp/op-common.h: Likewise.
27200 * stdio-common/printf_fphex.c: Likewise.
27201 * stdlib/strtod_l.c: Likewise.
27202 * sunrpc/rpc/clnt.h: Likewise.
27203 * sysdeps/generic/framestate.c: Likewise.
27204 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27205 * sysdeps/i386/bsd-setjmp.S: Likewise.
27206 * sysdeps/i386/__longjmp.S: Likewise.
27207 * sysdeps/i386/setjmp.S: Likewise.
27208 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27209 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27210 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27211 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27212 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27213 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27214 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27215 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27216 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27217 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27218 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27219 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27220 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27221 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27222 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27223 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27224 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27225 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27226 * sysdeps/ieee754/support.c: Likewise.
27227 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27228 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27229 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27230 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27231 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27232 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27233 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27234 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27235 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27236 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27237 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27238 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27239 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27240 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27241 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27242 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27243 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27245
44a988af
OB
272462013-06-05 Ondřej Bílka <neleai@seznam.cz>
27247
25506f09 27248 * posix/transbug.c: Remove executable mode.
44a988af 27249
9c84384c
JM
272502013-06-05 Joseph Myers <joseph@codesourcery.com>
27251
27252 * crypt/speeds.c: Remove trailing whitespace.
27253 * dlfcn/default.c: Likewise.
27254 * elf/ifuncdep2.c: Likewise.
27255 * elf/ifuncmain1.c: Likewise.
27256 * elf/ifuncmain1vis.c: Likewise.
27257 * elf/testobj.h: Likewise.
27258 * elf/tst-stackguard1.c: Likewise.
27259 * gmon/sys/gmon.h: Likewise.
27260 * hurd/hurdmsg.c: Likewise.
27261 * hurd/new-fd.c: Likewise.
27262 * hurd/ports-get.c: Likewise.
27263 * iconvdata/ibm1008_420.c: Likewise.
27264 * inet/tst-getni1.c: Likewise.
27265 * inet/tst-getni2.c: Likewise.
27266 * libio/ioungetc.c: Likewise.
27267 * libio/wfiledoalloc.c: Likewise.
27268 * manual/libm-err-tab.pl: Likewise.
27269 * math/w_dremf.c: Likewise.
27270 * misc/ftruncate.c: Likewise.
27271 * posix/bug-glob2.c: Likewise.
27272 * posix/tst-pcre.c: Likewise.
27273 * posix/wait4.c: Likewise.
27274 * resolv/README: Likewise.
27275 * resolv/res_debug.h: Likewise.
27276 * resolv/tst-inet_ntop.c: Likewise.
27277 * setjmp/bug269-setjmp.c: Likewise.
27278 * soft-fp/extended.h: Likewise.
27279 * soft-fp/op-1.h: Likewise.
27280 * soft-fp/op-2.h: Likewise.
27281 * soft-fp/op-4.h: Likewise.
27282 * soft-fp/op-8.h: Likewise.
27283 * soft-fp/testit.c: Likewise.
27284 * stdio-common/bug16.c: Likewise.
27285 * stdlib/random.c: Likewise.
27286 * sunrpc/rpcsvc/rquota.x: Likewise.
27287 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27288 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27289 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27290 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27291 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27292 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27293 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27294 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27295 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27296 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27297 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27298 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27299 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27300 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27301 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27302 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27303 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27304 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27305 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27306 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27307 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27308 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27309 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27310 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27311 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27312 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27313 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27314 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27315 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27316 * sysdeps/ieee754/s_lib_version.c: Likewise.
27317 * sysdeps/mach/hurd/check_fds.c: Likewise.
27318 * sysdeps/mach/hurd/getsockname.c: Likewise.
27319 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27320 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27321 * sysdeps/powerpc/bits/link.h: Likewise.
27322 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27323 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27324 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27325 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27326 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27327 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27328 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27329 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27330 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27331 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27332 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27333 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27334 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27335 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27336 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27337 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27338 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27339 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27340 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27341 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27342 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27343 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27344 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27345 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27346 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27347 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27348 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27349 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27350 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27351 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27352 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27353 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27354 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27355 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27356 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27357 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27358 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27359 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27360 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27361 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27362 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27363 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27364 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27365 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27366 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27367 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27368 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27369 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27370 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27371 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27372 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27373 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27374 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27375 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27376 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27377 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27378 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27379 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27380 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27381 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27382 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27383 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27384 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27385 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27386 * sysdeps/powerpc/sysdep.h: Likewise.
27387 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27388 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27389 * sysdeps/sh/dl-trampoline.S: Likewise.
27390 * sysdeps/sh/memset.S: Likewise.
27391 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27392 * sysdeps/sh/strlen.S: Likewise.
27393 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27394 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27395 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27396 * sysdeps/sparc/sparc32/rem.S: Likewise.
27397 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27398 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27399 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27400 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27401 * sysdeps/sparc/sparc32/urem.S: Likewise.
27402 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27403 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27404 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27405 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27406 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27407 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27408 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27409 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27410 * sysdeps/unix/bsd/times.c: Likewise.
27411 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27412 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27416 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27417 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27418 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27419 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27420 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27421 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27422 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27423 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27424 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27425 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27426 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27427 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27428 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27429 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27430 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27431 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27432 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27433 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27434 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27435 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27436 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27437 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27438 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27439 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27440 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27441 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27442 * sysdeps/x86_64/strcspn.S: Likewise.
27443
869378a5
RA
274442013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27445
27446 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27447 generated file. Regenerate properly from gen-translit.pl.
27448 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27449 locale/C-translit.h.
27450
840e2943
AS
274512013-06-05 Andreas Schwab <schwab@suse.de>
27452
27453 [BZ #15100]
27454 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27455 week as 6 instead of -1.
27456 * time/tst-strptime.c (day_tests): Add test case.
27457
4c60cb0c
SP
274582013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27459
27460 * sysdeps/generic/math_private.h
27461 (libc_feholdexcept_setround_53bit): Replace with
27462 libc_feholdsetround_53bit.
27463 (libc_feupdateenv_53bit): Replace with
27464 libc_feresetround_53bit.
27465 (SET_RESTORE_ROUND_53BIT): Adjust.
27466
d180203e
SP
274672013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27468
96df079a
SP
27469 * string/test-strchrnul.c: Add copyright header.
27470
d180203e
SP
27471 * posix/tst-getaddrinfo4.c: Increase test timeout.
27472
8b0ccb2d
CD
274732013-06-03 Carlos O'Donell <carlos@redhat.com>
27474
27475 [BZ #15536]
27476 * math/libm-test.inc (MAX_EXP): Remove
27477 (MIN_EXP): Define.
27478 (ulp): Use MIN_EXP - MANT_DIG.
27479 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27480
3b3c4d40
CD
274812013-05-31 Carlos O'Donell <carlos@redhat.com>
27482
27483 * po/be.po: Revert last change.
27484 * po/zh_CN.po: Likewise.
27485 * po/header.pot: Likewise.
27486
fab7ce3f
JM
274872013-05-31 Joseph Myers <joseph@codesourcery.com>
27488
27489 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27490 link-libc-deps to empty as target-specific variable.
27491 * Makerules (link-libc-args): New variable.
27492 (libc-for-link): Likewise.
27493 (link-libc-deps): Likewise.
27494 (lib%.so): Depend on $(link-libc-deps). Link with
27495 $(link-libc-args).
27496 (build-module): Link with $(link-libc-args).
27497 (build-module-asneeded): Likewise.
27498 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27499 list of objects.
27500 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27501 target-specific variable.
27502 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27503 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27504 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27505 libc.
27506 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27507 libc and ld.so.
27508 ($(objpfx)libpcprofile.so): Likewise.
27509 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27510 libc_nonshared.a.
27511 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27512 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27513 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27514 $(link-libc-deps).
27515 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27516 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27517 * login/Makefile ($(objpfx)libutil.so): Likewise.
27518 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27519 * math/Makefile ($(objpfx)libm.so): Likewise.
27520 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27521 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27522 variable instead of depending directly on libc.
27523 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27524 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27525 $(link-libc-deps).
27526 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27527 libc.
27528 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27529 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27530 ($(objpfx)libanl.so): Likewise.
27531 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27532 ld.so.
27533 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27534 $(link-libc-deps).
27535 * sysdeps/i386/fpu/Makefile: Remove file.
27536 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27537 ($(objpfx)libm.so): Remove dependency on ld.so.
27538
eca5920c
PF
275392013-05-30 Patsy Franklin <pfrankli@redhat.com>
27540
27541 [BZ # 15553]
27542 * nis/yp_xdr.c (XDRMAXNAME): Define.
27543 (XDRMAXRECORD): Define.
27544 (xdr_domainname): Use XDRMAXNAME.
27545 (xdr_mapname): Likewise.
27546 (xdr_peername): Likewise.
27547 (xdr_keydat): Use XDRMAXRECORD.
27548 (xdr_valdat): Likewise.
27549
275502013-05-30 Jeff Law <law@redhat.com>
96945714
JL
27551
27552 [BZ #14256]
27553 * manual/errno.texi (ESTALE): Update to account for more than
27554 just NFS file systems.
27555 * sysdeps/gnu/errlist.c: Regenerated.
27556
b9375348
SP
275572013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27558
27559 [BZ #15465]
27560 * elf/Makefile (tests): Add tst-null-argv.
27561 (modules-names): Add tst-null-argv-lib.
27562 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27563 (tst-null-argv-ENV): Set environment for tst-null-argv.
27564 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27565 (RTLD_PROGNAME): New macro.
27566 * elf/tst-null-argv.c: New test case.
27567 * elf/tst-null-argv-lib.c: Library for test case.
27568 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27569 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27570 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27571 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27572 * elf/dl-init.c (call_init): Likewise.
27573 (_dl_init): Likewise.
27574 * elf/dl-load.c (print_search_path): Likewise.
27575 (_dl_map_object): Likewise.
27576 * elf/dl-lookup.c (do_lookup_x): Likewise.
27577 (add_dependency): Likewise.
27578 (_dl_lookup_symbol_x): Likewise.
27579 (_dl_debug_bindings): Likewise.
27580 * elf/dl-open.c (_dl_show_scope): Likewise.
27581 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27582 * elf/dl-version.c (match_symbol): Likewise.
27583 (_dl_check_map_versions): Likewise.
27584 * elf/rtld.c (dl_main): Likewise.
27585 (print_unresolved): Use RTLD_PROGNAME.
27586 (print_missing_version): Likewise.
27587 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27588 (elf_machine_rela): Likewise.
27589 * sysdeps/powerpc/powerpc32/dl-machine.c
27590 (__process_machine_rela): Likewise.
27591 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27592 Likewise.
27593 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27594 Likewise.
27595 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27596 Likewise.
27597 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27598 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27599 Likewise.
27600 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27601 Likewise.
27602 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27603
8a9f20c8
CD
276042013-05-28 Carlos O'Donell <carlos@redhat.com>
27605
27606 * po/be.po: Add descriptive title.
27607 * po/zh_CN.po: Likewise.
27608 * po/header.pot: Likewise.
27609
0e60d68e
MF
276102013-05-28 Mike Frysinger <vapier@gentoo.org>
27611
27612 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27613 error message.
27614 (enlarge_archive): Likewise.
27615
56b672e9
BN
276162013-05-28 Ben North <ben@redfrontdoor.org>
27617
27618 * manual/arith.texi (frexp): It is the magnitude of the return
27619 value which lies in [0.5, 1), not the return value itself.
27620
5e056687
AZ
276212013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27622
27623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27624
2b66ef5d
TS
276252013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27626
528c2405
TS
27627 * stdio-common/bug26.c (main): Correct fscanf template.
27628
07b4c13d
TS
27629 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27630 declare _dl_skip_args.
27631
ec9dd97c
TS
27632 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27633 Don't declare.
27634
2b66ef5d
TS
27635 * manual/platform.texi: Add missing @end deftypefun.
27636
4f8dfe27
JM
276372013-05-24 Joseph Myers <joseph@codesourcery.com>
27638
0323d086
JM
27639 [BZ #15529]
27640 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27641 bit of mantissa of 2^16382.
27642 * math/libm-test.inc (hypot_test_data): Add more tests.
27643
dd4259b9
JM
27644 * math/libm-test.inc: Add drem and pow10 to list of tested
27645 functions.
27646 (pow10_test): New function.
27647 (drem_test): Likewise.
27648 (drem_test_tonearest): Likewise.
27649 (drem_test_towardzero): Likewise.
27650 (drem_test_downward): Likewise.
27651 (drem_test_upward): Likewise.
27652 (main): Call the new functions.
27653
4f8dfe27
JM
27654 * math/libm-test.inc (finite_test_data): Remove.
27655 (finite_test): Run tests from isfinite_test_data.
27656 (gamma_test_data): Remove.
27657 (gamma_test): Run tests from lgamma_test_data.
27658 * sysdeps/i386/fpu/libm-test-ulps: Update.
27659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27660
d116b7c4
AZ
276612013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27662
27663 * manual/platform.texi: Add PowerPC PPR function set documentation.
27664 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27665 implementation.
27666
e96e3767
CD
276672013-05-24 Carlos O'Donell <carlos@redhat.com>
27668
27669 * math/libm-test.inc (MAX_EXP): Define.
27670 (ULPDIFF): Define.
27671 (ulp): New function.
27672 (check_float_internal): Use ULPDIFF.
27673 (cpow_test): Disable failing test.
27674 (check_ulp): Test ulp() implemetnation.
27675 (main): Call check_ulp before starting tests.
27676
b679a606
JM
276772013-05-24 Joseph Myers <joseph@codesourcery.com>
27678
e8bdba36
JM
27679 * math/gen-libm-test.pl (generate_testfile): Do not handle
27680 START_DATA and END_DATA.
27681 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27682 END_DATA.
27683 (acos_tonearest_test_data): Likewise.
27684 (acos_towardzero_test_data): Likewise.
27685 (acos_downward_test_data): Likewise.
27686 (acos_upward_test_data): Likewise.
27687 (acosh_test_data): Likewise.
27688 (asin_test_data): Likewise.
27689 (asin_tonearest_test_data): Likewise.
27690 (asin_towardzero_test_data): Likewise.
27691 (asin_downward_test_data): Likewise.
27692 (asin_upward_test_data): Likewise.
27693 (asinh_test_data): Likewise.
27694 (atan_test_data): Likewise.
27695 (atanh_test_data): Likewise.
27696 (atan2_test_data): Likewise.
27697 (cabs_test_data): Likewise.
27698 (cacos_test_data): Likewise.
27699 (cacosh_test_data): Likewise.
27700 (carg_test_data): Likewise.
27701 (casin_test_data): Likewise.
27702 (casinh_test_data): Likewise.
27703 (catan_test_data): Likewise.
27704 (catanh_test_data): Likewise.
27705 (cbrt_test_data): Likewise.
27706 (ccos_test_data): Likewise.
27707 (ccosh_test_data): Likewise.
27708 (ceil_test_data): Likewise.
27709 (cexp_test_data): Likewise.
27710 (cimag_test_data): Likewise.
27711 (clog_test_data): Likewise.
27712 (clog10_test_data): Likewise.
27713 (conj_test_data): Likewise.
27714 (copysign_test_data): Likewise.
27715 (cos_test_data): Likewise.
27716 (cos_tonearest_test_data): Likewise.
27717 (cos_towardzero_test_data): Likewise.
27718 (cos_downward_test_data): Likewise.
27719 (cos_upward_test_data): Likewise.
27720 (cosh_test_data): Likewise.
27721 (cosh_tonearest_test_data): Likewise.
27722 (cosh_towardzero_test_data): Likewise.
27723 (cosh_downward_test_data): Likewise.
27724 (cosh_upward_test_data): Likewise.
27725 (cpow_test_data): Likewise.
27726 (cproj_test_data): Likewise.
27727 (creal_test_data): Likewise.
27728 (csin_test_data): Likewise.
27729 (csinh_test_data): Likewise.
27730 (csqrt_test_data): Likewise.
27731 (ctan_test_data): Likewise.
27732 (ctan_tonearest_test_data): Likewise.
27733 (ctan_towardzero_test_data): Likewise.
27734 (ctan_downward_test_data): Likewise.
27735 (ctan_upward_test_data): Likewise.
27736 (ctanh_test_data): Likewise.
27737 (ctanh_tonearest_test_data): Likewise.
27738 (ctanh_towardzero_test_data): Likewise.
27739 (ctanh_downward_test_data): Likewise.
27740 (ctanh_upward_test_data): Likewise.
27741 (erf_test_data): Likewise.
27742 (erfc_test_data): Likewise.
27743 (exp_test_data): Likewise.
27744 (exp_tonearest_test_data): Likewise.
27745 (exp_towardzero_test_data): Likewise.
27746 (exp_downward_test_data): Likewise.
27747 (exp_upward_test_data): Likewise.
27748 (exp10_test_data): Likewise.
27749 (exp2_test_data): Likewise.
27750 (expm1_test_data): Likewise.
27751 (fabs_test_data): Likewise.
27752 (fdim_test_data): Likewise.
27753 (finite_test_data): Likewise.
27754 (floor_test_data): Likewise.
27755 (fma_test_data): Likewise.
27756 (fma_towardzero_test_data): Likewise.
27757 (fma_downward_test_data): Likewise.
27758 (fma_upward_test_data): Likewise.
27759 (fmax_test_data): Likewise.
27760 (fmin_test_data): Likewise.
27761 (fmod_test_data): Likewise.
27762 (fpclassify_test_data): Likewise.
27763 (frexp_test_data): Likewise.
27764 (gamma_test_data): Likewise.
27765 (hypot_test_data): Likewise.
27766 (ilogb_test_data): Likewise.
27767 (isfinite_test_data): Likewise.
27768 (isgreater_test_data): Likewise.
27769 (isgreaterequal_test_data): Likewise.
27770 (isinf_test_data): Likewise.
27771 (isless_test_data): Likewise.
27772 (islessequal_test_data): Likewise.
27773 (islessgreater_test_data): Likewise.
27774 (isnan_test_data): Likewise.
27775 (isnormal_test_data): Likewise.
27776 (issignaling_test_data): Likewise.
27777 (isunordered_test_data): Likewise.
27778 (j0_test_data): Likewise.
27779 (j1_test_data): Likewise.
27780 (jn_test_data): Likewise.
27781 (ldexp_test_data): Likewise.
27782 (lgamma_test_data): Likewise.
27783 (lrint_test_data): Likewise.
27784 (lrint_tonearest_test_data): Likewise.
27785 (lrint_towardzero_test_data): Likewise.
27786 (lrint_downward_test_data): Likewise.
27787 (lrint_upward_test_data): Likewise.
27788 (llrint_test_data): Likewise.
27789 (llrint_tonearest_test_data): Likewise.
27790 (llrint_towardzero_test_data): Likewise.
27791 (llrint_downward_test_data): Likewise.
27792 (llrint_upward_test_data): Likewise.
27793 (log_test_data): Likewise.
27794 (log10_test_data): Likewise.
27795 (log1p_test_data): Likewise.
27796 (log2_test_data): Likewise.
27797 (logb_test_data): Likewise.
27798 (logb_downward_test_data): Likewise.
27799 (lround_test_data): Likewise.
27800 (llround_test_data): Likewise.
27801 (modf_test_data): Likewise.
27802 (nearbyint_test_data): Likewise.
27803 (nextafter_test_data): Likewise.
27804 (nexttoward_test_data): Likewise.
27805 (pow_test_data): Likewise.
27806 (pow_tonearest_test_data): Likewise.
27807 (pow_towardzero_test_data): Likewise.
27808 (pow_downward_test_data): Likewise.
27809 (pow_upward_test_data): Likewise.
27810 (remainder_test_data): Likewise.
27811 (remainder_tonearest_test_data): Likewise.
27812 (remainder_towardzero_test_data): Likewise.
27813 (remainder_downward_test_data): Likewise.
27814 (remainder_upward_test_data): Likewise.
27815 (remquo_test_data): Likewise.
27816 (rint_test_data): Likewise.
27817 (rint_tonearest_test_data): Likewise.
27818 (rint_towardzero_test_data): Likewise.
27819 (rint_downward_test_data): Likewise.
27820 (rint_upward_test_data): Likewise.
27821 (round_test_data): Likewise.
27822 (scalb_test_data): Likewise.
27823 (scalbn_test_data): Likewise.
27824 (scalbln_test_data): Likewise.
27825 (signbit_test_data): Likewise.
27826 (sin_test_data): Likewise.
27827 (sin_tonearest_test_data): Likewise.
27828 (sin_towardzero_test_data): Likewise.
27829 (sin_downward_test_data): Likewise.
27830 (sin_upward_test_data): Likewise.
27831 (sincos_test_data): Likewise.
27832 (sinh_test_data): Likewise.
27833 (sinh_tonearest_test_data): Likewise.
27834 (sinh_towardzero_test_data): Likewise.
27835 (sinh_downward_test_data): Likewise.
27836 (sinh_upward_test_data): Likewise.
27837 (sqrt_test_data): Likewise.
27838 (tan_test_data): Likewise.
27839 (tan_tonearest_test_data): Likewise.
27840 (tan_towardzero_test_data): Likewise.
27841 (tan_downward_test_data): Likewise.
27842 (tan_upward_test_data): Likewise.
27843 (tanh_test_data): Likewise.
27844 (tgamma_test_data): Likewise.
27845 (trunc_test_data): Likewise.
27846 (y0_test_data): Likewise.
27847 (y1_test_data): Likewise.
27848 (yn_test_data): Likewise.
27849 (significand_test_data): Likewise.
27850
b679a606
JM
27851 * math/gen-libm-test.pl (@functions): Remove variable.
27852 (generate_testfile): Don't handle START and END lines.
27853 * math/libm-test.inc (START): New macro.
27854 (END): Likewise.
27855 (END_COMPLEX): Likewise.
27856 (acos_test): Use END macro without arguments.
27857 (acos_test_tonearest): Likewise.
27858 (acos_test_towardzero): Likewise.
27859 (acos_test_downward): Likewise.
27860 (acos_test_upward): Likewise.
27861 (acosh_test): Likewise.
27862 (asin_test): Likewise.
27863 (asin_test_tonearest): Likewise.
27864 (asin_test_towardzero): Likewise.
27865 (asin_test_downward): Likewise.
27866 (asin_test_upward): Likewise.
27867 (asinh_test): Likewise.
27868 (atan_test): Likewise.
27869 (atanh_test): Likewise.
27870 (atan2_test): Likewise.
27871 (cabs_test): Likewise.
27872 (cacos_test): Use END_COMPLEX macro without arguments.
27873 (cacosh_test): Likewise.
27874 (carg_test): Use END macro without arguments.
27875 (casin_test): Use END_COMPLEX macro without arguments.
27876 (casinh_test): Likewise.
27877 (catan_test): Likewise.
27878 (catanh_test): Likewise.
27879 (cbrt_test): Use END macro without arguments.
27880 (ccos_test): Use END_COMPLEX macro without arguments.
27881 (ccosh_test): Likewise.
27882 (ceil_test): Use END macro without arguments.
27883 (cexp_test): Use END_COMPLEX macro without arguments.
27884 (cimag_test): Use END macro without arguments.
27885 (clog_test): Use END_COMPLEX macro without arguments.
27886 (clog10_test): Likewise.
27887 (conj_test): Likewise.
27888 (copysign_test): Use END macro without arguments.
27889 (cos_test): Likewise.
27890 (cos_test_tonearest): Likewise.
27891 (cos_test_towardzero): Likewise.
27892 (cos_test_downward): Likewise.
27893 (cos_test_upward): Likewise.
27894 (cosh_test): Likewise.
27895 (cosh_test_tonearest): Likewise.
27896 (cosh_test_towardzero): Likewise.
27897 (cosh_test_downward): Likewise.
27898 (cosh_test_upward): Likewise.
27899 (cpow_test): Use END_COMPLEX macro without arguments.
27900 (cproj_test): Likewise.
27901 (creal_test): Use END macro without arguments.
27902 (csin_test): Use END_COMPLEX macro without arguments.
27903 (csinh_test): Likewise.
27904 (csqrt_test): Likewise.
27905 (ctan_test): Likewise.
27906 (ctan_test_tonearest): Likewise.
27907 (ctan_test_towardzero): Likewise.
27908 (ctan_test_downward): Likewise.
27909 (ctan_test_upward): Likewise.
27910 (ctanh_test): Likewise.
27911 (ctanh_test_tonearest): Likewise.
27912 (ctanh_test_towardzero): Likewise.
27913 (ctanh_test_downward): Likewise.
27914 (ctanh_test_upward): Likewise.
27915 (erf_test): Use END macro without arguments.
27916 (erfc_test): Likewise.
27917 (exp_test): Likewise.
27918 (exp_test_tonearest): Likewise.
27919 (exp_test_towardzero): Likewise.
27920 (exp_test_downward): Likewise.
27921 (exp_test_upward): Likewise.
27922 (exp10_test): Likewise.
27923 (exp2_test): Likewise.
27924 (expm1_test): Likewise.
27925 (fabs_test): Likewise.
27926 (fdim_test): Likewise.
27927 (finite_test): Likewise.
27928 (floor_test): Likewise.
27929 (fma_test): Likewise.
27930 (fma_test_towardzero): Likewise.
27931 (fma_test_downward): Likewise.
27932 (fma_test_upward): Likewise.
27933 (fmax_test): Likewise.
27934 (fmin_test): Likewise.
27935 (fmod_test): Likewise.
27936 (fpclassify_test): Likewise.
27937 (frexp_test): Likewise.
27938 (gamma_test): Likewise.
27939 (hypot_test): Likewise.
27940 (ilogb_test): Likewise.
27941 (isfinite_test): Likewise.
27942 (isgreater_test): Likewise.
27943 (isgreaterequal_test): Likewise.
27944 (isinf_test): Likewise.
27945 (isless_test): Likewise.
27946 (islessequal_test): Likewise.
27947 (islessgreater_test): Likewise.
27948 (isnan_test): Likewise.
27949 (isnormal_test): Likewise.
27950 (issignaling_test): Likewise.
27951 (isunordered_test): Likewise.
27952 (j0_test): Likewise.
27953 (j1_test): Likewise.
27954 (jn_test): Likewise.
27955 (ldexp_test): Likewise.
27956 (lgamma_test): Likewise.
27957 (lrint_test): Likewise.
27958 (lrint_test_tonearest): Likewise.
27959 (lrint_test_towardzero): Likewise.
27960 (lrint_test_downward): Likewise.
27961 (lrint_test_upward): Likewise.
27962 (llrint_test): Likewise.
27963 (llrint_test_tonearest): Likewise.
27964 (llrint_test_towardzero): Likewise.
27965 (llrint_test_downward): Likewise.
27966 (llrint_test_upward): Likewise.
27967 (log_test): Likewise.
27968 (log10_test): Likewise.
27969 (log1p_test): Likewise.
27970 (log2_test): Likewise.
27971 (logb_test): Likewise.
27972 (logb_test_downward): Likewise.
27973 (lround_test): Likewise.
27974 (llround_test): Likewise.
27975 (modf_test): Likewise.
27976 (nearbyint_test): Likewise.
27977 (nextafter_test): Likewise.
27978 (nexttoward_test): Likewise.
27979 (pow_test): Likewise.
27980 (pow_test_tonearest): Likewise.
27981 (pow_test_towardzero): Likewise.
27982 (pow_test_downward): Likewise.
27983 (pow_test_upward): Likewise.
27984 (remainder_test): Likewise.
27985 (remainder_test_tonearest): Likewise.
27986 (remainder_test_towardzero): Likewise.
27987 (remainder_test_downward): Likewise.
27988 (remainder_test_upward): Likewise.
27989 (remquo_test): Likewise.
27990 (rint_test): Likewise.
27991 (rint_test_tonearest): Likewise.
27992 (rint_test_towardzero): Likewise.
27993 (rint_test_downward): Likewise.
27994 (rint_test_upward): Likewise.
27995 (round_test): Likewise.
27996 (scalb_test): Likewise.
27997 (scalbn_test): Likewise.
27998 (scalbln_test): Likewise.
27999 (signbit_test): Likewise.
28000 (sin_test): Likewise.
28001 (sin_test_tonearest): Likewise.
28002 (sin_test_towardzero): Likewise.
28003 (sin_test_downward): Likewise.
28004 (sin_test_upward): Likewise.
28005 (sincos_test): Likewise.
28006 (sinh_test): Likewise.
28007 (sinh_test_tonearest): Likewise.
28008 (sinh_test_towardzero): Likewise.
28009 (sinh_test_downward): Likewise.
28010 (sinh_test_upward): Likewise.
28011 (sqrt_test): Likewise.
28012 (tan_test): Likewise.
28013 (tan_test_tonearest): Likewise.
28014 (tan_test_towardzero): Likewise.
28015 (tan_test_downward): Likewise.
28016 (tan_test_upward): Likewise.
28017 (tanh_test): Likewise.
28018 (tgamma_test): Likewise.
28019 (trunc_test): Likewise.
28020 (y0_test): Likewise.
28021 (y1_test): Likewise.
28022 (yn_test): Likewise.
28023 (significand_test): Likewise.
28024
bae143d2
OB
280252013-05-24 Ondřej Bílka <neleai@seznam.cz>
28026
28027 [BZ #15381]
28028 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28029
9323d39b
EM
280302013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28031
d4ea44a0 28032 [BZ #14894]
9323d39b
EM
28033 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28034 __ppc_mdoio and __ppc_mdoom.
28035 * manual/platform.texi: Document new functions __ppc_yield,
28036 __ppc_mdoio and __ppc_mdoom.
28037
13e23af7
CD
280382013-05-22 Carlos O'Donell <carlos@redhat.com>
28039
28040 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28041 (main): Mention "tls" pseudo-hwcap is legacy.
28042 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28043
351fe550
JM
280442013-05-22 Joseph Myers <joseph@codesourcery.com>
28045
28046 * math/gen-libm-test.pl (parse_args): Output only string of
28047 arguments as text for test name, not full call or descriptions of
28048 tests for extra outputs.
28049 (generate_testfile): Do not pass function name to parse_args.
28050 Generate this_func variable from START.
28051 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28052 field to arg_str.
28053 (struct test_ff_f_data): Likewise.
28054 (test_ff_f_data_nexttoward): Likewise.
28055 (struct test_fi_f_data): Likewise.
28056 (struct test_fl_f_data): Likewise.
28057 (struct test_if_f_data): Likewise.
28058 (struct test_fff_f_data): Likewise.
28059 (struct test_c_f_data): Likewise.
28060 (struct test_f_f1_data): Likewise. Remove field extra_name.
28061 (struct test_fF_f1_data): Likewise.
28062 (struct test_ffI_f1_data): Likewise.
28063 (struct test_c_c_data): Rename test_name field to arg_str.
28064 (struct test_cc_c_data): Likewise.
28065 (struct test_f_i_data): Likewise.
28066 (struct test_ff_i_data): Likewise.
28067 (struct test_f_l_data): Likewise.
28068 (struct test_f_L_data): Likewise.
28069 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28070 and extra2_name.
28071 (COMMON_TEST_SETUP): New macro.
28072 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28073 (COMMON_TEST_CLEANUP): Likewise.
28074 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28075 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28076 macros.
28077 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28078 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28079 macros.
28080 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28081 (RUN_TEST_fff_f): Take argument string. Call new setup and
28082 cleanup macros.
28083 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28084 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28085 macros.
28086 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28087 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28088 macros.
28089 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28090 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28091 cleanup macros.
28092 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28093 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28094 cleanup macros.
28095 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28096 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28097 cleanup macros.
28098 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28099 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28100 macros.
28101 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28102 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28103 macros.
28104 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28105 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28106 macros.
28107 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28108 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28109 cleanup macros.
28110 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28111 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28112 cleanup macros.
28113 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28114 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28115 macros.
28116 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28117 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28118 cleanup macros.
28119 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28120 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28121 macros.
28122 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28123 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28124 macros.
28125 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28126 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28127 cleanup macros.
28128 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28129
85118d4d
EBM
281302013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28131
28132 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28133 to _sifields.sigfault.
28134 (si_addr_lsb): Define new macro.
28135 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28136 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28137 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28138
7a44c18f
CD
281392013-05-03 Carlos O'Donell <carlos at redhat.com>
28140
28141 [BZ #15441]
28142 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28143 returns -1.
28144 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28145 null return -1.
28146 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28147 loading the domain.
28148
b50a7181
JM
281492013-05-22 Joseph Myers <joseph@codesourcery.com>
28150
28151 * math/gen-libm-test.pl (parse_args): Do not include expected
28152 result in test name.
28153 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28154 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28155 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28156 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28157 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28159
051063c8
SP
281602013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28161
3ce9e010
SP
28162 * benchtests/Makefile: Sort function entries.
28163
051063c8
SP
28164 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28165 tanh, asinh, acosh, atanh.
28166 * benchtests/acos-inputs: New file.
28167 * benchtests/acosh-inputs: New file.
28168 * benchtests/asin-inputs: New file.
28169 * benchtests/asinh-inputs: New file.
28170 * benchtests/atanh-inputs: New file.
28171 * benchtests/cosh-inputs: New file.
28172 * benchtests/log-inputs: New file.
28173 * benchtests/sinh-inputs: New file.
28174 * benchtests/tanh-inputs: New file.
28175
47c22455
DL
281762013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28177
28178 [BZ #15339]
28179 * posix/tst-getaddrinfo4.c: New test.
28180 * posix/Makefile (tests): Add it.
28181
3d04f5db
SP
281822013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28183
28184 [BZ #15339]
28185 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28186 when no services were used.
28187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28188 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28189
d5dd6189
AS
281902013-05-21 Andreas Schwab <schwab@suse.de>
28191
28192 [BZ #15014]
28193 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28194 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28195 successful.
28196 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28197 redundant variable declarations and reallocation of buffer when
28198 parsing as IPv6 address. Always set NSS status when called from
28199 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28200 buffer too small. Correct computation of needed size.
28201 * nss/Makefile (tests): Add test-digits-dots.
28202 * nss/test-digits-dots.c: New test.
28203
fef94eab
SP
282042013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28205
28206 * benchtests/Makefile: Remove instructions for adding
28207 benchmark tests.
28208 * benchtests/README: New file to explain how to execute and
28209 enhance the benchmark tests.
28210
e39adf43
AS
282112013-05-21 Andreas Schwab <schwab@suse.de>
28212
28213 [BZ #15493]
28214 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28215 * setjmp/tst-sigsetjmp.c: New test.
28216
b2b671b6
OB
282172013-05-20 Ondřej Bílka <neleai@seznam.cz>
28218
28219 * sysdeps/x86_64/memset.S (memset): New implementation.
28220 (__bzero): Likewise.
28221 (__memset_tail): New function.
28222
2d48b41c
OB
282232013-05-20 Ondřej Bílka <neleai@seznam.cz>
28224
28225 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28226 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28227 __memcpy_sse2_unaligned ifunc selection.
28228 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28229 Add memcpy-sse2-unaligned.S.
28230 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28231 Add: __memcpy_sse2_unaligned.
28232
f16cc3eb
JM
282332013-05-19 Joseph Myers <joseph@codesourcery.com>
28234
3e694268
JM
28235 [BZ #15490]
28236 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28237 math_force_eval before restoring floating-point envrionment.
28238 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28239 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28240 Likewise.
28241 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28242 <math_private.h>.
28243 (__nearbyintl): Use math_force_eval before restoring
28244 floating-point environment.
28245 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28246
db62a907
JM
28247 * math/gen-libm-test.pl (special_functions): Remove.
28248 (parse_args): Don't handle TEST_extra. Handle functions with no
28249 return value.
28250 * math/libm-test.inc (struct test_sincos_data): Replace with
28251 struct test_fFF_11_data.
28252 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28253 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28254 (sincos_test_data): Change element type to struct
28255 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28256 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28257 RUN_TEST_LOOP_sincos.
28258 * math/README.libm-test: Don't mention special handling of
28259 individual functions.
28260 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28261 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28262 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28263 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28264 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28266
f16cc3eb
JM
28267 * math/gen-libm-test.pl (get_variable): Remove function.
28268 (parse_args): Don't show pointer parameters to call in test
28269 names. Use "extra output N" in test names for extra outputs
28270 rather than naming variables.
28271
3779b5b6
JM
282722013-05-18 Joseph Myers <joseph@codesourcery.com>
28273
2ee094ff
JM
28274 [BZ #15488]
28275 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28276 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28277 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28278 double tests.
28279 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28280 disable.
28281 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28282 check_long_double.
28283
3779b5b6
JM
28284 * math/gen-libm-test.pl (@tests): Remove variable.
28285 ($count): Likewise.
28286 (new_test): Remove function.
28287 (show_exceptions): New function.
28288 (special_functions): Use show_exceptions instead of new_test.
28289 (parse_args): Likewise.
28290 (generate_testfile): Pass only function name in generated call to
28291 print_max_error or print_complex_max_error.
28292 (get_ulps): Do not handle complex tests specially.
28293 (output_test): Rename to ...
28294 (get_all_ulps_for_test): ... this. Return a string rather than
28295 printing to a file. Require ulps to be present.
28296 (output_ulps): Generate arrays rather than #defines.
28297 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28298 (struct ulp_data): New type.
28299 (BUILD_COMPLEX_ULP): Remove macro.
28300 (compare_ulp_data): New function.
28301 (find_ulps): Likewise.
28302 (find_test_ulps): Likewise.
28303 (find_function_ulps): Likewise.
28304 (find_complex_function_ulps): Likewise.
28305 (print_max_error): Determine allowed ulps using
28306 find_function_ulps.
28307 (print_complex_max_error): Determine allowed ulps using
28308 find_complex_function_ulps.
28309 (check_float_internal): Determine max ulps using find_test_ulps.
28310 (check_float): Do not take max_ulp parameter. Update call to
28311 check_float_internal.
28312 (check_complex): Likewise.
28313 (check_int): Do not take max_ulp parameter.
28314 (check_long): Likewise.
28315 (check_bool): Likewise.
28316 (check_longlong): Likewise.
28317 (struct test_f_f_data): Remove max_ulp field.
28318 (struct test_ff_f_data): Likewise.
28319 (struct test_ff_f_data_nexttoward): Likewise.
28320 (struct test_fi_f_data): Likewise.
28321 (struct test_fl_f_data): Likewise.
28322 (struct test_if_f_data): Likewise.
28323 (struct test_fff_f_data): Likewise.
28324 (struct test_c_f_data): Likewise.
28325 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28326 (struct test_fF_f1_data): Likewise.
28327 (struct test_ffI_f1_data): Likewise.
28328 (struct test_c_c_data): Remove max_ulp field.
28329 (struct test_cc_c_data): Likewise.
28330 (struct test_f_i_data): Likewise.
28331 (struct test_ff_i_data): Likewise.
28332 (struct test_f_l_data): Likewise.
28333 (struct test_f_L_data): Likewise.
28334 (struct test_sincos_data): Likewise.
28335 (RUN_TEST_f_f): Do not handle ulps.
28336 (RUN_TEST_LOOP_f_f): Likewise.
28337 (RUN_TEST_2_f): Likewise.
28338 (RUN_TEST_LOOP_2_f): Likewise.
28339 (RUN_TEST_fff_f): Likewise.
28340 (RUN_TEST_LOOP_fff_f): Likewise.
28341 (RUN_TEST_c_f): Likewise.
28342 (RUN_TEST_LOOP_c_f): Likewise.
28343 (RUN_TEST_f_f1): Likewise.
28344 (RUN_TEST_LOOP_f_f1): Likewise.
28345 (RUN_TEST_fF_f1): Likewise.
28346 (RUN_TEST_LOOP_fF_f1): Likewise.
28347 (RUN_TEST_fI_f1): Likewise.
28348 (RUN_TEST_LOOP_fI_f1): Likewise.
28349 (RUN_TEST_ffI_f1): Likewise.
28350 (RUN_TEST_LOOP_ffI_f1): Likewise.
28351 (RUN_TEST_c_c): Likewise.
28352 (RUN_TEST_LOOP_c_c): Likewise.
28353 (RUN_TEST_cc_c): Likewise.
28354 (RUN_TEST_LOOP_cc_c): Likewise.
28355 (RUN_TEST_f_i): Likewise.
28356 (RUN_TEST_LOOP_f_i): Likewise.
28357 (RUN_TEST_f_i_tg): Likewise.
28358 (RUN_TEST_LOOP_f_i_tg): Likewise.
28359 (RUN_TEST_ff_i_tg): Likewise.
28360 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28361 (RUN_TEST_f_b): Likewise.
28362 (RUN_TEST_LOOP_f_b): Likewise.
28363 (RUN_TEST_f_b_tg): Likewise.
28364 (RUN_TEST_LOOP_f_b_tg): Likewise.
28365 (RUN_TEST_f_l): Likewise.
28366 (RUN_TEST_LOOP_f_l): Likewise.
28367 (RUN_TEST_f_L): Likewise.
28368 (RUN_TEST_LOOP_f_L): Likewise.
28369 (RUN_TEST_sincos): Likewise.
28370 (RUN_TEST_LOOP_sincos): Likewise.
28371
8269107f
JM
283722013-05-17 Joseph Myers <joseph@codesourcery.com>
28373
bb38759d
JM
28374 [BZ #15480]
28375 [BZ #15485]
28376 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28377 main case of finite arguments, set rounding mode to FE_TONEAREST
28378 and discard exceptions.
28379 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28380 exceptions.
28381 (remainder_tonearest_test_data): New variable.
28382 (remainder_test_tonearest): New function.
28383 (remainder_towardzero_test_data): New variable.
28384 (remainder_test_towardzero): New function.
28385 (remainder_downward_test_data): New variable.
28386 (remainder_test_downward): New function.
28387 (remainder_upward_test_data): New variable.
28388 (remainder_test_upward): New function.
28389 (main): Call the new test functions.
28390
a00bdcf0
JM
28391 * math/libm-test.inc (struct test_f_f1_data): Remove field
28392 extra_init.
28393 (struct test_fF_f1_data): Likewise.
28394 (struct test_ffI_f1_data): Likewise.
28395 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28396 based on value of EXTRA_EXPECTED.
28397 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28398 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28399 EXTRA_VAR based on value of EXTRA_EXPECTED.
28400 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28401 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28402 EXTRA_VAR based on value of EXTRA_EXPECTED.
28403 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28404 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28405 EXTRA_VAR based on value of EXTRA_EXPECTED.
28406 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28407 * math/gen-libm-test.pl (parse_args): Don't output initializers
28408 for extra output values.
28409
de407f79
JM
28410 * math/libm-test.inc (check_int): Expect result to be exactly
28411 equal to expected value and do not handle ulps.
28412 (check_long): Likewise.
28413 (check_longlong): Likewise.
28414
8269107f
JM
28415 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28416 exceptions.
28417 (cimag_test_data): Likewise.
28418 (conj_test_data): Likewise.
28419 (copysign_test_data): Likewise.
28420 (cproj_test_data): Likewise.
28421 (creal_test_data): Likewise.
28422 (fabs_test_data): Likewise.
28423 (fdim_test_data): Likewise.
28424 (finite_test_data): Likewise.
28425 (floor_test_data): Likewise.
28426 (fmax_test_data): Likewise.
28427 (fmin_test_data): Likewise.
28428 (fmod_test_data): Likewise.
28429 (fpclassify_test_data): Likewise.
28430 (frexp_test_data): Likewise.
28431 (ilogb_test_data): Likewise.
28432 (isfinite_test_data): Likewise.
28433 (isgreater_test_data): Likewise.
28434 (isgreaterequal_test_data): Likewise.
28435 (isinf_test_data): Likewise.
28436 (isless_test_data): Likewise.
28437 (islessequal_test_data): Likewise.
28438 (islessgreater_test_data): Likewise.
28439 (isnan_test_data): Likewise.
28440 (isnormal_test_data): Likewise.
28441 (issignaling_test_data): Likewise.
28442 (isunordered_test_data): Likewise.
28443 (ldexp_test_data): Likewise.
28444 (lrint_test_data): Likewise.
28445 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28446 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28447 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28448 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28449 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28450 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28451 test input.
28452 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28453 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28454 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28455 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28456 that test input.
28457 (lrint_downward_test_data): Test for "inexact" exceptions.
28458 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28459 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28460 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28461 test input.
28462 (lrint_upward_test_data): Test for "inexact" exceptions.
28463 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28464 test input.
28465 (llrint_test_data): Test for "inexact" exceptions.
28466 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28467 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28468 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28469 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28470 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28471 (llrint_downward_test_data): Test for "inexact" exceptions.
28472 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28473 (llrint_upward_test_data): Test for "inexact" exceptions.
28474 (logb_test_data): Likewise.
28475 (logb_downward_test_data): Likewise.
28476 (nextafter_test_data): Likewise.
28477 (nexttoward_test_data): Likewise.
28478 (remainder_test_data): Likewise.
28479 (remquo_test_data): Likewise.
28480 (scalbn_test_data): Likewise.
28481 (scalbln_test_data): Likewise.
28482 (signbit_test_data): Likewise.
28483 (sqrt_test_data): Likewise.
28484 (significand_test_data): Likewise.
28485
48a18de1
SP
284862013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28487
28488 [BZ #15424]
28489 * benchtests/bench-modf.c (struct args): Mark arg0 as
28490 volatile.
28491 * scripts/bench.pl: Mark members of struct args as volatile.
28492
13d3b41a
AZ
284932013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28494
68191c1d 28495 [BZ # 15497]
13d3b41a
AZ
28496 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28497 negative infinity on POWER6 or lower.
28498 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28499
2848b105
MR
285002013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28501
28502 [BZ #15442]
28503 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28504 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28505 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28506 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28507 (_FP_SETQNAN): New macro.
28508 (_FP_SETQNAN_SEMIRAW): Likewise.
28509 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28510 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28511 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28512 (FP_EXTEND): Use _FP_FRAC_SNANP.
28513 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28514 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28515 into account.
28516 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28517 New macro.
28518 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28519 Likewise.
28520
323e5cb7
JM
285212013-05-16 Joseph Myers <joseph@codesourcery.com>
28522
c58b274f
JM
28523 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28524 with DIVIDE_BY_ZERO_EXCEPTION.
28525 (gamma_test_data): Likewise.
28526 (lgamma_test_data): Likewise.
28527 (log_test_data): Likewise.
28528 (log10_test_data): Likewise.
28529 (log2_test_data): Likewise.
28530 (tgamma_test_data): Likewise.
28531
0ab34904
JM
28532 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28533 (acos_test_tonearest): Likewise.
28534 (acos_test_towardzero): Likewise.
28535 (acos_test_downward): Likewise.
28536 (acos_test_upward): Likewise.
28537 (acosh_test): Likewise.
28538 (asin_test): Likewise.
28539 (asin_test_tonearest): Likewise.
28540 (asin_test_towardzero): Likewise.
28541 (asin_test_downward): Likewise.
28542 (asin_test_upward): Likewise.
28543 (asinh_test): Likewise.
28544 (atan_test): Likewise.
28545 (atanh_test): Likewise.
28546 (atan2_test): Likewise.
28547 (cabs_test): Likewise.
28548 (cacos_test): Likewise.
28549 (cacosh_test): Likewise.
28550 (casin_test): Likewise.
28551 (casinh_test): Likewise.
28552 (catan_test): Likewise.
28553 (catanh_test): Likewise.
28554 (cbrt_test): Likewise.
28555 (ccos_test): Likewise.
28556 (ccosh_test): Likewise.
28557 (cexp_test): Likewise.
28558 (clog_test): Likewise.
28559 (clog10_test): Likewise.
28560 (cos_test): Likewise.
28561 (cos_test_tonearest): Likewise.
28562 (cos_test_towardzero): Likewise.
28563 (cos_test_downward): Likewise.
28564 (cos_test_upward): Likewise.
28565 (cosh_test): Likewise.
28566 (cosh_test_tonearest): Likewise.
28567 (cosh_test_towardzero): Likewise.
28568 (cosh_test_downward): Likewise.
28569 (cosh_test_upward): Likewise.
28570 (cpow_test): Likewise.
28571 (csin_test): Likewise.
28572 (csinh_test): Likewise.
28573 (csqrt_test): Likewise.
28574 (ctan_test): Likewise.
28575 (ctan_test_tonearest): Likewise.
28576 (ctan_test_towardzero): Likewise.
28577 (ctan_test_downward): Likewise.
28578 (ctan_test_upward): Likewise.
28579 (ctanh_test): Likewise.
28580 (ctanh_test_tonearest): Likewise.
28581 (ctanh_test_towardzero): Likewise.
28582 (ctanh_test_downward): Likewise.
28583 (ctanh_test_upward): Likewise.
28584 (erf_test): Likewise.
28585 (erfc_test): Likewise.
28586 (exp_test): Likewise.
28587 (exp_test_tonearest): Likewise.
28588 (exp_test_towardzero): Likewise.
28589 (exp_test_downward): Likewise.
28590 (exp_test_upward): Likewise.
28591 (exp10_test): Likewise.
28592 (exp2_test): Likewise.
28593 (expm1_test): Likewise.
28594 (fmod_test): Likewise.
28595 (gamma_test): Likewise.
28596 (hypot_test): Likewise.
28597 (j0_test): Likewise.
28598 (j1_test): Likewise.
28599 (jn_test): Likewise.
28600 (lgamma_test): Likewise.
28601 (log_test): Likewise.
28602 (log10_test): Likewise.
28603 (log1p_test): Likewise.
28604 (log2_test): Likewise.
28605 (logb_test_downward): Likewise.
28606 (pow_test): Likewise.
28607 (pow_test_tonearest): Likewise.
28608 (pow_test_towardzero): Likewise.
28609 (pow_test_downward): Likewise.
28610 (pow_test_upward): Likewise.
28611 (remainder_test): Likewise.
28612 (remquo_test): Likewise.
28613 (sin_test): Likewise.
28614 (sin_test_tonearest): Likewise.
28615 (sin_test_towardzero): Likewise.
28616 (sin_test_downward): Likewise.
28617 (sin_test_upward): Likewise.
28618 (sincos_test): Likewise.
28619 (sinh_test): Likewise.
28620 (sinh_test_tonearest): Likewise.
28621 (sinh_test_towardzero): Likewise.
28622 (sinh_test_downward): Likewise.
28623 (sinh_test_upward): Likewise.
28624 (sqrt_test): Likewise.
28625 (tan_test): Likewise.
28626 (tan_test_tonearest): Likewise.
28627 (tan_test_towardzero): Likewise.
28628 (tan_test_downward): Likewise.
28629 (tan_test_upward): Likewise.
28630 (tanh_test): Likewise.
28631 (tgamma_test): Likewise.
28632 (y0_test): Likewise.
28633 (y1_test): Likewise.
28634 (yn_test): Likewise.
28635
323e5cb7
JM
28636 * math/gen-libm-test.pl (adjust_arg): Remove function.
28637 (special_function): Remove argument $in_func. Only handle
28638 generating output for tables of tests, not inside functions.
28639 (parse_args): Likewise.
28640 (generate_testfile): Remove variable $in_func. Update call to
28641 parse_args.
28642 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28643 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28644 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28645 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28646 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28647 (MAX_VALUE_INIT): Rename macro to max_value.
28648 (MIN_VALUE_INIT): Rename macro to min_value.
28649 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28650 (plus_zero): Remove variable.
28651 (minus_zero): Likewise.
28652 (plus_infty): Likewise.
28653 (minus_infty): Likewise.
28654 (qnan_value): Likewise.
28655 (max_value): Likewise.
28656 (min_value): Likewise.
28657 (min_subnorm_value): Likewise.
28658
e054f494
RA
286592013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28660
28661 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28662 uint64_t or uint32_t usage.
28663 * crypt/sha256-block.c: Likewise.
28664 * crypt/sha256-crypt.c: Likewise.
28665 * crypt/sha256.c: Likewise.
28666 * crypt/sha512-block.c: Likewise.
28667 * crypt/sha512-crypt.c: Likewise.
28668 * crypt/sha512.c: Likewise.
28669 * debug/backtrace-tst.c: Likewise.
28670 * debug/pcprofiledump.c: Likewise.
28671 * elf/cache.c: Likewise.
28672 * elf/dl-cache.c: Likewise.
28673 * elf/dl-misc.c: Likewise.
28674 * elf/dl-profile.c: Likewise.
28675 * elf/dl-support.c: Likewise.
28676 * elf/ldconfig.c: Likewise.
28677 * elf/sprof.c: Likewise.
28678 * iconv/dummy-repertoire.c: Likewise.
28679 * iconv/iconv_charmap.c: Likewise.
28680 * iconv/skeleton.c: Likewise.
28681 * iconvdata/8bit-generic.c: Likewise.
28682 * iconvdata/cp737.h: Likewise.
28683 * iconvdata/cp775.h: Likewise.
28684 * iconvdata/ibm1008.h: Likewise.
28685 * iconvdata/ibm1025.h: Likewise.
28686 * iconvdata/ibm1046.h: Likewise.
28687 * iconvdata/ibm1097.h: Likewise.
28688 * iconvdata/ibm1112.h: Likewise.
28689 * iconvdata/ibm1122.h: Likewise.
28690 * iconvdata/ibm1123.h: Likewise.
28691 * iconvdata/ibm1124.h: Likewise.
28692 * iconvdata/ibm1129.h: Likewise.
28693 * iconvdata/ibm1130.h: Likewise.
28694 * iconvdata/ibm1132.h: Likewise.
28695 * iconvdata/ibm1133.h: Likewise.
28696 * iconvdata/ibm1137.h: Likewise.
28697 * iconvdata/ibm1140.h: Likewise.
28698 * iconvdata/ibm1141.h: Likewise.
28699 * iconvdata/ibm1142.h: Likewise.
28700 * iconvdata/ibm1143.h: Likewise.
28701 * iconvdata/ibm1144.h: Likewise.
28702 * iconvdata/ibm1145.h: Likewise.
28703 * iconvdata/ibm1146.h: Likewise.
28704 * iconvdata/ibm1147.h: Likewise.
28705 * iconvdata/ibm1148.h: Likewise.
28706 * iconvdata/ibm1149.h: Likewise.
28707 * iconvdata/ibm1153.h: Likewise.
28708 * iconvdata/ibm1154.h: Likewise.
28709 * iconvdata/ibm1155.h: Likewise.
28710 * iconvdata/ibm1156.h: Likewise.
28711 * iconvdata/ibm1157.h: Likewise.
28712 * iconvdata/ibm1158.h: Likewise.
28713 * iconvdata/ibm1160.h: Likewise.
28714 * iconvdata/ibm1161.h: Likewise.
28715 * iconvdata/ibm1162.h: Likewise.
28716 * iconvdata/ibm1163.h: Likewise.
28717 * iconvdata/ibm1164.h: Likewise.
28718 * iconvdata/ibm1166.h: Likewise.
28719 * iconvdata/ibm1167.h: Likewise.
28720 * iconvdata/ibm12712.h: Likewise.
28721 * iconvdata/ibm1390.h: Likewise.
28722 * iconvdata/ibm1399.h: Likewise.
28723 * iconvdata/ibm16804.h: Likewise.
28724 * iconvdata/ibm4517.h: Likewise.
28725 * iconvdata/ibm4899.h: Likewise.
28726 * iconvdata/ibm4909.h: Likewise.
28727 * iconvdata/ibm4971.h: Likewise.
28728 * iconvdata/ibm5347.h: Likewise.
28729 * iconvdata/ibm803.h: Likewise.
28730 * iconvdata/ibm856.h: Likewise.
28731 * iconvdata/ibm901.h: Likewise.
28732 * iconvdata/ibm902.h: Likewise.
28733 * iconvdata/ibm9030.h: Likewise.
28734 * iconvdata/ibm9066.h: Likewise.
28735 * iconvdata/ibm921.h: Likewise.
28736 * iconvdata/ibm922.h: Likewise.
28737 * iconvdata/ibm9448.h: Likewise.
28738 * iconvdata/isiri-3342.h: Likewise.
28739 * iconvdata/jis0201.h: Likewise.
28740 * include/link.h: Likewise.
28741 * include/netdb.h: Likewise.
28742 * inet/check_native.c: Likewise.
28743 * inet/check_pf.c: Likewise.
28744 * inet/getipv4sourcefilter.c: Likewise.
28745 * inet/getnameinfo.c: Likewise.
28746 * inet/getsourcefilter.c: Likewise.
28747 * inet/htonl.c: Likewise.
28748 * inet/setipv4sourcefilter.c: Likewise.
28749 * inet/setsourcefilter.c: Likewise.
28750 * inet/test-inet6_opt.c: Likewise.
28751 * inet/tst-network.c: Likewise.
28752 * locale/C-collate.c: Likewise.
28753 * locale/C-ctype.c: Likewise.
28754 * locale/C-time.c: Likewise.
28755 * locale/C-translit.h: Likewise.
28756 * locale/loadarchive.c: Likewise.
28757 * locale/programs/3level.h: Likewise.
28758 * locale/programs/charmap.c: Likewise.
28759 * locale/programs/charmap.h: Likewise.
28760 * locale/programs/ld-address.c: Likewise.
28761 * locale/programs/ld-collate.c: Likewise.
28762 * locale/programs/ld-ctype.c: Likewise.
28763 * locale/programs/ld-identification.c: Likewise.
28764 * locale/programs/ld-measurement.c: Likewise.
28765 * locale/programs/ld-messages.c: Likewise.
28766 * locale/programs/ld-monetary.c: Likewise.
28767 * locale/programs/ld-name.c: Likewise.
28768 * locale/programs/ld-numeric.c: Likewise.
28769 * locale/programs/ld-paper.c: Likewise.
28770 * locale/programs/ld-telephone.c: Likewise.
28771 * locale/programs/ld-time.c: Likewise.
28772 * locale/programs/linereader.c: Likewise.
28773 * locale/programs/locale.c: Likewise.
28774 * locale/programs/locarchive.c: Likewise.
28775 * locale/programs/locfile.h: Likewise.
28776 * locale/programs/repertoire.c: Likewise.
28777 * locale/programs/simple-hash.c: Likewise.
28778 * locale/programs/simple-hash.h: Likewise.
28779 * malloc/memusage.c: Likewise.
28780 * malloc/memusagestat.c: Likewise.
28781 * nis/nis_defaults.c: Likewise.
28782 * nis/nis_hash.c: Likewise.
28783 * nis/nis_print.c: Likewise.
28784 * nis/nis_xdr.c: Likewise.
28785 * nscd/connections.c: Likewise.
28786 * nscd/hstcache.c: Likewise.
28787 * nscd/nscd_gethst_r.c: Likewise.
28788 * nscd/nscd_getserv_r.c: Likewise.
28789 * nscd/nscd_helper.c: Likewise.
28790 * nscd/servicescache.c: Likewise.
28791 * nss/makedb.c: Likewise.
28792 * nss/nss_db/db-XXX.c: Likewise.
28793 * nss/nss_db/db-initgroups.c: Likewise.
28794 * nss/nss_db/db-netgrp.c: Likewise.
28795 * nss/nss_files/files-network.c: Likewise.
28796 * nss/nss_files/files-parse.c: Likewise.
28797 * posix/bug-regex5.c: Likewise.
28798 * posix/fnmatch_loop.c: Likewise.
28799 * posix/regcomp.c: Likewise.
28800 * posix/regexec.c: Likewise.
28801 * posix/tst-rfc3484-2.c: Likewise.
28802 * posix/tst-rfc3484-3.c: Likewise.
28803 * posix/tst-rfc3484.c: Likewise.
28804 * resolv/nss_dns/dns-canon.c: Likewise.
28805 * resolv/nss_dns/dns-network.c: Likewise.
28806 * resolv/res_init.c: Likewise.
28807 * resolv/res_mkquery.c: Likewise.
28808 * resolv/tst-aton.c: Likewise.
28809 * stdlib/cxa_atexit.c: Likewise.
28810 * stdlib/cxa_finalize.c: Likewise.
28811 * stdlib/gen-fpioconst.c: Likewise.
28812 * stdlib/strtol_l.c: Likewise.
28813 * string/tst-endian.c: Likewise.
28814 * sunrpc/auth_des.c: Likewise.
28815 * sunrpc/clnt_udp.c: Likewise.
28816 * sunrpc/rtime.c: Likewise.
28817 * sunrpc/svcauth_des.c: Likewise.
28818 * sunrpc/xdr.c: Likewise.
28819 * sunrpc/xdr_intXX_t.c: Likewise.
28820 * sunrpc/xdr_rec.c: Likewise.
28821 * sysdeps/generic/ldconfig.h: Likewise.
28822 * sysdeps/generic/ldsodefs.h: Likewise.
28823 * sysdeps/generic/memusage.h: Likewise.
28824 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28827 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28828 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28829 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28830 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28831 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28832 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28833 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28834 * sysdeps/posix/getaddrinfo.c: Likewise.
28835 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28836 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28837 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28838 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28839 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28840 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28841 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28842 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28843 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28844 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28845 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28846 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28847 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28848 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28849 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28850 * sysdeps/x86_64/dl-tls.h: Likewise.
28851 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28852 * time/alt_digit.c: Likewise.
28853 * time/era.c: Likewise.
28854 * wcsmbs/tst-c16c32-1.c: Likewise.
28855
8c75f674
JM
288562013-05-16 Joseph Myers <joseph@codesourcery.com>
28857
28858 * math/libm-test.inc (struct test_sincos_data): New type.
28859 (RUN_TEST_LOOP_sincos): New macro.
28860 (sincos_test_data): New variable.
28861 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28862
e6e49e59
RH
288632013-05-16 Richard Henderson <rth@redhat.com>
28864
28865 * math/atest-exp2.c (LIMB64): New macro.
28866 (CONSTSZ): New macro.
28867 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28868 (hexdig): Move ...
28869 (print_mpn_fp): ... to function scope.
28870 (read_mpn_hex): Remove.
28871 (get_log2): Remove.
28872 (exp2_mpn): Use mp_log2.
28873 (main): Use mp_exp1.
28874
15c7c18d
JM
288752013-05-16 Joseph Myers <joseph@codesourcery.com>
28876
105a07df
JM
28877 * math/libm-test.inc: Remove comment about not testing "inexact"
28878 exceptions.
28879 (INEXACT_EXCEPTION): New macro.
28880 (NO_INEXACT_EXCEPTION): Likewise.
28881 (INVALID_EXCEPTION_OK): Update value.
28882 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28883 (OVERFLOW_EXCEPTION_OK): Likewise.
28884 (UNDERFLOW_EXCEPTION_OK): Likewise.
28885 (IGNORE_ZERO_INF_SIGN): Likewise.
28886 (ERRNO_UNCHANGED): Likewise.
28887 (ERRNO_EDOM): Likewise.
28888 (ERRNO_ERANGE): Likewise.
28889 (test_exceptions): Handle testing "inexact" exceptions.
28890 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28891 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28892 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28893 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28894 INEXACT_EXCEPTION.
28895 (rint_towardzero_test_data): Likewise.
28896 (rint_downward_test_data): Likewise.
28897 (rint_upward_test_data): Likewise.
28898
e9eee333
JM
28899 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28900 with OVERFLOW_EXCEPTION.
28901 (exp10_test_data): Likewise.
28902 (exp2_test_data): Likewise.
28903 (expm1_test_data): Likewise.
28904 (lgamma_test_data): Likewise.
28905 (pow_test_data): Likewise.
28906 (tgamma_test_data): Likewise.
28907 (yn_test_data): Remove duplicate test of overflow.
28908
1c38ff73
JM
28909 * math/libm-test.inc (struct test_cc_c_data): New type.
28910 (RUN_TEST_LOOP_cc_c): New macro.
28911 (cpow_test_data): New variable.
28912 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28913
15c7c18d
JM
28914 * math/libm-test.inc (struct test_f_L_data): New type.
28915 (RUN_TEST_LOOP_f_L): New macro.
28916 (llrint_test_data): New variable.
28917 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28918 (llrint_tonearest_test_data): New variable.
28919 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28920 (llrint_towardzero_test_data): New variable.
28921 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28922 (llrint_downward_test_data): New variable.
28923 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28924 (llrint_upward_test_data): New variable.
28925 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28926 (llround_test_data): New variable.
28927 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28928
f137ff13
PC
289292013-05-13 Peter Collingbourne <pcc@google.com>
28930
28931 * math/atest-exp2.c (get_log2): Remove const attribute.
28932
3608cb24
JM
289332013-05-15 Joseph Myers <joseph@codesourcery.com>
28934
28935 * math/libm-test.inc (struct test_f_l_data): New type.
28936 (RUN_TEST_LOOP_f_l): New macro.
28937 (lrint_test_data): New variable.
28938 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28939 (lrint_tonearest_test_data): New variable.
28940 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28941 (lrint_towardzero_test_data): New variable.
28942 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28943 (lrint_downward_test_data): New variable.
28944 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28945 (lrint_upward_test_data): New variable.
28946 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28947 (lround_test_data): New variable.
28948 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28949
39b1f617
PC
289502013-05-15 Peter Collingbourne <pcc@google.com>
28951
1deff3dc
PC
28952 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28953 (EXTRACT_WORDS64) Use where appropriate.
28954 (INSERT_WORDS64) Likewise.
28955
791f3ba0
PC
28956 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28957 constraints with x constraints.
28958 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28959
39b1f617
PC
28960 * malloc/obstack.c (_obstack_compat): Add initializer.
28961
12fba011
EM
289622013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28963
28964 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28965 si_trapno and add si_addr_lsb to _sifields.sigfault.
28966 (si_trapno): Remove macro.
28967 (si_addr_lsb): Define new macro.
28968 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28969
d369f531
JM
289702013-05-15 Joseph Myers <joseph@codesourcery.com>
28971
b861c6c4
JM
28972 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28973 instead of TEST_f_l.
28974 (llrint_test_tonearest): Likewise.
28975 (llrint_test_towardzero): Likewise.
28976 (llrint_test_downward): Likewise.
28977 (llrint_test_upward): Likewise.
28978 (llround_test): Likewise.
28979
7abeee12
JM
28980 * math/libm-test.inc (struct test_f_i_data): Add comment.
28981 (RUN_TEST_LOOP_f_b): New macro.
28982 (RUN_TEST_LOOP_f_b_tg): Likewise.
28983 (finite_test_data): New variable.
28984 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28985 (isfinite_test_data): New variable.
28986 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28987 (isinf_test_data): New variable.
28988 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28989 (isnan_test_data): New variable.
28990 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28991 (isnormal_test_data): New variable.
28992 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28993 (issignaling_test_data): New variable.
28994 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28995 (signbit_test_data): New variable.
28996 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28997
cbe8c4d3
JM
28998 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28999 with INVALID_EXCEPTION.
29000 (acosh_test_data): Likewise.
29001 (asin_test_data): Likewise.
29002 (atanh_test_data): Likewise.
29003 (fmod_test_data): Likewise.
29004 (log_test_data): Likewise.
29005 (log10_test_data): Likewise.
29006 (log2_test_data): Likewise.
29007 (pow_test_data): Likewise.
29008 (sqrt_test_data): Likewise.
29009 (y0_test_data): Likewise.
29010 (y1_test_data): Likewise.
29011 (yn_test_data): Likewise.
29012
5575c0e5
JM
29013 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29014 function contents.
29015
d369f531
JM
29016 * math/libm-test.inc (struct test_ff_i_data): New type.
29017 (RUN_TEST_LOOP_ff_i_tg): New macro.
29018 (isgreater_test_data): New variable.
29019 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29020 (isgreaterequal_test_data): New variable.
29021 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29022 (isless_test_data): New variable.
29023 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29024 (islessequal_test_data): New variable.
29025 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29026 (islessgreater_test_data): New variable.
29027 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29028 (isunordered_test_data): New variable.
29029 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29030
781fd748
DM
290312013-05-14 David S. Miller <davem@davemloft.net>
29032
29033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29034
87aa21df
JM
290352013-05-14 Joseph Myers <joseph@codesourcery.com>
29036
5e908270
JM
29037 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29038
f71172e5
JM
29039 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29040 extra_test to int.
29041 (struct test_f_i_data): Change type of max_ulp to int.
29042
8cfa635a
JM
29043 * math/libm-test.inc (test_ffI_f1_data): New type.
29044 (RUN_TEST_LOOP_ffI_f1): New macro.
29045 (remquo_test_data): New variable.
29046 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29047
2bcb36b2
JM
29048 * setjmp/tst-setjmp-fp.c: New file.
29049 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29050 (link-libm): New variable.
29051 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29052
acbd839a
JM
29053 * math/libm-test.inc (struct test_f_i_data): New type.
29054 (RUN_TEST_LOOP_f_i): New macro.
29055 (RUN_TEST_LOOP_f_i_tg): Likewise.
29056 (fpclassify_test_data): New variable.
29057 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29058 (ilogb_test_data): New variable.
29059 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29060
e414d745
JM
29061 * math/libm-test.inc (scalbln_test): Correct function name in END
29062 call.
29063
d9c2a0fd
JM
29064 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29065 (RUN_TEST_LOOP_fI_f1): New macro.
29066 (frexp_test_data): New variable.
29067 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29068
9dc9095d
JM
29069 * math/libm-test.inc (struct test_fF_f1_data): New type.
29070 (RUN_TEST_LOOP_fF_f1): New macro.
29071 (modf_test_data): New variable.
29072 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29073
87aa21df
JM
29074 * math/libm-test.inc (struct test_f_f1_data): New type.
29075 (RUN_TEST_LOOP_f_f1): New macro.
29076 (gamma_test_data): New variable.
29077 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29078 (lgamma_test_data): New variable.
29079 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29080
141af660
CD
290812013-05-13 Carlos O'Donell <carlos@redhat.com>
29082
29083 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29084 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29085 (main): Comment "tls" pseudo-hwcap.
29086
6d33265c
JM
290872013-05-13 Joseph Myers <joseph@codesourcery.com>
29088
68fc074c
JM
29089 * math/libm-test.inc (struct test_fl_f_data): New type.
29090 (RUN_TEST_LOOP_fl_f): New variable.
29091 (scalbln_test_data): New variable.
29092 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29093
243216e1
JM
29094 * math/libm-test.inc (struct test_fi_f_data): New type.
29095 (RUN_TEST_LOOP_fi_f): New macro.
29096 (ldexp_test_data): New variable.
29097 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29098 (scalbn_test_data): New variable.
29099 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29100
6a1992e2
JM
29101 * math/libm-test.inc (struct test_c_f_data): New type.
29102 (RUN_TEST_LOOP_c_f): New macro.
29103 (cabs_test_data): New variable.
29104 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29105 (carg_test_data): New variable.
29106 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29107 (cimag_test_data): New variable.
29108 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29109 (creal_test_data): New variable.
29110 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29111
0e400df5
JM
29112 * math/libm-test.inc (struct test_if_f_data): New type.
29113 (RUN_TEST_LOOP_if_f): New macro.
29114 (jn_test_data): New variable.
29115 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29116 (yn_test_data): New variable.
29117 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29118
6d33265c
JM
29119 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29120
f98ece5f
AZ
291212013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29122
29123 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29124 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29125
0f7d347b
SP
291262013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29127
43fe811b
SP
29128 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29129 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29130 (bench-deps): Add bench-timing.h.
29131 * benchtests-bench-skeleton.c: Include bench-timing.h.
29132 (main): Use TIMING_* macros instead of clock_gettime.
29133 * benchtests/bench-timing.h: New file.
29134
0f7d347b
SP
29135 [BZ #14582]
29136 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29137 Renamed from _LIB_VERSION.
29138 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29139
601a3a5f
JM
291402013-05-12 Joseph Myers <joseph@codesourcery.com>
29141
4f184d30
JM
29142 * math/libm-test.inc (struct test_fff_f_data): New type.
29143 (RUN_TEST_LOOP_fff_f): New macro.
29144 (fma_test_data): New variable.
29145 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29146 (fma_towardzero_test_data): New variable.
29147 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29148 (fma_downward_test_data): New variable.
29149 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29150 (fma_upward_test_data): New variable.
29151 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29152
08198877
JM
29153 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29154 (struct test_c_c_data): New type.
29155 (RUN_TEST_LOOP_c_c): New macro.
29156 (cacos_test_data): New variable.
29157 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29158 (cacosh_test_data): New variable.
29159 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29160 (casin_test_data): New variable.
29161 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29162 (casinh_test_data): New variable.
29163 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29164 (catan_test_data): New variable.
29165 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29166 (catanh_test_data): New variable.
29167 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29168 (ccos_test_data): New variable.
29169 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29170 (ccosh_test_data): New variable.
29171 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29172 (cexp_test_data): New variable.
29173 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29174 (clog_test_data): New variable.
29175 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29176 (clog10_test_data): New variable.
29177 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29178 (conj_test_data): New variable.
29179 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29180 (cproj_test_data): New variable.
29181 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29182 (csin_test_data): New variable.
29183 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29184 (csinh_test_data): New variable.
29185 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29186 (csqrt_test_data): New variable.
29187 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29188 (ctan_test_data): New variable.
29189 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29190 (ctan_tonearest_test_data): New variable.
29191 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29192 (ctan_towardzero_test_data): New variable.
29193 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29194 (ctan_downward_test_data): New variable.
29195 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29196 (ctan_upward_test_data): New variable.
29197 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29198 (ctanh_test_data): New variable.
29199 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29200 (ctanh_tonearest_test_data): New variable.
29201 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29202 (ctanh_towardzero_test_data): New variable.
29203 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29204 (ctanh_downward_test_data): New variable.
29205 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29206 (ctanh_upward_test_data): New variable.
29207 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29208 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29209 of BUILD_COMPLEX.
29210
601a3a5f
JM
29211 * math/libm-test.inc (struct test_ff_f_data): New type.
29212 (struct test_ff_f_data_nexttoward): Likewise.
29213 (RUN_TEST_LOOP_2_f): New macro.
29214 (RUN_TEST_LOOP_ff_f): Likewise.
29215 (atan2_test_data): New variable.
29216 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29217 (copysign_test_data): New variable.
29218 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29219 (fdim_test_data): New variable.
29220 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29221 (fmax_test_data): New variable.
29222 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29223 (fmin_test_data): New variable.
29224 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29225 (fmod_test_data): New variable.
29226 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29227 (hypot_test_data): New variable.
29228 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29229 (nextafter_test_data): New variable.
29230 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29231 (nexttoward_test_data): New variable.
29232 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29233 (pow_test_data): New variable.
29234 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29235 (pow_tonearest_test_data): New variable.
29236 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29237 (pow_towardzero_test_data): New variable.
29238 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29239 (pow_downward_test_data): New variable.
29240 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29241 (pow_upward_test_data): New variable.
29242 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29243 (remainder_test_data): New variable.
29244 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29245 (scalb_test_data): New variable.
29246 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29247 * sysdeps/i386/fpu/libm-test-ulps: Update.
29248
74c57478
JM
292492013-05-11 Joseph Myers <joseph@codesourcery.com>
29250
8329e4da
JM
29251 * math/libm-test.inc (fma_test): Use max_value instead of local
29252 variable fltmax.
29253 (nextafter_test): Likewise.
29254
74c57478
JM
29255 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29256 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29257 (acos_downward_test_data): New variable.
29258 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29259 (acos_upward_test_data): New variable.
29260 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29261 (acosh_test_data): New variable.
29262 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29263 (asin_test_data): New variable.
29264 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29265 (asin_tonearest_test_data): New variable.
29266 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29267 (asin_towardzero_test_data): New variable.
29268 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29269 (asin_downward_test_data): New variable.
29270 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29271 (asin_upward_test_data): New variable.
29272 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29273 (asinh_test_data): New variable.
29274 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29275 (atan_test_data): New variable.
29276 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29277 (atanh_test_data): New variable.
29278 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29279 (cbrt_test_data): New variable.
29280 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29281 (ceil_test_data): New variable.
29282 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29283 (cos_test_data): New variable.
29284 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29285 (cos_tonearest_test_data): New variable.
29286 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29287 (cos_towardzero_test_data): New variable.
29288 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29289 (cos_downward_test_data): New variable.
29290 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29291 (cos_upward_test_data): New variable.
29292 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29293 (cosh_test_data): New variable.
29294 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29295 (cosh_tonearest_test_data): New variable.
29296 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29297 (cosh_towardzero_test_data): New variable.
29298 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29299 (cosh_downward_test_data): New variable.
29300 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29301 (cosh_upward_test_data): New variable.
29302 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29303 (erf_test_data): New variable.
29304 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29305 (erfc_test_data): New variable.
29306 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29307 (exp_test_data): New variable.
29308 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29309 (exp_tonearest_test_data): New variable.
29310 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29311 (exp_towardzero_test_data): New variable.
29312 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29313 (exp_downward_test_data): New variable.
29314 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29315 (exp_upward_test_data): New variable.
29316 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29317 (exp10_test_data): New variable.
29318 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29319 (exp2_test_data): New variable.
29320 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29321 (expm1_test_data): New variable.
29322 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29323 (fabs_test_data): New variable.
29324 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29325 (floor_test_data): New variable.
29326 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29327 (j0_test_data): New variable.
29328 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29329 (j1_test_data): New variable.
29330 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29331 (log_test_data): New variable.
29332 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29333 (log10_test_data): New variable.
29334 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29335 (log1p_test_data): New variable.
29336 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29337 (log2_test_data): New variable.
29338 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29339 (logb_test_data): New variable.
29340 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29341 (logb_downward_test_data): New variable.
29342 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29343 (nearbyint_test_data): New variable.
29344 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29345 (rint_test_data): New variable.
29346 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29347 (rint_tonearest_test_data): New variable.
29348 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29349 (rint_towardzero_test_data): New variable.
29350 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29351 (rint_downward_test_data): New variable.
29352 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29353 (rint_upward_test_data): New variable.
29354 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29355 (round_test_data): New variable.
29356 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29357 (sin_test_data): New variable.
29358 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29359 (sin_tonearest_test_data): New variable.
29360 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29361 (sin_towardzero_test_data): New variable.
29362 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29363 (sin_downward_test_data): New variable.
29364 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29365 (sin_upward_test_data): New variable.
29366 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29367 (sinh_test_data): New variable.
29368 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29369 (sinh_tonearest_test_data): New variable.
29370 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29371 (sinh_towardzero_test_data): New variable.
29372 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29373 (sinh_downward_test_data): New variable.
29374 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29375 (sinh_upward_test_data): New variable.
29376 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29377 (sqrt_test_data): New variable.
29378 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29379 (tan_test_data): New variable.
29380 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29381 (tan_tonearest_test_data): New variable.
29382 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29383 (tan_towardzero_test_data): New variable.
29384 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29385 (tan_downward_test_data): New variable.
29386 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29387 (tan_upward_test_data): New variable.
29388 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29389 (tanh_test_data): New variable.
29390 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29391 (tgamma_test_data): New variable.
29392 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29393 (trunc_test_data): New variable.
29394 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29395 (y0_test_data): New variable.
29396 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29397 (y1_test_data): New variable.
29398 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29399 (significand_test_data): New variable.
29400 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29401
7187d844
CG
294022013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29403
29404 [BZ #12387]
29405 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29406
f63fae73
PT
294072013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29408
29409 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29410
8a67a4b3
AJ
294112013-05-10 Andreas Jaeger <aj@suse.de>
29412
29413 [BZ #15448]
29414 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29415 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29416
51df539d
JM
294172013-05-10 Joseph Myers <joseph@codesourcery.com>
29418
29419 * math/gen-libm-test.pl (adjust_arg): New function.
29420 (special_functions): Handle generating output in both functions
29421 and arrays.
29422 (parse_args): Likewise.
29423 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29424 $in_func argument to parse_args.
29425 * math/libm-test.inc (struct test_f_f_data): New type.
29426 (IF_ROUND_INIT_): New macro.
29427 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29428 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29429 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29430 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29431 (ROUND_RESTORE_): Likewise.
29432 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29433 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29434 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29435 (ROUND_RESTORE_FE_UPWARD): Likewise.
29436 (RUN_TEST_LOOP_f_f): New macro.
29437 (acos_test_data): New variable.
29438 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29439 (acos_tonearest_test_data): New variable.
29440 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29441
5c637fe5
SP
294422013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29443
29444 * benchtests/bench-skeleton.c (startup): Fix coding style.
29445
ab2b9461
JM
294462013-05-10 Joseph Myers <joseph@codesourcery.com>
29447
29448 [BZ #6809]
29449 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29450 negative infinity argument.
29451 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29452 negative infinity argument.
29453 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29454 negative infinity argument.
29455 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29456 domain errors.
29457
4c0fe6fe
FW
294582013-05-10 Florian Weimer <fweimer@redhat.com>
29459
29460 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29461 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29462 * iconv/iconv_prog.c (main): Likewise.
29463 * locale/programs/charmap-dir.c (charmap_readdir)
29464 (fopen_uncompressed): Likewise.
29465 * locale/programs/locfile.c (siblings_uncached)
29466 (write_locale_data): Use lstat64 instead of lstat.
29467 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29468 stat.
29469
a3375d29
AJ
294702013-05-10 Andreas Jaeger <aj@suse.de>
29471
29472 [BZ #15395]
29473 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29474 localization.
29475 Include <locale.h>.
29476
36129722
CD
294772013-05-09 Carlos O'Donell <carlos@redhat.com>
29478
29479 * elf/dl-close.c (_dl_close_worker): Add comments.
29480
faa7f811
JM
294812013-05-09 Joseph Myers <joseph@codesourcery.com>
29482
ed41ffef
JM
29483 [BZ #15359]
29484 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29485 high part of pi/2.
29486 (__ieee754_rem_pio2l): Update comments.
29487
d0213cd0
JM
29488 [BZ #15429]
29489 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29490 high part of pi/2.
29491 (__ieee754_rem_pio2l): Update comments.
29492
0d3e777a
JM
29493 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29494 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29495
24f56066
JM
29496 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29497 M_PI_4l.
29498
faa7f811
JM
29499 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29500 (M_PI_34_LOG10El): Likewise.
29501 (M_PI2_LOG10El): Likewise.
29502 (M_PI4_LOG10El): Likewise.
29503 (M_PI_LOG10El): Likewise.
29504
e9a5e0fd
AZ
295052013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29506
29507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29508
d8cd06db
JM
295092013-05-08 Joseph Myers <joseph@codesourcery.com>
29510
a0d9f9d7
JM
29511 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29512 (MINUS_ZERO_INIT): Likewise.
29513 (PLUS_INFTY_INIT): Likewise.
29514 (MINUS_INFTY_INIT): Likewise.
29515 (QNAN_VALUE_INIT): Likewise.
29516 (MAX_VALUE_INIT): Likewise.
29517 (MIN_VALUE_INIT): Likewise.
29518 (MIN_SUBNORM_VALUE_INIT): Likewise.
29519 (plus_zero): Initialize with PLUS_ZERO_INIT.
29520 (minus_zero): Initialize with MINUS_ZERO_INIT.
29521 (plus_infty): Initialize with PLUS_INFTY_INIT.
29522 (minus_infty): Initialize with MINUS_INFTY_INIT.
29523 (qnan_value): Initialize with QNAN_VALUE_INIT.
29524 (max_value): Initialize with MAX_VALUE_INIT.
29525 (min_value): Initialize with MIN_VALUE_INIT.
29526 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29527
ae08db3b
JM
29528 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29529 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29530 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29531 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29532
f44bf14a
JM
29533 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29534 (RUN_TEST_2_f): Likewise.
29535 (RUN_TEST_ff_f): Likewise.
29536 (RUN_TEST_fi_f): Likewise.
29537 (RUN_TEST_fl_f): Likewise.
29538 (RUN_TEST_fff_f): Likewise.
29539 (RUN_TEST_c_f): Likewise.
29540 (RUN_TEST_f_f1): Likewise.
29541 (RUN_TEST_fF_f1): Likewise.
29542 (RUN_TEST_fI_f1): Likewise.
29543 (RUN_TEST_ffI_f1): Likewise.
29544 (RUN_TEST_c_c): Likewise.
29545 (RUN_TEST_cc_c): Likewise.
29546 (RUN_TEST_f_i): Likewise.
29547 (RUN_TEST_f_i_tg): Likewise.
29548 (RUN_TEST_ff_i_tg): Likewise.
29549 (RUN_TEST_f_b): Likewise.
29550 (RUN_TEST_f_b_tg): Likewise.
29551 (RUN_TEST_f_l): Likewise.
29552 (RUN_TEST_f_L): Likewise.
29553 (RUN_TEST_sincos): Likewise.
29554 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29555 whether to show exceptions. Do not include ");\n" in return
29556 value.
29557 (special_functions): Output call to RUN_TEST_sincos instead of
29558 check_float calls. Update calls to new_test.
29559 (parse_args): Output call to single RUN_TEST_* macro instead of
29560 check_* calls and other assignments. Update calls to new_test.
29561
d8cd06db
JM
29562 [BZ #2546]
29563 [BZ #2560]
29564 [BZ #5159]
29565 [BZ #15426]
29566 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29567 input to result for tgamma overflow.
29568 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29569 (gamma_coeff): New variable.
29570 (NCOEFF): New macro.
29571 (gamma_positive): New function.
29572 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29573 underflow here. Use gamma_positive instead of exp (lgamma) for
29574 other arguments.
29575 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29576 (gamma_coeff): New variable.
29577 (NCOEFF): New macro.
29578 (gammaf_positive): New function.
29579 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29580 underflow here. Use gamma_positive instead of exp (lgamma) for
29581 other arguments.
29582 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29583 (gamma_coeff): New variable.
29584 (NCOEFF): New macro.
29585 (gammal_positive): New function.
29586 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29587 underflow here. Use gamma_positive instead of exp (lgamma) for
29588 other arguments.
29589 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29590 (gamma_coeff): New variable.
29591 (NCOEFF): New macro.
29592 (gammal_positive): New function.
29593 (__ieee754_gammal_r): Handle positive infinity, overflow and
29594 underflow here. Handle NaN the same as positive infinity. Remove
29595 check x < 0xffffffff for negative integers. Use gamma_positive
29596 instead of exp (lgamma) for other arguments.
29597 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29598 (gamma_coeff): New variable.
29599 (NCOEFF): New macro.
29600 (gammal_positive): New function.
29601 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29602 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29603 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29604 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29605 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29606 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29607 * sysdeps/generic/math_private.h (__gamma_productf): New
29608 prototype.
29609 (__gamma_product): Likewise.
29610 (__gamma_productl): Likewise.
29611 * math/Makefile (libm-calls): Add gamma_product.
29612 * math/libm-test.inc (tgamma_test): Add more tests.
29613 * sysdeps/i386/fpu/libm-test-ulps: Update.
29614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29615
bb7cf681
OB
296162013-05-08 Ondřej Bílka <neleai@seznam.cz>
29617
29618 * benchtests/bench-skeleton.c (main): Preheat CPU.
29619
ba853947
AJ
296202013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29621
29622 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29623
8347c74c
RM
296242013-05-07 Roland McGrath <roland@hack.frob.com>
29625
29626 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29627 and _dl_skip_args_internal.
29628
e8dd4791
CD
296292013-05-07 Carlos O'Donell <carlos@redhat.com>
29630
29631 * manual/message.texi (Message Translation): Talk about users.
29632 Message to key mapping impacts design.
29633
c7405830
RM
296342013-05-06 Roland McGrath <roland@hack.frob.com>
29635
a9173057
RM
29636 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29637
976e2f03
RM
29638 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29639
9723ffc5
RM
29640 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29641 * sysdeps/wordsize-64/glob64.c: ... here.
29642
962e6658
RM
29643 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29644 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29645 New macros.
29646
ee586a6d
RM
29647 * debug/getlogin_r_chk.c: Moved to ...
29648 * login/getlogin_r_chk.c: ... here.
29649 * debug/Makefile (routines): Move getlogin_r_chk to ...
29650 * login/Makefile (routines): ... here.
29651 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29652 * login/Versions (libc: GLIBC_2.4): ... here.
29653
355f9165
RM
29654 * io/poll.c (__poll): Renamed from poll.
29655 Add libc_hidden_def.
29656 (poll): Define as weak alias.
29657
bd9ffde6
RM
29658 * debug/ptsname_r_chk.c: Moved to ...
29659 * login/ptsname_r_chk.c: ... here.
29660 * debug/Makefile (routines): Move ptsname_r_chk to ...
29661 * login/Makefile (routines): ... here.
29662 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29663 * login/Versions (libc: GLIBC_2.4): ... here.
29664
8fb16a04
RM
29665 * posix/getlogin.c: Moved to ...
29666 * login/getlogin.c: ... here.
29667 * posix/getlogin_r.c: Moved to ...
29668 * login/getlogin_r.c: ... here.
29669 * posix/getlogin_r.c: Moved to ...
29670 * login/getlogin_r.c: ... here.
29671 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29672 * login/Makefile (routines): ... here.
29673 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29674 * login/Versions (libc: GLIBC_2.0): ... here.
29675
b99b892f
RM
29676 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29677 (setrlimit): Define as weak alias.
29678
c7405830
RM
29679 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29680 Call __ names for open, ftruncate, and close.
29681 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29682 (truncate): Define as weak alias.
29683
5bf96de5
JM
296842013-05-06 Joseph Myers <joseph@codesourcery.com>
29685
9ea3513c
JM
29686 * math/gen-libm-test.pl (parse_args): Initialize x before each
29687 test of frexp, modf and remquo.
29688
5bf96de5
JM
29689 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29690 test signgam value.
29691
16e616a7
AZ
296922013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29693
29694 [BZ #15418]
29695 [BZ #15419]
29696 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29697 internal tests.
29698 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29699
d5e82754
RM
297002013-05-06 Roland McGrath <roland@hack.frob.com>
29701
29702 * elf/dl-writev.h: New file.
29703 * elf/dl-misc.c: Include it.
29704 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29705 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29706
a7548d41
JM
297072013-05-04 Joseph Myers <joseph@codesourcery.com>
29708
b7dab1e4
JM
29709 * math/libm-test.inc (noXFails): Remove variable.
29710 (noXPasses): Likewise.
29711 (BUILD_COMPLEX_INT): Remove macro.
29712 (print_screen): Remove xfail argument.
29713 (print_screen_max_error): Likewise.
29714 (update_stats): Likewise.
29715 (print_max_error): Likewise. Update calls to other affected
29716 functions.
29717 (print_complex_max_error): Likewise.
29718 (test_single_exception): Update calls to print_screen.
29719 (test_single_errno): Likewise.
29720 (check_float_internal): Remove xfail argument. Update calls to
29721 other affected functions.
29722 (check_float): Likewise.
29723 (check_complex): Likewise.
29724 (check_int): Likewise.
29725 (check_long): Likewise.
29726 (check_bool): Likewise.
29727 (check_longlong): Likewise.
29728 (main): Don't print noXFails and noXPasses.
29729 * math/gen-libm-test.pl (top level): Don't mention expected
29730 failure handling in comment.
29731 (new_test): Don't handle expected failures.
29732 (parse_args): Don't mention expected failure handling in comment.
29733 (generate_testfile): Don't handle expected failures.
29734 (parse_ulps): Likewise.
29735 (print_ulps_file): Likewise.
29736 (get_failure): Remove function.
29737 (output_test): Don't handle expected failures.
29738 * make/README.libm-test: Don't mention expected failure handling.
29739
a7548d41
JM
29740 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29741 (minus_zero): Likewise.
29742 (plus_infty): Likewise.
29743 (minus_infty): Likewise.
29744 (qnan_value): Likewise.
29745 (max_value): Likewise.
29746 (min_value): Likewise.
29747 (min_subnorm_value): Likewise.
29748 (initialize): Do not initialize those variables dynamically.
29749
60bfd54c
RM
297502013-05-03 Roland McGrath <roland@hack.frob.com>
29751
cc0e6ed8
RM
29752 * io/open.c (__open_2): Moved to ...
29753 * io/open_2.c: ... this new file.
29754 * io/open64.c (__open64_2): Moved to ...
29755 * io/open64_2.c: ... this new file.
29756 * io/openat.c (__openat_2): Moved to ...
29757 * io/openat_2.c: ... this new file.
29758 * io/openat64.c (__openat64_2): Moved to ...
29759 * io/openat64_2.c: ... this new file.
29760 * io/Makefile (routines): Add them.
29761 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29762 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29763 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29764 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29765 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29766 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29767 (__openat64): Add hidden_ver.
29768 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29769 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29770
60bfd54c
RM
29771 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29772 Separately conditionalize setting of GLRO(dl_sysinfo) so
29773 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29774 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29775
83e7640f
AZ
297762013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29777
29778 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29779 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29780 definition.
29781 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29782 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29783 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29784 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29785 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29786
d5dc2af3
JM
297872013-05-03 Joseph Myers <joseph@codesourcery.com>
29788
c31a5b1e
JM
29789 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29790 test signgam value.
29791
d5dc2af3
JM
29792 * math/libm-test.inc (hypot_test): Do not use
29793 IGNORE_ZERO_INF_SIGN.
29794
164fd39d
AJ
297952013-05-03 Andreas Jaeger <aj@suse.de>
29796
29797 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29798 Linux 3.9.
29799 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29800 (PF_MAX): Adjust for VSOCK change.
29801
8237f48c
AZ
298022013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29803
29804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29805
9df02941
CD
298062013-05-02 Carlos O'Donell <carlos@redhat.com>
29807
29808 [BZ #15264]
29809 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29810 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29811 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29812
d422395e
DM
298132013-05-02 David S. Miller <davem@davemloft.net>
29814
29815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29816
a07c5731
OB
298172013-05-01 Ondřej Bílka <neleai@seznam.cz>
29818
29819 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29820
1324e37f
RM
298212013-05-01 Roland McGrath <roland@hack.frob.com>
29822
29823 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29824
0695940b
RS
298252013-05-01 Richard Smith <richard@metafoo.co.uk>
29826
bb5f27ad 29827 [BZ #14952]
0695940b
RS
29828 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29829 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29830 Use __attribute__ ((__gnu_inline__)).
29831 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29832 Don't use __attribute__ ((__gnu_inline__)).
29833
10de07f5
JM
298342013-05-01 Joseph Myers <joseph@codesourcery.com>
29835
29836 [BZ #15423]
29837 * math/s_catan.c (__catan): Handle small real or imaginary part of
29838 input specially to avoid spurious underflow.
29839 * math/s_catanf.c (__catanf): Likewise.
29840 * math/s_catanh.c (__catanh): Likewise.
29841 * math/s_catanhf.c (__catanhf): Likewise.
29842 * math/s_catanhl.c (__catanhl): Likewise.
29843 * math/s_catanl.c (__catanl): Likewise.
29844 * math/libm-test.inc (catan_test): Add more tests.
29845 (catanh_test): Likewise.
29846 * sysdeps/i386/fpu/libm-test-ulps: Update.
29847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29848
cb4d5414
AZ
298492013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29850
29851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29852
caf84319
JM
298532013-04-30 Joseph Myers <joseph@codesourcery.com>
29854
29855 [BZ #15416]
29856 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29857 accurately for denominator in atan2.
29858 * math/s_catanf.c (__catanf): Likewise.
29859 * math/s_catanh.c (__catanh): Likewise.
29860 * math/s_catanhf.c (__catanhf): Likewise.
29861 * math/s_catanhl.c (__catanhl): Likewise.
29862 * math/s_catanl.c (__catanl): Likewise.
29863 * math/libm-test.inc (catan_test): Add more tests.
29864 (catanh_test): Likewise.
29865 * sysdeps/i386/fpu/libm-test-ulps: Update.
29866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29867
d569c6ee
SP
298682013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29869
6dbe713d
SP
29870 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29871
f0ee064b
SP
29872 * benchtests/Makefile (bench): Remove slow benchmarks.
29873 * benchtests/atan-inputs: Add slow benchmark inputs.
29874 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29875 (BENCH_FUNC): Accept variant offset.
29876 (VARIANT): Define.
29877 * benchtests/bench-skeleton.c (main): Run benchmark for each
29878 variant.
29879 * benchtests/cos-inputs: Add slow benchmark inputs.
29880 * benchtests/exp-inputs: Likewise.
29881 * benchtests/pow-inputs: Likewise.
29882 * benchtests/sin-inputs: Likewise.
29883 * benchtests/slowatan-inputs: Remove.
29884 * benchtests/slowatan.c: Remove.
29885 * benchtests/slowcos-inputs: Remove.
29886 * benchtests/slowcos.c: Remove.
29887 * benchtests/slowexp-inputs: Remove.
29888 * benchtests/slowexp.c: Remove.
29889 * benchtests/slowpow-inputs: Remove.
29890 * benchtests/slowpow.c: Remove.
29891 * benchtests/slowsin-inputs: Remove.
29892 * benchtests/slowsin.c: Remove.
29893 * benchtests/slowtan-inputs: Remove.
29894 * benchtests/slowtan.c: Remove.
29895 * benchtests/tan-inputs: Add slow benchmark inputs.
29896 * scripts/bench.pl: Parse comments and directives.
29897
d569c6ee
SP
29898 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29899 in CPPFLAGS.
29900 ($(objpfx)bench-%.c): Remove *-ITER.
29901 * benchtests/bench-modf.c: Remove definition of ITER.
29902 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29903 (main): Loop for DURATION seconds instead of fixed number of
29904 iterations.
29905 * scripts/bench.pl: Don't expect iterations in parameters.
29906
a6a242fe
RM
299072013-04-29 Roland McGrath <roland@hack.frob.com>
29908
29909 * io/fchdir.c (__fchdir): Renamed from fchdir.
29910 (fchdir): Define as weak alias.
29911
f2da7793
JM
299122013-04-29 Joseph Myers <joseph@codesourcery.com>
29913
29914 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29915 (ERRNO_EDOM): Likewise.
29916 (ERRNO_ERANGE): Likewise.
29917 (noErrnoTests): New variable.
29918 (init_max_error): Set errno to 0.
29919 (test_single_errno): New function.
29920 (test_errno): Likewise.
29921 (check_float_internal): Call test_errno. Set errno to 0.
29922 (check_complex): Refer to errno tests in comment.
29923 (check_int): Call test_errno. Set errno to 0.
29924 (check_long): Likewise.
29925 (check_bool): Likewise.
29926 (check_longlong): Likewise.
29927 (cos_test): Use ERRNO_* flags for errno tests instead of
29928 check_int.
29929 (expm1_test): Likewise.
29930 (fmod_test): Likewise.
29931 (ilogb_test): Likewise.
29932 (lgamma_test): Likewise.
29933 (pow_test): Likewise.
29934 (remainder_test): Likewise.
29935 (sin_test): Likewise.
29936 (tan_test): Likewise.
29937 (yn_test): Likewise.
29938 (initialize): Set errno to 0.
29939 (main): Print number of errno tests.
29940 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29941
b1a36ceb
AJ
299422013-04-29 Andreas Jaeger <aj@suse.de>
29943
c3ed8088
AJ
29944 [BZ #15084]
29945 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29946 and RES_USEVC.
29947
f1a24198
AJ
29948 [BZ #15085]
29949 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29950 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29951 unimplemented.
29952
9ce3b2cb
AJ
29953 [BZ #15380]
29954 * stdlib/random.c (__initstate): Return NULL if
29955 __initstate fails.
29956
f1a24198 29957 [BZ #15086]
b1a36ceb
AJ
29958 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29959 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29960 RES_SNGLKUPREOP.
29961
7e7b6f36
AZ
299622013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29963
29964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29965
4d14f449
JM
299662013-04-29 Joseph Myers <joseph@codesourcery.com>
29967
29968 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29969 of individual tests.
29970 (casin_test): Likewise.
29971 (casinh_test): Likewise.
29972
5b4217d7
JM
299732013-04-27 Joseph Myers <joseph@codesourcery.com>
29974
29975 [BZ #15409]
29976 * math/s_catan.c (__catan): Handle arguments with large real or
29977 imaginary part separately without squaring.
29978 * math/s_catanf.c (__catanf): Likewise.
29979 * math/s_catanh.c (__catanh): Likewise.
29980 * math/s_catanhf.c (__catanhf): Likewise.
29981 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29982 and redefine.
29983 (__catanhl): Handle arguments with large real or imaginary part
29984 separately without squaring.
29985 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29986 and redefine.
29987 (__catanl): Handle arguments with large real or imaginary part
29988 separately without squaring.
29989 * math/libm-test.inc (catan_test): Add more tests.
29990 (catanh_test): Likewise.
29991 * sysdeps/i386/fpu/libm-test-ulps: Update.
29992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29993
4220c3ef
AJ
299942013-04-27 Andreas Jaeger <aj@suse.de>
29995
29996 [BZ #15007]
29997 * stdlib/stdlib.h: Update guards for qecvt.
29998 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29999 <stdlib.h>.
30000
4721b2d1
AM
300012013-04-27 Allan McRae <allan@archlinux.org>
30002
30003 * sysdeps/i386/fpu/libm-test-ulps: Update.
30004
f0302940
JM
300052013-04-26 Joseph Myers <joseph@codesourcery.com>
30006
9457fd95
JM
30007 [BZ #15406]
30008 * math/s_catan.c: Include <float.h>.
30009 (__catan): Ensure underflow exception occurs for underflowed
30010 result.
30011 * math/s_catanf.c: Include <float.h>.
30012 (__catanf): Ensure underflow exception occurs for underflowed
30013 result.
30014 * math/s_catanh.c: Include <float.h>.
30015 (__catanh): Ensure underflow exception occurs for underflowed
30016 result.
30017 * math/s_catanhf.c: Include <float.h>.
30018 (__catanhf): Ensure underflow exception occurs for underflowed
30019 result.
30020 * math/s_catanhl.c: Include <float.h>.
30021 (__catanhl): Ensure underflow exception occurs for underflowed
30022 result.
30023 * math/s_catanl.c: Include <float.h>.
30024 (__catanl): Ensure underflow exception occurs for underflowed
30025 result.
30026 * math/libm-test.inc (catan_test): Add more tests.
30027 (catanh_test): Likewise.
30028
f0302940
JM
30029 [BZ #15405]
30030 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30031 underflowed result.
30032 * math/s_ccoshf.c (__ccoshf): Likewise.
30033 * math/s_ccoshl.c (__ccoshl): Likewise.
30034 * math/s_csin.c (__csin): Likewise.
30035 * math/s_csinf.c (__csinf): Likewise.
30036 * math/s_csinh.c (__csinh): Likewise.
30037 * math/s_csinhf.c (__csinhf): Likewise.
30038 * math/s_csinhl.c (__csinhl): Likewise.
30039 * math/s_csinl.c (__csinl): Likewise.
30040 * math/libm-test.inc (ccos_test): Add more tests.
30041 (ccosh_test): Likewise.
30042 (csin_test): Likewise.
30043 (csinh_test): Likewise.
30044
aa630f59
AZ
300452013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30046
30047 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30048 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30049 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30050 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30051 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30052 powerpc/power5+/fpu folders.
30053 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30054
30055
1b835983
MT
300562013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30057
30058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30059
73709b26
JM
300602013-04-25 Joseph Myers <joseph@codesourcery.com>
30061
30062 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30063 additions to variable.
30064 [$(config-machine) = x86_64] (modules-names): Likewise.
30065 ($(objpfx)tst-audit3): Remove dependency.
30066 ($(objpfx)tst-audit3.out): Likewise.
30067 ($(objpfx)tst-audit4): Likewise.
30068 ($(objpfx)tst-audit4.out): Likewise.
30069 ($(objpfx)tst-audit5): Likewise.
30070 ($(objpfx)tst-audit5.out): Likewise.
30071 ($(objpfx)tst-audit6): Likewise.
30072 ($(objpfx)tst-audit6.out): Likewise.
30073 ($(objpfx)tst-audit7): Likewise.
30074 ($(objpfx)tst-audit7.out): Likewise.
30075 (tst-audit3-ENV): Remove variable.
30076 (tst-audit4-ENV): Likewise.
30077 (tst-audit5-ENV): Likewise.
30078 (tst-audit6-ENV): Likewise.
30079 (tst-audit7-ENV): Likewise.
30080 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30081 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30082 addition to variable.
30083 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30084 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30085 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30086 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30087 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30088 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30089 tst-audit3, tst-audit4 and tst-audit5.
30090 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30091 tst-audit6 and tst-audit7.
30092 [$(subdir) = elf] (modules-names): Add audit modules for those
30093 tests.
30094 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30095 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30096 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30097 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30098 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30099 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30100 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30101 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30102 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30103 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30104 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30105 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30106 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30107 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30108 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30109 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30110 Likewise.
30111 [$(subdir) = elf && $(config-cflags-avx) = yes]
30112 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30113 [$(subdir) = elf && $(config-cflags-avx) = yes]
30114 (CFLAGS-tst-auditmod4a.c): Likewise.
30115 [$(subdir) = elf && $(config-cflags-avx) = yes]
30116 (CFLAGS-tst-auditmod4b.c): Likewise.
30117 [$(subdir) = elf && $(config-cflags-avx) = yes]
30118 (CFLAGS-tst-auditmod6b.c): Likewise.
30119 [$(subdir) = elf && $(config-cflags-avx) = yes]
30120 (CFLAGS-tst-auditmod6c.c): Likewise.
30121 [$(subdir) = elf && $(config-cflags-avx) = yes]
30122 (CFLAGS-tst-auditmod7b.c): Likewise.
30123 * elf/tst-audit3.c: Move to ...
30124 * sysdeps/x86_64/tst-audit3.c: ... here.
30125 * elf/tst-audit4.c: Move to ...
30126 * sysdeps/x86_64/tst-audit4.c: ... here.
30127 * elf/tst-audit5.c: Move to ...
30128 * sysdeps/x86_64/tst-audit5.c: ... here.
30129 * elf/tst-audit6.c: Move to ...
30130 * sysdeps/x86_64/tst-audit6.c: ... here.
30131 * elf/tst-audit7.c: Move to ...
30132 * sysdeps/x86_64/tst-audit7.c: ... here.
30133 * elf/tst-auditmod3a.c: Move to ...
30134 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30135 * elf/tst-auditmod3b.c: Move to ...
30136 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30137 * elf/tst-auditmod4a.c: Move to ...
30138 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30139 * elf/tst-auditmod4b.c: Move to ...
30140 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30141 * elf/tst-auditmod5a.c: Move to ...
30142 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30143 * elf/tst-auditmod5b.c: Move to ...
30144 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30145 * elf/tst-auditmod6a.c: Move to ...
30146 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30147 * elf/tst-auditmod6b.c: Move to ...
30148 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30149 * elf/tst-auditmod6c.c: Move to ...
30150 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30151 * elf/tst-auditmod7a.c: Move to ...
30152 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30153 * elf/tst-auditmod7b.c: Move to ...
30154 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30155
1ef74943
PP
301562013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30157
30158 [BZ #15366]
30159 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30160 define unconditionally.
30161 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30162 define unconditionally.
30163 (INT8_C, INT16_C, etc.): Likewise.
30164
93fd48c5
MR
301652013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30166
ae9552cf
MR
30167 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30168 __ehdr_start with hidden visibility.
30169
93fd48c5
MR
30170 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30171
418601aa
CD
301722013-04-24 Carlos O'Donell <carlos@redhat.com>
30173
30174 * math/libm-test.inc (cos_test): Use accurate hex constants.
30175 (sincost_test): Likewise.
30176
2f38fbfe
JM
301772013-04-24 Joseph Myers <joseph@codesourcery.com>
30178
5e221800
JM
30179 * math/libm-test.inc (catan_test): Add more tests.
30180 (catanh_test): Likewise.
30181
77f143fd
JM
30182 * math/s_catanf.c (__catanf): Use suffixed floating-point
30183 constants.
30184 * math/s_catanhf.c (__catanhf): Likewise.
30185 * math/s_catanhl.c (__catanhl): Likewise.
30186 * math/s_catanl.c (__catanl): Likewise.
30187
2f38fbfe
JM
30188 [BZ #15394]
30189 * math/s_catan.c (__catan): Calculate imaginary part of result
30190 with log1p not log unless computing log of number close to 0.
30191 * math/s_catanf.c (__catanf): Likewise.
30192 * math/s_catanl.c (__catanl): Likewise.
30193 * math/s_catanh.c (__catanh): Calculate real part of result with
30194 log1p not log unless computing log of number close to 0.
30195 * math/s_catanhf.c (__catanhf): Likewise.
30196 * math/s_catanhl.c (__catanhl): Likewise.
30197 * math/libm-test.inc (catan_test): Add more tests.
30198 (catanh_test): Likewise.
30199 * sysdeps/i386/fpu/libm-test-ulps: Update.
30200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30201
45d69176
SP
302022013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30203
30204 * benchtests/Makefile: Mention files in which fast and slow
30205 paths of math functions are implemented.
30206
87f51853
RM
302072013-04-23 Roland McGrath <roland@hack.frob.com>
30208
30209 * sysdeps/posix/timespec_get.c: New file.
30210
3c026539
AZ
302112013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30212
30213 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30214 POWER.
30215 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30216 for POWER.
30217 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30218 powerpc/power5/fpu folders.
30219 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30220 * benchtests/Makefile: Add modf testcase.
30221 * benchtests/bench-modf.c: New file: Benchmark test for mo
30222
ff491d14
SP
302232013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30224
30225 [BZ #14888]
30226 * time/Makefile (tests): Add tst-strptime-whitespace.
30227 * time/strptime_l.c (get_number): Use ISSPACE.
30228 (__strptime_internal): Likewise.
30229 * time/tst-strptime-whitespace.c: New test case.
30230
7ed3f4e8
AS
302312013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30232
30233 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30234 member.
30235 (_nss_files_init): Set it here.
30236
5c95f7b6
HC
302372013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30238
30239 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30240 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30241 unsigned.
30242
d34c9158
JBG
302432013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30244
30245 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30246
2169712d
SP
302472013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30248
30249 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30250 size just once.
30251
29c5de99
DM
302522013-04-21 David S. Miller <davem@davemloft.net>
30253
30254 * po/ru.po: Update Russion translation from translation project.
30255
ccdad15d
AC
302562013-04-17 Adam Conrad <adconrad@0c3.net>
30257
30258 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30259 and setfsgid.
30260
0f122b8d
CD
302612013-04-17 Carlos O'Donell <carlos@redhat.com>
30262
5c5b07da 30263 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 30264 * configure: Regenerate.
5c5b07da 30265 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
30266 Add example to error message.
30267 * sysdeps/i386/configure: Regenerate.
30268
037714dd
SP
302692013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30270
30271 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30272 slowtan.
30273 * benchtests/cos-inputs: New file.
30274 * benchtests/slowcos-inputs: New file.
30275 * benchtests/slowcos.c: New file.
30276 * benchtests/slowtan-inputs: New file.
30277 * benchtests/slowtan.c: New file.
30278 * benchtests/tan-inputs: New file.
30279
e913141d
RM
302802013-04-16 Roland McGrath <roland@hack.frob.com>
30281
30282 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30283 considered kosher.
30284
a2964074
SP
302852013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30286
4856bcd2
SP
30287 * benchtests/Makefile: Include cppflags-iterator.mk to add
30288 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30289
a2964074
SP
30290 * Makefile.in (bench-clean): New target.
30291 * benchtests/Makefile (bench-clean): Likewise.
30292
9fbf9aca
DH
302932013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30294
30295 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30296
207d1e2a
TS
302972013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30298
30299 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30300
306dfba9
AS
303012013-04-15 Andreas Schwab <schwab@suse.de>
30302
30303 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30305 * nscd/pwdcache.c (cache_addpw): Likewise.
30306 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30307 more than recsize.
30308
206a6699
SP
303092013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30310
30311 * benchtests/Makefile (bench): Write all output to
30312 bench-out.tmp together.
30313
0582f6b3
AS
303142013-04-15 Andreas Schwab <schwab@suse.de>
30315
30316 * nscd/nscd.c (main): Don't fork again after closing files.
30317
acb4325f
SP
303182013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30319
5cb26d0a
SP
30320 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30321
acb4325f
SP
30322 * benchtests/Rules (bench-deps): Collect dependencies into a
30323 single variable. Add Makefile to dependencies.
30324 ($(objpfx)bench-%.c): Depend on bench-deps.
30325
47792506
RM
303262013-04-12 Roland McGrath <roland@hack.frob.com>
30327 Xavier Roche <roche+kml2@exalead.com>
30328
30329 [BZ #15361]
30330 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30331 just that it's a file descriptor.
30332 * manual/llio.texi (Synchronizing AIO Operations): Update description
30333 for EBADF error from aio_fsync.
30334
8fc1bee5
SP
303352013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30336
30337 * Rules (bench): Move target definition...
30338 * benchtests/Makefile: ... here.
30339
aba5e333
CD
303402013-04-11 Carlos O'Donell <carlos@redhat.com>
30341
30342 * math/libm-test.inc (cos_test): Fix PI/2 test.
30343 (sincos_test): Likewise.
30344 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30345 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30346
273cdee8
AS
303472013-04-11 Andreas Schwab <schwab@suse.de>
30348
6ecec3b6
AS
30349 [BZ #13988]
30350 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30351 accept exponent character only when digits were seen.
30352 * stdio-common/Makefile (tests): Add bug26.
30353 * stdio-common/bug26.c: New file.
30354
273cdee8
AS
30355 [BZ #14293]
30356 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30357 non-freeable.
30358
8da491f5
SP
303592013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30360
01dc6df9
SP
30361 * Makeconfig (rtld-prefix): Define built linker prefix.
30362 * Rules (run-bench): Use it.
30363 * math/Makefile (run-regen-ulps): Likewise.
30364
8da491f5
SP
30365 * Rules (bench): Remove eval.
30366
abe7f530
SP
303672013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30368 Roland McGrath <roland@hack.frob.com>
30369 Ondrej Bilka <neleai@seznam.cz>
30370
30371 [BZ #15346]
30372 * time/getdate.c: Include ctype.h and alloca.h.
30373 (__getdate_r): Trim leading and trailing spaces of input.
30374 * time/tst-getdate.c (tests): Add tests with leading and
30375 trailing spaces.
30376
61c23e62
RM
303772013-04-08 Roland McGrath <roland@hack.frob.com>
30378
30379 [BZ #14280]
30380 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30381 when computing value.
30382
7208a313
CD
303832013-04-06 Carlos O'Donell <carlos@redhat.com>
30384
085b2d41
CD
30385 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30386 Use testrun.sh to run libm tests.
30387
7208a313
CD
30388 [BZ #15309]
30389 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30390
872c0acd
MM
303912013-04-06 Marko Myllynen <myllynen@redhat.com>
30392
30393 [BZ #15264]
30394 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30395
26510bdd
CD
303962013-04-06 Carlos O'Donell <carlos@redhat.com>
30397
30398 * Makefile.in (regen-ulps): New target.
30399 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30400 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30401 [ifneq (no,$(PERL)] (regen-ulps): New target.
30402 [ifeq (no,$(PERL)] (regen-ulps): New target.
30403 * math/libm-test.inc (ulps_file_name): Define.
30404 (output_dir): New variable.
30405 (options): Add "output-dir" option.
30406 (parse_opt): Handle 'o' case.
30407 (main): If output_dir is non-NULL use it as a prefix
30408 otherwise use "".
30409 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30410
a01f19c8
CD
304112013-04-06 Carlos O'Donell <carlos@redhat.com>
30412
30413 [BZ #10060, #10062]
30414 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30415 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30416 fail configure if __sync_val_compare_and_swap is not inlined.
30417 * sysdeps/i386/configure: Regenerate.
30418 * configure.in: Build for i686 when configured for i386.
30419 * configure: Regenerate.
30420 * README: Remove i386 reference.
30421
b7a329a5
CD
304222013-04-06 Carlos O'Donell <carlos@redhat.com>
30423
30424 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30425 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30426
bf0f50df
TS
304272013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30428
ee091edf
TS
30429 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30430 (lmsnanval): New variables.
30431 (F): Add conversion tests.
30432 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30433 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30434
a8b792d6
TS
30435 * stdio-common/tstdiomisc.c (F): Properly collect individual
30436 tests' results.
30437
a1cbf437
TS
30438 [BZ #14686, #15336]
30439 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30440 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30441 Instead, use input NaN values or generate a qNaN by arithmetic
30442 operation. Also fix bugs to comply with the standard.
30443 * math/libm-test.inc (remainder_test): Add more tests.
30444
8b43a0c9
TS
30445 [BZ #15335, #15342]
30446 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30447 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30448 input NaN values or generate a qNaN by arithmetic operation.
30449
d91da4ce
TS
30450 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30451 unreachable code.
30452
bf0f50df
TS
30453 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30454 definitions.
30455
05e166c8
JM
304562013-04-03 Joseph Myers <joseph@codesourcery.com>
30457
30458 [BZ #14478]
30459 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30460 underflowed result.
30461 * math/s_cexpf.c (__cexpf): Likewise.
30462 * math/s_cexpl.c (__cexpl): Likewise.
30463 * math/libm-test.inc (cexp_test): Add more tests.
30464
1cef1b19
AS
304652013-04-03 Andreas Schwab <schwab@suse.de>
30466
30467 [BZ #15330]
30468 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30469 order arrays from heap if bigger than alloca cutoff.
30470
74d87055
TS
304712013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30472
30473 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30474 (SNAN_TESTS_double): Refer to GCC PR56831.
30475 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30476 GCC PR56828.
30477
d755bba4
SP
304782013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30479
90d5d5bb
SP
30480 * Rules (bench): Move bench.out after the run is complete.
30481
73e0cd5d
SP
30482 * Rules (bench): Echo currently running benchmark.
30483
64aabd4b
SP
30484 * benchtests/Makefile (bench): Add atan and slowatan.
30485 * benchtests/atan-inputs: New file.
30486 * benchtests/slowatan-inputs: New file.
30487 * benchtests/slowatan.c: New file.
30488
c871eccd
SP
30489 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30490 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30491 its value.
30492
d755bba4
SP
30493 [BZ #15305]
30494 * sysdeps/unix/sysv/linux/kernel-features.h
30495 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30496 __ASSUME_XFS_RESTRICTED_CHOWN.
30497 * sysdeps/unix/sysv/linux/pathconf.c
30498 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30499 Save and restore errno.
30500
52ce4860
JM
305012013-04-02 Joseph Myers <joseph@codesourcery.com>
30502
30503 [BZ #15327]
30504 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30505 arguments using __kernel_casinh.
30506 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30507 arguments using __kernel_casinhf.
30508 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30509 arguments using __kernel_casinhl.
30510 * math/libm-test.inc (cacosh_test): Add more tests.
30511 * sysdeps/i386/fpu/libm-test-ulps: Update.
30512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30513
81f311c2
SP
305142013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30515
e7906a47
SP
30516 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30517 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30518
92e3664b
SP
30519 * bench/Makefile (bench): Add sin and slowsin.
30520 * benchtests/sin-inputs: New file.
30521 * benchtests/slowsin-inputs: New file.
30522 * benchtests/slowsin.c: New file.
30523
81f311c2
SP
30524 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30525 (bench): Add slowexp and slowpow.
30526 (exp-ITER): Increase iterations.
30527 (pow-ITER): Likewise.
30528 * benchtests/exp-inputs: Change input.
30529 * benchtests/pow-inputs: Likewise.
30530 * benchtests/slowexp-inputs: New file.
30531 * benchtests/slowexp.c: New file.
30532 * benchtests/slowpow-inputs: New file.
30533 * benchtests/slowpow.c: New file.
30534
ab0f1aa9
AZ
305352013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30536
30537 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30538 instructions.
30539 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30540 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30541 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30542 * benchtests/Makefile: Add rint benchtest.
30543 * benchtests/rint-inputs: Input for rint benchtest.
30544
57267616
TS
305452013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30546
30547 * Versions.def (libm): Add GLIBC_2.18.
30548 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30549 hidden libm prototypes.
30550 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30551 * math/Makefile (libm-calls): Add s_issignaling.
30552 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30553 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30554 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30555 declaration.
30556 * math/math.h [__USE_GNU] (issignaling): New macro.
30557 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30558 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30559 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30560 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30561 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30562 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30563 * manual/arith.texi (issignaling): New section.
30564 * manual/libm-err-tab.pl (@all_functions): Update comment.
30565 * math/gen-libm-test.pl (parse_args): Apply special handling for
30566 issignaling.
30567 * math/libm-test.inc (print_float, issignaling_test): New
30568 functions.
30569 (check_float_internal): Add issignaling checks.
30570 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30571 default definition.
30572 * sysdeps/powerpc/math-tests.h: New file.
30573 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30574 tests.
30575 * math/test-snan.c (TEST_FUNC): Likewise.
30576
6142896d
DM
305772013-03-30 David S. Miller <davem@davemloft.net>
30578
30579 * po/de.po: Update from translation team.
30580
ccc8cadf
JM
305812013-03-30 Joseph Myers <joseph@codesourcery.com>
30582
30583 [BZ #10357]
30584 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30585 imaginary part less than 1.0 and real part less than 0.5
30586 specially.
30587 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30588 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30589 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30590 (cacos_test): Add more tests.
30591 (casin_test): Likewise.
30592 (casinh_test): Likewise.
30593 * sysdeps/i386/fpu/libm-test-ulps: Update.
30594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30595
0f6a8d4b
SP
305962013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30597
0d1029de
SP
30598 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30599 ONE with its value.
30600
c2d94018
SP
30601 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30602 (__pow_mp): Replace ONE and MONE with their values.
30603 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30604 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30605 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30606 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30607 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30608 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30609
27ec37f1
SP
30610 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30611
a64d7e0e
SP
30612 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30613 (__pow_mp): Replace ZERO and MZERO with their values.
30614 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30615 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30616 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30617 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30618 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30619 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30620 (__sqr): Likewise.
30621
d26dd3eb
SP
30622 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30623
0f6a8d4b
SP
30624 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30625
e57b0c61
RM
306262013-03-28 Roland McGrath <roland@hack.frob.com>
30627
30628 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30629 Declare with __attribute__ ((weak)).
30630 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30631 Call __call_tls_dtors only if it's not NULL.
30632
356b3480
RM
306332013-03-28 Roland McGrath <roland@hack.frob.com>
30634
288f7d79
RM
30635 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30636 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30637 magic __ehdr_start linker symbol if it's defined.
30638 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30639 them up here if it was already done.
30640
dc0a0263
RM
30641 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30642 (_dl_aux_init): Use const in cast when setting it.
30643 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30644 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30645 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30646
3d3436ae
RM
30647 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30648 Declare them here.
30649 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30650 * csu/libc-tls.c: Nor here.
30651 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30652
356b3480
RM
30653 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30654 (__libc_message): Never call vsyslog.
30655
b0f1246a
AM
306562013-03-28 Alan Modra <amodra@gmail.com>
30657
30658 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30659 Define as empty.
30660 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30661 Likewise.
30662
fbbe2b9a
AZ
306632013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30664
30665 [BZ #15214]
30666 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30667 underflow.
30668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30669
1728ab37
SP
306702013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30671
7a86be6e
SP
30672 [BZ #15304]
30673 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30674 Don't add gid passed as argument.
30675
1728ab37
SP
30676 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30677
3a7182a1
JM
306782013-03-27 Joseph Myers <joseph@codesourcery.com>
30679
30680 [BZ #15307]
30681 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30682 imaginary part between 1.0 and 1.5 and real part less than 0.5
30683 specially.
30684 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30685 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30686 * math/libm-test.inc (cacos_test): Add more tests.
30687 (casin_test): Likewise.
30688 (casinh_test): Likewise.
30689 * sysdeps/i386/fpu/libm-test-ulps: Update.
30690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30691
6f2e90e7
SP
306922013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30693
5739f705
SP
30694 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30695 constants.
30696 (norm): Likewise.
30697 (denorm): Likewise.
30698 (__dbl_mp): Likewise.
30699 (add_magnitudes): Likewise.
30700 (sub_magnitudes): Likewise.
30701 (__add): Likewise.
30702 (__sub): Likewise.
30703 (__mul): Likewise.
30704 (__sqr): Likewise.
30705 (__inv): Likewise.
30706 (__dvd): Likewise.
30707
e375e83d
SP
30708 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30709 commented code.
30710 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30711 (__dubcos): Likewise.
30712 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30713 (__ieee754_acos): Likewise.
30714 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30715 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30716 (__exp1): Likewise.
30717 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30718 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30719 (log1): Likewise.
30720 (my_log2): Likewise.
30721 (checkint): Likewise.
30722 * sysdeps/ieee754/dbl-64/e_remainder.c
30723 (__ieee754_remainder): Likewise.
30724 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30725 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30726 (bsloww): Likewise.
30727 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30728
6f2e90e7
SP
30729 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30730 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30731 MANTISSA_STORE_T to store computations on mantissa. Use
30732 macros for rounding and division.
30733 (denorm): Likewise.
30734 (__dbl_mp): Likewise.
30735 (add_magnitudes): Likewise.
30736 (sub_magnitudes): Likewise.
30737 (__mul): Likewise.
30738 (__sqr): Likewise.
30739 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30740 powers of two in terms of TWOPOW macro.
30741 (mp_no): Make type of mantissa as MANTISSA_T.
30742 [!RADIXI]: Define RADIXI.
30743 [!TWO52]: Define TWO52.
30744 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30745
fce14d4e
AZ
307462013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30747
30748 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30749 llroundl symbol when building for PPC32.
30750
9ad027fb
MW
307512013-03-24 Mark H Weaver <mhw@netris.org>
30752
30753 * manual/arith.texi (Normalization Functions): Fix prototypes for
30754 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30755
e42a38dd
AZ
307562013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30757
30758 [BZ #13889]
30759 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30760 high value to check if expl overflow.
30761 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30762 to check for underflow and overflow.
30763 * math/libm-test.inc: Add exp test.
30764
2e0fb521
DL
307652013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30766
30767 [BZ #11120]
30768 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30769 with NOT_IN_libc.
30770
b5784d95
AZ
307712013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30772
30773 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30774 symbol.
30775
5aa4a1a1
TS
307762013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30777
bdef0be7
TS
30778 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30779 wrap blocks consisting of several statements.
30780
5aa4a1a1
TS
30781 * sysdeps/generic/math-tests.h: New file.
30782 * sysdeps/i386/fpu/math-tests.h: Likewise.
30783 * math/test-snan.c: Include it.
30784 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30785
98c48fe5
JM
307862013-03-21 Joseph Myers <joseph@codesourcery.com>
30787
30788 [BZ #15285]
30789 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30790 (__ieee754_j0l): Do not improve calculations using cos of twice
30791 input for inputs above LDBL_MAX / 2.0L.
30792 (__ieee754_y0l): Likewise.
30793 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30794 (__ieee754_j1l): Do not improve calculations using cos of twice
30795 input for inputs above LDBL_MAX / 2.0L.
30796 (__ieee754_y1l): Likewise.
30797 * math/libm-test.inc (j0_test): Add another test.
30798 (j1_test): Likewise.
30799 (y0_test): Likewise.
30800 (y1_test): Likewise.
30801 * sysdeps/i386/fpu/libm-test-ulps: Update.
30802
3775a8bc
SP
308032013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30804
30805 * Rules ($(objpfx)bench-%.c): Include code from a C source
30806 file.
30807
0a1b2ae6
JM
308082013-03-21 Joseph Myers <joseph@codesourcery.com>
30809
30810 [BZ #15287]
30811 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30812 imaginary part 1.0 and real part less than 0.5 specially.
30813 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30814 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30815 * math/libm-test.inc (cacos_test): Add more tests.
30816 (casin_test): Likewise.
30817 (casinh_test): Likewise.
30818 * sysdeps/i386/fpu/libm-test-ulps: Update.
30819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30820
b33d4ce4
SP
308212013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30822
30823 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30824 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30825
bef0b507
JM
308262013-03-20 Joseph Myers <joseph@codesourcery.com>
30827
30828 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30829 * config.make.in (config-cflags-sse4): Remove variable.
30830 (config-cflags-avx): Likewise.
30831 (config-cflags-sse2avx): Likewise.
30832 (config-cflags-novzeroupper): Likewise.
30833 (config-asflags-i686): Likewise.
30834 (have-mfma4): Likewise.
30835 (have-as-vis3): Likewise.
30836 (MIG): Likewise.
30837 * configure.in (MIG): Do not AC_SUBST.
30838 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30839 (libc_cv_cc_sse4): Do not AC_SUBST.
30840 (libc_cv_cc_avx): Likewise.
30841 (libc_cv_cc_sse2avx): Likewise.
30842 (libc_cv_cc_novzeroupper): Likewise.
30843 (libc_cv_cc_fma4): Likewise.
30844 (libc_cv_as_i686): Likewise.
30845 (libc_cv_sparc_as_vis3): Likewise.
30846 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30847 LIBC_CONFIG_VAR.
30848 (config-asflags-i686): Likewise.
30849 (config-cflags-avx): Likewise.
30850 (config-cflags-sse2avx): Likewise.
30851 (have-mfma4): Likewise.
30852 (config-cflags-novzeroupper): Likewise.
30853 * sysdeps/mach/configure.in (MIG): Likewise.
30854 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30855 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30856 LIBC_CONFIG_VAR.
30857 (config-cflags-avx): Likewise.
30858 (config-cflags-sse2avx): Likewise.
30859 (have-mfma4): Likewise.
30860 (config-cflags-novzeroupper): Likewise.
30861 * configure: Regenerated.
30862 * sysdeps/i386/configure: Likewise.
30863 * sysdeps/mach/configure: Likewise.
30864 * sysdeps/sparc/configure: Likewise.
30865 * sysdeps/x86_64/configure: Likewise.
30866
912cc4b3
RM
308672013-03-20 Roland McGrath <roland@hack.frob.com>
30868
30869 [BZ #14812]
30870 * locale/programs/localedef.c (options): Put N_ translation marker
30871 on argument names, not just descriptions.
30872
04eed2b0
MS
308732013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30874
30875 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30876
a065ceff
OB
308772013-03-20 Ondřej Bílka <neleai@seznam.cz>
30878
9bb2a810 30879 [BZ #14176]
a065ceff
OB
30880 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30881
a600e5ce
RM
308822013-03-19 Roland McGrath <roland@hack.frob.com>
30883
30884 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30885 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30886 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30887 [!BEFORE_ABORT] (before_abort): New function.
30888 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30889 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30890 (writev_for_fatal): New function.
30891 (WRITEV_FOR_FATAL): New macro; call that.
30892 (backtrace_and_maps): New function.
30893 (BEFORE_ABORT): New macro; call that.
30894 (struct str_list): Type removed.
30895 (__libc_message, __libc_fatal): Functions removed.
30896 Include <sysdeps/posix/libc_fatal.c> instead.
30897
6b18bea6
JM
308982013-03-19 Joseph Myers <joseph@codesourcery.com>
30899
30900 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30901 constants.
30902 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30903 double constants.
30904
aaa8cb4b
AS
309052013-03-19 Andreas Schwab <schwab@suse.de>
30906
44673770
AS
30907 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30908 * sysdeps/gnu/configure: Regenerate.
30909
aaa8cb4b
AS
30910 * configure.in: Substitute libc_cv_rtlddir.
30911 * configure: Regenerate.
30912 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30913 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30914 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30915 * elf/Makefile (install-others, CFLAGS-interp.c)
30916 (ldso_install, common-ldd-rewrite): Likewise.
30917 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30918 $(inst_slibdir)/$(rtld-installed-name).
30919 * scripts/rellns-sh: Add -p option.
30920 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30921 for source.
30922
d3cfc668
SP
309232013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30924
30925 * manual/nptl.texi: Renamed to ...
30926 * manual/threads.texi: ... this.
30927 * manual/Makefile (chapters): Update.
30928
0e2b9cdd
RM
309292013-03-18 Roland McGrath <roland@hack.frob.com>
30930
30931 [BZ #14812]
30932 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30933 on argument names, not just descriptions.
0e2b9cdd
RM
30934 * malloc/memusagestat.c (options): Likewise.
30935 * nss/getent.c (options): Likewise.
63270c24
RM
30936
309372013-03-18 Benno Schulenberg <bensberg@justemail.net>
30938
30939 [BZ #14812]
30940 * iconv/iconv_prog.c (options): Put N_ translation marker
30941 on argument names, not just descriptions.
30942 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30943
b2e1393c
OB
309442013-03-18 Ondrej Bilka <neleai@seznam.cz>
30945
30946 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30947 implementation which is faster on all x86_64 architectures.
30948 Tested on AMD, Intel Nehalem, SNB, IVB.
30949 * sysdeps/x86_64/strnlen.S: Likewise.
30950
30951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30952 Remove all multiarch strlen and strnlen versions.
30953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30954 Remove strlen and strnlen related parts.
30955
30956 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30957 Inline strlen part.
30958 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30959
30960 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30961 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30962 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30963 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30964 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30965 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30966
ec4ff04d
CD
309672013-03-17 Carlos O'Donell <carlos@redhat.com>
30968
30969 * manual/memory.texi (Malloc Tunable Parameters):
30970 Sort parameters alphabetically. Add comments for missing entries.
30971
cd18e90a
DM
309722013-03-17 David S. Miller <davem@davemloft.net>
30973
30974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30975
2a185d32
JM
309762013-03-16 Joseph Myers <joseph@codesourcery.com>
30977
d2f9799e
JM
30978 [BZ #15283]
30979 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30980 for arguments at most half maximum finite value.
30981 * math/libm-test.inc (j0_test): Add more tests.
30982 (j1_test): Likewise.
30983 (y0_test): Likewise.
30984 (y1_test): Likewise.
30985 * sysdeps/i386/fpu/libm-test-ulps: Update.
30986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30987
2a185d32
JM
30988 [BZ #14155]
30989 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30990 1 / x and functions P and Q for arguments above 0x1p256L.
30991 (__ieee754_y0l): Likewise.
30992 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30993 (__ieee754_y1l): Likewise.
30994 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30995 (j1_test): Likewise.
30996 (y0_test): Likewise.
30997 (y1_test): Likewise.
30998
6cbec759
TS
309992013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31000
31001 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31002 variable.
31003
bc16e260
RM
310042013-03-15 Roland McGrath <roland@hack.frob.com>
31005
aefc9b8c
RM
31006 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31007 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31008 zero since it's initialized to EXEC_PAGESIZE.
31009
bc16e260
RM
31010 * sysdeps/unix/sysv/linux/ldsodefs.h
31011 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31012 * sysdeps/generic/ldsodefs.h: ... here.
31013
a57da955
TS
310142013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31015
af00a34d
TS
31016 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31017
495ded2c
TS
31018 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31019 math/test-snan.c.
31020 * math/test-snan.c: Renamed from
31021 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31022 * math/Makefile (tests): Add test-snan.
31023 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31024 test-powerpc-snan.
31025
777b0332
TS
31026 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31027 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31028 functions.
31029 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31030 __builtin_nan family of functions.
31031 * math/libm-test.inc (initialize): Initialize qnan_value with
31032 __builtin_nan family of functions.
31033 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31034 Remove variables.
31035 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31036 Remove functions.
31037 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31038 storage class. Initialize qNaN_var and sNaN_var with
31039 __builtin_nan and __builtin_nans families of functions,
31040 respectively.
31041
64d063b8
TS
31042 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31043 (sqrt_test): Remove duplicate test with qNaN input.
31044 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31045 (round_test, signbit_test, significand_test): Note missing +/-Inf
31046 as well as qNaN tests.
31047
67e971f1
TS
31048 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31049 qNaN_var. Fix a few strings, too.
31050 * math/libm-test.inc (nan_value): Rename to qnan_value.
31051 * math/gen-libm-test.pl (%beautify): Adjust to that.
31052 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31053 * math/test-misc.c (main): Likewise.
31054 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31055 to __qnan_bytes, and __qnan_union, respectively.
31056 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31057 Likewise.
31058 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31059 and lqnanval, respectively.
31060 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31061 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31062 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31063 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31064
64487e12
TS
31065 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31066 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31067 doubles.
31068
e015e27b
TS
31069 * math/test-misc.c (main): Fix copy'n'pastos.
31070 * misc/tst-efgcvt.c (special): Likewise.
31071
a57da955
TS
31072 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31073 Remove declarations.
31074
1e380345
SP
310752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31076
31077 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31078 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31079 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31080 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31081
ef26eece
AZ
310822013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31083
31084 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31085 macro to return vdso values correctly in IFUNC implementations.
31086 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31087 Optimization by using IFUNC.
31088
8cfdb7e0
SP
310892013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31090 Richard Henderson <rth@redhat.com>
31091 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31092
31093 * Makefile.in (bench): New target.
31094 * NEWS: Mention the benchmark framework.
31095 * Rules (bench): Likewise.
31096 (binaries-bench): Generate binaries for functions to
31097 benchmark.
31098 * benchtests/Makefile: New makefile for benchmark tests.
31099 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31100 programs.
31101 * benchtests/exp-inputs: New input file for EXP function.
31102 * benchtests/pow-inputs: New input file for POW function.
31103 * scripts/bench.pl: New script to generate source files for
31104 benchmark programs.
31105
bcda9880
SP
311062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31107
d22ca8cd
SP
31108 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31109 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31110 computations on mantissa. Use macros for rounding and
31111 division.
31112 (denorm): Likewise.
31113 (__dbl_mp): Likewise.
31114 (add_magnitudes): Likewise.
31115 (sub_magnitudes): Likewise.
31116 (__mul): Likewise.
31117 (__sqr): Likewise.
31118 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31119 powers of two in terms of TWOPOW macro.
31120 (mp_no): Make type of mantissa as MANTISSA_T.
31121 [!RADIXI]: Define RADIXI.
31122 [!TWO52]: Define TWO52.
31123 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31124
bcda9880
SP
31125 * manual/nptl.texi (cindex): Modify threads to pthreads.
31126
06d5adfb
JM
311272013-03-15 Joseph Myers <joseph@codesourcery.com>
31128
31129 * sysdeps/x86_64/preconfigure: Regenerated.
31130
41c7328e
JM
311312013-03-14 Joseph Myers <joseph@codesourcery.com>
31132
31133 [BZ #14155]
31134 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31135 0x1p28 and above.
31136 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31137 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31138 0x1p28 and above.
31139 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31140 * math/libm-test.inc (j0_test): Do not allow one spurious
31141 underflow exception.
31142 (y1_test): Likewise.
31143
e25cfa60
SP
311442013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31145
0409959c
SP
31146 * manual/Makefile (chapters): Add nptl.
31147 * manual/debug.texi (Debugging Support): Add link to Threads
31148 chapter.
31149 * manual/nptl.texi: New file.
31150
e25cfa60
SP
31151 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31152
58a1335e
PB
311532013-03-14 Petr Baudis <pasky@ucw.cz>
31154
31155 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31156 for non-NULL pointer before the memory validity test. Pointed
31157 out by Holger Brunck <holger.brunck@keymile.com>.
31158
9dc7c64f
AS
311592013-03-13 Andreas Schwab <schwab@suse.de>
31160
31161 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31162 instead of .os.
31163
54206aa6
JM
311642013-03-13 Joseph Myers <joseph@codesourcery.com>
31165
31166 * timezone/zic.c: Update from tzcode 2013b.
31167
e98cdb38
CD
311682013-03-12 Carlos O'Donell <carlos@redhat.com>
31169
31170 * manual/install.texi (Configuring and compiling):
31171 Mention i686 and i586.
31172 * INSTALL: Regenerate.
31173
9967e003
RM
311742013-03-12 Roland McGrath <roland@hack.frob.com>
31175
31176 * sysdeps/init_array/elf-init.c: New file.
31177 * csu/elf-init.c
31178 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31179 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31180
31181 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31182 __gmon_start__ as global, but as static with a .preinit_array pointer.
31183 * sysdeps/init_array/gmon-start.c: New file. Use that.
31184 * sysdeps/init_array/crti.S: New file, empty except for comments.
31185 * sysdeps/init_array/crtn.S: Likewise.
31186
e6b5a293 311872013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
31188
31189 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31190 definining bcopy.
80f844c9
OB
31191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31192 Remove Prefer_SSE_for_memop.
31193 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31194 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31195 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
31196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31197 memset-x86-64.
80f844c9 31198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 31199 Remove bzero, memset ifunc support.
80f844c9
OB
31200 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31201 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31202 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31203 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31204
fb6b0fcb
AS
312052013-03-11 Andreas Schwab <schwab@suse.de>
31206
31207 [BZ #15234]
31208 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31209 by SHLIB_COMPAT.
31210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31211 (GLIBC_2.16): Remove pthread_atfork.
31212
3e6bd4b1
PP
312132013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31214
31215 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31216 (ptestcases.h): Likewise.
31217
222d7f00
RM
312182013-03-08 Roland McGrath <roland@hack.frob.com>
31219
31220 * Makeconfig ($(common-objpfx)config.status): Depend on
31221 sysdeps/*/preconfigure{,.in} too.
31222
1ba4f030
JM
312232013-03-08 Joseph Myers <joseph@codesourcery.com>
31224
a222d91a
JM
31225 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31226 (__free_hook): Use void * instead of __malloc_ptr_t.
31227 (__malloc_hook): Likewise.
31228 (__realloc_hook): Likewise.
31229 (__memalign_hook): Likewise.
31230 (__after_morecore_hook): Likewise.
31231 * malloc/arena.c (save_malloc_hook): Likewise.
31232 (save_free_hook): Likewise.
31233 * malloc/hooks.c (malloc_hook_ini): Likewise.
31234 (realloc_hook_ini): Likewise.
31235 (memalign_hook_ini): Likewise.
31236 * malloc/malloc.c (malloc_hook_ini): Likewise.
31237 (realloc_hook_ini): Likewise.
31238 (memalign_hook_ini): Likewise.
31239 (__free_hook): Likewise.
31240 (__malloc_hook): Likewise.
31241 (__realloc_hook): Likewise.
31242 (__memalign_hook): Likewise.
31243 (__libc_malloc): Likewise.
31244 (__libc_free): Likewise.
31245 (__libc_realloc): Likewise.
31246 (__libc_memalign): Likewise.
31247 (__libc_valloc): Likewise.
31248 (__libc_pvalloc): Likewise.
31249 (__libc_calloc): Likewise.
31250 (__posix_memalign): Likewise.
31251 * malloc/morecore.c (__sbrk): Likewise.
31252 (__default_morecore): Likewise.
31253
5cc45e10
JM
31254 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31255
dd54b864
JM
31256 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31257 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31258 __malloc_ptrdiff_t.
31259
1ba4f030
JM
31260 * malloc/malloc.h (__malloc_size_t): Remove macro.
31261 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31262 __malloc_size_t.
31263 (old_memalign_hook): Likewise.
31264 (old_realloc_hook): Likewise.
31265 (struct hdr): Likewise.
31266 (flood): Likewise.
31267 (mallochook): Likewise.
31268 (memalignhook): Likewise.
31269 (reallochook): Likewise.
31270 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31271 (tr_old_realloc_hook): Likewise.
31272 (tr_old_memalign_hook): Likewise.
31273 (tr_mallochook): Likewise.
31274 (tr_reallochook): Likewise.
31275 (tr_memalignhook): Likewise.
31276
edf66e57
AZ
312772013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31278
31279 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31280 default_ldbl_pack and using as default implementation.
31281 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31282 implementation.
31283 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31284 redundant definition.
31285 (ldbl_insert_mantissa): Likewise.
31286 (ldbl_canonicalize): Likewise.
31287 (ldbl_nearbyint): Likewise.
31288 (ldbl_pack): Rename to ldbl_pack_ppc.
31289 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31290 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31291 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31292
6d9145d8
SP
312932013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31294
31295 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31296 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31297 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31298 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31300 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31301 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31302 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31303
4dd4e157
AJ
313042013-03-07 Andreas Jaeger <aj@suse.de>
31305
31306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31307 bits/mman-linux.h.
31308
adbb8027
SP
313092013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31310
ce544b5b
SP
31311 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31312 Include mpa.h and declare __MPEXP.
31313 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31314 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31315 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31316 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31317 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31318 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31319 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31320
4cc149fd
SP
31321 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31322 (__slowpow): Use long double EXPL and LOGL functions to
31323 compute POW.
31324 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31325 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31326 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31327 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31328 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31329 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31330
e6ebd4a7
SP
31331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31332 intermediate variable to calculate exponent.
31333 (__sqr): Likewise.
31334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31335 Likewise.
31336 (__sqr): Likewise.
31337
82a9811d
SP
31338 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31339 [!NO__SQR]: Define __sqr.
31340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31341 and NO__SQR. Remove all code except __mul and __sqr. Include
31342 sysdeps/ieee754/dbl-64/mpa.c.
31343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31344
adbb8027
SP
31345 [BZ #12723]
31346 * posix/Makefile (tests): Add tst-pathconf.
31347 * posix/tst-pathconf.c: New test case.
31348 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31349 _PC_PIPE_BUF.
31350 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31351
39120df9
PF
313522013-03-06 Patsy Franklin <pfrankli@redhat.com>
31353
31354 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31355
67525cb8
AJ
313562013-03-06 Andreas Jaeger <aj@suse.de>
31357
664a9ce4
AJ
31358 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31359 definition via __MAP_ANONYMOUS.
31360
8e39047d
AJ
31361 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31362 it's not part of Linux headers.
31363
67525cb8
AJ
31364 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31365 (MAP_HUGE_MASK): Define.
31366
31367 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31368 Define.
31369 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31370 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31371 Define.
31372 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31373 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31374 Define.
31375 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31376 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31377 Define.
31378 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31379
31380 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31381 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31382 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31383 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31384 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31385 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31386
31387 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31388 Handle f2fs.
31389
31390 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31391 Handle f2fs and efivarfs.
31392
31393 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31394 f2fs.
31395
31396 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31397 (EFIVARFS_MAGIC): Add.
31398 (F2FS_LINK_MAX): Add.
31399
e1b42695
PP
314002013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31401
31402 * stdio-common/vfprintf.c: Replace __builtin_expect with
31403 __glibc_unlikely.
31404
2d67d91a
JM
314052013-03-06 Joseph Myers <joseph@codesourcery.com>
31406
31407 [BZ #13550]
31408 * sysdeps/generic/bp-sym.h: Remove file.
31409 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31410 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31411 <bp-sym.h> and <bp-asm.h>.
31412 (__longjmp): Don't use BP_SYM.
31413 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31414 and <bp-asm.h>.
31415 (memcpy): Don't use BP_SYM.
31416 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31417 <bp-sym.h> and <bp-asm.h>.
31418 (memcpy): Don't use BP_SYM.
31419 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31420 <bp-asm.h>.
31421 (memcpy): Don't use BP_SYM.
31422 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31423 <bp-asm.h>.
31424 (memset): Don't use BP_SYM.
31425 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31426 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31427 (__bzero): Don't use BP_SYM.
31428 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31429 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31430 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31431 <bp-sym.h> and <bp-asm.h>.
31432 (memcmp): Don't use BP_SYM. Remove comment about bounded
31433 pointers.
31434 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31435 <bp-sym.h> and <bp-asm.h>.
31436 (memcpy): Don't use BP_SYM.
31437 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31438 <bp-sym.h> and <bp-asm.h>.
31439 (memset): Don't use BP_SYM.
31440 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31441 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31442 (__bzero): Don't use BP_SYM.
31443 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31444 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31445 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31446 <bp-sym.h> and <bp-asm.h>.
31447 (strncmp): Don't use BP_SYM. Remove comment about bounded
31448 pointers.
31449 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31450 <bp-sym.h> and <bp-asm.h>.
31451 (memcpy): Don't use BP_SYM.
31452 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31453 <bp-sym.h> and <bp-asm.h>.
31454 (memset): Don't use BP_SYM.
31455 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31456 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31457 (__bzero): Don't use BP_SYM.
31458 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31459 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31460 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31461 <bp-sym.h> and <bp-asm.h>.
31462 (__memchr): Don't use BP_SYM.
31463 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31464 <bp-sym.h> and <bp-asm.h>.
31465 (memcmp): Don't use BP_SYM. Remove comment about bounded
31466 pointers.
31467 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31468 <bp-sym.h> and <bp-asm.h>.
31469 (memcpy): Don't use BP_SYM.
31470 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31471 <bp-sym.h> and <bp-asm.h>.
31472 (__mempcpy): Don't use BP_SYM.
31473 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31474 <bp-sym.h> and <bp-asm.h>.
31475 (__memrchr): Don't use BP_SYM.
31476 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31477 <bp-sym.h> and <bp-asm.h>.
31478 (memset): Don't use BP_SYM.
31479 (__bzero): Likewise.
31480 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31481 <bp-sym.h> and <bp-asm.h>.
31482 (__rawmemchr): Don't use BP_SYM.
31483 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31484 <bp-sym.h> and <bp-asm.h>.
31485 (__STRCMP): Don't use BP_SYM.
31486 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31487 <bp-sym.h> and <bp-asm.h>.
31488 (strchr): Don't use BP_SYM.
31489 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31490 <bp-sym.h> and <bp-asm.h>.
31491 (__strchrnul): Don't use BP_SYM.
31492 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31493 <bp-sym.h> and <bp-asm.h>.
31494 (strlen): Don't use BP_SYM.
31495 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31496 <bp-sym.h> and <bp-asm.h>.
31497 (strncmp): Don't use BP_SYM. Remove comment about bounded
31498 pointers.
31499 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31500 <bp-sym.h> and <bp-asm.h>.
31501 (__strnlen): Don't use BP_SYM.
31502 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31503 <bp-sym.h> and <bp-asm.h>.
31504 (__GI__setjmp): Don't use BP_SYM.
31505 (_setjmp): Likewise.
31506 (__sigsetjmp): Likewise.
31507 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31508 (L(start_addresses)): Don't use BP_SYM.
31509 (_start): Likewise.
31510 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31511 <bp-asm.h>.
31512 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31513 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31514 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31515 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31516 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31517 <bp-asm.h>.
31518 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31519 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31520 about bounded pointers.
31521 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31522 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31523 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31524 <bp-asm.h>.
31525 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31526 about bounded pointers. Remove GKM FIXME comments.
31527 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31528 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31529 <bp-asm.h>.
31530 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31531 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31532 Remove GKM FIXME comments.
31533 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31534 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31535 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31536 <bp-asm.h>.
31537 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31538 about bounded pointers. Remove GKM FIXME comment.
31539 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31540 and <bp-asm.h>.
31541 (strncmp): Don't use BP_SYM. Remove comment about bounded
31542 pointers.
31543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31544 <bp-sym.h> and <bp-asm.h>.
31545 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31547 <bp-sym.h> and <bp-asm.h>.
31548 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31549 comment.
31550
cdcf361f
PP
315512013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31552
31553 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31554 call free(NULL).
31555
3c4a2b15
DM
315562013-03-05 David S. Miller <davem@davemloft.net>
31557
31558 * po/es.po: Update from translation team.
31559
cdcf361f 315602013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
31561
31562 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31563 <bits/mman-linux.h>.
31564 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31565 is fine.
31566 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31567 <bits/mman-linux.h> to end of file.
31568 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31569 is fine.
31570 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31571 <bits/mman-linux.h> to end of file.
31572 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31573 is fine.
31574 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31575 <bits/mman-linux.h> to end of file.
31576
31577 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31578 (MCL_CURRENT, MCL_FUTURE): Define here.
31579
5f67c04f
AK
315802013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31581
8a4473cc 31582 [BZ #15232]
5f67c04f
AK
31583 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31584 attribute_hidden.
31585 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31586
c3e94a95
AK
315872013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31588
31589 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31590 fourth parameter needed for rt_sigprocmask syscall.
31591 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31592 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31593 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31594 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31595 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31596 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31597
cfb6382a
JM
315982013-03-04 Joseph Myers <joseph@codesourcery.com>
31599
31600 [BZ #13550]
31601 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31602 comment about bounded pointers.
31603 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31604 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31605
539d8e01
AJ
316062013-03-04 Andreas Jaeger <aj@suse.de>
31607
31608 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31609 common definitions.
31610
31611 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31612 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31613 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31614 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31615 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
31616 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31617
2e167a70 316182013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
31619
31620 [BZ #15055]
31621 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31622 __ieee754_sqrl instead of __sqrl.
31623
68508633
JM
316242013-03-01 Joseph Myers <joseph@codesourcery.com>
31625
31626 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31627 * sysdeps/powerpc/fpu_control.h: ... here.
31628 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31629 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31630 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31631 * sysdeps/powerpc/bits/mathinline.h: ... here.
31632
7775448e
RM
316332013-03-01 Roland McGrath <roland@hack.frob.com>
31634
31635 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31636 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31637 to just [NEED_DL_SYSINFO_DSO].
31638 * elf/dl-support.c: Likewise.
31639 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31640 * elf/rtld.c (dl_main): Likewise.
31641 * elf/setup-vdso.h (setup_vdso): Likewise.
31642 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31643 * sysdeps/unix/sysv/linux/dl-sysdep.c
31644 (_dl_discover_osversion): Likewise.
31645
4e9b5995
CD
316462013-03-01 Carlos O'Donell <carlos@redhat.com>
31647
31648 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31649 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31650
e23872c8
SP
316512013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31652
e5c74c63
SP
31653 * NEWS: Mention libm performance improvements and non-x86 PI
31654 futex support.
31655
e23872c8
SP
31656 * csu/libc-start.c (__pthread_initialize_minimal): Change
31657 function arguments.
31658 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31659
b5510883
JM
316602013-02-28 Joseph Myers <joseph@codesourcery.com>
31661
31662 [BZ #13550]
31663 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31664 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31665 <bp-sym.h> and <bp-asm.h>.
31666 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31667 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31668 and <bp-asm.h>.
31669 (memcpy): Don't use BP_SYM.
31670 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31671 <bp-asm.h>.
31672 (__mpn_add_n): Don't use BP_SYM.
31673 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31674 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31675 and <bp-asm.h>.
31676 (__mpn_addmul_1): Don't use BP_SYM.
31677 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31678 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31679 <bp-sym.h>.
31680 (_setjmp): Don't use BP_SYM.
31681 (__novmx_setjmp): Likewise.
31682 (__GI__setjmp): Likewise.
31683 (__vmx_setjmp): Likewise.
31684 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31685 <bp-sym.h>.
31686 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31687 (__bzero): Don't use BP_SYM.
31688 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31689 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31690 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31691 <bp-sym.h> and <bp-asm.h>.
31692 (memcpy): Don't use BP_SYM.
31693 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31694 <bp-sym.h> and <bp-asm.h>.
31695 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31696 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31697 <bp-sym.h> and <bp-asm.h>.
31698 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31699 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31700 <bp-asm.h>.
31701 (__mpn_lshift): Don't use BP_SYM.
31702 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31703 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31704 <bp-asm.h>.
31705 (memset): Don't use BP_SYM.
31706 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31707 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31708 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31709 <bp-asm.h>.
31710 (__mpn_mul_1): Don't use BP_SYM.
31711 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31712 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31713 <bp-sym.h> and <bp-asm.h>.
31714 (memcmp): Don't use BP_SYM.
31715 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31716 <bp-sym.h> and <bp-asm.h>.
31717 (memcpy): Don't use BP_SYM.
31718 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31719 <bp-sym.h> and <bp-asm.h>.
31720 (memset): Don't use BP_SYM.
31721 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31722 <bp-sym.h> and <bp-asm.h>.
31723 (strncmp): Don't use BP_SYM.
31724 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31725 <bp-sym.h> and <bp-asm.h>.
31726 (memcpy): Don't use BP_SYM.
31727 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31728 <bp-sym.h> and <bp-asm.h>.
31729 (memset): Don't use BP_SYM.
31730 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31731 <bp-sym.h> and <bp-asm.h>.
31732 (__memchr): Don't use BP_SYM.
31733 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31734 <bp-sym.h> and <bp-asm.h>.
31735 (memcmp): Don't use BP_SYM.
31736 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31737 <bp-sym.h> and <bp-asm.h>.
31738 (memcpy): Don't use BP_SYM.
31739 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31740 <bp-sym.h> and <bp-asm.h>.
31741 (__mempcpy): Don't use BP_SYM.
31742 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31743 <bp-sym.h> and <bp-asm.h>.
31744 (__memrchr): Don't use BP_SYM.
31745 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31746 <bp-sym.h> and <bp-asm.h>.
31747 (memset): Don't use BP_SYM.
31748 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31749 <bp-sym.h> and <bp-asm.h>.
31750 (__rawmemchr): Don't use BP_SYM.
31751 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31752 <bp-sym.h> and <bp-asm.h>.
31753 (__STRCMP): Don't use BP_SYM.
31754 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31755 <bp-sym.h> and <bp-asm.h>.
31756 (strchr): Don't use BP_SYM.
31757 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31758 <bp-sym.h> and <bp-asm.h>.
31759 (__strchrnul): Don't use BP_SYM.
31760 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31761 <bp-sym.h> and <bp-asm.h>.
31762 (strlen): Don't use BP_SYM.
31763 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31764 <bp-sym.h> and <bp-asm.h>.
31765 (strncmp): Don't use BP_SYM.
31766 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31767 <bp-sym.h> and <bp-asm.h>.
31768 (__strnlen): Don't use BP_SYM.
31769 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31770 <bp-asm.h>.
31771 (__mpn_rshift): Don't use BP_SYM.
31772 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31773 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31774 <bp-sym.h> and <bp-asm.h>.
31775 (__sigsetjmp): Don't use BP_SYM.
31776 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31777 (L(start_addresses)): Don't use BP_SYM.
31778 (_start): Likewise.
31779 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31780 <bp-asm.h>.
31781 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31782 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31783 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31784 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31785 <bp-asm.h>.
31786 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31787 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31788 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31789 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31790 <bp-asm.h>.
31791 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31792 comments.
31793 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31794 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31795 <bp-asm.h>.
31796 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31797 FIXME comments.
31798 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31799 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31800 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31801 <bp-asm.h>.
31802 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31803 comment.
31804 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31805 and <bp-asm.h>.
31806 (strncmp): Don't use BP_SYM,
31807 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31808 <bp-asm.h>.
31809 (__mpn_sub_n): Don't use BP_SYM.
31810 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31811 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31812 and <bp-asm.h>.
31813 (__mpn_submul_1): Don't use BP_SYM.
31814 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31816 <bp-sym.h> and <bp-asm.h>.
31817 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31819 <bp-sym.h> and <bp-asm.h>.
31820 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31821 comment.
31822
8d19fe64
SP
318232013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31824
31825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31826 Use ZK to minimize writes to Z.
31827 (sub_magnitudes): Simplify code a bit.
31828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31829 Use ZK to minimize writes to Z.
31830 (sub_magnitudes): Simplify code a bit.
31831
85bd816a
RM
318322013-02-27 Roland McGrath <roland@hack.frob.com>
31833
31834 * csu/gmon-start.c: Add special exception to license text.
31835
b5977bf2
RH
318362013-02-27 Richard Henderson <rth@redhat.com>
31837
31838 * scripts/config.guess: Update from config.git.
31839 * scripts/config.sub: Likewise.
31840
11d6e2f2
SP
318412013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31842
09c14ed2
SP
31843 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31844
a688864e
SP
31845 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31846
6295157a
SP
31847 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31848
b8de2202
SP
31849 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31850
11d6e2f2
SP
31851 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31852
7e80ddb8
RM
318532013-02-26 Roland McGrath <roland@hack.frob.com>
31854
31855 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31856 [$(build-shared = yes].
7e80ddb8 31857
7da6d9ed
SP
318582013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31859
45f05884
SP
31860 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31861 (__mul): Reduce iterations for calculating mantissa.
31862
2236d359
SP
31863 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31864 MPTWO.
31865 (__mpranred): Likewise.
31866
7da6d9ed
SP
31867 [BZ #15160]
31868 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31869 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31870
b7688c42
PE
318712013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31872
31873 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31874 Define __attribute__.
31875
53a5c423
SP
318762013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31877
31878 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31879 unused.
31880 * posix/regex_internal.h (__attribute): Remove.
31881 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31882 (re_string_context_at): Likewise.
31883 (bitset_not): Use __attribute__ and mark function as possibly
31884 unused.
31885 (bitset_merge): Likewise.
31886 (bitset_mask): Likewise.
31887 (re_string_char_size_at): Likewise.
31888 (re_string_wchar_at): Likewise.
31889 (re_string_elem_size_at): Likewise.
31890
60f5a8b5
SP
318912013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31892
2a983a2e
SP
31893 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31894 code.
31895 (cc32): Likewise.
31896
e69804d1
SP
31897 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31898 (__acr): Likewise.
31899 (__cpy): Likewise.
31900 (norm): Likewise.
31901 (denorm): Likewise.
31902 (__dbl_mp): Likewise.
31903 (add_magnitudes): Likewise.
31904 (sub_magnitudes): Likewise.
31905 (__mul): Likewise.
31906 (__inv): Likewise.
31907
2f22a1e8
SP
31908 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31909 style.
31910
8930ddc7
SP
31911 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31912 style.
31913
dc60cb11
SP
31914 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31915 code.
31916
60f5a8b5
SP
31917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31918 up changes with default code.
31919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31920 Likewise.
31921
b4d1fd33
AM
319222013-02-24 Allan McRae <allan@archlinux.org>
31923
faf6f8bc
AM
31924 * manual/socket.texi (The Internet Namespace): Order menu items
31925 to match that in the file.
31926
b4d1fd33
AM
31927 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31928 node listing of the info page menu.
31929
2366713d
JM
319302013-02-21 Joseph Myers <joseph@codesourcery.com>
31931
31932 [BZ #13550]
31933 * sysdeps/i386/bp-asm.h: Remove file.
31934 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31935 (PARMS): Do not use macros from bp-asm.h.
31936 (S1): Likewise.
31937 (S2): Likewise.
31938 (SIZE): Likewise.
31939 (__mpn_add_n): Do not use BP_SYM
31940 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31941 "bp-asm.h".
31942 (PARMS): Do not use macros from bp-asm.h.
31943 (S1): Likewise.
31944 (SIZE): Likewise.
31945 (__mpn_addmul_1): Do not use BP_SYM
31946 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31947 "bp-asm.h".
31948 (PARMS): Do not use macros from bp-asm.h.
31949 (SIGMSK): Likewise.
31950 (_setjmp): Likewise. Do not use BP_SYM.
31951 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31952 "bp-asm.h".
31953 (PARMS): Do not use macros from bp-asm.h.
31954 (SIGMSK): Likewise.
31955 (setjmp): Likewise. Do not use BP_SYM.
31956 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31957 "bp-asm.h".
31958 (PARMS): Do not use macros from bp-asm.h.
31959 (__frexp): Do not use BP_SYM.
31960 (frexp): Likewise.
31961 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31962 "bp-asm.h".
31963 (PARMS): Do not use macros from bp-asm.h.
31964 (__frexpf): Do not use BP_SYM.
31965 (frexpf): Likewise.
31966 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31967 "bp-asm.h".
31968 (PARMS): Do not use macros from bp-asm.h.
31969 (__frexpl): Do not use BP_SYM.
31970 (frexpl): Likewise.
31971 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31972 "bp-asm.h".
31973 (PARMS): Do not use macros from bp-asm.h.
31974 (__remquo): Do not use BP_SYM.
31975 (remquo): Likewise.
31976 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31977 "bp-asm.h".
31978 (PARMS): Do not use macros from bp-asm.h.
31979 (__remquof): Do not use BP_SYM.
31980 (remquof): Likewise.
31981 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31982 "bp-asm.h".
31983 (PARMS): Do not use macros from bp-asm.h.
31984 (__remquol): Do not use BP_SYM.
31985 (remquol): Likewise.
31986 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31987 "bp-asm.h".
31988 (PARMS): Do not use macros from bp-asm.h.
31989 (DEST): Likewise.
31990 (SRC): Likewise.
31991 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31992 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31993 "bp-asm.h".
31994 (PARMS): Do not use macros from bp-asm.h.
31995 (strlen): Do not use BP_SYM.
31996 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31997 "bp-asm.h".
31998 (PARMS): Do not use macros from bp-asm.h.
31999 (S1): Likewise.
32000 (S2): Likewise.
32001 (SIZE): Likewise.
32002 (__mpn_add_n): Do not use BP_SYM.
32003 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32004 "bp-asm.h".
32005 (PARMS): Do not use macros from bp-asm.h.
32006 (S1): Likewise.
32007 (SIZE): Likewise.
32008 (__mpn_addmul_1): Do not use BP_SYM.
32009 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32010 weak_alias.
32011 (bzero): Likewise.
32012 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32013 "bp-asm.h".
32014 (PARMS): Do not use macros from bp-asm.h.
32015 (S): Likewise.
32016 (SIZE): Likewise.
32017 (__mpn_lshift): Do not use BP_SYM.
32018 * sysdeps/i386/i586/memcpy.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 (LEN): Likewise.
32024 (memcpy): Likewise. Do not use BP_SYM.
32025 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32026 libc_hidden_def and weak_alias.
32027 (mempcpy): Do not use BP_SYM in weak_alias.
32028 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32029 "bp-asm.h".
32030 (PARMS): Do not use macros from bp-asm.h.
32031 (DEST): Likewise.
32032 (LEN): Likewise.
32033 [!BZERO_P] (CHR): Likewise.
32034 (memset): Likewise. Do not use BP_SYM.
32035 * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
32041 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32042 "bp-asm.h".
32043 (PARMS): Do not use macros from bp-asm.h.
32044 (S): Likewise.
32045 (SIZE): Likewise.
32046 (__mpn_rshift): Do not use BP_SYM.
32047 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32048 "bp-asm.h".
32049 (PARMS): Do not use macros from bp-asm.h.
32050 (STR): Likewise.
32051 (CHR): Likewise.
32052 (strchr): Likewise. Do not use BP_SYM.
32053 (index): Do not use BP_SYM in weak_alias.
32054 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32055 "bp-asm.h".
32056 (PARMS): Do not use macros from bp-asm.h.
32057 (DEST): Likewise.
32058 (SRC): Likewise.
32059 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32060 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32061 "bp-asm.h".
32062 (PARMS): Do not use macros from bp-asm.h.
32063 (strlen): Do not use BP_SYM.
32064 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32065 "bp-asm.h".
32066 (PARMS): Do not use macros from bp-asm.h.
32067 (S1): Likewise.
32068 (S2): Likewise.
32069 (SIZE): Likewise.
32070 (__mpn_sub_n): Do not use BP_SYM.
32071 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32072 "bp-asm.h".
32073 (PARMS): Do not use macros from bp-asm.h.
32074 (S1): Likewise.
32075 (SIZE): Likewise.
32076 (__mpn_submul_1): Do not use BP_SYM.
32077 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32078 "bp-asm.h".
32079 (PARMS): Do not use macros from bp-asm.h.
32080 (S1): Likewise.
32081 (S2): Likewise.
32082 (SIZE): Likewise.
32083 (__mpn_add_n): Do not use BP_SYM.
32084 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32085 weak_alias.
32086 (bzero): Likewise.
32087 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32088 "bp-asm.h".
32089 (PARMS): Do not use macros from bp-asm.h.
32090 (BLK2): Likewise.
32091 (LEN): Likewise.
32092 (memcmp): Do not use BP_SYM.
32093 (bcmp): Do not use BP_SYM in weak_alias.
32094 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32095 "bp-asm.h".
32096 (PARMS): Do not use macros from bp-asm.h.
32097 (DEST): Likewise.
32098 (SRC): Likewise.
32099 (LEN): Likewise.
32100 (memcpy): Likewise. Do not use BP_SYM.
32101 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32102 "bp-asm.h".
32103 (PARMS): Do not use macros from bp-asm.h.
32104 (DEST): Likewise.
32105 (SRC): Likewise.
32106 (LEN): Likewise.
32107 (memmove): Likewise. Do not use BP_SYM.
32108 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32109 "bp-asm.h".
32110 (PARMS): Do not use macros from bp-asm.h.
32111 (DEST): Likewise.
32112 (SRC): Likewise.
32113 (LEN): Likewise.
32114 (__mempcpy): Likewise. Do not use BP_SYM.
32115 (mempcpy): Do not use BP_SYM in weak_alias.
32116 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32117 "bp-asm.h".
32118 (PARMS): Do not use macros from bp-asm.h.
32119 (DEST): Likewise.
32120 (LEN): Likewise.
32121 [!BZERO_P] (CHR): Likewise.
32122 (memset): Likewise. Do not use BP_SYM.
32123 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32124 "bp-asm.h".
32125 (PARMS): Do not use macros from bp-asm.h.
32126 (STR2): Likewise.
32127 (strcmp): Do not use BP_SYM.
32128 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32129 "bp-asm.h".
32130 (PARMS): Do not use macros from bp-asm.h.
32131 (STR): Likewise.
32132 (DELIM): Likewise.
32133 [USE_AS_STRTOK_R] (SAVE): Likewise.
32134 (FUNCTION): Likewise. Do not use BP_SYM.
32135 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32136 aliases.
32137 (strtok_r): Likewise.
32138 (__GI___strtok_r): Likewise.
32139 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32140 (PARMS): Do not use macros from bp-asm.h.
32141 (S): Likewise.
32142 (SIZE): Likewise.
32143 (__mpn_lshift): Do not use BP_SYM.
32144 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32145 (PARMS): Do not use macros from bp-asm.h.
32146 (STR): Likewise.
32147 (CHR): Likewise.
32148 (__memchr): Do not use BP_SYM.
32149 (memchr): Do not use BP_SYM in weak_alias.
32150 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32151 (PARMS): Do not use macros from bp-asm.h.
32152 (BLK2): Likewise.
32153 (LEN): Likewise.
32154 (memcmp): Do not use BP_SYM.
32155 (bcmp): Do not use BP_SYM in weak_alias.
32156 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32157 (PARMS): Do not use macros from bp-asm.h.
32158 (S1): Likewise.
32159 (SIZE): Likewise.
32160 (__mpn_mul_1): Do not use BP_SYM.
32161 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32162 "bp-asm.h".
32163 (PARMS): Do not use macros from bp-asm.h.
32164 (STR): Likewise.
32165 (CHR): Likewise.
32166 (__rawmemchr): Do not use BP_SYM.
32167 (rawmemchr): Do not use BP_SYM in weak_alias.
32168 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32169 (PARMS): Do not use macros from bp-asm.h.
32170 (S): Likewise.
32171 (SIZE): Likewise.
32172 (__mpn_rshift): Do not use BP_SYM.
32173 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32174 (PARMS): Do not use macros from bp-asm.h.
32175 (SIGMSK): Likewise.
32176 (__sigsetjmp): Likewise. Do not use BP_SYM.
32177 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32178 (_start): Do not use BP_SYM.
32179 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32180 (PARMS): Do not use macros from bp-asm.h.
32181 (DEST): Likewise.
32182 (SRC): Likewise.
32183 (__stpcpy): Likewise. Do not use BP_SYM.
32184 (stpcpy): Do not use BP_SYM in weak_alias.
32185 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32186 "bp-asm.h".
32187 (PARMS): Do not use macros from bp-asm.h.
32188 (DEST): Likewise.
32189 (SRC): Likewise.
32190 (LEN): Likewise.
32191 (__stpncpy): Likewise. Do not use BP_SYM.
32192 (stpncpy): Do not use BP_SYM in weak_alias.
32193 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32194 (PARMS): Do not use macros from bp-asm.h.
32195 (STR): Likewise.
32196 (CHR): Likewise.
32197 (strchr): Likewise. Do not use BP_SYM.
32198 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32199 "bp-asm.h".
32200 (PARMS): Do not use macros from bp-asm.h.
32201 (STR): Likewise.
32202 (CHR): Likewise.
32203 (__strchrnul): Likewise. Do not use BP_SYM.
32204 (strchrnul): Do not use BP_SYM in weak_alias.
32205 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32206 "bp-asm.h".
32207 (PARMS): Do not use macros from bp-asm.h.
32208 (STOP): Likewise.
32209 (strcspn): Do not use BP_SYM.
32210 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32211 "bp-asm.h".
32212 (PARMS): Do not use macros from bp-asm.h.
32213 (STR): Likewise.
32214 (STOP): Likewise.
32215 (strpbrk): Likewise. Do not use BP_SYM.
32216 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32217 "bp-asm.h".
32218 (PARMS): Do not use macros from bp-asm.h.
32219 (STR): Likewise.
32220 (CHR): Likewise.
32221 (strrchr): Likewise. Do not use BP_SYM.
32222 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32223 (PARMS): Do not use macros from bp-asm.h.
32224 (SKIP): Likewise.
32225 (strspn): Do not use BP_SYM.
32226 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32227 (PARMS): Do not use macros from bp-asm.h.
32228 (STR): Likewise.
32229 (DELIM): Likewise.
32230 (SAVE): Likewise.
32231 (FUNCTION): Likewise. Do not use BP_SYM.
32232 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32233 aliases.
32234 (strtok_r): Likewise.
32235 (__GI___strtok_r): Likewise.
32236 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32237 (PARMS): Do not use macros from bp-asm.h.
32238 (S1): Likewise.
32239 (S2): Likewise.
32240 (SIZE): Likewise.
32241 (__mpn_sub_n): Do not use BP_SYM.
32242 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32243 "bp-asm.h".
32244 (PARMS): Do not use macros from bp-asm.h.
32245 (S1): Likewise.
32246 (SIZE): Likewise.
32247 (__mpn_submul_1): Do not use BP_SYM.
32248 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32249 <bp-sym.h>.
32250 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32251 and <bp-asm.h>.
32252 (PARMS): Do not use macros from bp-asm.h.
32253 (FLAGS): Likewise.
32254 (PTID): Likewise.
32255 (TLS): Likewise.
32256 (CTID): Likewise.
32257 (__clone): Do not use BP_SYM.
32258 (clone): Do not use BP_SYM in weak_alias.
32259 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32260 and <bp-asm.h>.
32261 (PARMS): Do not use macros from bp-asm.h.
32262 (LEN): Likewise.
32263 (__mmap64): Do not use BP_SYM.
32264 (mmap64): Do not use BP_SYM in weak_alias.
32265 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32266 <bp-sym.h> and <bp-asm.h>.
32267 (PARMS): Do not use macros from bp-asm.h.
32268 (__posix_fadvise64_l64): Do not use BP_SYM.
32269 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32270 (PARMS): Do not use macros from bp-asm.h.
32271 (NSOPS): Likewise.
32272 (semtimedop): Do not use BP_SYM.
32273 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32274 and <bp-asm.h>.
32275
582a3cff
AM
322762013-02-21 Allan McRae <allan@archlinux.org>
32277
32278 * manual/message.texi (Charset conversion in gettext):
32279 Move @end statement to beginning of line.
32280
bab8a695
SP
322812013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32282
80945231
SP
32283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32284 static.
32285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32286 Likewise.
32287
bab8a695
SP
32288 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32289 (denorm): Likewise.
32290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32292
e21d7aa7
AK
322932013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32294
32295 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32296 tail-call to the resolved function if pltexit isn't needed.
32297
4c7a4263
SP
322982013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32299
32300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32301 or Y being zero as being unlikely.
32302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32303 Likewise.
32304
41f49342
CD
323052013-02-20 Carlos O'Donell <carlos@redhat.com>
32306
32307 * manual/nss.texi (System Databases and Name Service Switch):
32308 Remove frobnicate @pxref.
32309
50022a93
TS
323102013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32311
32312 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32313 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32314
08cbd996
PM
323152013-02-20 Petr Machata <pmachata@redhat.com>
32316
32317 * elf/elf.h (R_ARM_TARGET1): New macro.
32318 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32319 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32320 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32321 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32322 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32323 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32324 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32325 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32326 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32327 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32328 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32329 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32330 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32331 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32332 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32333 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32334 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32335 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32336 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32337 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32338 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32339 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32340 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32341 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32342 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32343 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32344 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32345 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32346 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32347 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32348 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32349 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32350 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32351 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32352 (R_ARM_THM_GOT_BREL12): Likewise.
32353 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32354 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32355 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32356 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32357 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32358 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32359 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32360 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32361 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32362
c7b275d6
TS
323632013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32364
32365 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32366 __attribute_used__ to __attribute__ ((unused)).
32367
20cd7fb3
SP
323682013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32369
32370 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32371 powerpc mpa.c.
32372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32373 comment formatting.
32374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32375
92945b52
JM
323762013-02-19 Joseph Myers <joseph@codesourcery.com>
32377
32378 [BZ #13550]
32379 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32380 Remove macro.
32381 (ENTER): Remove both macro definitions.
32382 (LEAVE): Likewise.
32383 (CHECK_BOUNDS_LOW): Likewise.
32384 (CHECK_BOUNDS_HIGH): Likewise.
32385 (CHECK_BOUNDS_BOTH): Likewise.
32386 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32387 (RETURN_BOUNDED_POINTER): Likewise.
32388 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32389 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32390 (POP_ERRNO_LOCATION_RETURN): Likewise.
32391 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32392 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32393 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32394 macros.
32395 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32396 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32397 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32398 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32399 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32400 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32401 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32402 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32403 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32404 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32405 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32406 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32407 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32408 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32409 removed macros.
32410 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32411 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32412 macros.
32413 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32414 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32415 * sysdeps/i386/i586/memset.S (memset): Likewise.
32416 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32417 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32418 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32419 macros.
32420 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32421 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32422 Change uses of L(2) to L(out).
32423 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32424 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32425 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32426 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32427 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32428 removed macros.
32429 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32430 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32431 macros.
32432 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32433 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32434 (RETURN): Do not use macro LEAVE.
32435 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32436 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32437 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32438 * sysdeps/i386/i686/memset.S (memset): Likewise.
32439 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32440 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32441 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32442 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32443 Likewise.
32444 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32445 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32446 L(1_2) and L(1_3) into L(1).
32447 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32448 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32449 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32450 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32451 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32452 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32453 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32454 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32455 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32456 macros.
32457 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32458 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32459 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32460 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32461 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32462 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32463 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32464 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32465 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32466 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32467 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32468 * sysdeps/i386/strspn.S (strspn): Likewise.
32469 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32470 conditional code.
32471 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32472 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32473 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32474 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32475 L(1_3) into L(1_1).
32476 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32477 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32478 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32479 macros.
32480 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32481
2389741a
JJ
324822013-02-19 Jakub Jelinek <jakub@redhat.com>
32483
32484 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32485 macro.
32486
2016b3cd
SP
324872013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32488
e4f22324
SP
32489 * math/atest-exp.c (exp_mpn): Remove ROUND.
32490 * math/atest-exp2.c (exp_mpn): Likewise.
32491 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32492
2016b3cd
SP
32493 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32494 * stdlib/tst-tls-atexit-lib.c: Likewise.
32495 * stdlib/tst-tls-atexit.c: Likewise.
32496
4be9b544
MF
324972013-02-18 Mike Frysinger <vapier@gentoo.org>
32498
32499 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32500 and __attribute_alloc_size__.
32501
2f62b9ee
MF
325022013-02-18 Mike Frysinger <vapier@gentoo.org>
32503
32504 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32505 __attribute_alloc_size__.
32506 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32507 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32508
6ff444c4
MF
325092013-02-18 Mike Frysinger <vapier@gentoo.org>
32510
32511 * include/programs/xmalloc.h: New file.
32512 * catgets/gencat.c: Include it.
32513 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32514 * elf/pldd.c: Likewise.
32515 * iconv/iconv_charmap.c: Likewise.
32516 * iconv/iconvconfig.c: Likewise.
32517 * iconv/strtab.c: Likewise.
32518 * locale/programs/locale.c: Likewise.
32519 * locale/programs/localedef.h: Likewise.
32520 * locale/programs/simple-hash.c: Likewise.
32521 * nscd/nscd.h: Likewise.
32522 * nss/makedb.c: Likewise.
32523 * sysdeps/generic/ldconfig.h: Likewise.
32524
be179c8a
SP
325252013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32526
ba384f6e
SP
32527 * Versions.def: Add GLIBC_2.18.
32528 * include/link.h (struct link_map): New member l_tls_dtor_count.
32529 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32530 (__call_tls_dtors): Likewise.
32531 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32532 __cxa_thread_atexit_impl.
32533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32534 Likewise.
32535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32536 Likewise.
32537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32538 Likewise.
32539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32540 Likewise.
32541 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32543 Likewise.
32544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32545 Likewise.
32546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32547 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32548 Likewise.
32549 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32550 (tests): Add test case tst-tls-atexit.
32551 (modules-names): Add shared library for tst-tls-atexit.
85891aca 32552 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
32553 (GLIBC_PRIVATE): Add __call_tls_dtors.
32554 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32555 for libstdc++.
32556 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32557 * stdlib/tst-tls-atexit.c: New test case.
32558 * stdlib/tst-tls-atexit-lib.c: New test case.
32559
ffaa74cf 32560 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 32561
be179c8a
SP
32562 * elf/Versions (ld): Add _dl_find_dso_for_object.
32563 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32564 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32565 (dl_open_worker): Use _dl_find_dso_for_object.
32566 * elf/dl-sym.c (do_sym): Likewise.
32567 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32568
f78b5caa
AK
325692013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32570
32571 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32572 Syntactic changes only.
32573 (_dl_runtime_profile): Do a tail-call to the resolved function.
32574
29691210
JM
325752013-02-17 Joseph Myers <joseph@codesourcery.com>
32576
32577 [BZ #13550]
32578 * sysdeps/x86_64/bp-asm.h: Remove file.
32579 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32580 <bp-sym.h> and <bp-asm.h>.
32581 (__clone): Do not use BP_SYM.
32582 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32583 <bp-sym.h> and <bp-asm.h>.
32584 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32585 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32586 "bp-asm.h".
32587 (_setjmp): Do not use BP_SYM.
32588 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32589 "bp-asm.h".
32590 (setjmp): Do not use BP_SYM.
32591 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32592 libc_hidden_def.
32593 (mempcpy): Do not use BP_SYM in weak_alias.
32594 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32595 "bp-asm.h".
32596 (strchr): Do not use BP_SYM.
32597 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32598 "bp-asm.h".
32599 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32600 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32601 (_start): Do not use BP_SYM.
32602 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32603 "bp-asm.h".
32604 (strcat): Do not use BP_SYM.
32605 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32606 "bp-asm.h".
32607 (STRCMP): Do not use BP_SYM.
32608 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32609 "bp-asm.h".
32610 (STRCPY): Do not use BP_SYM.
32611 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32612 "bp-asm.h".
32613 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32614 "bp-asm.h".
32615 (FUNCTION): Do not use BP_SYM.
32616 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32617 weak_alias.
32618 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32619
f238fd19
AJ
326202013-02-17 Andreas Jaeger <aj@suse.de>
32621
32622 * time/Versions: Sort entries.
32623 * string/Versions: Likewise.
32624 * resolv/Versions: Likewise.
32625 * posix/Versions: Likewise.
32626 * iconv/Versions: Likewise.
32627 * elf/Versions: Likewise.
32628 * wcsmbs/Versions: Likewise.
32629
bd07f23c 326302013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 32631
22af19f9
SP
32632 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32633 loop termination condition.
32634
4709fe76
SP
32635 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32636 variable to calculate EZ.
32637 (__sqr): Likewise.
2d0e0f29
SP
32638
32639 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32640 the lower precision input.
32641
daaa7713
JM
326422013-02-15 Joseph Myers <joseph@codesourcery.com>
32643
32644 [BZ #13550]
32645 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32646 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32647 (run-via-rtld-prefix): Do not handle %-bp tests.
32648 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32649 (all-object-suffixes): Remove .ob.
32650 (bppfx): Remove variable.
32651 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32652 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32653 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32654 [$(build-bounded) = yes] (libtype.ob): Likewise.
32655 * Makerules (elide-routines.ob): Remove variable.
32656 (do-tests-clean): Do not handle *-bp.out.
32657 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32658 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32659 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32660 (tests): Do not include $(tests-bp.out).
32661 (xtests): Do not include $(xtests-bp.out).
32662 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32663 [$(build-bounded) = yes] ($(addprefix
32664 $(objpfx),$(binaries-bounded))): Remove rule.
32665 ($(objpfx)%-bp.out): Remove rule.
32666 * config.make.in (build-bounded): Remove variable.
32667 * crypt/Makefile [$(build-bounded) = yes]
32668 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32669 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32670 append to variable.
32671 [$(build-bounded) = yes] (install-lib): Likewise.
32672 [$(build-bounded) = yes] (generated): Likewise.
32673 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32674 Remove rule.
32675 * intl/Makefile [$(build-bounded) = yes]
32676 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32677 * math/Makefile [$(build-bounded) = yes]
32678 ($(tests:%=$(objpfx)%-bp): Likewise.
32679 * misc/Makefile [$(build-bounded) = yes]
32680 ($(objpfx)tst-tsearch-bp): Likewise.
32681 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32682 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32683 Remove dependency.
32684 * string/Makefile (o-objects.ob): Remove variable.
32685 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32686 (CFLAGS-.ob): Remove variable.
32687 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32688 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32689 both definitions of variable.
32690 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32691 (ASFLAGS-.ob): Remove variable.
32692
e97ed6dd
JM
326932013-02-14 Joseph Myers <joseph@codesourcery.com>
32694
2bdd4ca6
JM
32695 [BZ #13550]
32696 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32697 Remove __BOUNDED_POINTERS__ from condition.
32698 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32699 * string/bits/string2.h [!__NO_STRING_INLINES &&
32700 !__BOUNDED_POINTERS__]: Likewise.
32701 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32702 Likewise.
32703 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32704 Remove conditional code.
32705 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32706 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32707 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32708 condition.
32709
e97ed6dd
JM
32710 [BZ #13550]
32711 * csu/libc-start.c: Do not include <bp-sym.h>.
32712 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32713 * elf/dl-open.c: Do not include <bp-sym.h>.
32714 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32715 * math/fegetenv.c: Do not include <bp-sym.h>.
32716 (fegetenv): Do not use BP_SYM in versioned symbols.
32717 * nptl/sysdeps/pthread/bits/libc-lockP.h
32718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32719 <bp-sym.h>.
32720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32721 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32723 (__pthread_mutex_destroy): Likewise.
32724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32725 (__pthread_mutex_lock): Likewise.
32726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32727 (__pthread_mutex_trylock): Likewise.
32728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32729 (__pthread_mutex_unlock): Likewise.
32730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32731 (__pthread_mutexattr_init): Likewise.
32732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32733 (__pthread_mutexattr_destroy): Likewise.
32734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32735 (__pthread_mutexattr_settype): Likewise.
32736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32737 (__pthread_rwlock_init): Likewise.
32738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32739 (__pthread_rwlock_destroy): Likewise.
32740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32741 (__pthread_rwlock_rdlock): Likewise.
32742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32743 (__pthread_rwlock_tryrdlock): Likewise.
32744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32745 (__pthread_rwlock_wrlock): Likewise.
32746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32747 (__pthread_rwlock_trywrlock): Likewise.
32748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32749 (__pthread_rwlock_unlock): Likewise.
32750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32751 (__pthread_key_create): Likewise.
32752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32753 (__pthread_setspecific): Likewise.
32754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32755 (__pthread_getspecific): Likewise.
32756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32757 Likewise.
32758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32759 (_pthread_cleanup_push_defer): Likewise.
32760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32761 (_pthread_cleanup_pop_restore): Likewise.
32762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32763 (pthread_setcancelstate): Likewise.
32764 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32765 <bp-sym.h>.
32766 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32767 (memchr): Do not use BP_SYM in weak_alias.
32768 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32769 (fegetenv): Do not use BP_SYM in versioned symbols.
32770 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32771 (fesetenv): Do not use BP_SYM in versioned symbols.
32772 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32773 (feupdateenv): Do not use BP_SYM in versioned symbols.
32774 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32775 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32776 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32777 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32778 (open64): Do not use BP_SYM in weak_alias.
32779 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32780 (fegetenv): Do not use BP_SYM in versioned symbols.
32781 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32782 (fesetenv): Do not use BP_SYM in versioned symbols.
32783 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32784 (feupdateenv): Do not use BP_SYM in versioned symbols.
32785 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32786 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32787 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32788 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32789 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32790 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32791 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32792 <bp-sym.h>.
32793 (__libc_start_main): Do not use BP_SYM.
32794
d6752ccd
SP
327952013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32796
cb57ce60
SP
32797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32798 redundant return line.
32799 (norm): Likewise.
32800 (denorm): Likewise.
32801 (dbl_mp): Likewise.
32802 (sub_magnitudes): Likewise.
32803 (__add): Likewise.
32804 (__sub): Likewise.
32805 (__mul): Likewise.
32806 (__inv): Likewise.
32807 (__dvd): Likewise.
32808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32809 (norm): Likewise.
32810 (denorm): Likewise.
32811 (dbl_mp): Likewise.
32812 (sub_magnitudes): Likewise.
32813 (__add): Likewise.
32814 (__sub): Likewise.
32815 (__mul): Likewise.
32816 (__inv): Likewise.
32817 (__dvd): Likewise.
32818
f414520d
SP
32819 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32820 instead of __mul.
32821 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32822 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32823 (cc32): Likewise.
32824
d6752ccd
SP
32825 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32826 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32827 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32828 of __mul for squares.
32829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32830 function
32831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32832 Likewise.
32833 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32834 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32835
70d9946a
JM
328362013-02-13 Joseph Myers <joseph@codesourcery.com>
32837
32838 [BZ #13550]
32839 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32840 code.
32841 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32842 prototype or function definition. Rename ubp_* variables and
32843 parameters. Remove argv definitions conditional on
32844 [__BOUNDED_POINTERS__].
32845 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32846 * elf/dl-runtime.c (_dl_fixup): Likewise.
32847 * include/set-hooks.h (RUN_HOOK): Likewise.
32848 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32849 definition.
32850 * string/strcpy.c (strcpy): Do not use __unbounded.
32851 * sysdeps/generic/frame.h (struct layout): Likewise.
32852 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32853 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32854 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32855 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32856 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32857 (__backtrace): Likewise.
32858 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32859 use __ptrvalue.
32860 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32861 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32862 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32863 Likewise.
32864 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32865 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32866 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32867 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32868 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32869 Do not use __unbounded.
32870 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32871 Rename __unboundedrlimits parameter to rlimits in prototype.
32872 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32873 Do not use __unbounded.
32874 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32875 not use __ptrvalue.
32876 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32877 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32878 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32879 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32880 __ptrvalue or __unbounded.
32881 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32882 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32883 use __unbounded.
32884 (__new_msgctl): Do not use __ptrvalue.
32885 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32886 __unbounded.
32887 (__libc_msgrcv): Do not use __ptrvalue.
32888 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32889 startup_info): Do not use __unbounded.
32890 (__libc_start_main): Likewise. Rename ubp_* variables and
32891 parameters. Remove argv definitions conditional on
32892 [__BOUNDED_POINTERS__].
32893 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32894 __ptrvalue.
32895 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32896 use __unbounded.
32897 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32898 or __ptrvalue.
32899 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32900 use __unbounded.
32901 (__new_shmctl): Do not use __ptrvalue.
32902 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32903 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32904 Likewise.
32905 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32906 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32907 (__libc_sigaction): Likewise.
32908 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32909 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32910 Likewise.
32911 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32912
cc7834d6
OB
329132013-02-13 Ondřej Bílka <neleai@seznam.cz>
32914
ffb1ec7b 32915 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32916
32917 * string/mempcpy.c: Implement by calling memcpy.
32918
bdf02814
SP
329192013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32920
c2af38aa
SP
32921 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32922
4e92d59e
SP
32923 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32924 evaluation.
32925
909279a5
SP
32926 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32927 values in the mantissa.
32928
bdf02814
SP
32929 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32930 minimize writes to Z.
32931 (sub_magnitudes): Simplify code a bit.
32932
cd525923
RM
329332013-02-12 Roland McGrath <roland@hack.frob.com>
32934
32935 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32936 from the message. The linker prefixes all warnings with that already.
32937
7e2f0d2d
AS
329382013-02-12 Andreas Schwab <schwab@suse.de>
32939
a445af0b
AS
32940 [BZ #15078]
32941 * posix/regexec.c (extend_buffers): Add parameter min_len.
32942 (check_matching): Pass minimum needed length.
32943 (clean_state_log_if_needed): Likewise.
32944 (get_subexp): Likewise.
32945 * posix/Makefile (tests): Add bug-regex34.
32946 (bug-regex34-ENV): Define.
32947 * posix/bug-regex34.c: New file.
32948
7e2f0d2d
AS
32949 [BZ #11561]
32950 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32951 elements compare against the byte sequence of it, not its name.
32952 * posix/Makefile (tests): Add bug-regex35.
32953 (bug-regex35-ENV): Define.
32954 * posix/bug-regex35.c: New file.
32955
a175b684
TV
329562013-02-11 Tom de Vries <tom@codesourcery.com>
32957
32958 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32959 comment.
32960 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32961 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32962 (CHECK_EOL): Add undef.
32963
310998fe 329642013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32965
32966 * bits/stdlib-bsearch.h: New file.
32967 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32968 * stdlib/stdlib.h: Likewise.
41eda41d 32969
8ded91fb
RM
329702013-02-11 Roland McGrath <roland@hack.frob.com>
32971
32972 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32973 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32974 declaration.
32975 * manual/search.texi (Array Search Function): Add missing const in
32976 lfind prototype.
32977 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32978 declaration to use rlim_t.
32979 (Basic Scheduling Functions): Remove erroneous const from
32980 sched_getparam prototype. Remove erroneous * from
32981 sched_get_priority_max and sched_get_priority_min prototypes.
32982 (Resource Usage): Fix summary @comment on vtimes to refer to
32983 sys/vtimes.h rather than vtimes.h.
32984 Add missing *s in vtimes prototype.
32985 (Limits on Resources): Fix ulimit prototype to return long int.
32986 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32987 prototypes to use long int rather than double.
32988 (BSD Random): Fix initstate and setstate to use char *, not void *.
32989 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32990 prototype to make second argument 'struct aiocb64 *const[]'.
32991 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32992 (Status of AIO Operations): Remove erroneous const in aio_return and
32993 aio_return64 prototypes.
32994 (Synchronizing I/O): Fix sync prototype to return void.
32995 * manual/startup.texi (Suboptions): Remove an erroneous const in
32996 getsubopt prototype.
32997 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32998 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32999 use size_t rather than int.
33000 (Scanning All Users): Likewise for getpwent_r.
33001 (Setting Groups): Add missing const to setgroups prototype.
33002 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33003 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33004 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33005 'const void *' rather than 'const char *'.
33006 (Host Address Functions): Likewise for inet_ntop.
33007 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33008 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33009 ssize_t for return value.
33010 (Sending Data): Likewise for send, sendto, sendmsg.
33011 (Socket Option Functions): Add a missing const in setsockopt prototype.
33012 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33013 use wchar_t for the argument.
33014 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33015 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33016 take no arguments.
33017 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33018 double/float/long double for second argument.
33019 Fix return types of significand, significandf, significandl.
33020 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33021 argument in fchmod prototype.
33022 (File Owner): Use uid_t and gid_t in fchown prototype.
33023 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33024 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33025 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33026 use 'const struct dirent **' as argument types to CMP function pointer
33027 argument.
33028 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33029 (File Times): Fix summary magic @comment for struct utimbuf and utime
33030 to refer to utime.h, not time.h.
33031 * manual/string.texi (Argz Functions): Add missing const in
33032 argz_extract and argz_next prototypes.
33033 (Finding Tokens in a String): Likewise for basename.
33034 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33035 (Copying and Concatenation): Fix typo in wmemmove prototype.
33036 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33037 (Signal Stack): Remove erroneous const in sigstack prototype.
33038 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33039 prototype.
33040 (Simple Calendar Time): Likewise for stime.
33041 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33042 prototype.
33043 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33044 say sys/sysctl.h instead.
33045 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33046 and vsyslog prototypes.
33047
fe77fe6d
TV
330482013-02-11 Tom de Vries <tom@codesourcery.com>
33049
33050 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33051 Remove.
33052
3a09b620
RM
330532013-02-11 Roland McGrath <roland@hack.frob.com>
33054
33055 * misc/sys/mman.h: Fix typo in mremap comment.
33056
550a0b89
RM
330572013-02-08 Roland McGrath <roland@hack.frob.com>
33058
33059 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33060 the '\0' terminator.
33061
a2da1673
JM
330622013-02-08 Joseph Myers <joseph@codesourcery.com>
33063
33064 [BZ #13550]
33065 * debug/segfault.c: Don't include <bp-checks.h>.
33066 * sysdeps/generic/bp-checks.h: Remove file.
33067 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33068 (__GETDENTS): Don't use CHECK_N.
33069 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33070 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33071 (__getgroups): Don't use CHECK_N.
33072 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33073 (setgroups): Don't use CHECK_N.
33074 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33075 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33076 (__libc_msgrcv): Don't use CHECK_N.
33077 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33078 (__libc_msgsnd): Don't use CHECK_N.
33079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33080 <bp-checks.h>.
33081 (__libc_pread): Don't use CHECK_N.
33082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33083 include <bp-checks.h>.
33084 (__libc_pread64): Don't use CHECK_N.
33085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33086 include <bp-checks.h>.
33087 (__libc_pwrite): Don't use CHECK_N.
33088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33089 include <bp-checks.h>.
33090 (__libc_pwrite64): Don't use CHECK_N.
33091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33092 <bp-checks.h>.
33093 (__libc_pread): Don't use CHECK_N.
33094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33095 include <bp-checks.h>.
33096 (__libc_pread64): Don't use CHECK_N.
33097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33098 include <bp-checks.h>.
33099 (__libc_pwrite): Don't use CHECK_N.
33100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33101 include <bp-checks.h>.
33102 (__libc_pwrite64): Don't use CHECK_N.
33103 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33104 (do_pread): Don't use CHECK_N.
33105 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33106 (do_pread64): Don't use CHECK_N.
33107 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33108 (do_pwrite): Don't use CHECK_N.
33109 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33110 (do_pwrite64): Don't use CHECK_N.
33111 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33112 (__libc_readv): Don't use CHECK_N.
33113 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33114 (semop): Don't use CHECK_N.
33115 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33116 <bp-checks.h>.
33117 (semtimedop): Don't use CHECK_N.
33118 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33119 (__libc_pread): Don't use CHECK_N.
33120 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33121 <bp-checks.h>.
33122 (__libc_pread64): Don't use CHECK_N.
33123 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33124 <bp-checks.h>.
33125 (__libc_pwrite): Don't use CHECK_N.
33126 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33127 <bp-checks.h>.
33128 (__libc_pwrite64): Don't use CHECK_N.
33129 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33130 <bp-checks.h>.
33131 (__libc_msgrcv): Don't use CHECK_N.
33132 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33133 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33134 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33135 (__libc_writev): Don't use CHECK_N.
33136
b84660a8
RM
331372013-02-08 Roland McGrath <roland@hack.frob.com>
33138
7f3e75f8
RM
33139 * string/strcpy.c: Removed unused variable.
33140
b84660a8
RM
33141 * Makeconfig (+sysdep-includes): Define with := rather than =.
33142 Use an existing include/ subdir of each sysdeps dir before it.
33143
471514d3
CD
331442013-02-08 Carlos O'Donell <carlos@redhat.com>
33145
33146 * nscd/connection.c (register_traced_file): Comment function.
33147 [HAVE_INOTIFY] (union __inev): Define.
33148 [HAVE_INOTIFY] (inotify_check_files): New function.
33149 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33150 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33151 clear_db_cache.
33152 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33153
b2d3c3be
CD
331542013-02-08 Carlos O'Donell <carlos@redhat.com>
33155
33156 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33157 loaded if not already and that a failure is permanent.
33158
b39949d2
CD
331592013-02-08 Carlos O'Donell <carlos@redhat.com>
33160
ddacd1db 33161 [BZ #15006]
b39949d2
CD
33162 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33163 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33164
b2c9eff4
JM
331652013-02-08 Joseph Myers <joseph@codesourcery.com>
33166
f3aae3f3
JM
33167 [BZ #13550]
33168 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33169 (CHECK_1_NULL_OK): Likewise.
33170 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33171 (__fxstat): Do not use CHECK_1.
33172 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33173 <bp-checks.h>.
33174 (___fxstat64): Do not use CHECK_1.
33175 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33176 <bp-checks.h>.
33177 (__fxstatat): Do not use CHECK_1.
33178 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33179 <bp-checks.h>.
33180 (__fxstatat64): Do not use CHECK_1.
33181 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33182 <bp-checks.h>.
33183 (__fxstat): Do not use CHECK_1.
33184 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33185 <bp-checks.h>.
33186 (__fxstatat): Do not use CHECK_1.
33187 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33188 <bp-checks.h>.
33189 (__getresgid): Do not use CHECK_1.
33190 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33191 <bp-checks.h>.
33192 (__getresuid): Do not use CHECK_1.
33193 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33194 <bp-checks.h>.
33195 (__lxstat): Do not use CHECK_1.
33196 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33197 <bp-checks.h>.
33198 (__old_msgctl): Do not use CHECK_1.
33199 (__new_msgctl): Likewise.
33200 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33201 <bp-checks.h>.
33202 (__new_setrlimit): Do not use CHECK_1.
33203 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33204 <bp-checks.h>.
33205 (__old_shmctl): Do not use CHECK_1.
33206 (__new_shmctl): Likewise.
33207 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33208 <bp-checks.h>.
33209 (__xstat): Do not use CHECK_1.
33210 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33211 (__lxstat): Do not use CHECK_1.
33212 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33213 <bp-checks.h>.
33214 (___lxstat64): Do not use CHECK_1.
33215 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33216 (__old_msgctl): Do not use CHECK_1.
33217 (__new_msgctl): Likewise.
33218 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33219 <bp-checks.h>.
33220 (__gettimeofday): Do not use CHECK_1.
33221 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33222 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33223 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33224 <bp-checks.h>.
33225 (__gettimeofday): Do not use CHECK_1.
33226 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33227 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33228 (__new_shmctl): Do not use CHECK_1.
33229 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33230 <bp-checks.h>.
33231 (do_sigtimedwait): Do not use CHECK_1.
33232 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33233 <bp-checks.h>.
33234 (do_sigwaitinfo): Do not use CHECK_1.
33235 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33236 <bp-checks.h>.
33237 (msgctl): Do not use CHECK_1.
33238 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33239 <bp-checks.h>.
33240 (shmctl): Do not use CHECK_1.
33241 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33242 (ustat): Do not use CHECK_1.
33243 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33244 <bp-checks.h>.
33245 (__fxstat): Do not use CHECK_1.
33246 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33247 <bp-checks.h>.
33248 (__fxstatat): Do not use CHECK_1.
33249 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33250 <bp-checks.h>.
33251 (__lxstat): Do not use CHECK_1.
33252 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33253 <bp-checks.h>.
33254 (__xstat): Do not use CHECK_1.
33255 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33256 (__xstat): Do not use CHECK_1.
33257 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33258 (___xstat64): Do not use CHECK_1.
33259
b2c9eff4
JM
33260 [BZ #13550]
33261 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33262 definitions.
33263 (CHECK_BOUNDS_HIGH): Likewise.
33264 * string/strcpy.c: Do not include <bp-checks.h>.
33265 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33266
f1d70dad
RM
332672013-02-07 Roland McGrath <roland@hack.frob.com>
33268
33269 * nscd/nscd-client.h (__nscd_drop_map_ref):
33270 Add __attribute__ ((unused)).
33271 * nis/nss-nisplus.h (niserr2nss): Likewise.
33272
33273 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33274 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33275
33276 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33277 Remove inline keyword.
33278 * include/rounding-mode.h (round_away): Likewise.
33279 * libio/wfileops.c (adjust_wide_data): Likewise.
33280 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33281 (__m128i_strloadu_tolower): Likewise.
33282 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33283 (__m128i_strloadu_tolower): Likewise.
33284 * time/mktime.c (ydhms_diff): Likewise.
33285 * locale/elem-hash.h (elem_hash): Likewise.
33286 * locale/setlocale.c (setdata): Likewise.
33287 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33288 (re_string_wchar_at): Likewise.
33289 (bitset_not, bitset_merge, bitset_mask): Likewise.
33290 [!(__GNUC__ > 3)] (inline): Remove macro.
33291 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33292 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33293 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33294 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33295 * string/memcmp.c (memcmp_bytes): Likewise.
33296 * locale/programs/locarchive.c (compute_hashval): Likewise.
33297 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33298 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33299 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33300 * nss/getent.c (print_rpc, print_protocols): Likewise.
33301 (print_passwd, print_group, print_aliases): Likewise.
33302 * nis/nss-nisplus.h (niserr2nss): Likewise.
33303 * nscd/connections.c (restart_p): Likewise.
33304 Change return type to bool.
33305
eab55bfb
RM
333062013-02-05 Roland McGrath <roland@hack.frob.com>
33307
7bd642f5
RM
33308 * Makeconfig (all-Depend-files): Add existing
33309 $(sorted-subdirs:=/Depend) files.
33310 (all-subdirs): Remove nss.
33311 * sysdeps/unix/inet/Subdirs: Add it here instead.
33312 * hesiod/Depend: New file.
33313
573c29b2
RM
33314 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33315 instead of calling alloca.
33316
b2e25af0
RM
33317 * io/lseek.c (__lseek): Rename to __libc_lseek.
33318 Define __lseek as an alias.
33319
eab55bfb
RM
33320 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33321
9a0d1941
CD
333222013-02-04 Carlos O'Donell <carlos@redhat.com>
33323
33324 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33325 else clause and remove check for non-standard endianness.
33326
b83bbec4
DM
333272013-02-04 David S. Miller <davem@davemloft.net>
33328
33329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33330
6277fdab
JM
333312013-02-04 Joseph Myers <joseph@codesourcery.com>
33332
33333 [BZ #13550]
33334 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33335 (__ubp_memchr): Remove prototype.
33336 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33337 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33338 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33339 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33340 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33341 Remove alias.
33342 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33343 (__ubp_memchr): Likewise.
33344 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33345 (__ubp_memchr): Likewise.
33346 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33347 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33348 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33349 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33350 CHECK_STRING.
33351 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33352 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33353 (__getcwd): Do not use CHECK_STRING.
33354 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33355 <bp-checks.h>.
33356 (__real_chown): Do not use CHECK_STRING.
33357 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33358 <bp-checks.h>.
33359 (fchownat): Do not use CHECK_STRING.
33360 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33361 CHECK_STRING.
33362 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33363 <bp-checks.h>.
33364 (__lchown): Do not use CHECK_STRING.
33365 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33366 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33367 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33368 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33370 include <bp-checks.h>.
33371 (truncate64): Do not use CHECK_STRING.
33372 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33373 <bp-checks.h>.
33374 (__real_chown): Do not use CHECK_STRING.
33375 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33376 <bp-checks.h>.
33377 (__lchown): Do not use CHECK_STRING.
33378 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33379 <bp-checks.h>.
33380 (__chown): Do not use CHECK_STRING.
33381 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33382 <bp-checks.h>.
33383 (truncate64): Do not use CHECK_STRING.
33384 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33385 Likewise.
33386 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33387 (__xmknod): Do not use CHECK_STRING.
33388 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33389 <bp-checks.h>.
33390 (__xmknodat): Do not use CHECK_STRING.
33391 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33392 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33393
903ae060
AS
333942013-02-04 Andreas Schwab <schwab@suse.de>
33395
33396 [BZ #14142]
33397 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33398 * include/netdb.h: Likewise for h_errno.
33399 * elf/tst-stackguard1.c: Include <tls.h>.
33400
542f9466
JK
334012013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33402
33403 * elf/link.h (struct link_map): Extend the l_addr comment.
33404 * include/link.h (struct link_map): Likewise.
33405
e782a927
JM
334062013-02-01 Joseph Myers <joseph@codesourcery.com>
33407
33408 [BZ #13550]
33409 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33410 (BOUNDED_1): Remove macro.
33411 * debug/backtrace.c: Don't include <bp-checks.h>.
33412 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33413 (__backtrace): Likewise.
33414 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33415 <bp-checks.h>.
33416 (__backtrace): Don't use BOUNDED_1.
33417 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33418 <bp-checks.h>.
33419 (__backtrace): Don't use BOUNDED_1.
33420 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33421 (__backtrace): Don't use BOUNDED_1.
33422 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33423 (shmat): Don't use BOUNDED_N.
33424
8cf28c5e
JM
334252013-01-31 Joseph Myers <joseph@codesourcery.com>
33426
3a7ac8a0
JM
33427 [BZ #13550]
33428 * sysdeps/generic/bp-start.h: Remove file.
33429 * csu/libc-start.c: Don't include <bp-start.h>.
33430 (LIBC_START_MAIN): Set up __environ directly instead of using
33431 INIT_ARGV_and_ENVIRON.
33432 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33433 <bp-start.h>.
33434
f3499f95
JM
33435 [BZ #13550]
33436 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33437 definitions.
33438 (CHECK_FCNTL): Likewise.
33439 (CHECK_N_PAGES): Likewise.
33440
32a45bea
JM
33441 [BZ #13550]
33442 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33443 definitions.
33444 (CHECK_SIGSET_NULL_OK): Likewise.
33445 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33446 <bp-checks.h>.
33447 (sigpending): Don't use CHECK_SIGSET.
33448 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33449 <bp-checks.h>.
33450 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33451 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33452 <bp-checks.h>.
33453 (do_sigsuspend): Don't use CHECK_SIGSET.
33454 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33455 use CHECK_SIGSET.
33456 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33457 (do_sigwait): Don't use CHECK_SIGSET.
33458 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33459 use CHECK_SIGSET.
33460 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33461 include <bp-checks.h>.
33462 (sigpending): Don't use CHECK_SIGSET.
33463 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33464 include <bp-checks.h>.
33465 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33466 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33467 <bp-checks.h>.
33468 (sigpending): Don't use CHECK_SIGSET.
33469 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33470 <bp-checks.h>.
33471 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33472
2e8a5c8c
JM
33473 [BZ #13550]
33474 * sysdeps/generic/bp-semctl.h: Remove file.
33475 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33476 <bp-checks.h> and <bp-semctl.h>.
33477 (__old_semctl): Don't use CHECK_SEMCTL.
33478 (__new_semctl): Likewise.
33479 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33480 and <bp-semctl.h>.
33481 (__old_semctl): Don't use CHECK_SEMCTL.
33482 (__new_semctl): Likewise.
33483 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33484 <bp-checks.h> and <bp-semctl.h>.
33485 (__old_semctl): Don't use CHECK_SEMCTL.
33486 (__new_semctl): Likewise.
33487 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33488 <bp-checks.h> and <bp-semctl.h>.
33489 (semctl): Don't use CHECK_SEMCTL.
33490
c2d54929
JM
33491 [BZ #13550]
33492 * Makerules (elide-bp-thunks): Remove variable.
33493 (elide-routines.oS): Don't use $(elide-bp-thunks).
33494 (elide-routines.os): Likewise.
33495 (elide-routines.o): Likewise.
33496 (elide-routines.op): Likewise.
33497 (elide-routines.og): Likewise.
33498 (objects): Don't use $(bp-thunks).
33499 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33500 include.
33501 (common-generated): Do not add s-proto-bp.d.
33502 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33503 (int): Likewise.
33504 (typ): Likewise.
33505 Do not generate makefile rules for bounded-pointer thunks.
33506 * sysdeps/generic/bp-thunks.h: Remove file.
33507 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33508 * sysdeps/unix/s-proto-bp.S: Likewise.
33509
8cf28c5e
JM
33510 [BZ #15062]
33511 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33512 parts of result separately when argument is not close to line from
33513 -i to i and one part of argument is small.
33514 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33515 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33516 * math/libm-test.inc (cacos_test): Add more tests.
33517 (casin_test): Likewise.
33518 (casinh_test): Likewise.
33519 * sysdeps/i386/fpu/libm-test-ulps: Update.
33520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33521
c4e33b8d
DM
335222013-01-31 David S. Miller <davem@davemloft.net>
33523
33524 * po/de.po: Update from translation team.
33525
3b60b421
MK
335262013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33527
33528 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33529
bb931195
TS
335302013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33531
b5a5da23
TS
33532 * configure.in (_AC_PROG_CC_C89): New definition.
33533 * configure: Regenerate.
33534
bb931195
TS
33535 * configure.in (AC_PROG_CPP): New definition.
33536 * configure: Regenerate.
33537
8c53a12c
JM
335382013-01-23 Joseph Myers <joseph@codesourcery.com>
33539
33540 * debug/tst-backtrace.h: New file.
33541 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33542 (ret): Remove variable.
33543 (x): Likewise.
33544 (FAIL): Remove macro.
33545 (NO_INLINE): Likewise.
33546 (fn1): Use match function instead of strstr.
33547 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33548 (ret): Remove variable.
33549 (x): Likewise.
33550 (FAIL): Remove macro.
33551 (NO_INLINE): Likewise.
33552 (fn): Use match function instead of strstr.
33553 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33554 (ret): Remove variable.
33555 (x): Likewise.
33556 (FAIL): Remove macro.
33557 (NO_INLINE): Likewise.
33558 (handle_signal): Use match function instead of strstr.
33559 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33560 (ret): Remove variable.
33561 (x): Likewise.
33562 (FAIL): Remove macro.
33563 (NO_INLINE): Likewise.
33564 (handle_signal): Use match function instead of strstr.
33565
4858fa2a
RM
335662013-01-23 Roland McGrath <roland@hack.frob.com>
33567
33568 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33569
bae8e7f5
DM
335702013-01-23 David S. Miller <davem@davemloft.net>
33571
33572 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33573 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33574 argument of CAS if possible.
33575 * sysdeps/sparc/sparc64/bits/atomic.h
33576 (__arch_compare_and_exchange_val_32_acq): Likewise.
33577 (__arch_compare_and_exchange_val_64_acq): Likewise.
33578
9cbbc4ae
PT
335792013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33580
33581 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33582 * sysdeps/posix/ulimit.c: ... this.
92a601b8 33583 Include <limits.h>.
67b3f58c 33584 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 33585
5655a0b5
AC
335862013-01-23 Adam Conrad <adconrad@0c3.net>
33587
33588 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33589 (LDFLAGS-tst-array5): Likewise.
33590
052aff95
JM
335912013-01-23 Joseph Myers <joseph@codesourcery.com>
33592
33593 [BZ #15036]
33594 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33595 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33596 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33597 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33598
7c1e01aa
DM
335992013-01-21 David S. Miller <davem@davemloft.net>
33600
33601 * sysdeps/sparc/backtrace.c: New file.
33602 * sysdeps/sparc/sparc32/backtrace.h: New file.
33603 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33604 * sysdeps/sparc/sparc64/backtrace.h: New file.
33605 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33606 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33607 -funwind-tables.
33608
ab087e0a
AS
336092013-01-21 Andreas Schwab <schwab@suse.de>
33610
33611 [BZ #15020]
33612 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33613 closed its stdout.
33614
ed689c2f
AS
336152013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33616
33617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33618 "mpa2.h".
33619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33620
31d470ac
JM
336212013-01-18 Joseph Myers <joseph@codesourcery.com>
33622 Mark Mitchell <mark@codesourcery.com>
33623 Tom de Vries <tom@codesourcery.com>
33624 Paul Pluzhnikov <ppluzhnikov@google.com>
33625
33626 * debug/tst-backtrace2.c: New file.
33627 * debug/tst-backtrace3.c: Likewise.
33628 * debug/tst-backtrace4.c: Likewise.
33629 * debug/tst-backtrace5.c: Likewise.
33630 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33631 (CFLAGS-tst-backtrace3.c): Likewise.
33632 (CFLAGS-tst-backtrace4.c): Likewise.
33633 (CFLAGS-tst-backtrace5.c): Likewise.
33634 (LDFLAGS-tst-backtrace2): Likewise.
33635 (LDFLAGS-tst-backtrace3): Likewise.
33636 (LDFLAGS-tst-backtrace4): Likewise.
33637 (LDFLAGS-tst-backtrace5): Likewise.
33638 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33639 tst-backtrace4 and tst-backtrace5.
33640
90567f30 336412013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
33642 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33643
33644 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33645 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33646 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33647 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33649 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33650 "+r" and remove output regs list as redundant. Add explicit inline
33651 asm to specify register of return val to work around compiler codegen
33652 bug. Remove (int) cast on return value. Add return type parameter to
33653 use in macro so that this macro does not truncate return value for
33654 64-bit values.
33655 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33656 pass to INTERNAL_VSYSCALL_NCS.
33657 (INLINE_VSYSCALL): Add 'long int' as return type to
33658 INTERNAL_VSYSCALL_NCS macro invocation.
33659 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33660 INTERNAL_VSYSCALL_NCS macro invocation.
33661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33662
d3b9ea61
SP
336632013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33664
0b57daeb
SP
33665 [BZ #14496]
33666 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33667 Fix application of SIMD FP exception mask.
33668
caa99d06
SP
33669 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33670 mp_no from a power of two.
33671 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33672 __mpexp_twomm1. Use __pow_mp.
33673
d3b9ea61
SP
33674 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33675 multiplication.
33676
1dbaee3c
DM
336772013-01-17 David S. Miller <davem@davemloft.net>
33678
33679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33680
728d7b43
JM
336812013-01-17 Joseph Myers <joseph@codesourcery.com>
33682
33683 [BZ #15023]
33684 * include/complex.h: Condition contents on [!_COMPLEX_H].
33685 (__kernel_casinhf): New prototype.
33686 (__kernel_casinh): Likewise.
33687 (__kernel_casinhl): Likewise.
33688 * math/Makefile (libm_calls): Add k_casinh.
33689 * math/k_casinh.c: New file.
33690 * math/k_casinhf.c: Likewise.
33691 * math/k_casinhl.c: Likewise.
33692 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33693 finite nonzero arguments.
33694 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33695 finite nonzero arguments.
33696 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33697 finite nonzero arguments.
33698 * math/s_casinh.c: Do not include <float.h>.
33699 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33700 * math/s_casinhf.c: Do not include <float.h>.
33701 (__casinhf): Move code for finite nonzero arguments to
33702 k_casinhf.c.
33703 * math/s_casinhl.c: Do not include <float.h>.
33704 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33705 redefine.
33706 (__casinhl): Move code for finite nonzero arguments to
33707 k_casinhl.c.
33708 * math/libm-test.inc (cacos_test): Add more tests.
33709 * sysdeps/i386/fpu/libm-test-ulps: Update.
33710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33711
2a26ef3a
PT
337122013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33713
33714 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33715 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33716 [!HAVE_MREMAP]: Remove [defined linux] case.
33717 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33718
a897655d
SP
337192013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33720
33721 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33722
881ebe89 337232013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
33724
33725 * elf/elf.h (R_386_SIZE32): New relocation.
33726 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33727 R_386_SIZE32.
33728 (elf_machine_rela): Likewise.
33729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33730 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33731
59981e9b
JM
337322013-01-17 Joseph Myers <joseph@codesourcery.com>
33733
33734 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33735 (FP_FAST_FMA): Do not define.
33736 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33737 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33738 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33739 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33740 !_SOFT_FLOAT]: Likewise.
33741 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33742 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33743 value.
33744 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33745 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33746 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33747 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33748 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33749 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33750 file.
33751
cfa8054f
AS
337522013-01-16 Andreas Schwab <schwab@suse.de>
33753
33754 [BZ #14327]
33755 * include/stdlib.h (__mktemp): Add declaration.
33756 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33757 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33758
dd930cc5
SP
337592013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33760
881ebe89
SP
33761 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33762 definitions.
33763 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33764 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33765 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33766 definitions here.
33767 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33768 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33769 definitions.
33770 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33771 and ONE.
33772 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33773 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33774 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33775 definitions.
33776 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33777 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33778 definitions.
33779 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 33780
dd930cc5
SP
33781 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33782
c19a9f89
DM
337832013-01-15 David S. Miller <davem@davemloft.net>
33784
1aa61767
DM
33785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33786 trunc{,f} to libm-sysdep_routes.
33787 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33789 file.
33790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33792 file.
33793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33794 file.
33795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33797 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33798 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33799 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33800 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33801 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33802 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33803
c42d5e98
DM
33804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33805 nearbyint{,f} to libm-sysdep_routes.
33806 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33808 New file.
33809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33810 file.
33811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33812 New file.
33813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33814 file.
33815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33817 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33818 file.
33819 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33820 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33821 file.
33822 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33823 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33824 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33825
c19a9f89
DM
33826 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33827 libc_feholdexcept and libc_fesetenv.
33828
357679d2
MF
338292013-01-15 Mike Frysinger <vapier@gentoo.org>
33830
33831 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33832
65a82e3d
DM
338332013-01-14 David S. Miller <davem@davemloft.net>
33834
8b954ab9
DM
33835 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33836 (SPARC_ASM_VIS2_IFUNC): Likewise.
33837 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33839 use of 'siam' instruction.
33840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33841 Likewise.
33842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33843 Likewise.
33844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33845 Likewise.
33846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33847 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33851 file.
33852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33853 file.
33854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33855 file.
33856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33857 file.
33858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33859 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33863 new VIS2 routines.
33864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33867 Likewise.
33868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33869 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33871 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33873 routines to libm-sysdep_routines.
33874 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33875
65a82e3d
DM
33876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33877 fdim/fdimf to libm-sysdep_routines.
33878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33879 file.
33880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33882 file.
33883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33886 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33887 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33888 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33889 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33890
e34ab705
SP
338912013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33892
2a91b573
SP
33893 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33894 to optimize copies.
33895
1066a534
SP
33896 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33899
e34ab705
SP
33900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33901 local variable MPTWO.
33902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33903 Likewise.
33904
aba5e596
MF
339052013-01-13 Mike Frysinger <vapier@gentoo.org>
33906
33907 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33908 GLOB_NOESCAPE.
33909
e557e9e5
MF
339102013-01-13 Mike Frysinger <vapier@gentoo.org>
33911
33912 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33913
0428cec9
MF
339142013-01-13 Mike Frysinger <vapier@gentoo.org>
33915
33916 * manual/pattern.texi (glob_t): Document gl_flags.
33917 (glob64_t): Likewise.
33918
8794a964
DM
339192013-01-11 David S. Miller <davem@davemloft.net>
33920
66438c3f
RM
33921 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33922 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33923 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33924 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33925 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33926 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33927 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33928 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33929 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33930 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33931 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33932 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33933 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33934
4ae4244d
DM
33935 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33936 sparc V9 rather than using V8 code.
33937 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33938 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33939
8794a964
DM
33940 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33941 Move to...
33942 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33943 Here.
33944
6270516e
RM
339452013-01-11 Roland McGrath <roland@hack.frob.com>
33946
33947 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33948 not in the main loop.
33949 * configure: Regenerated.
33950
6a57d931
JM
339512013-01-11 Joseph Myers <joseph@codesourcery.com>
33952
33953 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33954 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33955 to just #else.
33956 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33957 [!__GLIBC_HAVE_LONG_LONG] case.
33958 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33959 condition to just #else.
33960 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33961 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33962 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33963 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33964 unconditional.
33965 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33966 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33967 #elif condition to just #else.
33968 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33969 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33970 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33971 #elif condition to just #else.
33972
0e8529e9
SE
339732013-01-11 Steve Ellcey <sellcey@mips.com>
33974
33975 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33976 (EF_MIPS_ARCH_64): Fix value.
33977 (EF_MIPS_ARCH_32R2): New.
33978 (EF_MIPS_ARCH_64R2): New.
33979
740b3dbe
L
339802013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33981
33982 * Makeconfig (+link-pie-before-libc): New.
33983 (+link-pie-after-libc): Likewise.
33984 (+link-pie-tests): Likewise.
33985 (+link-pie): Rewritten.
33986 (link-before-libc): Remove $(config-LDFLAGS).
33987 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33988 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33989 (config-LDFLAGS): Renamed to ...
33990 (rtld-LDFLAGS): This.
33991 (rtld-tests-LDFLAGS): New macro.
33992 (link-libc-rpath-link): Likewise.
33993 (link-libc-tests-rpath-link): Likewise.
33994 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33995 (link-libc): Prepand $(link-libc-rpath-link).
33996 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33997 (test-program-prefix): New macro.
33998 (test-via-rtld-prefix): Likewise.
33999 (test-program-cmd): Likewise.
34000 (host-test-program-cmd): Likewise.
34001 * Makefile ($(common-objpfx)testrun.sh): Replace
34002 $(run-program-prefix) with $(test-program-prefix).
34003 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34004 $(rtld-LDFLAGS).
34005 ($(common-objpfx)shlib.lds): Likewise.
34006 (build-module-helper): Likewise.
34007 ($(common-objpfx)format.lds): Likewise.
34008 * Rules (binaries-pie-tests): New.
34009 (binaries-pie-notests): Likewise.
34010 (binaries-pie): Rewritten.
34011 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34012 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34013 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34014 (make-test-out): Replace $(host-built-program-cmd) with
34015 $(host-test-program-cmd).
34016 * config.make.in (build-hardcoded-path-in-tests): New variable.
34017 * configure.in (--enable-hardcoded-path-in-tests): New configure
34018 option.
34019 (hardcoded_path_in_tests): New AC_SUBST.
34020 * configure: Regenerated.
34021 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34022 $(built-program-cmd) with $(test-program-cmd).
34023 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34024 (test_program_cmd): This.
34025 * elf/Makefile ($(objpfx)order.out): Run test with
34026 $(test-program-prefix).
34027 ($(objpfx)order2.out): Likewise.
34028 ($(objpfx)tst-initorder.out): Likewise.
34029 ($(objpfx)tst-initorder2.out): Likewise.
34030 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34031 $(test-program-cmd).
34032 ($(objpfx)tst-array1-static.out): Likewise.
34033 ($(objpfx)tst-array2.out): Likewise.
34034 ($(objpfx)tst-array3.out): Likewise.
34035 ($(objpfx)tst-array4.out): Likewise.
34036 ($(objpfx)tst-array5.out): Likewise.
34037 ($(objpfx)tst-array5-static.out): Likewise.
34038 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34039 $(test-program-cmd).
34040 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34041 $(run-program-prefix) with $(test-program-prefix).
34042 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34043 (test_program_prefix): This.
34044 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34045 $(run-program-prefix) with $(test-program-prefix).
34046 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34047 (test_program_prefix): This.
34048 * iconvdata/tst-tables.sh: Likewise.
34049 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34050 $(run-program-prefix) with $(test-program-prefix).
34051 ($(objpfx)tst-translit.out): Likewise.
34052 ($(objpfx)tst-gettext2.out): Likewise.
34053 ($(objpfx)tst-gettext4.out): Likewise.
34054 ($(objpfx)tst-gettext6.out): Likewise.
34055 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34056 (test_program_prefix): This.
34057 * intl/tst-gettext2.sh: Likewise.
34058 * intl/tst-gettext4.sh Likewise.
34059 * intl/tst-gettext6.sh: Likewise.
34060 * intl/tst-translit.sh: Likewise.
34061 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34062 with $(test-program-cmd).
34063 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34064 $(run-program-prefix) with $(test-program-prefix).
34065 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34066 (test_program_prefix): This.
34067 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34068 $(run-program-prefix) with $(test-program-prefix).
34069 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34070 (test_program_prefix): This.
34071 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34072 * posix/Makefile ($(objpfx)globtest.out): Replace
34073 $(run-via-rtld-prefix) and $(test-wrapper) with
34074 $(test-program-prefix) and $(test-via-rtld-prefix).
34075 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34076 $(test-program-prefix).
34077 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34078 $(host-test-program-cmd).
34079 (tst-spawn-ARGS): Likewise.
34080 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34081 $(test-program-prefix).
34082 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34083 (test_via_rtld_prefix): This.
34084 (test_wrapper): Renamed to ...
34085 (test_program_prefix): This.
34086 (run_program_prefix): Replaced by test_program_prefix.
34087 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34088 (test_program_prefix): This.
34089 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34090 with $(host-test-program-cmd).
34091 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34092 $(run-program-prefix) with $(test-program-prefix).
34093 ($(objpfx)tst-printf.out): Likewise.
34094 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34095 $(test-program-cmd).
34096 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34097 (test_program_prefix): This.
34098 * stdio-common/tst-unbputc.sh: Likewise.
34099 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34100 $(run-program-prefix) with $(test-program-prefix).
34101 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34102 (test_program_prefix): This.
34103 * string/Makefile ($(objpfx)tst-svc.out): Replace
34104 $(built-program-cmd) with $(test-program-cmd).
34105
c6fe55cf
AJ
341062013-01-11 Andreas Jaeger <aj@suse.de>
34107
34108 [BZ #15003]
34109 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34110 value. Sync with Linux 3.7.
34111
9e6919c8
DM
341122013-01-10 David S. Miller <davem@davemloft.net>
34113
34114 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34115 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34116 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34117
1c9f1a02
RM
341182013-01-10 Roland McGrath <roland@hack.frob.com>
34119
34120 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34121 never set.
34122 * configure: Regenerated.
34123
b9de2dde
DM
341242013-01-10 David S. Miller <davem@davemloft.net>
34125
34126 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34127 sparc V9 rather than using V8 code.
34128 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34129 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34130
e7f68ef4
RM
341312013-01-10 Roland McGrath <roland@hack.frob.com>
34132
34133 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34134 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34135 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34136 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34137 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34138 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34139 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34140 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34141 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34142 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34143 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34144 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34145 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34146 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34147 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34148 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34149 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34150 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34151 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34152 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34153 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34154 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34155 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34156 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34157 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34158 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34159 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34160
5a47cc9c
DM
341612013-01-10 David S. Miller <davem@davemloft.net>
34162
34163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34164
4cf8f209
L
341652013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34166
34167 * posix/Makefile (tests-static): New variable.
34168 (tests): Add $(tests-static).
34169 (tst-exec-static-ARGS): New variable.
34170 (tst-spawn-static-ARGS): Likewise.
34171 * posix/tst-exec-static.c: New file.
34172 * posix/tst-spawn-static.c: Likewise.
34173 * posix/tst-exec.c: Support run directly.
34174 * posix/tst-spawn.c: Likewise.
34175
fed0faa1
JM
341762013-01-10 Joseph Myers <joseph@codesourcery.com>
34177
828beb13
JM
34178 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34179 long.
34180 * math/bits/mathcalls.h (llrint): Likewise.
34181 (llround): Likewise.
34182 * stdlib/stdlib.h (struct drand48_data): Likewise.
34183 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34184 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34185 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34186 Likewise.
34187 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34188 Likewise.
34189 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34190 (elf_greg_t): Likewise.
34191 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34192 (__jmp_buf): Likewise.
34193 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34194 definitions.
34195 (llrint): Likewise, for all definitions.
34196 (llrintl): Likewise.
34197
fed0faa1
JM
34198 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34199 Remove [__GNUC__] condition.
34200 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34201 condition to just [__USE_ISOC99].
34202 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34203
1a20cb20
L
342042013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34205
34206 [BZ #14200]
34207 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34208 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34209 defined.
34210 (_POSIX_V6_ILP32_OFF32): Likewise.
34211 (_XBS5_ILP32_OFF32): Likewise.
34212 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34213 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34214
751b85f7
SP
342152013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34216
7490eb81
SP
34217 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34218
751b85f7
SP
34219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34220 doubles __mpexp_twomm1. Adjust usage.
34221 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34222 Remove.
34223
988197f0
AS
342242013-01-10 Andreas Schwab <schwab@suse.de>
34225
34226 [BZ #14964]
34227 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34228 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34229
e83d7298
DM
342302013-01-09 David S. Miller <davem@davemloft.net>
34231
034ed64b 34232 [BZ #15003]
57f41c40
AS
34233 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34234 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34235 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34236 (TCP_FASTOPEN): Define.
e83d7298
DM
34237 (tcp_repair_opt): New structure.
34238 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34239 enum values.
57f41c40
AS
34240 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34241 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34242 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
34243 (tcp_cookie_transactions): New structure.
34244
d5e0b9bd
AB
342452013-01-09 Anton Blanchard <anton@samba.org>
34246
34247 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34248 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34249 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34250 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34251
0c07e3ea
JM
342522013-01-09 Joseph Myers <joseph@codesourcery.com>
34253
34254 * include/features.h (__USE_ANSI): Remove.
34255
232f7002
RM
342562013-01-09 Roland McGrath <roland@hack.frob.com>
34257
ad98e30c
RM
34258 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34259
232f7002
RM
34260 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34261
950c99ca
SP
342622013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34263
b5792741
SP
34264 * sysdeps/s390/fpu/libm-test-ulps: Update.
34265
47cf2278
SP
34266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34267
950c99ca
SP
34268 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34269 (__acr): Likewise.
34270 (__cpy): Likewise.
34271 (norm): Likewise.
34272 (denorm): Likewise.
34273 (__mp_dbl): Likewise.
34274 (__dbl_mp): Likewise.
34275 (add_magnitudes): Likewise.
34276 (sub_magnitudes): Likewise.
34277 (__add): Likewise.
34278 (__sub): Likewise.
34279 (__mul): Likewise.
34280 (__inv): Likewise.
34281 (__dvd): Likewise.
34282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34283 (__acr): Likewise.
34284 (__cpy): Likewise.
34285 (norm): Likewise.
34286 (denorm): Likewise.
34287 (__mp_dbl): Likewise.
34288 (__dbl_mp): Likewise.
34289 (add_magnitudes): Likewise.
34290 (sub_magnitudes): Likewise.
34291 (__add): Likewise.
34292 (__sub): Likewise.
34293 (__mul): Likewise.
34294 (__inv): Likewise.
34295 (__dvd): Likewise.
34296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34297 (__acr): Likewise.
34298 (__cpy): Likewise.
34299 (norm): Likewise.
34300 (denorm): Likewise.
34301 (__mp_dbl): Likewise.
34302 (__dbl_mp): Likewise.
34303 (add_magnitudes): Likewise.
34304 (sub_magnitudes): Likewise.
34305 (__add): Likewise.
34306 (__sub): Likewise.
34307 (__mul): Likewise.
34308 (__inv): Likewise.
34309 (__dvd): Likewise.
34310
eede9df9
JM
343112013-01-08 Joseph Myers <joseph@codesourcery.com>
34312
34313 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34314 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34315 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34316 2 && __USE_EXTERN_INLINES]: Likewise.
34317
c40ea3d9
AJ
343182013-01-08 Andreas Jaeger <aj@suse.de>
34319
34320 [BZ# 14985]
34321 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34322 Remove.
34323 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34324 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34325
2ccdea26
AB
343262013-01-07 Anton Blanchard <anton@samba.org>
34327
34328 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34329 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34330 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34331 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34332 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34333 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34334 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34335 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34337 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34338 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34339 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34340 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34341 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34342 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34343 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34344 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34345 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34346 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34347 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34348 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34349 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34350 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34351 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34352 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34353 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34354 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34355 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34356 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34357 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34358 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34360 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34361 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34362 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34363 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34364 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34365 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34366 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34367 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34368 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34369 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34370 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34371
a9708fed
JM
343722013-01-07 Joseph Myers <joseph@codesourcery.com>
34373
375607b9
JM
34374 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34375 (__MALLOC_PMT): Likewise.
34376 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34377 [__GNUC__], only on [_LIBC].
34378 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34379 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34380 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34381 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34382 forward declaration.
34383 (realloc_hook_ini): Likewise.
34384 (memalign_hook_ini): Likewise.
34385 (__libc_memalign): Do not use __MALLOC_PMT in variable
34386 declaration.
34387 (__libc_valloc): Likewise.
34388 (__libc_pvalloc): Likewise.
34389 (__libc_calloc): Likewise.
34390 (__posix_memalign): Likewise.
34391
a9708fed
JM
34392 [BZ #14996]
34393 * math/s_casinh.c: Include <float.h>.
34394 (__casinh): Do not do computation with squaring and square root
34395 for large arguments.
34396 * math/s_casinhf.c: Include <float.h>.
34397 (__casinhf): Do not do computation with squaring and square root
34398 for large arguments.
34399 * math/s_casinhl.c: Include <float.h>.
34400 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34401 (__casinhl): Do not do computation with squaring and square root
34402 for large arguments.
34403 * math/libm-test.inc (casin_test): Add more tests.
34404 (casinh_test): Likewise.
34405 * sysdeps/i386/fpu/libm-test-ulps: Update.
34406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34407
afec409a
L
344082013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34409
34410 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34411 (__x86_64_raw_data_cache_size): Likewise.
34412 (__x86_64_data_cache_size_half): Likewise.
34413 (__x86_64_raw_data_cache_size_half): Likewise.
34414 (__x86_64_shared_cache_size): Likewise.
34415 (__x86_64_raw_shared_cache_size): Likewise.
34416 (__x86_64_shared_cache_size_half): Likewise.
34417 (__x86_64_raw_shared_cache_size_half): Likewise.
34418 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34419 to ...
34420 (__x86_data_cache_size): This.
34421 (__x86_64_raw_data_cache_size): Renamed to ...
34422 (__x86_raw_data_cache_size): This.
34423 (__x86_64_data_cache_size_half): Renamed to ...
34424 (__x86_data_cache_size_half): This.
34425 (__x86_64_raw_data_cache_size_half): Renamed to ...
34426 (__x86_raw_data_cache_size_half): This.
34427 (__x86_64_shared_cache_size): Renamed to ...
34428 (__x86_shared_cache_size): This.
34429 (__x86_64_raw_shared_cache_size): Renamed to ...
34430 (__x86_raw_shared_cache_size): This.
34431 (__x86_64_shared_cache_size_half): Renamed to ...
34432 (__x86_shared_cache_size_half): This.
34433 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34434 (__x86_raw_shared_cache_size_half): This.
34435 * sysdeps/x86_64/memcpy.S: Updated.
34436 * sysdeps/x86_64/memset.S: Likewise.
34437 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34438 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34439 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34440
0b3986d0
DM
344412013-01-04 David S. Miller <davem@davemloft.net>
34442
34443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34444
e47686e9
AS
344452013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34446
d643bac1
AS
34447 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34448 1 to avoid redefinition warning.
34449 (__USE_GNU): Don't define.
34450 (init_signaling_nan): Protoize.
34451
e47686e9
AS
34452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34453
b18decba
SP
344542013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34455
fffb407f
SP
34456 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34458 (__cpymn): Likewise.
34459 (norm): Remove commented code.
34460 (denorm): Likewise.
34461 (__mp_dbl): Likewise.
34462 (__inv): Likewise.
34463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34464 (__cpymn): Likewise.
34465 (norm): Remove commented code.
34466 (denorm): Likewise.
34467 (__mp_dbl): Likewise.
34468 (__inv): Likewise.
34469
b18decba
SP
34470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34471 mp_no value for 1.0 and 2.0.
34472 (norm): Use RADIXI instead of radixi.d.
34473 (denorm): Likewise.
34474 (__mul): Use 0.0 instead of zero.d.
34475 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34476 mp_no value for 1.0 and 2.0.
34477 (norm): Use RADIXI instead of radixi.d.
34478 (denorm): Likewise.
34479 (__mul): Use 0.0 instead of zero.d.
34480
cdc1c96f
JM
344812013-01-04 Joseph Myers <joseph@codesourcery.com>
34482
34483 [BZ #14994]
34484 * math/s_casinh.c (__casinh): Reduce finite argument to first
34485 quadrant then set signs of results at the end.
34486 * math/s_casinhf.c (__casinhf): Likewise.
34487 * math/s_casinhl.c (__casinhl): Likewise.
34488 * math/libm-test.inc (casin_test): Add more tests.
34489 (casinh_test): Likewise.
34490 * sysdeps/i386/fpu/libm-test-ulps: Update.
34491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34492
302913e1
SP
344932013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34494
6420d207
SP
34495 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34496
a9e48ab4
SP
34497 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34498
b7837264
SP
34499 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34500 declarations.
34501 (denorm): Likewise.
34502 (__mp_dbl): Likewise.
34503 (__inv): Likewise.
34504
f8af25d2
SP
34505 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34506 and adjust the header comment.
34507
302913e1
SP
34508 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34509 variable name from declaration.
34510
5d7dd1ca
L
345112013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34512
34513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34514 Initialize COMMON_CPUID_INDEX_7 element.
34515 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34516 (CPUID_RTM): Likewise.
34517 (HAS_RTM): Likewise.
34518 (COMMON_CPUID_INDEX_7): New enum.
34519
2f5f40f4
AS
345202013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34521
34522 [BZ #14981]
34523 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34524 size is zero, record memory as freed.
34525
4056f4a0
AJ
345262013-01-03 Andreas Jaeger <aj@suse.de>
34527
34528 * po/ia.po: Add new Interlingua translation.
34529
ab15736f 345302012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34531
34532 * locale/programs/localedef.c: Fix description of '--posix' flag.
34533
568035b7
JM
345342013-01-02 Joseph Myers <joseph@codesourcery.com>
34535
e6898b8d
JM
34536 * NEWS: Update dates in second copyright notice.
34537 * README: Update copyright dates in example.
34538 * manual/libc.texinfo: Update copyright dates.
34539 * scripts/test-installation.pl: Update copyright date in --version
34540 output.
34541
0e2f9562
JM
34542 * hurd/ctty-input.c: Fix copyright notice formatting.
34543 * hurd/ctty-output.c: Likewise.
34544 * hurd/dtable.c: Likewise.
34545 * hurd/hurd-raise.c: Likewise.
34546 * hurd/hurdprio.c: Likewise.
34547 * hurd/msgportdemux.c: Likewise.
34548 * misc/sys/file.h: Likewise.
34549 * misc/sys/ioctl.h: Likewise.
34550 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34551 * sysdeps/mach/hurd/chdir.c: Likewise.
34552 * sysdeps/mach/hurd/fchdir.c: Likewise.
34553 * sysdeps/mach/hurd/rename.c: Likewise.
34554 * sysdeps/mach/hurd/rmdir.c: Likewise.
34555 * sysdeps/mach/hurd/seekdir.c: Likewise.
34556 * sysdeps/mach/hurd/setsid.c: Likewise.
34557 * sysdeps/posix/wait3.c: Likewise.
34558
568035b7
JM
34559 * All files with FSF copyright notices: Update copyright dates
34560 using scripts/update-copyrights.
34561 * intl/plural.c: Regenerated.
34562 * locale/programs/charmap-kw.h: Likewise.
34563 * locale/programs/locfile-kw.h: Likewise.
34564
da08f647
SP
345652013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34566
0f5477af
SP
34567 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34568 four values.
34569
44e0d4c2
SP
34570 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34571 calculation loop and add branch prediction.
34572
4d55b4e5
SP
34573 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34574 check access beyond bounds of m1np.
34575
da08f647
SP
34576 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34577 MPTWO.
34578 (__inv): Remove local variable MPTWO to use the global
34579 constant.
34580 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34581 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34582 variable MPTWO.
34583 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34584 MP3HALFS static const.
34585
8e051029
DM
345862013-01-01 David S. Miller <davem@davemloft.net>
34587
34588 * po/ca.po: Update from translation team.
34589
f4cf5f2d
JM
345902013-01-01 Joseph Myers <joseph@codesourcery.com>
34591
34592 * scripts/update-copyrights: New file.
34593 * Makeconfig: Reformat copyright notice.
34594 * ctype/ctype.h: Likewise.
34595 * debug/swprintf_chk.c: Likewise.
34596 * elf/dl-cache.c: Likewise.
34597 * elf/dl-debug.c: Likewise.
34598 * elf/dl-object.c: Likewise.
34599 * grp/initgroups.c: Likewise.
34600 * hurd/Makefile: Likewise.
34601 * hurd/hurd/signal.h: Likewise.
34602 * hurd/hurdfault.c: Likewise.
34603 * hurd/hurdioctl.c: Likewise.
34604 * hurd/hurdlookup.c: Likewise.
34605 * hurd/intr-msg.c: Likewise.
34606 * iconv/gconv_open.c: Likewise.
34607 * libio/swprintf.c: Likewise.
34608 * locale/lc-ctype.c: Likewise.
34609 * locale/nl_langinfo.c: Likewise.
34610 * mach/Machrules: Likewise.
34611 * mach/Makefile: Likewise.
34612 * malloc/obstack.h: Likewise.
34613 * manual/Makefile: Likewise.
34614 * manual/tsort.awk: Likewise.
34615 * misc/bits/stab.def: Likewise.
34616 * nis/nis_print_group_entry.c: Likewise.
34617 * nis/nis_table.c: Likewise.
34618 * nis/nss_compat/compat-pwd.c: Likewise.
34619 * nis/nss_compat/compat-spwd.c: Likewise.
34620 * po/Makefile: Likewise.
34621 * posix/fnmatch.c: Likewise.
34622 * posix/regex.h: Likewise.
34623 * resolv/Makefile: Likewise.
34624 * resolv/nss_dns/dns-network.c: Likewise.
34625 * resolv/res_hconf.c: Likewise.
34626 * scripts/gen-sorted.awk: Likewise.
34627 * soft-fp/soft-fp.h: Likewise.
34628 * stdio-common/printf.h: Likewise.
34629 * stdlib/monetary.h: Likewise.
34630 * stdlib/random.c: Likewise.
34631 * stdlib/random_r.c: Likewise.
34632 * sysdeps/generic/Makefile: Likewise.
34633 * sysdeps/gnu/Makefile: Likewise.
34634 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34635 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34636 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34637 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34638 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34639 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34640 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34641 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34642 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34643 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34644 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34645 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34646 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34647 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34648 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34649 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34650 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34651 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34652 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34653 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34654 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34655 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34656 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34657 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34658 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34659 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34660 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34661 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34662 * sysdeps/mach/hurd/errnos.awk: Likewise.
34663 * sysdeps/mach/hurd/fork.c: Likewise.
34664 * sysdeps/mach/hurd/getcwd.c: Likewise.
34665 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34666 * sysdeps/mach/hurd/mmap.c: Likewise.
34667 * sysdeps/mach/hurd/utimes.c: Likewise.
34668 * sysdeps/mach/hurd/xmknod.c: Likewise.
34669 * sysdeps/posix/profil.c: Likewise.
34670 * sysdeps/posix/readdir_r.c: Likewise.
34671 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34672 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34673 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34674 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34676 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34677 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34678 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34680 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34681 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34682 * sysdeps/pthread/lio_listio.c: Likewise.
34683 * sysdeps/sparc/dl-procinfo.h: Likewise.
34684 * sysdeps/unix/i386/sysdep.S: Likewise.
34685 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34686 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34687 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34688 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34690 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34691 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34692 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34693 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34694 * sysdeps/wordsize-32/divdi3.c: Likewise.
34695 * time/sys/time.h: Likewise.
34696 * wcsmbs/Makefile: Likewise.
34697
0549fbba
DM
346982013-01-01 David S. Miller <davem@davemloft.net>
34699
a141f1a7
DM
34700 * po/fr.po: Update from translation team.
34701
0549fbba
DM
34702 * catgets/gencat.c: Update copyright year.
34703 * csu/version.c: Likewise.
34704 * debug/catchsegv.sh: Likewise.
34705 * debug/pcprofiledump.c: Likewise.
34706 * debug/xtrace.sh: Likewise.
34707 * elf/ldconfig.c: Likewise.
34708 * elf/ldd.bash.in: Likewise.
34709 * elf/pldd.c: Likewise.
34710 * elf/sotruss.ksh: Likewise.
34711 * elf/sprof.c: Likewise.
34712 * iconv/iconv_prog.c: Likewise.
34713 * iconv/iconvconfig.c: Likewise.
34714 * locale/programs/locale.c: Likewise.
34715 * locale/programs/localedef.c: Likewise.
34716 * login/programs/pt_chown.c: Likewise.
34717 * malloc/memusage.sh: Likewise.
34718 * malloc/memusagestat.c: Likewise.
34719 * malloc/mtrace.pl: Likewise.
34720 * nscd/nscd.c: Likewise.
34721 * nss/getent.c: Likewise.
34722 * nss/makedb.c: Likewise.
34723 * posix/getconf.c: Likewise.
34724
18ea052c
SP
347252012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34726
34727 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34728 numbers.
34729
9c89fca6
MF
347302012-12-30 Mike Frysinger <vapier@gentoo.org>
34731
34732 * math/bits/mathcalls.h (modf): Use __nonnull.
34733
085ec079
SP
347342012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34735
34736 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34737 (split): Use macro CN instead of the bare value.
34738 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34739 could be used.
34740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34741 instead of the bare value.
34742 (power1): Likewise.
34743
6d9f97e1
SP
347442012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34745
d63f73be
SP
34746 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34747 __ATAN_TWOM.
34748 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34749
6d9f97e1
SP
34750 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34751 their values.
34752 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34753 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34754 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34755 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34756
4c4febf5
AJ
347572012-12-28 Andreas Jaeger <aj@suse.de>
34758
af5843ef
AJ
34759 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34760 values are from Linux 3.7.
34761
4c4febf5
AJ
34762 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34763 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34764
99136f82
SP
347652012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34766
2f216c3c 34767 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
34768 TRUE case.
34769
99136f82
SP
34770 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34771 (norm): Likewise.
34772 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34773 variables with preprocessor constants.
34774 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34775 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34776 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34777
7fffbdff
BH
347782012-12-27 Bruno Haible <bruno@clisp.org>
34779
34780 [BZ #14317]
34781 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34782 only if needed.
34783
b76eb5f0
SP
347842012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34785
31a7fe5c
SP
34786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34787 and use variable directly.
34788 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34789
b76eb5f0
SP
34790 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34791 MPONE.
34792 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34793 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34794 variable MPONE.
34795 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34796 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34797 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34798 include directive. Remove local variable MPONE.
34799 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34800 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34801 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34802
2c8bfe7d
DM
348032012-12-25 David S. Miller <davem@davemloft.net>
34804
34805 * version.h (RELEASE): Set to "development".
34806 (VERSION): Set to "2.17.90".
34807 * NEWS: Add 2.18 section.
34808
147d03b0
DM
348092012-12-21 David S. Miller <davem@davemloft.net>
34810
34811 * po/hr.po: Update from translation team.
34812
a8ebb2b9
AK
348132012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34814
34815 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34816
95b4f1b6
SE
348172012-12-19 Steve Ellcey <sellcey@mips.com>
34818
b2d94007 34819 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 34820
cedb2a90
MS
348212012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34822
34823 * manual/contrib.texi (Contributors): Spelling correction.
34824
bbf527d6
DM
348252012-12-15 David S. Miller <davem@davemloft.net>
34826
34827 * po/ru.po: Update from translation team.
34828
bc38c906
DM
348292012-12-13 David S. Miller <davem@davemloft.net>
34830
85429b1a
DM
34831 * NEWS: Mention IFUNC testsuite enhancements.
34832
d283e353
DM
34833 * po/pl.po: Update from translation team.
34834 * po/bg.po: Likewise.
34835
bc38c906
DM
34836 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34837 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34838
a181b0d7
DM
348392012-12-11 David S. Miller <davem@davemloft.net>
34840
4641d57e
DM
34841 * po/sv.po: Update from translation team.
34842
f7bc6495
DM
34843 * po/vi.po: Update from translation team.
34844
6fc9048f
DM
34845 * po/cs.po: Update from translation team.
34846
a181b0d7
DM
34847 * po/de.po: Update from translation team.
34848 * po/eo.po: Likewise.
34849 * po/nl.po: Likewise.
34850
f70bfe80
SP
348512012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34852
3c8b4190
SP
34853 [BZ #14246]
34854 * manual/argp.texi (Argp Helper Functions): Move node to follow
34855 Argp Parsing State.
34856
f70bfe80
SP
34857 [BZ #14872]
34858 * manual/conf.texi (Limits on File System Capacity): Mention if
34859 terminating null is included in the max size.
34860
188f0adf
AJ
348612012-12-10 Andreas Jaeger <aj@suse.de>
34862
34863 * po/cs.po: Update from translation team.
34864
56e7d3ad
SP
348652012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34866
34867 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34868 void pointer and cast to uintptr_t.
34869 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34870 path.
34871 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34872 * sysdeps/s390/s390-64/memset.S: Likewise.
34873
76f2d2ea 348742012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34875
34876 [BZ #14833]
34877 * menual/message.texi (Message Translation): Fix typos.
34878 (Helper programs for gettext): Likewise.
34879
67cbf9a2
AS
348802012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34881
34882 [BZ #14898]
34883 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34884 Change to -1.
34885
682d0e9a
DM
348862012-12-07 David S. Miller <davem@davemloft.net>
34887
34888 * po/libc.pot: Update.
34889
573cd484
RH
348902012-12-07 Richard Henderson <rth@redhat.com>
34891
7e9da188 34892 [BZ #10114]
573cd484
RH
34893 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34894 normal/normal case to before the switch.
34895 (_FP_DIV): Likewise.
34896
e933a943
MF
348972012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34898 Mike Frysinger <vapier@gentoo.org>
34899
34900 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34901 check for __NR_fadvise64_64.
34902
82123268
CM
349032012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34904
34905 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34906 0, not just to plain "0" as a statement.
34907 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34908 with cw.
34909
d9814526
JM
349102012-12-06 Joseph Myers <joseph@codesourcery.com>
34911
34912 * NEWS: Use sourceware.org in Bugzilla URL.
34913
7728c574
SP
349142012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34915
f16946dd
SP
34916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34917 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34918
5704bbcb
SP
34919 * stdio-common/tst-put-error.c (do_test): Add newline to the
34920 padded test to ensure flush.
34921
17aa0516
JL
349222012-12-05 Jeff Law <law@redhat.com>
34923
34924 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34925
363313b5
JM
349262012-12-05 Joseph Myers <joseph@codesourcery.com>
34927
effbd42a
JM
34928 * README: Don't refer to ports add-on as distributed separately.
34929 Mention AArch64 in list of systems supported in the ports add-on.
34930
87600365
JM
34931 * LICENSES: Add more non-FSF copyright and license notices.
34932
a0d7066a
JM
34933 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34934 ((unused)).
34935
66ca5a5b
JM
34936 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34937
363313b5
JM
34938 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34939 10000 as width of padded output.
34940
b37984ad
JM
349412012-12-04 Joseph Myers <joseph@codesourcery.com>
34942
9003570a
JM
34943 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34944
b37984ad
JM
34945 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34946 variable LX with __attribute__ ((unused)).
34947 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34948 Likewise.
34949 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34950 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34951 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34952 with __attribute__ ((unused)).
34953
c8df52ec
DM
349542012-12-04 David S. Miller <davem@abraco.davemloft.net>
34955
34956 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34957
b3b099af
JM
349582012-12-04 Joseph Myers <joseph@codesourcery.com>
34959
c33aa6e3
JM
34960 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34961 (CFLAGS-nldbl-acos.c): New variable.
34962 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34963 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34964 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34965 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34966 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34967 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34968 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34969 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34970 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34971 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34972 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34973 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34974 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34975 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34976 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34977 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34978 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34979 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34980 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34981 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34982 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34983 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34984 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34985 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34986 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34987 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34988 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34989 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34990 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34991 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34992 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34993 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34994 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34995 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34996 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34997 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34998 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34999 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35000 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35001 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35002 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35003 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35004 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35005 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35006 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35007 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35008 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35009 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35010 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35011 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35012 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35013 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35014 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35015 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35016 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35017 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35018 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35019 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35020 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35021 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35022 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35023 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35024 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35025 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35026 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35027 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35028 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35029 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35030 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35031 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35032 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35033 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35034 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35035 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35036 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35037 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35038 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35039 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35040 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35041 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35042 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35043 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35044 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35045 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35046 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35047 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35048 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35049 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35050 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35051 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35052 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35053 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35054 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35055 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35056 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35057 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35058 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35059
20f0018d
JM
35060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35061 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35062
b3b099af
JM
35063 [BZ #14914]
35064 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35065 whole low double instead of just low 47 bits when splitting values
35066 into two parts.
35067
029264d1
AM
350682012-12-03 Allan McRae <allan@archlinux.org>
35069
35070 * manual/stdio.texi (Predefined Printf Handlers): Remove
35071 @hsep and @vsep usage.
35072
c9d6789e
MF
350732012-12-03 Mike Frysinger <vapier@gentoo.org>
35074
35075 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35076 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35077
4b7634a5
JL
350782012-12-03 Jeff Law <law@redhat.com>
35079
35080 * time/sys/time.h (settimeofday): Do not mark TV argument
35081 as __nonnull.
35082
eb6cbd24
MF
350832012-12-01 Mike Frysinger <vapier@gentoo.org>
35084
35085 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35086 when currently writing and seek to current position when not.
35087 * libio/Makefile (tests): Remove bug-fclose1.
35088 * libio/bug-fclose1.c: Delete.
35089
f638872a
JM
350902012-12-01 Joseph Myers <joseph@codesourcery.com>
35091
35092 * manual/arith.texi (feenableexcept): Fix typo.
35093 (fedisableexcept): Likewise.
35094
48085d14
RM
350952012-11-30 Roland McGrath <roland@hack.frob.com>
35096
35097 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35098 second, differently-typed declaration, rather than a cast.
35099
1a538b9f
SP
351002012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35101
35102 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35103 * include/rpc/svc.h: ... here.
35104
d07f2ff1 351052012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
35106
35107 [BZ #13013]
35108 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35109 depending n and resplen2 to catch cases where answer
35110 equals answerp2.
35111
c93ec1f0
CD
351122012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35113
35114 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35115 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35116
37db69de
MF
351172012-11-29 Mike Frysinger <vapier@gentoo.org>
35118
35119 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35120
e10c4e4f
RM
351212012-11-29 Roland McGrath <roland@hack.frob.com>
35122
35123 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35124
2af1b328
JL
351252012-11-28 Jeff Law <law@redhat.com>
35126
35127 [BZ #13761]
35128 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35129 dataset_temporary. Track alloca usage into alloca_used.
35130 If dataset is large allocate and release it via malloc/free.
35131
111db5b1
FW
351322012-06-04 Florian Weimer <fweimer@redhat.com>
35133
f06cc227 35134 [BZ #14197]
111db5b1
FW
35135 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35136
dd694abd
DM
351372012-11-28 David S. Miller <davem@davemloft.net>
35138
35139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35140
9984dd01
JM
351412012-11-28 Joseph Myers <joseph@codesourcery.com>
35142
35143 [BZ #14803]
35144 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35145 of pi/2 rounded to nearest to 64 bits.
35146 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35147 nearest to 64 bits.
35148 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35149 bits.
35150
14bc93a9
JL
351512012-11-28 Jeff Law <law@redhat.com>
35152 Martin Osvald <mosvald@redhat.com>
35153
35154 [BZ #14889]
35155 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35156 * sunrpc/svc.c: Include time.h.
35157 (__svc_accept_failed): New function.
35158 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35159 any reason other than EINTR, call __svc_accept_failed.
35160 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35161 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35162
e3c6aa3a
AS
351632012-11-28 Andreas Schwab <schwab@suse.de>
35164
35165 * scripts/abilist.awk: Also handle indirect functions in .opd
35166 section.
35167
1bead169
JM
351682012-11-28 Joseph Myers <joseph@codesourcery.com>
35169
35170 [BZ #13881]
35171 * sysdeps/x86/fpu/powl_helper.c: New file.
35172 * sysdeps/x86/fpu/Makefile: Likewise.
35173 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35174 (p3): New object.
35175 (__ieee754_powl): Use __powl_helper for finite arguments except
35176 integer exponents below 8.
35177 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35178 (p3): New object.
35179 (__ieee754_powl): Use __powl_helper for finite arguments except
35180 integer exponents below 8.
35181 * math/libm-test.inc (pow_test): Add more tests and enable some
35182 previously disabled tests.
35183 * sysdeps/i386/fpu/libm-test-ulps: Update.
35184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35185
0817d63d
SP
351862012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35187 Carlos O'Donell <carlos_odonell@mentor.com>
35188
35189 * nss/makedb.c (is_prime): Assert that input is odd and greater
35190 than 4. Note that fact in a comment too.
35191 (next_prime): Add 4 to input.
35192
de2fd463
SP
351932012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35194
35195 [BZ #11741]
35196 * libio/Makefile (tests): Add test case tst-fwrite-error.
35197 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35198 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35199 * libio/tst-fwrite-error.c: New test case.
35200
c515fb51
L
352012012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35202
35203 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35204 before casting to void *.
35205 * include/libc-internal.h (__pointer_type): New macro.
35206 (__integer_if_pointer_type_sub): Likewise.
35207 (__integer_if_pointer_type): Likewise.
35208 (cast_to_integer): Likewise.
35209 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35210 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35211 before casting to atomic64_t.
35212 (atomic_exchange_acq): Likewise.
35213 (__arch_exchange_and_add_body): Likewise.
35214 (__arch_add_body): Likewise.
35215 (atomic_add_negative): Likewise.
35216 (atomic_add_zero): Likewise.
35217
4cf77aa9
JM
352182012-11-26 Joseph Myers <joseph@codesourcery.com>
35219
35220 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35221 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35222 (add_fdes): Likewise.
35223 (linear_search_fdes): Likewise.
35224 (binary_search_unencoded_fdes): Likewise.
35225
d260b3b4
AS
352262012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35227
35228 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35229
67060746
AC
352302012-11-24 Adam Conrad <adconrad@0c3.net>
35231
35232 * configure.in: Autodetect C++ header directories.
35233 * configure: Regenerated.
35234
800938a1
MF
352352012-11-23 Mike Frysinger <vapier@gentoo.org>
35236
35237 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35238
4e6e34e6
AS
352392012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35240
35241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35242
7c7feb47
JM
352432012-11-22 Joseph Myers <joseph@codesourcery.com>
35244
7184dcdf
JM
35245 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35246 LDBL_MANT_DIG == 106]: Disable some tests.
35247 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35248 Likewise.
35249 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35250 Likewise.
35251
0a42601f
JM
35252 [BZ #14871]
35253 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35254 input for small inputs. Return +/- pi/2 for large inputs.
35255 * math/libm-test.inc (atan_test): Add more tests.
35256
79c9b9fe
JM
35257 * sysdeps/generic/unwind-dw2-fde-glibc.c
35258 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35259 __attribute__ ((unused)).
35260
c60d3bf2
JM
35261 [BZ #14645]
35262 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35263 x * y if x and y are nonzero and z is zero.
35264
ef1e0867
JM
35265 [BZ #14811]
35266 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35267 nonzero exponents with absolute value below 0x1p-117 to +/-
35268 0x1p-117.
35269
1468ded3
JM
35270 [BZ #14869]
35271 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35272 up arguments below 2**-450, not just those below 2**-500.
35273 * math/libm-test.inc (hypot_test): Add another test.
35274
8e27e3cc
JM
35275 [BZ #14868]
35276 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35277 Return a+b for ratio over 2**120, not 2**60.
35278 * math/libm-test.inc (hypot_test): Add another test.
35279
c9c0279b
JM
35280 * math/libm-test.inc (clog_test): Use
35281 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35282 (clog10_test): Likewise.
35283
7c7feb47
JM
35284 [BZ #6778]
35285 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35286
fff1530e
AS
352872012-11-22 Andreas Schwab <schwab@suse.de>
35288
35289 * sysdeps/i386/fpu/libm-test-ulps: Update.
35290
94558d30
PT
352912012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35292
35293 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35294 printf output with newline.
35295
7e1be741
L
352962012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35297
6bfea974
L
35298 [BZ #14865]
35299 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35300 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35301 -z nodlopen, -z initfirst and -z execstack support.
35302 * configure: Regenerated.
35303
7e1be741
L
35304 * elf/elf.h (DF_1_NODIRECT): New macro.
35305 (DF_1_IGNMULDEF): Likewise.
35306 (DF_1_NOKSYMS): Likewise.
35307 (DF_1_NOHDR): Likewise.
35308 (DF_1_EDITED): Likewise.
35309 (DF_1_NORELOC): Likewise.
35310 (DF_1_SYMINTPOSE): Likewise.
35311 (DF_1_GLOBAUDIT): Likewise.
35312 (DF_1_SINGLETON): Likewise.
35313 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35314 DT_1_SUPPORTED_MASK bits.
35315 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35316
105ce2ce
CD
353172012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35318
35319 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35320
123be9de
TS
353212012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35322
d072f3f7
TS
35323 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35324 macro.
35325
123be9de
TS
35326 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35327 (sendmmsg): Move declarations...
35328 * socket/sys/socket.h: ... here.
35329 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35330 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35331 include it from...
35332 * socket/recvmmsg.c: ... this new file.
35333 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35334 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35335 definition of __sendmmsg hidden.
35336 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35337 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35338 Move ENOSYS stub into and include it from...
35339 * socket/sendmmsg.c: ... this new file.
35340 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35341 (sysdep_routines): Move recvmmsg and sendmmsg...
35342 * socket/Makefile (routines): ... here.
35343 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35344 (GLIBC_PRIVATE): Add __sendmmsg.
35345 * include/sys/socket.h (__sendmmsg): Add declarations.
35346 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35347 sendmmsg.
35348
cf9a5d18
JM
353492012-11-20 Joseph Myers <joseph@codesourcery.com>
35350
35351 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35352 variable I1 with __attribute__ ((unused)).
35353 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35354
ecd4caf9
JM
353552012-11-19 Joseph Myers <joseph@codesourcery.com>
35356
be14d48f
JM
35357 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35358 DUMMY variables with __attribute__ ((unused)).
35359
ecd4caf9
JM
35360 * bits/byteswap.h: Include <bits/types.h>.
35361 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35362
986cab95
PT
353632012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35364
35365 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35366 string_t. Do not manually set errno.
35367 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35368 length with __strnlen. Make sure to both set errno and return it on
35369 failure.
35370
6d33cc9d
DM
353712012-11-19 David S. Miller <davem@davemloft.net>
35372
35373 With help from Joseph Myers.
35374 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35375 very large arguments properly.
35376 * math/libm-test.inc (atan_test): New tests.
35377 (atan2_test): New tests.
35378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35380
ee663277
JM
353812012-11-19 Joseph Myers <joseph@codesourcery.com>
35382
877f2d8e
JM
35383 [BZ #14856]
35384 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35385 Define to 3.
35386
116fc08a
JM
35387 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35388 [POSIX] (EADDRNOTAVAIL): Likewise.
35389 [POSIX] (EAFNOSUPPORT): Likewise.
35390 [POSIX] (EALREADY): Likewise.
35391 [POSIX] (ECONNABORTED): Likewise.
35392 [POSIX] (ECONNREFUSED): Likewise.
35393 [POSIX] (ECONNRESET): Likewise.
35394 [POSIX] (EDESTADDRREQ): Likewise.
35395 [POSIX] (EDQUOT): Likewise.
35396 [POSIX] (EHOSTUNREACH): Likewise.
35397 [POSIX] (EIDRM): Likewise.
35398 [POSIX] (EISCONN): Likewise.
35399 [POSIX] (ELOOP): Likewise.
35400 [POSIX] (EMULTIHOP): Likewise.
35401 [POSIX] (ENETDOWN): Likewise.
35402 [POSIX] (ENETUNREACH): Likewise.
35403 [POSIX] (ENOBUFS): Likewise.
35404 [POSIX] (ENODATA): Likewise.
35405 [POSIX] (ENOLINK): Likewise.
35406 [POSIX] (ENOMSG): Likewise.
35407 [POSIX] (ENOPROTOOPT): Likewise.
35408 [POSIX] (ENOSR): Likewise.
35409 [POSIX] (ENOSTR): Likewise.
35410 [POSIX] (ENOTCONN): Likewise.
35411 [POSIX] (ENOTSOCK): Likewise.
35412 [POSIX] (EOPNOTSUPP): Likewise.
35413 [POSIX] (EOVERFLOW): Likewise.
35414 [POSIX] (EPROTO): Likewise.
35415 [POSIX] (EPROTONOSUPPORT): Likewise.
35416 [POSIX] (EPROTOTYPE): Likewise.
35417 [POSIX] (ESTALE): Likewise.
35418 [POSIX] (ETIME): Likewise.
35419 [POSIX] (ETXTBSY): Likewise.
35420 [POSIX] (EWOULDBLOCK): Likewise.
35421 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35422 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35423 [POSIX] (SEEK_CUR): Likewise.
35424 [POSIX] (SEEK_END): Likewise.
35425 [POSIX || UNIX98] (mode_t): Do not require.
35426 [POSIX] (off_t): Likewise.
35427 [POSIX] (pid_t): Likewise.
35428 [POSIX] (sys/stat.h): Do not allow header.
35429 [POSIX] (unistd.h): Likewise.
35430 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35431 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35432 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35433 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35434 require.
35435 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35436 sigevent): Specify elements.
35437 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35438 entry.
35439 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35440 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35441
a483863f
JM
35442 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35443 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35444 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35445 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35446 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35447 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35448 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35449 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35450 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35451 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35452 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35453 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35454 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35455 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35456 Likewise.
35457 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35458 Likewise.
35459 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35460 Likewise.
35461 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35462 Likewise.
35463 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35464 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35465 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35466 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35467 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35468 Specify lower bound on value.
35469 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35470 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35471 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35472 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35473 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35474 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35475 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35476 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35477 value.
35478 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35479 as optional.
35480 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35481 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35482 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35483 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35484 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35485 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35486 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35487 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35488 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35489 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35490 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35491 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35492 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35493 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35494 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35495 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35496 entry.
35497 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35498 optional.
35499 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35500 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35501 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35502 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35503 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35504 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35505 Likewise.
35506 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35507 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35508 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35509 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35510 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35511 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35512 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35513 as optional.
35514 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35515 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35516 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35517 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35518 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35519 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35520 specify as optional.
35521 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35522 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35523 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35524 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35525 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35526 [XPG3] (NL_LANGMAX): Likewise.
35527 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35528 [POSIX || XPG3] (NL_NMAX): Likewise.
35529 [POSIX || XPG3] (NL_SETMAX): Likewise.
35530 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35531 [XPG3] (NZERO): Likewise.
35532 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35533 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35534 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35535 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35536 (REG_ERANGE): Expect.
35537 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35538 optional-constant.
35539 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35540 Use (void) in prototype.
35541 [POSIX] (*_t): Allow.
35542 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35543 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35544 (WRDE_BADVAL): Expect.
35545
5ba924e3
JM
35546 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35547 expect.
35548 [XPG3 || XPG4] (O_RSYNC): Likewise.
35549 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35550 Likewise.
35551 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35552 [XPG3 || XPG4] (sigqueue): Likewise.
35553 [XPG3 || XPG4] (sigtimedwait): Likewise.
35554 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35555 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35556 [XPG3 || XPG4] (vsnprintf): Likewise.
35557 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35558 Likewise.
35559 [XPG3 || XPG4] (blksize_t): Likewise.
35560 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35561 Likewise.
35562 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35563 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35564 [XPG3 || XPG4] (struct itimerspec): Likewise.
35565 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35566 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35567 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35568 [XPG3 || XPG4] (clockid_t): Likewise.
35569 [XPG3 || XPG4] (timer_t): Likewise.
35570 [XPG3 || XPG4] (clock_getres): Likewise.
35571 [XPG3 || XPG4] (clock_gettime): Likewise.
35572 [XPG3 || XPG4] (clock_settime): Likewise.
35573 [XPG3 || XPG4] (nanosleep): Likewise.
35574 [XPG3 || XPG4] (timer_create): Likewise.
35575 [XPG3 || XPG4] (timer_delete): Likewise.
35576 [XPG3 || XPG4] (timer_gettime): Likewise.
35577 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35578 [XPG3 || XPG4] (timer_settime): Likewise.
35579 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35580 [XPG3 || XPG4] (getlogin_r): Likewise.
35581 [XPG3 || XPG4] (pread): Likewise.
35582 [XPG3 || XPG4] (pthread_atfork): Likewise.
35583 [XPG3 || XPG4] (pwrite): Likewise.
35584
ee663277
JM
35585 [BZ #14835]
35586 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35587 <bits/siginfo.h>.
35588
942caa16
PT
355892012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35590
e19af380
PT
35591 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35592 finalizing MALLSTREAM.
35593
942caa16
PT
35594 * sysdeps/mach/hurd/syncfs.c: New file.
35595
cfde9b46
SP
355962012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35597
35598 [BZ #14719]
35599 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35600 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35601 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35602 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35603 (_nss_dns_gethostbyname4_r): Likewise.
35604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35605 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35606
f6da27e5
PH
356072012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35608
35609 [BZ #13763]
35610 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35611
6665d4a2
SM
356122012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35613
1f51ee92
SM
35614 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35615 * elf/cache.c (print_entry): Print ",AArch64" for
35616 FLAG_AARCH64_LIB64
35617
6665d4a2
SM
35618 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35619 * elf/cache.c (print_entry): Print ",hard-float" for
35620 FLAG_ARM_LIBHF.
35621
05b227bd
DM
356222012-11-18 David S. Miller <davem@davemloft.net>
35623
35624 With help from Joseph Myers.
35625 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35626 cutoff to 2**-13.
35627 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35628 cutoff to 2**-25.
35629 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35630 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35631 small.
35632 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35633 * math/libm-test.inc (y0_test): New tests.
35634 (y1_test): New tests.
35635 * sysdeps/i386/fpu/libm-test-ulps: Update.
35636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35638
786b0b67
AS
356392012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35640
35641 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35642 64-bit targets.
35643 * configure: Regenerated.
35644
8e18b86d
DM
356452012-11-17 David S. Miller <davem@davemloft.net>
35646
35647 [BZ #14811]
35648 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35649 nonzero exponents with absolute value below 0x1p-128 to +/-
35650 0x1p-128.
35651
531f1ae0
JM
356522012-11-17 Joseph Myers <joseph@codesourcery.com>
35653
12df29e2
JM
35654 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35655
150dc1a0
JM
35656 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35657
531f1ae0
JM
35658 * posix/getconf-speclist.c: New file.
35659 * posix/posix-envs.def: Likewise.
35660 * posix/confstr.c (START_ENV_GROUP): New macro.
35661 (END_ENV_GROUP): Likewise.
35662 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35663 (KNOWN_PRESENT_ENV_STRING): Likewise.
35664 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35665 (UNKNOWN_ENVIRONMENT): Likewise.
35666 (confstr): Include posix-envs.def instead of handling
35667 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35668 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35669 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35670 (END_ENV_GROUP): Likewise.
35671 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35672 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35673 (UNKNOWN_ENVIRONMENT): Likewise.
35674 (__sysconf): Include posix-envs.def instead of handling associated
35675 cases directly here.
35676 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35677 preprocessing getconf-speclist.c rather than running getconf or
35678 generating empty file.
35679
a93f9cbc
PT
356802012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35681
35682 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35683
d64d9f87
AL
356842012-11-16 Andrej Lajovic <natrij@gmail.com>
35685
35686 [BZ #14672]
35687 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35688
447885eb
DM
356892012-11-16 David S. Miller <davem@davemloft.net>
35690
35691 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35692 smaller than LDBL_EPSILON/2.0L, just return xm1.
35693
bcbf9830
L
356942012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35695
35696 * elf/tst-array1.c (init): Set constructor priority to 1000.
35697 (fini): Set destructor priority to 1000.
35698 * elf/tst-array2dep.c: Likewise.
35699
2b766585
SP
357002012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35701
35702 [BZ #11741]
35703 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35704 (_IO_new_file_xsputn): Also return EOF if none of the input
35705 data was written when overflow failed.
35706 * libio/iopadn.c (_IO_padn): Likewise.
35707 * libio/iowpadn.c (_IO_wpadn): Likewise.
35708 * stdio-common/tst-put-error.c: Add copyright notice.
35709 (do_test): Add case for printing padded string.
35710 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35711 _IO_padn returned error.
35712 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35713 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35714 return EOF.
35715
b1848fde
SP
357162012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35717
35718 * libio/libioP.h: Add comment note that the references to C++
35719 bits are now obsolete.
35720
2fd89785
MS
357212012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35722
35723 * math/libm-test.inc (check_complex): Use asprintf.
35724
e3ea5409
JM
357252012-11-14 Joseph Myers <joseph@codesourcery.com>
35726
35727 * debug/pcprofiledump.c (print_version): Update copyright year.
35728 * malloc/memusagestat.c (print_version): Likewise.
35729
2e64d265
L
357302012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35731
35732 [BZ #14831]
35733 * elf/Makefile (tests): Add tst-audit8.
35734 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35735 ($(objpfx)tst-audit8.out): New target.
35736 (tst-audit8-ENV): New variable.
35737 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35738 audit if l_reloc_result is NULL.
35739 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35740 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35741 * elf/tst-audit8.c: New file.
35742
c485e4d2
MS
357432012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35744
35745 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35746 * misc/Makefile (CFLAGS-select.c): Define.
35747 * posix/Makefile (CFLAGS-pause.c): Define.
35748
3a0d900a
DM
357492012-11-13 David S. Miller <davem@davemloft.net>
35750
35751 * crypt/Makefile: Move test targets after toplevel Rules
35752 inclusion. Grab any necessary sysdep routines when linking.
35753 * crypt/md5.c (md5_process_block): Remove define, we will always
35754 name it __md5_process_block.
35755 (md5_finish_ctx): Update md5_process_block call.
35756 (md5_stream): Likewise.
35757 (md5_process_bytes): Likewise.
35758 (md5_process_block): Rename to __md5_process_block and move to ...
35759 * crypt/md5-block.c: ... here.
35760 * crypt/sha256.c (sha256_process_block): Move to ...
35761 * crypt/sha256-block.c: ... here.
35762 * crypt/sha512.c (sha512_process_block): Move to ...
35763 * crypt/sha512-block.c: ... here.
35764 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35765 path.
35766 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35767 * sysdeps/sparc/sparc64/multiarch/Makefile
35768 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35769 crypt subdir.
35770 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35771 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35772 multiarch changes.
35773 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35774 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35775 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35776 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35777 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35778 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35779 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35780 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35781 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35782 file.
35783 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35784 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35785 file.
35786 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35787
8ca89318
JM
357882012-11-13 Joseph Myers <joseph@codesourcery.com>
35789
e27d476a
JM
35790 * timezone/tzselect.ksh: Update from tzcode git revision
35791 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35792 * timezone/zdump.c: Likewise.
35793 * timezone/zic.c: Likewise.
35794 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35795 in TZVERSION setting, not $(PKGVERSION).
35796 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35797 REPORT_BUGS_TO settings.
35798
8ca89318
JM
35799 [BZ #14838]
35800 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35801 macro.
35802
47594329
MS
358032012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35804
35805 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35806 detection to immediately after _FP_ROUND().
35807 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35808 bits are 0.
35809
640ac3f1
DM
358102012-11-11 David S. Miller <davem@davemloft.net>
35811
35812 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35813 inttypes.h
35814 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35815 __close rather than their public counterparts.
35816
3d2577bb
JM
358172012-11-10 Joseph Myers <joseph@codesourcery.com>
35818
35819 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35820 file.
35821 [UNIX98] (sem_timedwait): Do not expect.
35822 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35823 [XPG4 || UNIX98] (sockatmark): Do not expect.
35824 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35825 (clock_getcpuclockid): Do not expect.
35826 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35827 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35828 Do not expect.
35829 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35830 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35831 [UNIX98] (vwscanf): Likewise.
35832 [UNIX98] (vswscanf): Likewise.
35833
fb1ae1ee
JM
358342012-11-09 Joseph Myers <joseph@codesourcery.com>
35835
9ec6f8bd
JM
35836 * timezone/version.h: Remove file.
35837 * timezone/README: Do not refer to version.h.
35838 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35839 $(objpfx)version.h.
35840 ($(objpfx)zdump.o): Likewise.
c3f81911 35841 ($(objpfx)version.h): New target.
9ec6f8bd 35842
0aa8f8a1
JM
35843 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35844 2012i.
35845 * timezone/README: Don't mention modification to tzselect.ksh.
35846 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35847 work on unmodified tzselect.ksh. Substitute version numbers in
35848 tzselect.ksh.
35849
4e87147f
JM
35850 * Makefile (format-me): Remove.
35851 (INSTALL): Adjust indentation. Use commands directly instead of
35852 using $(format-me).
35853
8b748aed
JM
35854 * aclocal.m4 (ACX_PKGVERSION): New macro.
35855 (ACX_BUGURL): Likewise.
35856 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35857 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35858 (REPORT_BUGS_TO): Likewise.
35859 * configure: Regenerated.
35860 * config.h.in (PKGVERSION): New macro.
35861 (REPORT_BUGS_TO): Likewise.
35862 * config.make.in (PKGVERSION): New variable.
35863 (PKGVERSION_TEXI): Likewise.
35864 (REPORT_BUGS_TO): Likewise.
35865 (REPORT_BUGS_TEXI): Likewise.
35866 * Makefile (format-me): Use -I$(common-objpfx)manual.
35867 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35868 ($(common-objpfx)manual/%): New target.
35869 (manual/%): Remove target.
35870 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35871 (print_version): Use PKGVERSION.
35872 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35873 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35874 and REPORT_BUGS_TO.
35875 ($(objpfx)xtrace): Likewise.
35876 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35877 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35878 (print_version): Use PKGVERSION.
35879 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35880 (do_version): Use PKGVERSION.
35881 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35882 REPORT_BUGS_TO.
35883 (common-ldd-rewrite): Likewise.
35884 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35885 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35886 (print_version): Use PKGVERSION.
35887 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35888 * elf/pldd.c (argp_program_bug_address): Remove variable.
35889 (more_help): New function.
35890 (argp): Use more_help.
35891 (print_version): Use PKGVERSION.
35892 * elf/sln.c (main): Use PKGVERSION.
35893 (usage): Use REPORT_BUGS_TO.
35894 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35895 (top level): Use PKGVERSION.
35896 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35897 (print_version): Use PKGVERSION.
35898 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35899 (print_version): Use PKGVERSION.
35900 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35901 (print_version): Use PKGVERSION.
35902 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35903 (print_version): Use PKGVERSION.
35904 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35905 (print_version): Use PKGVERSION.
35906 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35907 (print_version): Use PKGVERSION.
35908 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35909 and BUGURL.
35910 ($(objpfx)memusage): Likewise.
35911 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35912 (do_version): Use PKGVERSION.
35913 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35914 (print_version): Use PKGVERSION.
35915 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35916 ($PKGVERSION): New variable.
35917 ($REPORT_BUGS_TO): Likewise.
35918 (usage): Use $REPORT_BUGS_TO.
35919 (top level): Use $PKGVERSION.
35920 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35921 ($(objpfx)pkgvers.texi): New rule.
35922 ($(objpfx)stamp-pkgvers): Likewise.
35923 * manual/install.texi: Include pkgvers.texi.
35924 (--with-pkgversion): Document new configure option.
35925 (--with-bugurl): Likewise.
35926 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35927 than necessarily for this particular distribution. Use
35928 REPORT_BUGS_TO for where to report bugs.
35929 * INSTALL: Regenerated.
35930 * manual/libc.texinfo: Include pkgvers.texi.
35931 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35932 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35933 (print_version): Use PKGVERSION.
35934 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35935 (print_version): Use PKGVERSION.
35936 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35937 (print_version): Use PKGVERSION.
35938 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35939 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35940 macro.
35941 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35942 (print_version): Use PKGVERSION.
35943 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35944 (print_version): Use PKGVERSION.
35945 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35946 and PKGVERSION.
35947
92e4b6a9
JM
35948 * timezone/checktab.awk: Update from tzcode 2012i.
35949 * timezone/ialloc.c: Likewise.
35950 * timezone/private.h: Likewise.
35951 * timezone/scheck.c: Likewise.
35952 * timezone/tzfile.h: Likewise.
35953 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35954 (TZVERSION): Hardcode tzcode version number.
35955 * timezone/zdump.c: Update from tzcode 2012i.
35956 * timezone/zic.c: Likewise.
35957 * timezone/version.h: New file.
35958 * timezone/README: Describe version.h. Update upstream location.
35959
9bde902c
JM
35960 [BZ #14824]
35961 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35962 (mktemp): Enable declaration.
35963 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35964 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35965 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35966 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35967 Likewise.
35968 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35969 Likewise.
35970 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35971 Likewise.
35972 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35973 Likewise.
35974 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35975 Likewise.
35976 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35977 Likewise.
35978
fb1ae1ee
JM
35979 [BZ #14821]
35980 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35981 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35982 for copies of such integer values.
35983 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35984 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35985
2c1adbcb
AJ
359862012-11-09 Andreas Jaeger <aj@suse.de>
35987
35988 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35989 definitions and declarations that are provided by
35990 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35991
d0f8457e
AK
359922012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35993
3a235abb 35994 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35995 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35996 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35997 definition.
35998
57241e26
MS
359992012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36000
36001 * elf/elf.h: Update comment before AArch64 relocations.
36002
60e8270d
DM
360032012-11-07 David S. Miller <davem@davemloft.net>
36004
36005 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36006 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36007 (__start_context): Declare.
36008 (__makecontext_ret): Delete.
36009 (__makecontext): Hook up __start_context instead of
36010 __makecontext_ret.
36011 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36012 (sysdep_routines): Add __start_context when in stdlib.
36013
0fbb0fbc
JM
360142012-11-07 Joseph Myers <joseph@codesourcery.com>
36015
36016 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36017 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36018 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36019 hardcoded "nm".
36020 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36021 (READELF): New variable. Use it instead of hardcoded "readelf".
36022
eb48db7e
L
360232012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36024
36025 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36026 * sysdeps/x86/Makefile: Here.
36027 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36028 * sysdeps/x86/tst-xmmymm.sh: This.
36029
05bcf62a
JM
360302012-11-07 Joseph Myers <joseph@codesourcery.com>
36031
c4b6cf53
JM
36032 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36033 expectations.
36034 [UNIX98] (pthread_barrier_t): Do not expect.
36035 [UNIX98] (pthread_barrierattr_t): Likewise.
36036 [UNIX98] (pthread_spinlock_t): Likewise.
36037 [UNIX98] (pthread_barrier_destroy): Likewise.
36038 [UNIX98] (pthread_barrier_init): Likewise.
36039 [UNIX98] (pthread_barrier_wait): Likewise.
36040 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36041 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36042 [UNIX98] (pthread_barrierattr_init): Likewise.
36043 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36044 [UNIX98] (pthread_getcpuclockid): Likewise.
36045 [UNIX98] (pthread_mutex_timedlock): Likewise.
36046 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36047 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36048 [UNIX98] (pthread_sigmask): Likewise.
36049 [UNIX98] (pthread_spin_destroy): Likewise.
36050 [UNIX98] (pthread_spin_init): Likewise.
36051 [UNIX98] (pthread_spin_lock): Likewise.
36052 [UNIX98] (pthread_spin_trylock): Likewise.
36053 [UNIX98] (pthread_spin_unlock): Likewise.
36054 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36055 Do not expect.
36056 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36057 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36058 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36059 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36060 [XPG3 || XPG4] (pthread_key_t): Likewise.
36061 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36062 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36063 [XPG3 || XPG4] (pthread_once_t): Likewise.
36064 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36065 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36066 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36067 [XPG3 || XPG4] (pthread_t): Likewise.
36068
cbe6e120
JM
36069 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36070 not expect.
36071 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36072
1b126443
JM
36073 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36074 Change function return type to int.
36075
b961a573
JM
36076 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36077 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36078 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36079 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36080 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36081 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36082 [!POSIX] (posix_madvise): Likewise.
36083 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36084 && !UNIX98].
36085 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36086 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36087 (mode_t): Likewise.
36088 (posix_mem_offset): Likewise.
36089 (posix_typed_mem_get_info): Likewise.
36090 (posix_typed_mem_open): Likewise.
36091
9e188909
JM
36092 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36093 Change condition to [XOPEN2K8].
36094
05bcf62a
JM
36095 * conform/conformtest.pl: Preprocess allow-header data with -x c
36096 instead of from stdin.
36097 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36098 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36099 [C99-based standards] (cerfc): Likewise.
36100 [C99-based standards] (cexp2): Likewise.
36101 [C99-based standards] (cexpm1): Likewise.
36102 [C99-based standards] (clog10): Likewise.
36103 [C99-based standards] (clog1p): Likewise.
36104 [C99-based standards] (clog2): Likewise.
36105 [C99-based standards] (clgamma): Likewise.
36106 [C99-based standards] (ctgamma): Likewise.
36107 [C99-based standards] (cerff): Likewise.
36108 [C99-based standards] (cerfcf): Likewise.
36109 [C99-based standards] (cexp2f): Likewise.
36110 [C99-based standards] (cexpm1f): Likewise.
36111 [C99-based standards] (clog10f): Likewise.
36112 [C99-based standards] (clog1pf): Likewise.
36113 [C99-based standards] (clog2f): Likewise.
36114 [C99-based standards] (clgammaf): Likewise.
36115 [C99-based standards] (ctgammaf): Likewise.
36116 [C99-based standards] (cerfl): Likewise.
36117 [C99-based standards] (cerfcl): Likewise.
36118 [C99-based standards] (cexp2l): Likewise.
36119 [C99-based standards] (cexpm1l): Likewise.
36120 [C99-based standards] (clog10l): Likewise.
36121 [C99-based standards] (clog1pl): Likewise.
36122 [C99-based standards] (clog2l): Likewise.
36123 [C99-based standards] (clgammal): Likewise.
36124 [C99-based standards] (ctgammal): Likewise.
36125 * conform/data/inttypes.h-data [C99-based standards]: Include
36126 stdint.h-data. Remove all expectations for stdint.h contents.
36127 [C99-based standards] (PRI*): Do not allow.
36128 [C99-based standards] (SCN*): Likewise.
36129 [C99-based standards] (*_t): Likewise.
36130 [C99-based-standards] (PRId8): Expect macro.
36131 [C99-based-standards] (PRIi8): Likewise.
36132 [C99-based-standards] (PRIo8): Likewise.
36133 [C99-based-standards] (PRIu8): Likewise.
36134 [C99-based-standards] (PRIx8): Likewise.
36135 [C99-based-standards] (PRIX8): Likewise.
36136 [C99-based-standards] (SCNd8): Likewise.
36137 [C99-based-standards] (SCNi8): Likewise.
36138 [C99-based-standards] (SCNo8): Likewise.
36139 [C99-based-standards] (SCNu8): Likewise.
36140 [C99-based-standards] (SCNx8): Likewise.
36141 [C99-based-standards] (PRIdLEAST8): Likewise.
36142 [C99-based-standards] (PRIiLEAST8): Likewise.
36143 [C99-based-standards] (PRIoLEAST8): Likewise.
36144 [C99-based-standards] (PRIuLEAST8): Likewise.
36145 [C99-based-standards] (PRIxLEAST8): Likewise.
36146 [C99-based-standards] (PRIXLEAST8): Likewise.
36147 [C99-based-standards] (SCNdLEAST8): Likewise.
36148 [C99-based-standards] (SCNiLEAST8): Likewise.
36149 [C99-based-standards] (SCNoLEAST8): Likewise.
36150 [C99-based-standards] (SCNuLEAST8): Likewise.
36151 [C99-based-standards] (SCNxLEAST8): Likewise.
36152 [C99-based-standards] (PRIdFAST8): Likewise.
36153 [C99-based-standards] (PRIiFAST8): Likewise.
36154 [C99-based-standards] (PRIoFAST8): Likewise.
36155 [C99-based-standards] (PRIuFAST8): Likewise.
36156 [C99-based-standards] (PRIxFAST8): Likewise.
36157 [C99-based-standards] (PRIXFAST8): Likewise.
36158 [C99-based-standards] (SCNdFAST8): Likewise.
36159 [C99-based-standards] (SCNiFAST8): Likewise.
36160 [C99-based-standards] (SCNoFAST8): Likewise.
36161 [C99-based-standards] (SCNuFAST8): Likewise.
36162 [C99-based-standards] (SCNxFAST8): Likewise.
36163 [C99-based-standards] (PRId16): Likewise.
36164 [C99-based-standards] (PRIi16): Likewise.
36165 [C99-based-standards] (PRIo16): Likewise.
36166 [C99-based-standards] (PRIu16): Likewise.
36167 [C99-based-standards] (PRIx16): Likewise.
36168 [C99-based-standards] (PRIX16): Likewise.
36169 [C99-based-standards] (SCNd16): Likewise.
36170 [C99-based-standards] (SCNi16): Likewise.
36171 [C99-based-standards] (SCNo16): Likewise.
36172 [C99-based-standards] (SCNu16): Likewise.
36173 [C99-based-standards] (SCNx16): Likewise.
36174 [C99-based-standards] (PRIdLEAST16): Likewise.
36175 [C99-based-standards] (PRIiLEAST16): Likewise.
36176 [C99-based-standards] (PRIoLEAST16): Likewise.
36177 [C99-based-standards] (PRIuLEAST16): Likewise.
36178 [C99-based-standards] (PRIxLEAST16): Likewise.
36179 [C99-based-standards] (PRIXLEAST16): Likewise.
36180 [C99-based-standards] (SCNdLEAST16): Likewise.
36181 [C99-based-standards] (SCNiLEAST16): Likewise.
36182 [C99-based-standards] (SCNoLEAST16): Likewise.
36183 [C99-based-standards] (SCNuLEAST16): Likewise.
36184 [C99-based-standards] (SCNxLEAST16): Likewise.
36185 [C99-based-standards] (PRIdFAST16): Likewise.
36186 [C99-based-standards] (PRIiFAST16): Likewise.
36187 [C99-based-standards] (PRIoFAST16): Likewise.
36188 [C99-based-standards] (PRIuFAST16): Likewise.
36189 [C99-based-standards] (PRIxFAST16): Likewise.
36190 [C99-based-standards] (PRIXFAST16): Likewise.
36191 [C99-based-standards] (SCNdFAST16): Likewise.
36192 [C99-based-standards] (SCNiFAST16): Likewise.
36193 [C99-based-standards] (SCNoFAST16): Likewise.
36194 [C99-based-standards] (SCNuFAST16): Likewise.
36195 [C99-based-standards] (SCNxFAST16): Likewise.
36196 [C99-based-standards] (PRId32): Likewise.
36197 [C99-based-standards] (PRIi32): Likewise.
36198 [C99-based-standards] (PRIo32): Likewise.
36199 [C99-based-standards] (PRIu32): Likewise.
36200 [C99-based-standards] (PRIx32): Likewise.
36201 [C99-based-standards] (PRIX32): Likewise.
36202 [C99-based-standards] (SCNd32): Likewise.
36203 [C99-based-standards] (SCNi32): Likewise.
36204 [C99-based-standards] (SCNo32): Likewise.
36205 [C99-based-standards] (SCNu32): Likewise.
36206 [C99-based-standards] (SCNx32): Likewise.
36207 [C99-based-standards] (PRIdLEAST32): Likewise.
36208 [C99-based-standards] (PRIiLEAST32): Likewise.
36209 [C99-based-standards] (PRIoLEAST32): Likewise.
36210 [C99-based-standards] (PRIuLEAST32): Likewise.
36211 [C99-based-standards] (PRIxLEAST32): Likewise.
36212 [C99-based-standards] (PRIXLEAST32): Likewise.
36213 [C99-based-standards] (SCNdLEAST32): Likewise.
36214 [C99-based-standards] (SCNiLEAST32): Likewise.
36215 [C99-based-standards] (SCNoLEAST32): Likewise.
36216 [C99-based-standards] (SCNuLEAST32): Likewise.
36217 [C99-based-standards] (SCNxLEAST32): Likewise.
36218 [C99-based-standards] (PRIdFAST32): Likewise.
36219 [C99-based-standards] (PRIiFAST32): Likewise.
36220 [C99-based-standards] (PRIoFAST32): Likewise.
36221 [C99-based-standards] (PRIuFAST32): Likewise.
36222 [C99-based-standards] (PRIxFAST32): Likewise.
36223 [C99-based-standards] (PRIXFAST32): Likewise.
36224 [C99-based-standards] (SCNdFAST32): Likewise.
36225 [C99-based-standards] (SCNiFAST32): Likewise.
36226 [C99-based-standards] (SCNoFAST32): Likewise.
36227 [C99-based-standards] (SCNuFAST32): Likewise.
36228 [C99-based-standards] (SCNxFAST32): Likewise.
36229 [C99-based-standards] (PRId64): Likewise.
36230 [C99-based-standards] (PRIi64): Likewise.
36231 [C99-based-standards] (PRIo64): Likewise.
36232 [C99-based-standards] (PRIu64): Likewise.
36233 [C99-based-standards] (PRIx64): Likewise.
36234 [C99-based-standards] (PRIX64): Likewise.
36235 [C99-based-standards] (SCNd64): Likewise.
36236 [C99-based-standards] (SCNi64): Likewise.
36237 [C99-based-standards] (SCNo64): Likewise.
36238 [C99-based-standards] (SCNu64): Likewise.
36239 [C99-based-standards] (SCNx64): Likewise.
36240 [C99-based-standards] (PRIdLEAST64): Likewise.
36241 [C99-based-standards] (PRIiLEAST64): Likewise.
36242 [C99-based-standards] (PRIoLEAST64): Likewise.
36243 [C99-based-standards] (PRIuLEAST64): Likewise.
36244 [C99-based-standards] (PRIxLEAST64): Likewise.
36245 [C99-based-standards] (PRIXLEAST64): Likewise.
36246 [C99-based-standards] (SCNdLEAST64): Likewise.
36247 [C99-based-standards] (SCNiLEAST64): Likewise.
36248 [C99-based-standards] (SCNoLEAST64): Likewise.
36249 [C99-based-standards] (SCNuLEAST64): Likewise.
36250 [C99-based-standards] (SCNxLEAST64): Likewise.
36251 [C99-based-standards] (PRIdFAST64): Likewise.
36252 [C99-based-standards] (PRIiFAST64): Likewise.
36253 [C99-based-standards] (PRIoFAST64): Likewise.
36254 [C99-based-standards] (PRIuFAST64): Likewise.
36255 [C99-based-standards] (PRIxFAST64): Likewise.
36256 [C99-based-standards] (PRIXFAST64): Likewise.
36257 [C99-based-standards] (SCNdFAST64): Likewise.
36258 [C99-based-standards] (SCNiFAST64): Likewise.
36259 [C99-based-standards] (SCNoFAST64): Likewise.
36260 [C99-based-standards] (SCNuFAST64): Likewise.
36261 [C99-based-standards] (SCNxFAST64): Likewise.
36262 [C99-based-standards] (PRIdMAX): Likewise.
36263 [C99-based-standards] (PRIiMAX): Likewise.
36264 [C99-based-standards] (PRIoMAX): Likewise.
36265 [C99-based-standards] (PRIuMAX): Likewise.
36266 [C99-based-standards] (PRIxMAX): Likewise.
36267 [C99-based-standards] (PRIXMAX): Likewise.
36268 [C99-based-standards] (SCNdMAX): Likewise.
36269 [C99-based-standards] (SCNiMAX): Likewise.
36270 [C99-based-standards] (SCNoMAX): Likewise.
36271 [C99-based-standards] (SCNuMAX): Likewise.
36272 [C99-based-standards] (SCNxMAX): Likewise.
36273 [C99-based-standards] (PRIdPTR): Likewise.
36274 [C99-based-standards] (PRIiPTR): Likewise.
36275 [C99-based-standards] (PRIoPTR): Likewise.
36276 [C99-based-standards] (PRIuPTR): Likewise.
36277 [C99-based-standards] (PRIxPTR): Likewise.
36278 [C99-based-standards] (PRIXPTR): Likewise.
36279 [C99-based-standards] (SCNdPTR): Likewise.
36280 [C99-based-standards] (SCNiPTR): Likewise.
36281 [C99-based-standards] (SCNoPTR): Likewise.
36282 [C99-based-standards] (SCNuPTR): Likewise.
36283 [C99-based-standards] (SCNxPTR): Likewise.
36284 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36285 allow.
36286 * conform/data/stdint.h-data: Update comments to clarify
36287 requirements.
36288 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36289 type.
36290 [C99-based standards] (INT8_MAX): Likewise.
36291 [C99-based standards] (INT16_MIN): Likewise.
36292 [C99-based standards] (INT16_MAX): Likewise.
36293 [C99-based standards] (INT32_MIN): Likewise.
36294 [C99-based standards] (INT32_MAX): Likewise.
36295 [C99-based standards] (INT64_MIN): Likewise.
36296 [C99-based standards] (INT64_MAX): Likewise.
36297 [C99-based standards] (UINT8_MAX): Likewise.
36298 [C99-based standards] (UINT16_MAX): Likewise.
36299 [C99-based standards] (UINT32_MAX): Likewise.
36300 [C99-based standards] (UINT64_MAX): Likewise.
36301 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36302 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36303 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36304 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36305 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36306 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36307 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36308 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36309 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36310 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36311 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36312 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36313 [C99-based standards] (INT_FAST8_MIN): Likewise.
36314 [C99-based standards] (INT_FAST8_MAX): Likewise.
36315 [C99-based standards] (INT_FAST16_MIN): Likewise.
36316 [C99-based standards] (INT_FAST16_MAX): Likewise.
36317 [C99-based standards] (INT_FAST32_MIN): Likewise.
36318 [C99-based standards] (INT_FAST32_MAX): Likewise.
36319 [C99-based standards] (INT_FAST64_MIN): Likewise.
36320 [C99-based standards] (INT_FAST64_MAX): Likewise.
36321 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36322 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36323 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36324 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36325 [C99-based standards] (INTPTR_MIN): Likewise.
36326 [C99-based standards] (INTPTR_MAX): Likewise.
36327 [C99-based standards] (UINTPTR_MAX): Likewise.
36328 [C99-based standards] (INTMAX_MIN): Likewise.
36329 [C99-based standards] (INTMAX_MAX): Likewise.
36330 [C99-based standards] (UINTMAX_MAX): Likewise.
36331 [C99-based standards] (PTRDIFF_MIN): Likewise.
36332 [C99-based standards] (PTRDIFF_MAX): Likewise.
36333 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36334 [C99-based standards] (SIZE_MAX): Likewise.
36335 [C99-based standards] (WCHAR_MAX): Likewise.
36336 [C99-based standards] (WINT_MAX): Likewise.
36337 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36338 constraint on value.
36339 [C99-based standards] (WCHAR_MIN): Likewise.
36340 [C99-based standards] (WINT_MIN): Likewise.
36341 [C99-based standards] (*_t): Allow.
36342 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36343 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36344 Include math.h-data and complex.h-data. Remove all expectations
36345 of math.h and complex.h contents.
36346 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36347 at end of line.
36348 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36349 (struct tm): Expect tag.
36350 [C99-based-standards] (wcstof): Expect function.
36351 [C99-based-standards] (wcstold): Likewise.
36352 [C99-based-standards] (wcstoll): Likewise.
36353 [C99-based-standards] (wcstoull): Likewise.
36354 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36355 macro-int-constant. Specify type.
36356 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36357 constraint on value.
36358 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36359 Specify type.
36360 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36361 Specify value.
36362 [ISO C standards]: Do not allow headers.
36363 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36364 wcs[abcdefghijklmnopqrstuvwxyz]*.
36365 [ISO C standards] (*_t): Do not allow.
36366 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36367 Expect function.
36368 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36369 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36370 Specify type.
36371 [ISO C standards]: Do not allow headers.
36372 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36373 is[abcdefghijklmnopqrstuvwxyz]*.
36374 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36375 to[abcdefghijklmnopqrstuvwxyz]*.
36376 [ISO C standards] (*_t): Do not allow.
36377 * conform/data/stdalign.h-data: New file.
36378 * conform/data/stdbool.h-data: Likewise.
36379 * conform/data/stdnoreturn.h-data: Likewise.
36380
7514feb8
RM
363812012-11-07 Roland McGrath <roland@hack.frob.com>
36382
36383 [BZ #14815]
36384 * manual/filesys.texi (Directory Entries): Typo fix.
36385 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36386
19b2ecfc
MS
363872012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36388
36389 * elf/elf.h (EM_AARCH64): New macro.
36390 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36391 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36392 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36393 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36394 (R_AARCH64_TLSDESC): Likewise.
36395 (NT_ARM_TLS): Likewise.
36396 (NT_ARM_HW_BREAK): Likewise.
36397 (NT_ARM_HW_WATCH): Likewise.
36398
60e235ee
JM
363992012-11-07 Joseph Myers <joseph@codesourcery.com>
36400
36401 [BZ #14811]
36402 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36403 (__ieee754_powl): Saturate nonzero exponents with absolute value
36404 below 0x1p-79 to +/- 0x1p-79.
36405 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36406 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36407 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36408 nonzero exponents with absolute value below 0x1p-32 to +/-
36409 0x1p-32.
36410 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36411 (__ieee754_powl): Saturate nonzero exponents with absolute value
36412 below 0x1p-79 to +/- 0x1p-79.
36413 * math/libm-test.inc (pow_test): Add more tests.
36414
0ab234b7
AK
364152012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36416
36417 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36418 _dl_s390_cap_flags with kernel. Increase string length.
36419 (_dl_s390_platforms): Add z196 and zEC12.
36420
45832f74
JM
364212012-11-07 Joseph Myers <joseph@codesourcery.com>
36422
36423 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36424 Change XOPEN21K to XOPEN2K.
36425
19218757
MK
364262012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36427
36428 * string/memmove.c: Use memcpy when possible.
36429
c5f45721
AJ
364302012-11-06 Andreas Jaeger <aj@suse.de>
36431
36432 * po/eo.po: Update from translation team.
36433
82477c28
JM
364342012-11-06 Joseph Myers <joseph@codesourcery.com>
36435
36436 [BZ #14793]
36437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36438 exponent and small x and y exponents, scale x or y up. Increase
36439 by 2 the exponent used in scaling up.
36440 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36441 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36442 * math/libm-test.inc (fma_test): Add more tests.
36443 (fma_test_towardzero): Likewise.
36444 (fma_test_downward): Likewise.
36445 (fma_test_upward): Likewise.
36446
99252c8c
JM
364472012-11-05 Joseph Myers <joseph@codesourcery.com>
36448
acfa885f
JM
36449 [BZ #14805]
36450 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36451 fenv_t *.
36452
99252c8c
JM
36453 [BZ #14801]
36454 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36455 namespace for names of struct fields.
36456 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36457 fenv_t fields.
36458 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36459 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36460
d6d98dea
ST
364612012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36462
36463 [BZ #3665]
36464 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36465
e10bb107
TS
364662012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36467
36468 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36469 PTR_DEMANGLE.
36470
36471 [BZ #5246]
36472 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36473 PTR_DEMANGLE.
36474
a0c2940d
JM
364752012-11-04 Joseph Myers <joseph@codesourcery.com>
36476
36477 [BZ #14797]
36478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36479 definitely overflow as x * y not x * y + z.
36480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36481 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36482 * math/libm-test.inc (fma_test): Add more tests.
36483 (fma_test_towardzero): Likewise.
36484 (fma_test_downward): Likewise.
36485 (fma_test_upward): Likewise.
36486
b830319d
TS
364872012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36488
36489 [BZ #157]
36490
36491 * include/stub-tag.h: Remove file.
36492 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36493 '#include' of it.
36494 * manual/maint.texi (Porting): Don't reference it.
36495 * Makerules ($(objpfx)stubs): Likewise.
36496 * dirent/closedir.c: Don't include <stub-tag.h>.
36497 * dirent/dirfd.c: Likewise.
36498 * dirent/fdopendir.c: Likewise.
36499 * dirent/getdents.c: Likewise.
36500 * dirent/getdents64.c: Likewise.
36501 * dirent/opendir.c: Likewise.
36502 * dirent/readdir.c: Likewise.
36503 * dirent/readdir64.c: Likewise.
36504 * dirent/readdir64_r.c: Likewise.
36505 * dirent/readdir_r.c: Likewise.
36506 * dirent/rewinddir.c: Likewise.
36507 * dirent/seekdir.c: Likewise.
36508 * dirent/telldir.c: Likewise.
36509 * gmon/profil.c: Likewise.
36510 * grp/setgroups.c: Likewise.
36511 * inet/if_index.c: Likewise.
36512 * io/access.c: Likewise.
36513 * io/chdir.c: Likewise.
36514 * io/chmod.c: Likewise.
36515 * io/chown.c: Likewise.
36516 * io/close.c: Likewise.
36517 * io/dup.c: Likewise.
36518 * io/dup2.c: Likewise.
36519 * io/dup3.c: Likewise.
36520 * io/euidaccess.c: Likewise.
36521 * io/faccessat.c: Likewise.
36522 * io/fchdir.c: Likewise.
36523 * io/fchmod.c: Likewise.
36524 * io/fchmodat.c: Likewise.
36525 * io/fchown.c: Likewise.
36526 * io/fchownat.c: Likewise.
36527 * io/fcntl.c: Likewise.
36528 * io/flock.c: Likewise.
36529 * io/fstatfs.c: Likewise.
36530 * io/fstatfs64.c: Likewise.
36531 * io/fstatvfs.c: Likewise.
36532 * io/fstatvfs64.c: Likewise.
36533 * io/futimens.c: Likewise.
36534 * io/fxstat.c: Likewise.
36535 * io/fxstat64.c: Likewise.
36536 * io/fxstatat.c: Likewise.
36537 * io/fxstatat64.c: Likewise.
36538 * io/getcwd.c: Likewise.
36539 * io/isatty.c: Likewise.
36540 * io/lchmod.c: Likewise.
36541 * io/lchown.c: Likewise.
36542 * io/link.c: Likewise.
36543 * io/linkat.c: Likewise.
36544 * io/lseek.c: Likewise.
36545 * io/lseek64.c: Likewise.
36546 * io/lxstat64.c: Likewise.
36547 * io/mkdir.c: Likewise.
36548 * io/mkdirat.c: Likewise.
36549 * io/mkfifo.c: Likewise.
36550 * io/mkfifoat.c: Likewise.
36551 * io/open.c: Likewise.
36552 * io/open64.c: Likewise.
36553 * io/openat.c: Likewise.
36554 * io/openat64.c: Likewise.
36555 * io/pipe.c: Likewise.
36556 * io/pipe2.c: Likewise.
36557 * io/poll.c: Likewise.
36558 * io/posix_fadvise.c: Likewise.
36559 * io/posix_fadvise64.c: Likewise.
36560 * io/posix_fallocate.c: Likewise.
36561 * io/posix_fallocate64.c: Likewise.
36562 * io/read.c: Likewise.
36563 * io/readlink.c: Likewise.
36564 * io/readlinkat.c: Likewise.
36565 * io/rmdir.c: Likewise.
36566 * io/sendfile.c: Likewise.
36567 * io/sendfile64.c: Likewise.
36568 * io/statfs.c: Likewise.
36569 * io/statfs64.c: Likewise.
36570 * io/statvfs.c: Likewise.
36571 * io/statvfs64.c: Likewise.
36572 * io/symlink.c: Likewise.
36573 * io/symlinkat.c: Likewise.
36574 * io/ttyname.c: Likewise.
36575 * io/ttyname_r.c: Likewise.
36576 * io/umask.c: Likewise.
36577 * io/unlink.c: Likewise.
36578 * io/unlinkat.c: Likewise.
36579 * io/utime.c: Likewise.
36580 * io/utimensat.c: Likewise.
36581 * io/write.c: Likewise.
36582 * io/xmknod.c: Likewise.
36583 * io/xmknodat.c: Likewise.
36584 * io/xstat.c: Likewise.
36585 * io/xstat64.c: Likewise.
36586 * login/getpt.c: Likewise.
36587 * login/grantpt.c: Likewise.
36588 * login/unlockpt.c: Likewise.
36589 * math/e_acoshl.c: Likewise.
36590 * math/e_acosl.c: Likewise.
36591 * math/e_asinl.c: Likewise.
36592 * math/e_atan2l.c: Likewise.
36593 * math/e_atanhl.c: Likewise.
36594 * math/e_coshl.c: Likewise.
36595 * math/e_expl.c: Likewise.
36596 * math/e_fmodl.c: Likewise.
36597 * math/e_gammal_r.c: Likewise.
36598 * math/e_hypotl.c: Likewise.
36599 * math/e_j0l.c: Likewise.
36600 * math/e_j1l.c: Likewise.
36601 * math/e_jnl.c: Likewise.
36602 * math/e_lgammal_r.c: Likewise.
36603 * math/e_log10l.c: Likewise.
36604 * math/e_log2l.c: Likewise.
36605 * math/e_logl.c: Likewise.
36606 * math/e_powl.c: Likewise.
36607 * math/e_rem_pio2l.c: Likewise.
36608 * math/e_sinhl.c: Likewise.
36609 * math/e_sqrtl.c: Likewise.
36610 * math/fclrexcpt.c: Likewise.
36611 * math/fedisblxcpt.c: Likewise.
36612 * math/feenablxcpt.c: Likewise.
36613 * math/fegetenv.c: Likewise.
36614 * math/fegetexcept.c: Likewise.
36615 * math/fegetround.c: Likewise.
36616 * math/feholdexcpt.c: Likewise.
36617 * math/fesetenv.c: Likewise.
36618 * math/fesetround.c: Likewise.
36619 * math/feupdateenv.c: Likewise.
36620 * math/fgetexcptflg.c: Likewise.
36621 * math/fraiseexcpt.c: Likewise.
36622 * math/fsetexcptflg.c: Likewise.
36623 * math/ftestexcept.c: Likewise.
36624 * math/k_cosl.c: Likewise.
36625 * math/k_rem_pio2l.c: Likewise.
36626 * math/k_sinl.c: Likewise.
36627 * math/k_tanl.c: Likewise.
36628 * math/s_asinhl.c: Likewise.
36629 * math/s_atanl.c: Likewise.
36630 * math/s_cbrtl.c: Likewise.
36631 * math/s_erfl.c: Likewise.
36632 * math/s_expm1l.c: Likewise.
36633 * math/s_log1pl.c: Likewise.
36634 * math/s_tanhl.c: Likewise.
36635 * misc/acct.c: Likewise.
36636 * misc/brk.c: Likewise.
36637 * misc/chflags.c: Likewise.
36638 * misc/chroot.c: Likewise.
36639 * misc/fchflags.c: Likewise.
36640 * misc/fgetxattr.c: Likewise.
36641 * misc/flistxattr.c: Likewise.
36642 * misc/fremovexattr.c: Likewise.
36643 * misc/fsetxattr.c: Likewise.
36644 * misc/fsync.c: Likewise.
36645 * misc/ftruncate.c: Likewise.
36646 * misc/futimes.c: Likewise.
36647 * misc/futimesat.c: Likewise.
36648 * misc/getdomain.c: Likewise.
36649 * misc/getdtsz.c: Likewise.
36650 * misc/gethostid.c: Likewise.
36651 * misc/gethostname.c: Likewise.
36652 * misc/getloadavg.c: Likewise.
36653 * misc/getpagesize.c: Likewise.
36654 * misc/getsysstats.c: Likewise.
36655 * misc/getxattr.c: Likewise.
36656 * misc/gtty.c: Likewise.
36657 * misc/ioctl.c: Likewise.
36658 * misc/lgetxattr.c: Likewise.
36659 * misc/listxattr.c: Likewise.
36660 * misc/llistxattr.c: Likewise.
36661 * misc/lremovexattr.c: Likewise.
36662 * misc/lsetxattr.c: Likewise.
36663 * misc/lutimes.c: Likewise.
36664 * misc/madvise.c: Likewise.
36665 * misc/mincore.c: Likewise.
36666 * misc/mlock.c: Likewise.
36667 * misc/mlockall.c: Likewise.
36668 * misc/mmap.c: Likewise.
36669 * misc/mprotect.c: Likewise.
36670 * misc/msync.c: Likewise.
36671 * misc/munlock.c: Likewise.
36672 * misc/munlockall.c: Likewise.
36673 * misc/munmap.c: Likewise.
36674 * misc/preadv.c: Likewise.
36675 * misc/preadv64.c: Likewise.
36676 * misc/ptrace.c: Likewise.
36677 * misc/pwritev.c: Likewise.
36678 * misc/pwritev64.c: Likewise.
36679 * misc/readv.c: Likewise.
36680 * misc/reboot.c: Likewise.
36681 * misc/remap_file_pages.c: Likewise.
36682 * misc/removexattr.c: Likewise.
36683 * misc/revoke.c: Likewise.
36684 * misc/select.c: Likewise.
36685 * misc/setdomain.c: Likewise.
36686 * misc/setegid.c: Likewise.
36687 * misc/seteuid.c: Likewise.
36688 * misc/sethostid.c: Likewise.
36689 * misc/sethostname.c: Likewise.
36690 * misc/setregid.c: Likewise.
36691 * misc/setreuid.c: Likewise.
36692 * misc/setxattr.c: Likewise.
36693 * misc/sstk.c: Likewise.
36694 * misc/stty.c: Likewise.
36695 * misc/swapoff.c: Likewise.
36696 * misc/swapon.c: Likewise.
36697 * misc/sync.c: Likewise.
36698 * misc/syncfs.c: Likewise.
36699 * misc/syscall.c: Likewise.
36700 * misc/truncate.c: Likewise.
36701 * misc/ualarm.c: Likewise.
36702 * misc/usleep.c: Likewise.
36703 * misc/ustat.c: Likewise.
36704 * misc/utimes.c: Likewise.
36705 * misc/vhangup.c: Likewise.
36706 * misc/writev.c: Likewise.
36707 * posix/_exit.c: Likewise.
36708 * posix/alarm.c: Likewise.
36709 * posix/execve.c: Likewise.
36710 * posix/fexecve.c: Likewise.
36711 * posix/fork.c: Likewise.
36712 * posix/fpathconf.c: Likewise.
36713 * posix/getaddrinfo.c: Likewise.
36714 * posix/getegid.c: Likewise.
36715 * posix/geteuid.c: Likewise.
36716 * posix/getgid.c: Likewise.
36717 * posix/getgroups.c: Likewise.
36718 * posix/getlogin.c: Likewise.
36719 * posix/getlogin_r.c: Likewise.
36720 * posix/getpgid.c: Likewise.
36721 * posix/getpid.c: Likewise.
36722 * posix/getppid.c: Likewise.
36723 * posix/getresgid.c: Likewise.
36724 * posix/getresuid.c: Likewise.
36725 * posix/getsid.c: Likewise.
36726 * posix/getuid.c: Likewise.
36727 * posix/glob64.c: Likewise.
36728 * posix/nanosleep.c: Likewise.
36729 * posix/pathconf.c: Likewise.
36730 * posix/pause.c: Likewise.
36731 * posix/posix_madvise.c: Likewise.
36732 * posix/pread.c: Likewise.
36733 * posix/pread64.c: Likewise.
36734 * posix/pwrite.c: Likewise.
36735 * posix/pwrite64.c: Likewise.
36736 * posix/sched_getaffinity.c: Likewise.
36737 * posix/sched_getp.c: Likewise.
36738 * posix/sched_gets.c: Likewise.
36739 * posix/sched_primax.c: Likewise.
36740 * posix/sched_primin.c: Likewise.
36741 * posix/sched_rr_gi.c: Likewise.
36742 * posix/sched_setaffinity.c: Likewise.
36743 * posix/sched_setp.c: Likewise.
36744 * posix/sched_sets.c: Likewise.
36745 * posix/sched_yield.c: Likewise.
36746 * posix/setgid.c: Likewise.
36747 * posix/setlogin.c: Likewise.
36748 * posix/setpgid.c: Likewise.
36749 * posix/setresgid.c: Likewise.
36750 * posix/setresuid.c: Likewise.
36751 * posix/setsid.c: Likewise.
36752 * posix/setuid.c: Likewise.
36753 * posix/sleep.c: Likewise.
36754 * posix/spawni.c: Likewise.
36755 * posix/sysconf.c: Likewise.
36756 * posix/times.c: Likewise.
36757 * posix/wait.c: Likewise.
36758 * posix/wait3.c: Likewise.
36759 * posix/wait4.c: Likewise.
36760 * posix/waitpid.c: Likewise.
36761 * resolv/gai_sigqueue.c: Likewise.
36762 * resource/getpriority.c: Likewise.
36763 * resource/getrlimit.c: Likewise.
36764 * resource/getrusage.c: Likewise.
36765 * resource/nice.c: Likewise.
36766 * resource/setpriority.c: Likewise.
36767 * resource/setrlimit.c: Likewise.
36768 * resource/ulimit.c: Likewise.
36769 * rt/aio_cancel.c: Likewise.
36770 * rt/aio_fsync.c: Likewise.
36771 * rt/aio_read.c: Likewise.
36772 * rt/aio_sigqueue.c: Likewise.
36773 * rt/aio_suspend.c: Likewise.
36774 * rt/aio_write.c: Likewise.
36775 * rt/clock_getres.c: Likewise.
36776 * rt/clock_gettime.c: Likewise.
36777 * rt/clock_nanosleep.c: Likewise.
36778 * rt/clock_settime.c: Likewise.
36779 * rt/lio_listio.c: Likewise.
36780 * rt/mq_close.c: Likewise.
36781 * rt/mq_getattr.c: Likewise.
36782 * rt/mq_notify.c: Likewise.
36783 * rt/mq_open.c: Likewise.
36784 * rt/mq_receive.c: Likewise.
36785 * rt/mq_send.c: Likewise.
36786 * rt/mq_setattr.c: Likewise.
36787 * rt/mq_timedreceive.c: Likewise.
36788 * rt/mq_timedsend.c: Likewise.
36789 * rt/mq_unlink.c: Likewise.
36790 * rt/shm_open.c: Likewise.
36791 * rt/shm_unlink.c: Likewise.
36792 * rt/timer_create.c: Likewise.
36793 * rt/timer_delete.c: Likewise.
36794 * rt/timer_getoverr.c: Likewise.
36795 * rt/timer_gettime.c: Likewise.
36796 * rt/timer_settime.c: Likewise.
36797 * setjmp/__longjmp.c: Likewise.
36798 * setjmp/setjmp.c: Likewise.
36799 * signal/kill.c: Likewise.
36800 * signal/killpg.c: Likewise.
36801 * signal/raise.c: Likewise.
36802 * signal/sigaction.c: Likewise.
36803 * signal/sigaltstack.c: Likewise.
36804 * signal/sigblock.c: Likewise.
36805 * signal/sigignore.c: Likewise.
36806 * signal/sigintr.c: Likewise.
36807 * signal/signal.c: Likewise.
36808 * signal/sigpause.c: Likewise.
36809 * signal/sigpending.c: Likewise.
36810 * signal/sigqueue.c: Likewise.
36811 * signal/sigreturn.c: Likewise.
36812 * signal/sigset.c: Likewise.
36813 * signal/sigsetmask.c: Likewise.
36814 * signal/sigstack.c: Likewise.
36815 * signal/sigsuspend.c: Likewise.
36816 * signal/sigtimedwait.c: Likewise.
36817 * signal/sigvec.c: Likewise.
36818 * signal/sigwait.c: Likewise.
36819 * signal/sigwaitinfo.c: Likewise.
36820 * signal/sysv_signal.c: Likewise.
36821 * socket/accept.c: Likewise.
36822 * socket/accept4.c: Likewise.
36823 * socket/bind.c: Likewise.
36824 * socket/connect.c: Likewise.
36825 * socket/getpeername.c: Likewise.
36826 * socket/getsockname.c: Likewise.
36827 * socket/getsockopt.c: Likewise.
36828 * socket/isfdtype.c: Likewise.
36829 * socket/listen.c: Likewise.
36830 * socket/recv.c: Likewise.
36831 * socket/recvfrom.c: Likewise.
36832 * socket/recvmsg.c: Likewise.
36833 * socket/send.c: Likewise.
36834 * socket/sendmsg.c: Likewise.
36835 * socket/sendto.c: Likewise.
36836 * socket/setsockopt.c: Likewise.
36837 * socket/shutdown.c: Likewise.
36838 * socket/sockatmark.c: Likewise.
36839 * socket/socket.c: Likewise.
36840 * socket/socketpair.c: Likewise.
36841 * stdio-common/ctermid.c: Likewise.
36842 * stdio-common/cuserid.c: Likewise.
36843 * stdio-common/remove.c: Likewise.
36844 * stdio-common/rename.c: Likewise.
36845 * stdio-common/renameat.c: Likewise.
36846 * stdio-common/tempname.c: Likewise.
36847 * stdlib/getcontext.c: Likewise.
36848 * stdlib/makecontext.c: Likewise.
36849 * stdlib/setcontext.c: Likewise.
36850 * stdlib/swapcontext.c: Likewise.
36851 * stdlib/system.c: Likewise.
36852 * streams/fattach.c: Likewise.
36853 * streams/fdetach.c: Likewise.
36854 * streams/getmsg.c: Likewise.
36855 * streams/getpmsg.c: Likewise.
36856 * streams/putmsg.c: Likewise.
36857 * streams/putpmsg.c: Likewise.
36858 * sysdeps/unix/bsd/getpt.c: Likewise.
36859 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36860 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36861 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36863 Likewise.
36864 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36865 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36866 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36867 * sysvipc/msgctl.c: Likewise.
36868 * sysvipc/msgget.c: Likewise.
36869 * sysvipc/msgrcv.c: Likewise.
36870 * sysvipc/msgsnd.c: Likewise.
36871 * sysvipc/semctl.c: Likewise.
36872 * sysvipc/semget.c: Likewise.
36873 * sysvipc/semop.c: Likewise.
36874 * sysvipc/semtimedop.c: Likewise.
36875 * sysvipc/shmat.c: Likewise.
36876 * sysvipc/shmctl.c: Likewise.
36877 * sysvipc/shmdt.c: Likewise.
36878 * sysvipc/shmget.c: Likewise.
36879 * termios/tcdrain.c: Likewise.
36880 * termios/tcflow.c: Likewise.
36881 * termios/tcflush.c: Likewise.
36882 * termios/tcgetattr.c: Likewise.
36883 * termios/tcgetpgrp.c: Likewise.
36884 * termios/tcsendbrk.c: Likewise.
36885 * termios/tcsetattr.c: Likewise.
36886 * termios/tcsetpgrp.c: Likewise.
36887 * time/adjtime.c: Likewise.
36888 * time/clock.c: Likewise.
36889 * time/getitimer.c: Likewise.
36890 * time/gettimeofday.c: Likewise.
36891 * time/setitimer.c: Likewise.
36892 * time/settimeofday.c: Likewise.
36893 * time/stime.c: Likewise.
36894 * time/time.c: Likewise.
36895
368962012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36897
a20492cf
PT
36898 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36899 /usr/old/bin.
36900
72e182e3
PT
36901 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36902 instead of spaces.
36903 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36904
fbeafede
JM
369052012-11-03 Joseph Myers <joseph@codesourcery.com>
36906
5b5b04d6
JM
36907 [BZ #14796]
36908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36909 FE_TONEAREST before applying Dekker multiplication and Knuth
36910 addition. Clear inexact exceptions and check for exact zero
36911 results afterwards.
36912 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36913 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36914 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36915 * math/libm-test.inc (fma_test): Add more tests.
36916 (fma_test_towardzero): Likewise.
36917 (fma_test_downward): Likewise.
36918 (fma_test_upward): Likewise.
36919 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36920 function.
36921 (libc_fesetround): New macro.
36922 (libc_fesetroundf): Likewise.
36923 (libc_fesetroundl): Likewise.
36924 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36925 function.
36926 (libc_fesetround_387): Likewise.
36927 (libc_fesetroundf): New macro.
36928 (libc_fesetround): Likewise.
36929 (libc_fesetroundl): Likewise.
36930 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36931 function.
36932 (libc_fesetroundf): New macro.
36933 (libc_fesetround): Likewise.
36934 (libc_fesetroundl): Likewise.
36935 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36936 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36937 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36938 libm_hidden_ver.
36939 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36940 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36941 libm_hidden_def.
36942 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36943 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36944 libm_hidden_ver.
36945 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36946 libm_hidden_def.
36947
fbeafede
JM
36948 [BZ #3439]
36949 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36950 integer constant usable in #if and use that to give value to enum
36951 constant.
36952 (FE_DIVBYZERO): Likewise.
36953 (FE_UNDERFLOW): Likewise.
36954 (FE_OVERFLOW): Likewise.
36955 (FE_INVALID): Likewise.
36956 (FE_INVALID_SNAN): Likewise.
36957 (FE_INVALID_ISI): Likewise.
36958 (FE_INVALID_IDI): Likewise.
36959 (FE_INVALID_ZDZ): Likewise.
36960 (FE_INVALID_IMZ): Likewise.
36961 (FE_INVALID_COMPARE): Likewise.
36962 (FE_INVALID_SOFTWARE): Likewise.
36963 (FE_INVALID_SQRT): Likewise.
36964 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36965 (FE_TONEAREST): Likewise.
36966 (FE_TOWARDZERO): Likewise.
36967 (FE_UPWARD): Likewise.
36968 (FE_DOWNWARD): Likewise.
36969 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36970 (FE_DIVBYZERO): Likewise.
36971 (FE_OVERFLOW): Likewise.
36972 (FE_UNDERFLOW): Likewise.
36973 (FE_INEXACT): Likewise.
36974 (FE_TONEAREST): Likewise.
36975 (FE_DOWNWARD): Likewise.
36976 (FE_UPWARD): Likewise.
36977 (FE_TOWARDZERO): Likewise.
36978 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36979 (FE_UNDERFLOW): Likewise.
36980 (FE_OVERFLOW): Likewise.
36981 (FE_DIVBYZERO): Likewise.
36982 (FE_INVALID): Likewise.
36983 (FE_TONEAREST): Likewise.
36984 (FE_TOWARDZERO): Likewise.
36985 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36986 (FE_OVERFLOW): Likewise.
36987 (FE_UNDERFLOW): Likewise.
36988 (FE_DIVBYZERO): Likewise.
36989 (FE_INEXACT): Likewise.
36990 (FE_TONEAREST): Likewise.
36991 (FE_TOWARDZERO): Likewise.
36992 (FE_UPWARD): Likewise.
36993 (FE_DOWNWARD): Likewise.
36994 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36995 (FE_DIVBYZERO): Likewise.
36996 (FE_OVERFLOW): Likewise.
36997 (FE_UNDERFLOW): Likewise.
36998 (FE_INEXACT): Likewise.
36999 (FE_TONEAREST): Likewise.
37000 (FE_DOWNWARD): Likewise.
37001 (FE_UPWARD): Likewise.
37002 (FE_TOWARDZERO): Likewise.
37003
105ca950
CM
370042012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37005
37006 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37007
a542b389
AS
370082012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37009
37010 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37011 commands. Quote $PWD.
37012 (blacklist_exports): Don't use remove_newlines. Replace "declare
37013 -x" by "export".
37014 (remove_newlines): Remove.
37015
f62c8abc
L
370162012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37017
37018 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37019 * stdlib/stdlib.h (atof): Moved to ...
37020 * include/bits/stdlib-float.h: Here. New file.
37021 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37022 * stdlib/bits/stdlib-float.h: New file.
37023 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37024 -mno-sse -mno-mmx.
37025 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37026 <xmmintrin.h>.
37027
0155d5b2
JM
370282012-11-02 Joseph Myers <joseph@codesourcery.com>
37029
a68d0680
JM
37030 * conform/conformtest.pl (@headers): Add fenv.h.
37031 * conform/data/fenv.h-data: New file.
37032 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37033 include of <math/fenv.h>.
37034
caf7f573
JM
37035 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37036 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37037 && !UNIX98]. Enables tests for XOPEN2K8.
37038 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37039 POSIX2008]: Likewise.
37040
6c073ad6
JM
37041 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37042 (struct rusage): Do not expect type or its members.
37043
0155d5b2
JM
37044 [BZ #3439]
37045 * math/math.h (FP_NAN): Define macro to integer constant usable in
37046 #if and use that to give value to enum constant.
37047 (FP_INFINITE): Likewise.
37048 (FP_ZERO): Likewise.
37049 (FP_SUBNORMAL): Likewise.
37050 (FP_NORMAL): Likewise.
37051
b5dcacb4
AS
370522012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37053
37054 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37055 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37056 arguments.
37057
f7934be8
RM
370582012-11-02 Roland McGrath <roland@hack.frob.com>
37059
37060 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37061 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37062 autoconf-time if not.
37063 * configure.in: Remove AC_PREREQ.
37064
d7d08bde
TMQMF
370652012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37066
37067 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37068 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37069 of the internal implementation.
37070
dcdae19a
JM
370712012-11-02 Joseph Myers <joseph@codesourcery.com>
37072
37073 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37074 except include of <misc/sys/syslog.h>.
37075
d6cffd3e
AS
370762012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37077
37078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37079 function returns with a NULL context exit with zero.
37080
b3563932
TMQMF
370812012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37082
37083 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37084
b288a93d
L
370852012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37086
37087 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37088 (run_program_cmd): This.
37089 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37090 (tst_langinfo): New variable. Use it.
37091
a2421a68
SAS
370922012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37093
37094 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37095 floating point opcodes.
37096
6f796e1b
TS
370972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37098
7402596b
TS
37099 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37100 variable.
37101
d0d4f868
TS
37102 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37103
6f796e1b
TS
37104 * sysdeps/mach/hurd/powerpc: Remove directory.
37105 * sysdeps/mach/powerpc: Likewise.
37106
4da224a2
AS
371072012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37108
37109 * scripts/check-local-headers.sh: Ignore c++ headers.
37110
341dd673
TS
371112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37112
37113 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37114 __libc_cleanup_region_start argument.
37115
473611b2
JM
371162012-11-01 Joseph Myers <joseph@codesourcery.com>
37117
37118 [BZ #14784]
37119 [BZ #14785]
37120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37121 x * y using scaling, not as x * y + z.
37122 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37123 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37124 * math/libm-test.inc (fma_test): Add more tests.
37125 (fma_test_towardzero): Likewise.
37126 (fma_test_downward): Likewise.
37127 (fma_test_upward): Likewise.
37128
4078da3d
TS
371292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37130
37131 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37132
903252aa
JM
371332012-10-31 Joseph Myers <joseph@codesourcery.com>
37134
37135 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37136 New variable.
37137
cbc818d0
TS
371382012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37139
37140 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37141
5a03cb1e
AS
371422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37143
37144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37145 Fix sort order.
37146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37147 Likewise.
37148
90aff2ff
TMQMF
371492012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37150
37151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37152 Fix the order of the list for glibc 2.17.
37153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37154 Likewise.
37155
1818fcb7
AS
371562012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37157
37158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37159
ef82f4da
JM
371602012-10-31 Joseph Myers <joseph@codesourcery.com>
37161
16a0e2ec
JM
37162 [BZ #14610]
37163 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37164 for low part of x being zero before using __atanl (y).
37165 * math/libm-test.inc (atan2_test): Add another test.
37166
0eb69512
JM
37167 * manual/install.texi (Configuring and compiling): Document
37168 general use of test-wrapper and test-wrapper-env.
37169 * INSTALL: Regenerated.
37170
ef82f4da
JM
37171 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37172 (__fma): Do not extract and scale down low bits on after-rounding
37173 systems when result rounded to normal precision would have normal
37174 exponent.
37175 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37176 (__fmal): Do not extract and scale down low bits on after-rounding
37177 systems when result rounded to normal precision would have normal
37178 exponent.
37179 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37180 (__fmal): Do not extract and scale down low bits on after-rounding
37181 systems when result rounded to normal precision would have normal
37182 exponent.
37183 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37184 macro.
37185 (fma_test): Add more tests.
37186 (fma_test_towardzero): Likewise.
37187 (fma_test_downward): Likewise.
37188 (fma_test_upward): Likewise.
37189
954ef0d9
L
371902012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37191
37192 * sysdeps/i386/tininess.h: Renamed to ...
37193 * sysdeps/x86/tininess.h: This.
37194 * sysdeps/x86_64/tininess.h: Removed.
37195
df61ffb2
JM
371962012-10-30 Joseph Myers <joseph@codesourcery.com>
37197
37198 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37199 input. Use $(build-program-cmd).
37200 ($(objpfx)tst-array1-static.out): Likewise.
37201 ($(objpfx)tst-array2.out): Likewise.
37202 ($(objpfx)tst-array3.out): Likewise.
37203 ($(objpfx)tst-array4.out): Likewise.
37204 ($(objpfx)tst-array5.out): Likewise.
37205 ($(objpfx)tst-array5-static.out): Likewise.
37206
01767843
CM
372072012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37208
47cc1490
CM
37209 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37210 if defined.
37211
01767843
CM
37212 * nss/nsswitch.h (nss_interface_function): Provide new
37213 macro for use with NSS functions.
37214 * grp/initgroups.c: Use new macro.
37215 * nss/getXXbyYY.c: Likewise.
37216 * nss/getXXbyYY_r.c: Likewise.
37217 * nss/getXXent.c: Likewise.
37218 * nss/getXXent_r.c: Likewise.
37219 * sysdeps/posix/getaddrinfo.c: Likewise.
37220
8321aa97
AJ
372212012-10-30 Andreas Jaeger <aj@suse.de>
37222
37223 * po/ru.po: Update Russion translation from translation project.
37224
2a27fd6d
JM
372252012-10-30 Joseph Myers <joseph@codesourcery.com>
37226
8627a232
JM
37227 [BZ #14152]
37228 [BZ #14783]
37229 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37230 result and shift together with sticky bit instead of replicating
37231 round-to-nearest rounding.
37232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37233 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37234 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37235 missing underflow exceptions.
37236 (fma_test_towardzero): Add more tests.
37237 (fma_test_downward): Likewise.
37238 (fma_test_upward): Likewise.
37239
2a27fd6d
JM
37240 [BZ #14047]
37241 * sysdeps/generic/tininess.h: New file.
37242 * sysdeps/i386/tininess.h: Likewise.
37243 * sysdeps/sh/tininess.h: Likewise.
37244 * sysdeps/x86_64/tininess.h: Likewise.
37245 * stdlib/tst-strtod-underflow.c: Likewise.
37246 * stdlib/tst-tininess.c: Likewise.
37247 * stdlib/strtod_l.c: Include <tininess.h>.
37248 (round_and_return): Do not set errno for exact underflow cases.
37249 Force an underflow exception when setting errno for underflow.
37250 Determine underflow based on rounding to normal precision if
37251 TININESS_AFTER_ROUNDING.
37252 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37253 ERANGE for exact underflow cases.
37254 * stdlib/Makefile (tests): Add tst-tininess and
37255 tst-strtod-underflow.
37256 ($(objpfx)tst-tininess): Use $(link-libm).
37257 ($(objpfx)tst-strtod-underflow): Likewise.
37258
e7170363
AJ
372592012-10-30 Andreas Jaeger <aj@suse.de>
37260
e5088dc6
AJ
37261 [BZ#14767]
37262 * elf/Makefile (tests): Remove conditional for have-initfini-array
37263 since this is now always required and the variable does not exist
37264 anymore.
37265 (tests-static): Likewise.
37266 (modules-names): Likewise.
37267
e7170363 37268 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
37269
37270 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37271 merged with constructor/destructor.
37272 (init_array): Likewise.
37273 * elf/tst-array2dep.c (fini_array): Likewise.
37274 (init_array): Likewise.
37275
60457d8a
MF
372762012-10-29 Mike Frysinger <vapier@gentoo.org>
37277
37278 * manual/message.texi: Delete @cartouche tags.
37279
8bece752
PT
372802012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37281
94ce799f
PT
37282 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37283 EOPNOTSUPP.
37284 * sysdeps/mach/hurd/fsync.c: Likewise.
37285
8bece752
PT
37286 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37287 [_POSIX_REALTIME_SIGNALS]: Change condition to
37288 [_POSIX_REALTIME_SIGNALS > 0].
37289
86ebe6b1
AJ
372902012-10-27 Andreas Jaeger <aj@suse.de>
37291
37292 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37293 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37294 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37295 [__WORDSIZE != 64]: Likewise.
37296
54399c08
L
372972012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37298
37299 * iconvdata/tst-table.sh: Remove ${SHELL}.
37300 * iconvdata/tst-tables.sh: Likewise.
37301
e2211bed
DM
373022012-10-25 David S. Miller <davem@davemloft.net>
37303
37304 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37305 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37306 of strtoull.
37307
f303f97c
DM
37308 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37309 ifunc-impl-list.c
37310 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37311 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37312 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37313 file.
37314
1e9d84cd
RM
373152012-10-25 Roland McGrath <roland@hack.frob.com>
37316
37317 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37318 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37319 __getdirentries.
37320
df381762
JM
373212012-10-25 Joseph Myers <joseph@codesourcery.com>
37322 Jim Blandy <jimb@codesourcery.com>
37323
37324 * scripts/cross-test-ssh.sh: New file.
37325 * manual/install.texi (Configuring and compiling): Document use of
37326 cross-test-ssh.sh.
37327 * INSTALL: Regenerated.
37328
bff64913
PT
373292012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37330
37331 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37332 EOPNOTSUPP.
37333
25fe8932
JM
373342012-10-25 Joseph Myers <joseph@codesourcery.com>
37335
37336 * Makeconfig (run-program-prefix): Fix comment.
37337
cc1290d0
JM
373382012-10-24 Joseph Myers <joseph@codesourcery.com>
37339 Jim Blandy <jimb@codesourcery.com>
37340
37341 * Makeconfig (test-wrapper): New variable,
37342 (test-wrapper-env): Likewise.
37343 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37344 (run-built-tests): Define to yes.
37345 (run-program-prefix): Use $(test-wrapper).
37346 (built-program-cmd): Likewise.
37347 * Rules (make-test-out): Use $(test-wrapper-env) and
37348 $(host-built-program-cmd).
37349 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37350 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37351 tst-pathopt.sh.
37352 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37353 $(test-wrapper-env) to tst-rtld-load-self.sh.
37354 ($(objpfx)order2.out): Use $(test-wrapper).
37355 ($(objpfx)tst-initorder.out): Likewise.
37356 ($(objpfx)tst-initorder2.out): Likewise.
37357 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37358 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37359 (test_wrapper_env): New variable. Use it to run ld.so.
37360 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37361 Use it to run ld.so.
37362 (test_wrapper_env): Likewise.
37363 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37364 $(test-wrapper) to run-iconv-test.sh.
37365 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37366 (ICONV): Use $test_wrapper.
37367 * posix/Makefile ($(objpfx)globtest.out): Pass
37368 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37369 globtest.sh, not $(run-program-prefix).
37370 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37371 (test_wrapper): Likewise.
37372 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37373 set together with run_via_rtld_prefix.
37374 (run_program_prefix): Define in terms of test_wrapper and
37375 run_via_rtld_prefix.
37376
6e6249d0
RM
373772012-10-24 Roland McGrath <roland@hack.frob.com>
37378
37379 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37380 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37381 Targets removed.
37382
37383 [BZ #14743]
37384 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37385 Declare __clock_getres, __clock_gettime, __clock_settime,
37386 __clock_nanosleep, and __clock_getcpuclockid.
37387 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37388 Remove librt_hidden_def (clock_gettime).
37389 * sysdeps/unix/clock_gettime.c: Likewise.
37390 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37391 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37392 * rt/clock_getres.c: Define __clock_getres as an alias.
37393 * sysdeps/posix/clock_getres.c: Likewise.
37394 * rt/clock_settime.c: Define __clock_settime as an alias.
37395 * sysdeps/unix/clock_settime.c: Likewise.
37396 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37397 * sysdeps/unix/clock_nanosleep.c: Likewise.
37398 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37399 * rt/clock-compat.c: New file.
37400 * rt/Makefile (librt-routines): Add clock-compat and move
37401 $(clock-routines) to ...
37402 (routines): ... here, new variable.
37403 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37404 Don't add get_clockfreq here.
37405 * rt/Versions (libc: GLIBC_2.17): New version set.
37406 Add clock_* symbols here.
37407 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37408 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37409 (GLIBC_2.17): Add clock_* symbols.
37410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37412 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37414 Likewise.
37415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37416 Likewise.
37417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37421 * NEWS: Mention the move.
37422
37423 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37424 Use __open, __read, __close rather than their public counterparts.
37425 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37426 (__get_clockfreq_via_cpuinfo): Likewise.
37427 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37428 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37429
37430 * config.h.in (HAVE_IFUNC): New #undef.
37431 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37432 was successful.
37433 * configure: Regenerated.
37434
0cae3f4b
MF
374352012-10-24 Mike Frysinger <vapier@gentoo.org>
37436
37437 * configure.in: Move READELF check to start of file.
37438 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37439 libc_cv_asm_gnu_indirect_function in the process.
37440 * configure: Regenerated.
37441
8175a253
MF
374422012-10-24 Mike Frysinger <vapier@gentoo.org>
37443
37444 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37445 send the output to /dev/null.
37446 (libc_cv_cc_with_libunwind): Likewise.
37447 (libc_cv_as_noexecstack): Likewise.
37448 * configure: Regenerate.
37449
0708a7d1
JM
374502012-10-24 Joseph Myers <joseph@codesourcery.com>
37451
10b40d85
JM
37452 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37453
0708a7d1
JM
37454 * posix/globtest.sh (TMPDIR): Do not set.
37455 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37456 (testout): Likewise.
37457
9fddec1a
AJ
374582012-10-24 Andreas Jaeger <aj@suse.de>
37459
3a8db22f
AJ
37460 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37461 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37462 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37463 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37464 posix_fadvise64, posix_fallocate64.
37465
9fddec1a
AJ
37466 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37467 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37468 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37469 Likewise.
37470 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37471 Likewise.
37472 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37473
37474 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37475 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37476 <bits/fcntl-linux.h>.
37477 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37478
37479 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37480 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37481 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37482 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37483 [__WORDSIZE != 64]: Likewise.
37484
ebfd1bbd
JM
374852012-10-23 Joseph Myers <joseph@codesourcery.com>
37486
03ac099f
JM
37487 * Makeconfig (run-built-tests): New variable.
37488 * Rules [$(cross-compiling) = yes]: Change condition to
37489 [$(run-built-tests) = no].
37490 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37491 to [$(run-built-tests) = yes].
37492 * elf/Makefile [$(cross-compiling) = no]: Likewise
37493 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37494 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37495 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37496 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37497 * io/Makefile [$(cross-compiling) = no]: Likewise.
37498 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37499 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37500 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37501 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37502 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37503 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37504 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37505 * string/Makefile [$(cross-compiling) = no]: Likewise.
37506
ebfd1bbd
JM
37507 * posix/Makefile ($(objpfx)globtest.out): Pass
37508 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37509 $(rtld-installed-name).
37510 * posix/globtest.sh (elf_objpfx): Remove variable.
37511 (rtld_installed_name): Likewise.
37512 (library_path): Likewise.
37513 (run_program_prefix): New variable. Use for running globtest
37514 binary.
37515
166bca24
JB
375162012-10-23 Jim Blandy <jimb@codesourcery.com>
37517 Joseph Myers <joseph@codesourcery.com>
37518
37519 * Makeconfig (host-built-program-cmd): New variable.
37520 * elf/Makefile (tst-stackguard1-ARGS): Use
37521 $(host-built-program-cmd).
37522 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37523 (tst-spawn-ARGS): Likewise.
37524 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37525
88866099
JM
375262012-10-23 Joseph Myers <joseph@codesourcery.com>
37527 Jim Blandy <jimb@codesourcery.com>
37528
37529 * Makeconfig (run-via-rtld-prefix): New variable.
37530 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37531 (built-program-cmd): Likewise.
37532
b4b4c296
AJ
375332012-10-22 Andreas Jaeger <aj@suse.de>
37534
37535 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37536 __O_RSYNC if it exists, otherwise to O_SYNC.
37537
6fb54a22
JB
375382012-10-22 Jim Blandy <jimb@codesourcery.com>
37539 Joseph Myers <joseph@codesourcery.com>
37540
37541 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37542 /dev/null.
37543 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37544 from /dev/null
37545 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37546 /dev/null.
37547
481b90b9
AJ
375482012-10-22 Andreas Jaeger <aj@suse.de>
37549
2a0e2669
AJ
37550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37551 Define always.
37552 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37553
76e38f9a
AJ
37554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37555 bits/fcntl-linux.h.
37556
7cd37b43
AJ
37557 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37558 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37559
481b90b9
AJ
37560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37561 to __O_LARGEFILE.
37562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37563 to __O_LARGEFILE.
37564
aba75984
JB
375652012-10-21 Jim Blandy <jimb@codesourcery.com>
37566 Joseph Myers <joseph@codesourcery.com>
37567
37568 * config.make.in (NM): New variable.
37569
88d4247f
AJ
375702012-10-21 Andreas Jaeger <aj@suse.de>
37571
37572 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37573 definitions and declarations that are provided by
37574 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37575
f2eed205
L
375762012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37577
37578 [BZ #14683]
37579 * elf/Makefile (tests-static): Add tst-leaks1-static.
37580 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37581 ($(objpfx)tst-leaks1-static): New rule.
37582 ($(objpfx)tst-leaks1-static-mem): Likewise.
37583 (tst-leaks1-static-ENV): New macro.
37584 * elf/dl-open.c (dl_open_worker): Check the main application
37585 only if SHARED is defined.
37586 * elf/tst-leaks1-static.c: New file.
37587
335e6931
AJ
375882012-10-20 Andreas Jaeger <aj@suse.de>
37589
37590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37591 generic values for Linux.
37592 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37593 and declarations that are provided by <bits/fcntl-linux.h> and
37594 include <bits/fcntl-linux.h>.
37595 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37596 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37597
ac5c94d3
RM
375982012-10-20 Roland McGrath <roland@hack.frob.com>
37599
37600 * io/fcntl.h: Move include of <bits/types.h> to the top and
37601 include it unconditionally.
37602
de54b33a
L
376032012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37604
228cfb01
L
37605 * wcsmbs/Makefile (tests-ifunc): New variable.
37606 (tests): Add $(tests-ifunc).
37607 * wcsmbs/test-wcschr-ifunc.c: New file.
37608 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37609 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37610 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37611 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37612 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37613
69f07e5f
L
37614 * string/Makefile (tests-ifunc): New variable.
37615 (tests): Add $(tests-ifunc).
37616 * string/test-memccpy.c (TEST_NAME): New macro.
37617 * string/test-memchr.c (TEST_NAME): Likewise.
37618 * string/test-memcmp.c (TEST_NAME): Likewise.
37619 * string/test-memcpy.c (TEST_NAME): Likewise.
37620 * string/test-memmem.c (TEST_NAME): Likewise.
37621 * string/test-memmove.c (TEST_NAME): Likewise.
37622 * string/test-memset.c (TEST_NAME): Likewise.
37623 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37624 * string/test-stpcpy.c (TEST_NAME): Likewise.
37625 * string/test-stpncpy.c (TEST_NAME): Likewise.
37626 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37627 * string/test-strcasestr.c (TEST_NAME): Likewise.
37628 * string/test-strcat.c (TEST_NAME): Likewise.
37629 * string/test-strchr.c (TEST_NAME): Likewise.
37630 * string/test-strcmp.c(TEST_NAME): Likewise.
37631 * string/test-strcpy.c (TEST_NAME): Likewise.
37632 * string/test-strcspn.c (TEST_NAME): Likewise.
37633 * string/test-strlen.c (TEST_NAME): Likewise.
37634 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37635 * string/test-strncmp.c (TEST_NAME): Likewise.
37636 * string/test-strncpy.c (TEST_NAME): Likewise.
37637 * string/test-strnlen.c (TEST_NAME): Likewise.
37638 * string/test-strpbrk.c (TEST_NAME): Likewise.
37639 * string/test-strrchr.c (TEST_NAME): Likewise.
37640 * string/test-strspn.c (TEST_NAME): Likewise.
37641 * string/test-strstr.c (TEST_NAME): Likewise.
37642 * string/test-bcopy-ifunc.c: New file.
37643 * string/test-bzero-ifunc.c: Likewise.
37644 * string/test-memccpy-ifunc.c: Likewise.
37645 * string/test-memchr-ifunc.c: Likewise.
37646 * string/test-memcmp-ifunc.c: Likewise.
37647 * string/test-memcpy-ifunc.c: Likewise.
37648 * string/test-memmem-ifunc.c: Likewise.
37649 * string/test-memmove-ifunc.c: Likewise.
37650 * string/test-mempcpy-ifunc.c: Likewise.
37651 * string/test-memset-ifunc.c: Likewise.
37652 * string/test-rawmemchr-ifunc.c: Likewise.
37653 * string/test-stpcpy-ifunc.c: Likewise.
37654 * string/test-stpncpy-ifunc.c: Likewise.
37655 * string/test-strcasecmp-ifunc.c: Likewise.
37656 * string/test-strcasestr-ifunc.c: Likewise.
37657 * string/test-strcat-ifunc.c: Likewise.
37658 * string/test-strchr-ifunc.c: Likewise.
37659 * string/test-strchrnul-ifunc.c: Likewise.
37660 * string/test-strcmp-ifunc.c: Likewise.
37661 * string/test-strcpy-ifunc.c: Likewise.
37662 * string/test-strcspn-ifunc.c: Likewise.
37663 * string/test-strlen-ifunc.c: Likewise.
37664 * string/test-strncasecmp-ifunc.c: Likewise.
37665 * string/test-strncat-ifunc.c: Likewise.
37666 * string/test-strncmp-ifunc.c: Likewise.
37667 * string/test-strncpy-ifunc.c: Likewise.
37668 * string/test-strnlen-ifunc.c: Likewise.
37669 * string/test-strpbrk-ifunc.c: Likewise.
37670 * string/test-strrchr-ifunc.c: Likewise.
37671 * string/test-strspn-ifunc.c: Likewise.
37672 * string/test-strstr-ifunc.c: Likewise.
37673
de54b33a
L
37674 * debug/Makefile (tests-ifunc): New variable.
37675 (tests): Add $(tests-ifunc).
37676 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37677 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37678 * debug/test-stpcpy_chk-ifunc.c: New file.
37679 * debug/test-strcpy_chk-ifunc.c: Likewise.
37680
88481c16
SP
376812012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37682
37683 [BZ #13601]
37684 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37685 header is not read in.
37686
135948bd
JM
376872012-10-19 Joseph Myers <joseph@codesourcery.com>
37688
89f1c388
JM
37689 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37690 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37691 directly. Pass built executable to script as
37692 $(built-program-cmd).
37693 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37694 $testprogram without using LD_LIBRARY_PATH and $ldso.
37695
e40a0d21
JM
37696 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37697 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37698 $(rtld-installed-name).
37699 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37700 (rtld_installed_name): Likewise.
37701 (library_path): Likewise.
37702 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37703 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37704 $(run-program-prefix) to tst-tables.sh.
37705 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37706 it to run tst-table-from and tst-table-to.
37707 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37708 Pass it to tst-table.sh.
37709 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37710 $(run-program-prefix) to tst-gettext.sh.
37711 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37712 tst-translit.sh.
37713 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37714 tst-gettext2.sh.
37715 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37716 to run tst-gettext.
37717 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37718 to run tst-gettext2.
37719 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37720 to run tst-translit.
37721 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37722 $(run-program-prefix) to tst-mtrace.sh.
37723 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37724 to run tst-mtrace.
37725 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37726 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37727 $(rtld-installed-name).
37728 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37729 (rtld_installed_name): Likewise.
37730 (run_program_prefix): New variable. Use it to run wordexp-test.
37731
728e272a
JM
37732 * Makeconfig (ARCH): Remove all definitions.
37733 (machine): Likewise.
37734 [ARCH]: Remove conditional code.
37735 [!objdir]: Give error.
37736 [!objdir] (objpfx): Remove.
37737 [!objdir] (common-objpfx): Likewise.
37738 [!objdir] (common-objdir): Likewise.
37739 * configure.in (config_makefile): Remove. Hardcode Makefile in
37740 AC_CONFIG_FILES call.
37741 * configure: Regenerated.
37742
d528cdcf
JM
37743 [BZ #13888]
37744 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37745 or TMPDIR.
37746 (testout): Likewise.
37747
135948bd
JM
37748 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37749 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37750 $(rtld-installed-name).
37751 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37752 (rtld_installed_name): Likwise.
37753 (runit): Remove function.
37754 (run_getconf): New variable, Use it for running getconf binary.
37755
38c78296
L
377562012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37757
37758 [BZ #14716]
37759 * string/test-memmem.c (check_result): New function.
37760 (do_one_test): Use it.
37761 (check1): New function.
37762 (test_main): Use it.
37763
d077f65f
MT
377642012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37765
37766 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37767
ced52c71
JM
377682012-10-18 Joseph Myers <joseph@codesourcery.com>
37769
37770 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37771 (_G_LSEEK64): Likewise.
37772 (_G_MMAP64): Likewise.
37773 (_G_FSTAT64): Likewise.
37774 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37775 (_G_LSEEK64): Likewise.
37776 (_G_MMAP64): Likewise.
37777 (_G_FSTAT64): Likewise.
37778 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37779 unconditional. Call __mmap64 directly.
37780 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37781 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37782 __lseek64 directly.
37783 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37784 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37785 __mmap64 directly.
37786 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37787 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37788 __lseek64 directly.
37789 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37790 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37791 __lseek64 directly.
37792 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37793 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37794 __lseek64 directly.
37795 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37796 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37797 __fxstat64 directly.
37798 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37799 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37800 unconditional.
37801 (freopen64) [!_G_OPEN64]: Remove conditional code.
37802 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37803 unconditional.
37804 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37805 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37806 unconditional.
37807 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37808 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37809 unconditional.
37810 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37811 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37812 unconditional.
37813 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37814 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37815 unconditional.
37816 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37817 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37818 unconditional.
37819 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37820 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37821 unconditional.
37822 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37823
b741de23
SP
378242012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37825
37826 [BZ #12140]
37827 * manual/memory.texi (Malloc Tunable Parameters): Add note
37828 about free list pointers overwriting some perturb bytes.
37829 Wording suggested by Roland McGrath.
37830
f9b9d9c9
JM
378312012-10-17 Joseph Myers <joseph@codesourcery.com>
37832
37833 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37834 (lgamma_test): Likewise.
37835 (tgamma_test): Likewise.
37836
172a631a
FW
378372012-10-16 Florian Weimer <fweimer@redhat.com>
37838
37839 [BZ #14700]
37840 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37841 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37842
e9f37252
MK
378432012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37844
37845 * NEWS: Mention BZ #14716.
37846 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37847 when removing AVAILABLE1_USES_J macro.
37848
d394eb74
L
378492012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37850
37851 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37852 (__bswap_64): __uint64_t for unsigned 64-bit int.
37853
ca38dc17
AS
378542012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37855
37856 * include/string.h (memmem): Declare libc hidden alias.
37857 * string/memmem.c (memmem): Define libc hidden alias.
37858 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37859 __read, __close instead of open, read, close.
37860
9a387d1f
L
378612012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37862
ac49ecaf
L
37863 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37864 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37865 global and hidden.
37866 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37867 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37868 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37869 Likewise.
37870 (__rawmemchr_sse2): Likewise.
37871 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37872 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37873 (__strchr_sse2): Likewise.
37874 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37875 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37876 (__strcasecmp_sse2): Likewise.
37877 (__strncasecmp_sse2): Likewise.
37878 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37879 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37880 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37881 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37882 (__strrchr_sse2): Likewise.
37883 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37884 ifunc-impl-list.c.
37885 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37886 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37887 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37888 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37889 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37890 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37891 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37892 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37893 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37894 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37895 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37896 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37897 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37898 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37899 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37900 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37901 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37902 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37903 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37904 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37905 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37906 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37907 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37908 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37909 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37910 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37911 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37912 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37913 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37914 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37915
b090e8ea
L
37916 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37917 global and hidden.
37918 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37919 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37920 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37921 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37922 Likewise.
37923 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37924 Likewise.
37925 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37926 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37927 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37928 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37929 ifunc-impl-list.c.
37930 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37931 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37932 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37933 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37934 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37935 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37936 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37937 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37938 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37939 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37940 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37941 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37942 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37943 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37944 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37945 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37946 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37947 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37948 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37949 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37950 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37951 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37952 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37953 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37954 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37955 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37956 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37957 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37958 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37959 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37960 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37961 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37962 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37963 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37964 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37965 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37966 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37967 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37968 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37969 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37970 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37971
11dd4af6
L
37972 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37973 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37974 * include/ifunc-impl-list.h: New file.
37975 * misc/ifunc-impl-list.c: Likewise.
37976 * misc/Makefile (routines): Add ifunc-impl-list.
37977 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37978 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37979 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37980 TEST_NAME]: New variables.
11dd4af6
L
37981 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37982 are defined.
37983 (test_init): Call __libc_ifunc_impl_list to initialize
37984 func_list if TEST_IFUNC and TEST_NAME are defined.
37985
9a387d1f
L
37986 * string/Makefile (strop-tests): Add bcopy and bzero.
37987 * string/test-bcopy.c: New file.
37988 * string/test-bzero.c: Likewise.
37989 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37990 defined.
37991 * string/test-memset.c: Support bzero test if TEST_BZERO is
37992 defined.
37993 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37994 __libc_memmove.
37995 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37996 __libc_memset.
37997 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37998 of memset.
37999
472371b9
JM
380002012-10-10 Joseph Myers <joseph@codesourcery.com>
38001
1e4a9536
JM
38002 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38003 * configure: Regenerated.
38004
d173d12e
JM
38005 * Makeconfig (+link-static-before-libc): Don't include
38006 $(link-static-libc).
38007
472371b9
JM
38008 * libio/libio.h (_IO_pos_t): Remove.
38009
89a3ad0b
AO
380102012-10-10 Alexandre Oliva <aoliva@redhat.com>
38011
38012 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38013 McGrath.
38014
e7451425
AO
380152012-10-10 Alexandre Oliva <aoliva@redhat.com>
38016
38017 * crypt/crypt-entry.c: Include fips-private.h.
38018 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38019 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38020 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38021 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38022
4ba74a35
AO
380232012-10-10 Alexandre Oliva <aoliva@redhat.com>
38024
38025 * crypt/crypt-private.h: Include stdbool.h.
38026 (_ufc_setup_salt_r): Return bool.
38027 * crypt/crypt-entry.c: Include errno.h.
38028 (__crypt_r): Return NULL with EINVAL for bad salt.
38029 * crypt/crypt_util.c (bad_for_salt): New.
38030 (_ufc_setup_salt_r): Check that salt is long enough and within
38031 the specified alphabet.
38032 * crypt/badsalttest.c: New file.
38033 * crypt/Makefile (tests): Add it.
38034 ($(objpfx)badsalttest): New.
38035
f96f1242
MK
380362012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38037
38038 * NEWS: Add entry for BZ #14602.
38039
0e8e0c1c
JM
380402012-10-09 Joseph Myers <joseph@codesourcery.com>
38041
38042 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38043 type-generic.
38044 * math/libm-test.inc: Update comment listing what functions and
38045 macros are tested.
38046 (isgreater_test): New function.
38047 (isgreaterequal_test): Likewise.
38048 (isless_test): Likewise.
38049 (islessequal_test): Likewise.
38050 (islessgreater_test): Likewise.
38051 (isunordered_test): Likewise.
38052 (main): Call the new functions.
38053
273edc5e
RM
380542012-10-09 Roland McGrath <roland@hack.frob.com>
38055
b8493de0
RM
38056 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38057 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38058 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38059 * sysdeps/i386/configure: Regenerated.
38060 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38061 * sysdeps/mach/configure: Regenerated.
38062 * sysdeps/mach/hurd/configure: Regenerated.
38063 * sysdeps/powerpc/configure: Regenerated.
38064 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38065 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38066 * sysdeps/s390/s390-32/configure: Regenerated.
38067 * sysdeps/s390/s390-64/configure: Regenerated.
38068 * sysdeps/sh/configure: Regenerated.
38069 * sysdeps/sparc/configure: Regenerated.
38070 * sysdeps/unix/sysv/linux/configure: Regenerated.
38071 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38072 * sysdeps/x86_64/configure: Regenerated.
38073
273edc5e
RM
38074 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38075 defined. Don't check if MAP is NULL.
38076
c8450f70
JM
380772012-10-09 Joseph Myers <joseph@codesourcery.com>
38078
38079 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38080 (_G_stat64): Likewise.
38081 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38082 (_G_stat64): Likewise.
38083 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38084 instead of struct _G_stat64.
38085 * libio/fileops.c (mmap_remap_check): Likewise.
38086 (decide_maybe_mmap): Likewise.
38087 (_IO_new_file_seekoff): Likewise.
38088 (_IO_file_stat): Likewise.
38089 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38090 _G_off64_t.
38091 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38092 instead of struct _G_stat64.
38093 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38094
57e605ba
MK
380952012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38096
38097 [BZ #14602]
38098 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38099 Replace with ...
38100 (CHECK_EOL): New macro.
38101 (two_way_short_needle): Check beginning of haystack for EOL. Use
38102 CHECK_EOL.
38103 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38104 Replace with CHECK_EOL.
38105 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38106 Replace with CHECK_EOL.
38107
ef1bb361
JM
381082012-10-08 Joseph Myers <joseph@codesourcery.com>
38109
38110 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38111 type-generic.
38112 * math/libm-test.inc: Update comment listing what functions and
38113 macros are tested.
38114 (finite_test): New function.
38115 (isinf_test): Likewise.
38116 (isnan_test): Likewise.
38117 (fpclassify_test): Test subnormal input.
38118 (isfinite_test): Likewise.
38119 (isnormal_test): Likewise.
38120 (main): Call the new functions.
38121
55f11534
JN
381222012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38123
38124 [BZ #14660]
38125 * Makerules (%.dynsym): Force C locale when running
38126 $(OBJDUMP) --dynamic-syms.
38127
1ab29350
AS
381282012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38129
38130 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38131 <stdint.h>.
38132
f1ecb7ef
DM
381332012-10-06 David S. Miller <davem@davemloft.net>
38134
38135 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38136 upper 32-bits of the length value in %o2 since we use branch-on-register
38137 tests which consider the entire 64-bit register.
38138
5d41d91a
L
381392012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38140
38141 * string/test-strstr.c (check2): Add a test for page boundary.
38142
3baddb72
DM
381432012-10-05 David S. Miller <davem@davemloft.net>
38144
38145 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38146 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38147 file.
38148 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38149 sysdep_routines.
38150 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38151 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38152 and bzero when HWCAP_SPARC_CRYPTO is present.
38153
9cee5585
L
381542012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38155
d7e0dab9
L
38156 [BZ #14602]
38157 * string/test-strstr.c (check2): New function.
38158 (test_main): Call check2.
38159
03759f47
L
38160 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38161 and bug-strchr1.
38162 * string/bug-strcasestr1.c (do_test): Moved to ...
38163 * string/test-strcasestr.c (check1): Here. New function.
38164 (do_one_test): Break out result checking code into ...
38165 (check_result): This. New function.
38166 (do_one_test): Call check_result.
38167 (test_main): Call check1.
38168 * string/bug-strchr1.c (do_test): Moved to ...
38169 * string/test-strchr.c (check1): Here. New function.
38170 (do_one_test): Break out result checking code into ...
38171 (check_result): This. New function.
38172 (do_one_test): Call check_result.
38173 (test_main): Call check1.
38174 * string/bug-strstr1.c (main): Moved to ...
046f153e 38175 * string/test-strstr.c (check1): Here. New function.
03759f47
L
38176 (do_one_test): Break out result checking code into ...
38177 (check_result): This. New function.
38178 (do_one_test): Call check_result.
38179 (test_main): Call check1.
38180 * string/bug-strcasestr1.c: Removed.
38181 * string/bug-strchr1.c: Likewise.
38182 * string/bug-strstr1.c: Likewise.
38183
53cea63e
L
38184 * elf/Makefile (dl-routines): Add hwcaps.
38185 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38186 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38187 (_dl_important_hwcaps): Moved to ...
38188 * elf/dl-hwcaps.c: Here. New file.
38189 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38190
9cee5585 38191 [BZ #14557]
bb859b06
L
38192 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38193 if IS_IN_rtld isn't defined.
38194
9cee5585
L
38195 * elf/dl-support.c (_dl_sysinfo_map): New.
38196 Include "get-dynamic-info.h" and "setup-vdso.h".
38197 (_dl_non_dynamic_init): Call setup_vdso.
38198 * elf/dynamic-link.h: Don't include <assert.h>.
38199 (elf_get_dynamic_info): Moved to ...
38200 * elf/get-dynamic-info.h: Here. New file.
38201 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38202 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38203 * elf/setup-vdso.h: Here. New file.
38204 * elf/rtld.c: Include "setup-vdso.h".
38205 (dl_main): Call setup_vdso.
38206
23c31b76
JM
382072012-10-05 Joseph Myers <joseph@codesourcery.com>
38208
28234b07
JM
38209 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38210 creal in comment listing functions tested. List finite, isinf,
38211 isnan, isless, islessequal, isgreater, isgreaterequal,
38212 islessgreater, isunordered, lgamma_r and pow10 as functions and
38213 macros not tested. Mention which functions not tested are aliases
38214 for other functions. Fix typo. Note that signs of NaNs are not
38215 tested.
38216
23c31b76
JM
38217 * scripts/config.guess: Update from config.git.
38218 * scripts/config.sub: Likewise.
38219
9043e228
RM
382202012-10-04 Roland McGrath <roland@hack.frob.com>
38221
38222 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38223 * misc/madvise.c (madvise): Renamed to __madvise.
38224 Make madvise a weak alias.
38225 * include/sys/mman.h: Declare __madvise.
38226 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38227 * sysdeps/unix/syscalls.list
38228 (madvise): Make __madvise the strong name, and madvise a weak alias.
38229 * sysdeps/unix/sysv/linux/syscalls.list
38230 (madvise, mmap): Remove redundant entries.
38231 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38232 * malloc/malloc.c (mtrim): Likewise.
38233 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38234
f57f8055
RM
382352012-10-03 Roland McGrath <roland@hack.frob.com>
38236
38237 * sysdeps/mach/hurd/dl-cache.c: File removed.
38238 * config.h.in (USE_LDCONFIG): New #undef.
38239 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38240 * configure: Regenerated.
38241 * elf/Makefile (dl-routines): Add dl-cache only under
38242 [$(use-ldconfig) = yes].
38243 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38244 cache on [USE_LDCONFIG].
38245 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38246 [USE_LDCONFIG].
38247 * elf/rtld.c (dl_main): Likewise.
38248
5bb0c10a
PT
382492012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38250
38251 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38252 _SC_LEVEL4_CACHE_LINESIZE.
38253
010188c6
RM
382542012-10-03 Roland McGrath <roland@hack.frob.com>
38255
38256 * sysdeps/unix/bsd/confstr.h: File removed.
38257
b6c5ec07
AO
382582012-10-02 Alexandre Oliva <aoliva@redhat.com>
38259
38260 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38261 sys/sdt-config.h.
38262
408223d4
RM
382632012-10-02 Roland McGrath <roland@hack.frob.com>
38264
38265 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38266 Make 'mapoff' field ElfW(Off) rather than off_t.
38267
bb9510dc
DL
382682012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38269
fc997c6e
DL
38270 * nscd/Makefile: Remove nscd-cflags and all its users.
38271 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38272 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38273
bb9510dc
DL
38274 [BZ #10631]
38275 * malloc.c (malloc_printerr): Clarify error message.
38276
05699367
L
382772012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38278
38279 [BZ #14648]
38280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38281 Set bit_FMA_Usable if FMA is supported.
38282 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38283 macro.
38284 (bit_FMA4_Usable): Updated.
38285 (index_FMA_Usable): New macro.
38286 (CPUID_FMA): Likewise
38287 (HAS_FMA): Defined with bit_FMA_Usable.
38288
51367701
RM
382892012-10-01 Roland McGrath <roland@hack.frob.com>
38290
38291 * bits/types.h (__swblk_t): Type removed.
38292 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38293 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38294 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38295 (__SWBLK_T_TYPE): Likewise.
38296 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38297 (__SWBLK_T_TYPE): Likewise.
38298 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38299 (__SWBLK_T_TYPE): Likewise.
38300 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38301 (__SWBLK_T_TYPE): Likewise.
38302
4d57bf63 383032012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38304 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38305
38306 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38307 (xdr_mapname): Use YPMAXMAP as maxsize.
38308 (xdr_peername): Use YPMAXPEER as maxsize.
38309 (xdr_keydat): Use YPAXRECORD as maxsize.
38310 (xdr_valdat): Use YPMAXRECORD as maxsize.
38311
93c65d43
RM
383122012-10-01 Roland McGrath <roland@hack.frob.com>
38313
497a03d6
RM
38314 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38315
93c65d43
RM
38316 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38317 * csu/init-first.c: ... here.
38318 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38319 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38320 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38321 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38322 * sysdeps/i386/init-first.c: File removed.
38323 * sysdeps/sh/init-first.c: File removed.
38324
bec749fd
JM
383252012-10-01 Joseph Myers <joseph@codesourcery.com>
38326
38327 [BZ #14645]
38328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38329 if x * y might underflow to zero and z is zero.
38330 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38331 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38332 * math/libm-test.inc (min_subnorm_value): New variable.
38333 (fma_test): Add more tests.
38334 (fma_test_towardzero): Likewise.
38335 (fma_test_downward): Likewise
38336 (fma_test_upward): Likewise.
38337 (initialize): Set min_subnorm_value.
38338
8ec5b013
JM
383392012-09-29 Joseph Myers <joseph@codesourcery.com>
38340
38341 [BZ #14638]
38342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38343 0 + 0.
38344 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38345 mode for addition resulting in exact zero.
38346 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38348 exact 0 + 0.
38349 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38350 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38351 * math/libm-test.inc (fma_test): Add more tests.
38352 (fma_test_towardzero): New function.
38353 (fma_test_downward): Likewise.
38354 (fma_test_upward): Likewise.
38355 (main): Call the new functions.
38356
b1fa802e
DM
383572012-09-28 David S. Miller <davem@davemloft.net>
38358
38359 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38360
d3b9fd9e
RM
383612012-09-28 Roland McGrath <roland@hack.frob.com>
38362
ea4d37b3
RM
38363 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38364 instead of SIGALRM.
38365
ac51c949
RM
38366 * sysdeps/gnu/_G_config.h: Moved to ...
38367 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38368 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38369 * sysdeps/generic/_G_config.h: ... here.
38370
28c195f7
RM
38371 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38372
848917f9
RM
38373 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38374
6bacf05b
RM
38375 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38376 Conditionalize target on [libnss_test1.so-version].
38377
91363dbb
RM
38378 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38379
cc87f7d8
RM
38380 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38381 (elfobjdir): Move out of conditionals.
38382
b1c608fe
RM
38383 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38384 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38385 (__nss_lookup_function): Conditionalize label remove_from_tree on
38386 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38387
1d9a6d96
DM
383882012-09-28 David S. Miller <davem@davemloft.net>
38389
38390 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38391 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38392 file.
38393 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38394 sysdep_routines.
38395 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38396 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38397 when HWCAP_SPARC_CRYPTO is present.
38398
72581615
PT
383992012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38400
38401 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38402
715a900c
JL
384032012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38404
38405 [BZ #6530]
38406 * stdio-common/vfprintf.c (process_string_arg): Revert
38407 2000-07-22 change.
38408
384092011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38410
38411 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38412 for testcase.
38413 * stdio-common/tst-sprintf.c: Include <locale.h>
38414 (main): Test sprintf's handling of incomplete multibyte
38415 characters.
38416
9bac1d86
L
384172012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38418
38419 * elf/dl-runtime.c (VERSYMIDX): Removed.
38420 * elf/dl-version.c (VERSYMIDX): Likewise.
38421 * elf/do-rel.h (VERSYMIDX): Likewise.
38422 (VALIDX): Likewise.
38423 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38424 * elf/rtld.c (VALIDX): Likewise.
38425 (ADDRIDX): Likewise.
9bac1d86
L
38426 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38427 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38428 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38429 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38430 (VALIDX): Likewise.
38431 (ADDRIDX): Likewise.
9bac1d86 38432
b31606c0
PT
384332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38434
38435 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38436
11541177
JL
384372012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38438
38439 [BZ #11438]
38440 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38441 to global scope.
38442 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38443 addresses are in the same scope as 192.0.2/24.
38444 * posix/gai.conf: Document new scope table defaults.
38445
adb26fae
SP
384462012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38447
38448 [BZ #5298]
38449 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38450 for ftell. Compute offsets from write pointers instead.
38451 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38452
4573c6b0
SP
384532012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38454
38455 [BZ #14543]
38456 * libio/Makefile (tests): New test case tst-fseek.
38457 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38458 combination works in wide mode.
38459 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38460 state when the external buffer state changes.
38461
aa9bbfe6
DM
384622012-09-27 David S. Miller <davem@davemloft.net>
38463
38464 [BZ #14376]
38465 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38466 pass reloc->r_addend in as the 'high' argument to
38467 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38468
784421e7
DM
38469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38470
c39bc8b8
PT
384712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38472
38473 * rt/tst-aio2.c: Include <pthread.h>.
38474 * rt/tst-aio3.c: Likewise.
38475
1ccc2399
SE
384762012-09-27 Steve Ellcey <sellcey@mips.com>
38477
38478 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38479
31ed4153
L
384802012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38481
25f5f885
L
38482 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38483 contents on [SHARED].
31ed4153 38484
b7bfe116
MP
384852012-09-26 Marek Polacek <polacek@redhat.com>
38486
38487 [BZ #14530]
38488 [BZ #13741]
38489 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38490 for C++ and GCC <4.3 as well as for non GCC compilers.
38491
43c4edba
MT
384922012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38493
38494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38495
6a1bf82f
RM
384962012-09-25 Roland McGrath <roland@hack.frob.com>
38497
38498 * Makefile.in (all, install): Declare with .PHONY.
38499 Reported by Michael Hope <michael.hope@linaro.org>.
38500
8ad11b9a
TMQMF
385012012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38502
38503 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38504 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38505 system header.
38506 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38507 Likewise.
38508 (sydep_routines): Add the new and the internal functions.
38509 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38510 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38512 (GLIBC_2.17): Add the new function.
38513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38514 (GLIBC_2.17): Likewise.
38515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38516 (GLIBC_2.17): Likewise.
38517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38518 (GLIBC_2.17): Likewise.
38519 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38520
7e2fca8d
AM
385212012-09-25 Alan Modra <amodra@gmail.com>
38522
38523 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38524 Add release barrier before setting once_control to say
38525 initialisation is done. Add hints on lwarx. Use macro in
38526 place of isync.
38527 (clear_once_control): Add release barrier.
38528
b87c4b24
JM
385292012-09-25 Joseph Myers <joseph@codesourcery.com>
38530
d032e0d2
JM
38531 [BZ #13629]
38532 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38533 specially.
38534 * math/s_clog10.c (__clog10): Likewise.
38535 * math/s_clog10f.c (__clog10f): Likewise.
38536 * math/s_clog10l.c (__clog10l): Likewise.
38537 * math/s_clogf.c (__clogf): Likewise.
38538 * math/s_clogl.c (__clogl): Likewise.
38539 * math/Makefile (libm-calls): Add x2y2m1.
38540 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38541 (__x2y2m1): Likewise.
38542 (__x2y2m1l): Likewise.
38543 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38544 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38545 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38546 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38547 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38548 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38549 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38550 * sysdeps/i386/fpu/libm-test-ulps: Update.
38551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38552
b87c4b24
JM
38553 [BZ #14621]
38554 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38555 int as type of variable DEPTH.
38556 (glob): Use size_t instead of int as type of variables NEWCOUNT
38557 and OLD_PATHC.
38558
6d3bf199
LD
385592012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38560
22bf5c17
LD
38561 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38562 Add s_sincosf-sse2.
38563 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38564 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38565 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38566 macros for using routine as __sincosf_ia32.
38567 Use macro for function declaration and weak_alias.
38568 * sysdeps/i386/fpu/libm-test-ulps: Update.
38569
38570 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38572
38573 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
38574 subnormal argument.
38575 * math/s_cexpf.c (__cexpf): Likewise.
38576 * math/s_csinf.c (__csinf): Likewise.
38577 * math/s_csinhf.c (__csinhf): Likewise.
38578 * math/s_ctanf.c (__ctanf): Likewise.
38579 * math/s_ctanhf.c (__ctanhf): Likewise.
38580 * math/s_ccosh.c (__ccoshf): Likewise.
38581 * math/s_cexp.c (__cexpl): Likewise.
38582 * math/s_csin.c (__csin): Likewise.
38583 * math/s_csinh.c (__csinh): Likewise.
38584 * math/s_ctan.c (__ctan): Likewise.
38585 * math/s_ctanh.c (ctanh): Likewise.
38586 * math/s_ccoshl.c (__ccoshl): Likewise.
38587 * math/s_cexpl.c (__cexpl): Likewise.
38588 * math/s_csinl.c (__csinl): Likewise.
38589 * math/s_csinhl.c (__csinhl): Likewise.
38590 * math/s_ctanl.c (__ctanl): Likewise.
38591 * math/s_ctanhl.c (__ctanhl): Likewise.
38592
203e5603
JM
385932012-09-25 Joseph Myers <joseph@codesourcery.com>
38594
38595 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38596 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38597 (_IO_off_t): Define to __off_t, not _G_off_t.
38598 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38599 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38600 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38601 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38602 type of __dummy and __dummy2 fields.
38603 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38604 (_G_ssize_t): Likewise.
38605 (_G_off_t): Likewise.
38606 (_G_pid_t): Likewise.
38607 (_G_uid_t): Likewise.
38608 (_G_wchar_t): Likewise.
38609 (_G_wint_t): Likewise.
38610 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38611 (_G_ssize_t): Likewise.
38612 (_G_off_t): Likewise.
38613 (_G_pid_t): Likewise.
38614 (_G_uid_t): Likewise.
38615 (_G_wchar_t): Likewise.
38616 (_G_wint_t): Likewise.
38617 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38618 (_G_ssize_t): Likewise.
38619 (_G_off_t): Likewise.
38620 (_G_pid_t): Likewise.
38621 (_G_uid_t): Likewise.
38622 (_G_wchar_t): Likewise.
38623 (_G_wint_t): Likewise.
38624
9fab36eb
SP
386252012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38626
38627 * malloc/arena.c: Include malloc-sysdep.h.
38628 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38629 is sufficient to shrink the heap or an unmap is needed.
38630 * sysdeps/generic/malloc-sysdep.h: New file. Define
38631 new function check_may_shrink_heap.
38632 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38633 new function check_may_shrink_heap.
38634
2b4f00d1
SP
386352012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38636
38637 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38638 comments.
38639
9a9028b1
DL
386402012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38641
57c69bef
DL
38642 * catgets/test-gencat.sh: Add "set -e".
38643 * elf/tst-pathopt.sh: Likewise.
38644 * grp/tst_fgetgrent.sh: Likewise.
38645 * iconvdata/run-iconv-test.sh: Likewise.
38646 * intl/tst-gettext.sh: Likewise.
38647 * intl/tst-gettext2.sh: Likewise.
38648 * intl/tst-gettext4.sh: Likewise.
38649 * intl/tst-gettext6.sh: Likewise.
38650 * intl/tst-translit.sh: Likewise.
38651 * io/ftwtest-sh: Likewise.
38652 * libio/test-freopen.sh: Likewise.
38653 * malloc/tst-mtrace.sh: Likewise.
38654 * posix/globtest.sh: Likewise.
38655 * posix/tst-getconf.sh: Likewise.
38656 * posix/wordexp-tst.sh: Likewise.
38657 * stdio-common/tst-printf.sh: Likewise.
38658 * stdio-common/tst-unbputc.sh: Likewise.
38659 * stdlib/tst-fmtmsg.sh: Likewise.
38660 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38661 * catgets/Makefile: Do not specify -e option when running
38662 testsuite shell scripts.
38663 * elf/Makefile: Likewise.
38664 * grp/Makefile: Likewise.
38665 * iconvdata/Makefile: Likewise.
38666 * intl/Makefile: Likewise.
38667 * io/Makefile: Likewise.
38668 * libio/Makefile: Likewise.
38669 * malloc/Makefile: Likewise.
38670 * posix/Makefile: Likewise.
38671 * stdio-common/Makefile: Likewise.
38672 * stdlib/Makefile: Likewise.
38673 * sysdeps/x86_64/Makefile: Likewise.
38674
9a9028b1
DL
38675 * io/ftwtest-sh: Add copyright header.
38676 * posix/globtest.sh: Likewise.
38677 * posix/tst-getconf.sh: Likewise.
38678 * posix/wordexp-tst.sh: Likewise.
38679 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38680
ced6f16e
L
386812012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38682
94b32c39
L
38683 [BZ #13679]
38684 * Makeconfig (+link): Defined as $(+link-static) if
38685 $(build-shared) isn't yes.
38686 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38687 isn't yes.
38688 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38689
189e935b
L
38690 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38691
ced6f16e
L
38692 [BZ #14562]
38693 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38694 new chunk size with MALLOC_ALIGN_MASK.
38695
a9f8e53a
JM
386962012-09-24 Joseph Myers <joseph@codesourcery.com>
38697
38698 [BZ #5044]
38699 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38700 <rounding-mode.h>.
38701 (__printf_fphex): Determine rounding using get_rounding_mode and
38702 round_away.
38703 * stdio-common/tst-printf-round.c (struct hex_test): New
38704 structure.
38705 (hex_tests): New variable.
38706 (test_hex_in_one_mode): New function.
38707 (do_test): Also run tests for hex float output.
38708
43153109
JM
387092012-09-21 Joseph Myers <joseph@codesourcery.com>
38710
38711 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38712 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38713 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38714 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38715 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38716 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38717 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38718 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38719
8a26625d
JM
387202012-09-20 Joseph Myers <joseph@codesourcery.com>
38721
38722 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38723 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38724 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38725 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38726
f3fd569c
DL
387272012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38728
38729 [BZ #14579]
38730 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38731 mode only.
38732 * elf/tst-rtld-load-self.sh: New test.
38733 * elf/Makefile: Run it.
38734
63bbedd4
JM
387352012-09-18 Joseph Myers <joseph@codesourcery.com>
38736
38737 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38738 (tst-writev-ENV): Remove.
38739 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38740
626f8b6a
CM
387412012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38742
38743 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38744
b7aaa4d6
JM
387452012-09-17 Joseph Myers <joseph@codesourcery.com>
38746
38747 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38748 unconditional.
38749 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38750 Likewise.
38751 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38752 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38753 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38754 Likewise.
38755
65513990
L
387562012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38757
38758 [BZ #14587]
38759 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38760 * config.make.in (have-cpp-asm-debuginfo): Removed.
38761 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38762 * configure: Regenerated.
38763
784761be
JM
387642012-09-14 Joseph Myers <joseph@codesourcery.com>
38765
38766 [BZ #5044]
38767 * stdio-common/printf_fp.c: Include <stdbool.h> and
38768 <rounding-mode.h>.
38769 (___printf_fp): Determine rounding using get_rounding_mode and
38770 round_away.
38771 * stdio-common/tst-printf-round.c: New file.
38772 * stdio-common/Makefile (tests): Add tst-printf-round.
38773 (link-libm): New variable.
38774 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38775
9503345f
L
387762012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38777
38778 [BZ #14576]
38779 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38780 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38781 Likewise.
38782 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38783 Likewise.
38784
ad35fc00
JM
387852012-09-13 Joseph Myers <joseph@codesourcery.com>
38786
38787 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38788 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38789 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38790 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38791
6c9b0f68
JM
387922012-09-12 Joseph Myers <joseph@codesourcery.com>
38793
38794 [BZ #14518]
38795 * include/rounding-mode.h: New file.
38796 * sysdeps/generic/get-rounding-mode.h: Likewise.
38797 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38798 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38799 (MAX_VALUE): New macro.
38800 (MIN_VALUE): Likewise.
38801 (overflow_value): New function.
38802 (underflow_value): Likewise.
38803 (round_and_return): Use overflow_value and underflow_value to
38804 determine return values in overflow and underflow cases. Use
38805 round_away to determine rounding depending on rounding mode.
38806 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38807 determine return values in overflow and underflow cases.
38808 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38809 (struct test_results): New structure.
38810 (struct test): Use struct test_results to store expected results
38811 for all rounding modes.
38812 (TEST): Include expected results for all rounding modes.
38813 (test_in_one_mode): New function.
38814 (do_test): Use test_in_one_mode to compute and check results.
38815 Check results for all rounding modes.
38816 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38817 $(link-libm).
38818
19fcedd5
AM
388192012-12-09 Allan McRae <allan@archlinux.org>
38820
1e9d84cd 38821 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 38822
8bbfd2f1
JM
388232012-09-11 Joseph Myers <joseph@codesourcery.com>
38824
38825 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38826 (_G_int32_t): Likewise.
38827 (_G_uint16_t): Likewise.
38828 (_G_uint32_t): Likewise.
38829 (_G_HAVE_BOOL): Likewise.
38830 (_G_HAVE_ATEXIT): Likewise.
38831 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38832 (_G_HAVE_IO_FILE_OPEN): Likewise.
38833 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38834 (_G_int32_t): Likewise.
38835 (_G_uint16_t): Likewise.
38836 (_G_uint32_t): Likewise.
38837 (_G_HAVE_BOOL): Likewise.
38838 (_G_HAVE_ATEXIT): Likewise.
38839 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38840 (_G_HAVE_IO_FILE_OPEN): Likewise.
38841 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38842 (_G_int32_t): Likewise.
38843 (_G_uint16_t): Likewise.
38844 (_G_uint32_t): Likewise.
38845 (_G_HAVE_BOOL): Likewise.
38846 (_G_HAVE_ATEXIT): Likewise.
38847 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38848 (_G_HAVE_IO_FILE_OPEN): Likewise.
38849
b1dc5912
L
388502012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38851
38852 * csu/libc-tls.c: Update copyright years.
38853
0e886ef9
JM
388542012-09-10 Joseph Myers <joseph@codesourcery.com>
38855
28361c5e
JM
38856 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38857 [!_G_USING_THUNKS]: Remove conditional code.
38858 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38859 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38860
0e886ef9
JM
38861 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38862 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38863 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38864 (_G_VTABLE_LABEL_PREFIX): Likewise.
38865 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38866 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38867 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38868 (_G_VTABLE_LABEL_PREFIX): Likewise.
38869 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38870 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38871 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38872 (_G_VTABLE_LABEL_PREFIX): Likewise.
38873 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38874
bcba7aa2
L
388752012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38876
38877 * libio/Makefile: Include ../Makeconfig before tests.
38878 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38879 only if $(build-shared) is yes.
38880
06585ee8
L
38881 * iconv/gconv_db.c: Update copyright years.
38882
80ccd52c
LD
388832012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38884
38885 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38886 unwind info if defined PIC. Fix special cases description.
38887 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38888
38889 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38890 DP_HI_MASK entry.
38891 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38892
691bc9c1
L
388932012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38894
3d9b46b3
L
38895 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38896
de2139a9
L
38897 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38898 is NULL.
38899
5ca78dd0
L
38900 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38901 (LDLIBS-tst-chk4): This.
38902 (LDFLAGS-tst-chk5): Renamed to ...
38903 (LDLIBS-tst-chk5): This.
38904 (LDFLAGS-tst-chk6): Renamed to ...
38905 (LDLIBS-tst-chk6): This.
38906 (LDFLAGS-tst-lfschk4): Renamed to ...
38907 (LDLIBS-tst-lfschk4): This.
38908 (LDFLAGS-tst-lfschk5): Renamed to ...
38909 (LDLIBS-tst-lfschk5): This.
38910 (LDFLAGS-tst-lfschk6): Renamed to ...
38911 (LDLIBS-tst-lfschk6): This.
38912
691bc9c1
L
38913 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38914 on $(common-objpfx)soversions.mk.
38915
65cafb1c
JM
389162012-09-07 Joseph Myers <joseph@codesourcery.com>
38917
38918 [BZ #10014]
38919 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38920 example host name.
38921
c78ab094
SP
389222012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38923
38924 * malloc/arena.c (arena_get_retry): New function that gets
38925 another arena for the caller to try its request on.
38926 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38927 current arena cannot fulfill the request.
38928 (__libc_memalign): Likewise.
38929 (__libc_memalign): Likewise.
38930 (__libc_pvalloc): Likewise.
38931 (__libc_calloc): Likewise.
38932
01f49f59
JT
389332012-09-05 John Tobey <john.tobey@gmail.com>
38934
38935 [BZ #13542]
38936 * manual/arith.texi (Operations on Complex): Fix description
38937 of carg branch cut.
38938
4c23fed5
JM
389392012-09-06 Joseph Myers <joseph@codesourcery.com>
38940
1d3c8572
JM
38941 [BZ #10014]
38942 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38943 host name.
38944
4c23fed5
JM
38945 [BZ #10038]
38946 * manual/memory.texi (Memory): Make order of menu items match
38947 order of sections.
38948
04570aaa
L
389492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38950
38951 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38952 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38953 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38954
b80af2f4
L
389552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38956
38957 * csu/libc-tls.c (static_dtv): Renamed to ...
38958 (_dl_static_dtv): This. Make it global.
38959 (_dl_initial_dtv): Removed.
38960 (__libc_setup_tls): Updated.
38961 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38962 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38963 DL_INITIAL_DTV.
38964
2abe9f15
PM
389652012-09-06 Petr Machata <pmachata@redhat.com>
38966
38967 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38968 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38969 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38970 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38971
0948c3af
L
389722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38973
38974 [BZ #14545]
38975 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38976 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38977 freeing dtv[-1].
38978
a5055ad1
L
389792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38980
38981 [BZ #14544]
38982 * Makeconfig (link-static-before-libc): Replace $(+prector)
38983 with $(+prectorT).
38984 (link-static-after-libc): Replace $(+postctor) with
38985 $(+postctorT).
38986 (link-bounded): Replace $(+prector)/$(+postctor) with
38987 $(+prectorT)/$(+postctorT).
38988 (+prectorT): New macro.
38989 (+postctorT): Likewise.
38990
ed8c2ecd
JM
389912012-09-06 Joseph Myers <joseph@codesourcery.com>
38992
38993 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38994 (round_str): Handle values above the maximum for IBM long double
38995 as inexact.
38996 * stdlib/tst-strtod-round.c (tests): Regenerated.
38997
14c996c8
AK
389982012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38999
39000 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39001 assembler flag.
39002 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39003 zarch_nohighgprs around the zarch optimized routines.
39004 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39005 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39006 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39007 for zarch.
39008
430d6ce6
DM
390092012-09-05 David S. Miller <davem@davemloft.net>
39010
39011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39012
57f41c40
AS
39013 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39014 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
39015 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39016 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39017 entries.
39018
24d4e01b
AO
390192012-09-05 Alexandre Oliva <aoliva@redhat.com>
39020
39021 * malloc/arena.c: Fold copyright years.
39022 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39023
61d58174
AO
390242012-09-05 Alexandre Oliva <aoliva@redhat.com>
39025
39026 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39027
20196a5e
AO
390282012-09-05 Alexandre Oliva <aoliva@redhat.com>
39029
39030 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39031
5c447383
AO
390322012-09-05 Alexandre Oliva <aoliva@redhat.com>
39033
39034 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39035 change internal state upon failure.
39036
fad64255
AO
390372012-09-05 Alexandre Oliva <aoliva@redhat.com>
39038
39039 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39040 * malloc/memusage.c (mmap): Likewise.
39041 (mmap64, mremap): Likewise. Adjust name in comment.
39042
1ffb8c90
SP
390432012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39044
39045 * libio/fileops.c: Fix typos in comments.
39046 * libio/oldfileops.c: Likewise.
39047 * libio/wfileops.c: Likewise.
39048
6ef9cc37
SP
390492012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39050
39051 [BZ #1349]
39052 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39053 (tst-malloc-usable-ENV): Set environment for test case.
39054 * malloc/hooks.c (malloc_check_get_size): New function to get
39055 requested size.
39056 * malloc/malloc.c (musable): Use malloc_check_get_size.
39057 * malloc/tst-malloc-usable.c: New test case.
39058
4d038ae3
AS
390592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39060
39061 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39062
c4e85184
AM
390632012-09-05 Allan McRae <allan@archlinux.org>
39064
b9dafc56 39065 [BZ #13966]
c4e85184
AM
39066 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39067 determine header location.
39068 * configure: Regenerated.
39069
e1343020
AS
390702012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39071
39072 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39073 float format.
39074 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
39075 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39076 format.
e1343020
AS
39077 (test): Regenerate.
39078
0a9f1987
DM
390792012-09-04 David S. Miller <davem@davemloft.net>
39080
39081 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39082 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39083 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39084
29237804
FW
390852012-09-04 Florian Weimer <fweimer@redhat.com>
39086
39087 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39088 failures.
39089
edb3cb88
FW
39090 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39091
60160d83
JM
390922012-09-04 Joseph Myers <joseph@codesourcery.com>
39093
39094 [BZ #9914]
39095 * libio/iogetdelim.c: Include <limits.h>.
39096 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39097 + len + 1 would overflow.
39098
bcd6c8dc
AJ
390992012-09-03 Andreas Jaeger <aj@suse.de>
39100
39101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39102 * sysdeps/i386/fpu/libm-test-ulps: Update.
39103
4ffffbd2
LD
391042012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39105
39106 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39107 Add s_sinf-sse2, s_conf-sse2.
39108
39109 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39110 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39111 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39112 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39113
39114 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39115 for using routine as __sinf_ia32.
39116 Use macro for function declaration and weak_alias.
39117 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39118 for using routine as __cosf_ia32.
39119 Use macro for function declaration and weak_alias.
39120
39121 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39122 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39123
39124 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39125 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39127
39128 * math/libm-test.inc (cos_test): Add more test cases.
39129 (sin_test): Likewise.
39130 (sincos_test): Likewise.
39131
511fa286
AK
391322012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39133
39134 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39135 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39136 hidden.
39137 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39138
5f30cfec
L
391392012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39140
39141 [BZ #14538]
39142 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39143 first element of the GOT.
39144 (elf_machine_load_address): Return the difference between
39145 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39146
0786794f
AM
391472012-09-01 Allan McRae <allan@archlinux.org>
39148
5f30cfec
L
39149 [BZ #13412]
39150 * configure.in (AWK): Require gawk version 3.0 or later.
39151 * configure: Regenerated.
0786794f 39152
26889eac
JM
391532012-09-01 Joseph Myers <joseph@codesourcery.com>
39154
39155 * sysdeps/unix/sysv/linux/kernel-features.h
39156 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39157 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39158 [__NR_clock_getres]: Make code unconditional.
39159 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39160 (clock_getcpuclockid): Remove code left unreachable by removal of
39161 conditionals.
39162 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39163 code unconditional.
39164 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39165 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39166 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39167 Make code unconditional.
39168 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39169 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39170 * sysdeps/unix/sysv/linux/clock_settime.c
39171 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39172 conditional code.
39173 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39174 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39175
d22e28b0
L
391762012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39177
39178 [BZ #14476]
39179 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39180 scripts/test-installation.pl.
39181
39182 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39183 and $ld_so_version if it is set.
39184
050af9c4
SP
391852012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39186
39187 [BZ #14516]
39188 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39189 failure if reading from procfs failed.
39190 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39191
ad845c0b
JM
391922012-08-27 Joseph Myers <joseph@codesourcery.com>
39193
39194 * sysdeps/unix/sysv/linux/kernel-features.h
39195 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39196 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39197 Remove conditional code.
39198 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39199 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39200 Remove conditional code.
39201 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39202 * sysdeps/unix/sysv/linux/i386/fxstat.c
39203 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39204 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39205 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39206 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39208 * sysdeps/unix/sysv/linux/i386/lxstat.c
39209 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39210 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39211 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39212 Remove conditional code.
39213 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39214 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39215 Remove conditional code.
39216 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39217 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39218 <kernel-features.h>.
39219 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39220 Remove.
39221 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39222 Remove conditional code.
39223 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39224 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39225 Remove conditional.
39226
5dbf56af
MF
392272012-08-27 Mike Frysinger <vapier@gentoo.org>
39228
39229 [BZ #5400]
39230 * NEWS: Add fixed bug number.
39231
d6e70f43
JM
392322012-08-27 Joseph Myers <joseph@codesourcery.com>
39233
7efb4737
JM
39234 [BZ #14519]
39235 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39236 underflowing exponent in case of negative sign.
39237 * stdlib/tst-strtod-round-data: Add more tests.
39238 * stdlib/tst-strtod-round.c (tests): Regenerated.
39239
af92131a
JM
39240 [BZ #3479]
39241 * stdlib/strtod_l.c (NDIG): Remove.
39242 (HEXNDIG): Likewise.
39243 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39244 smallest representable value.
39245 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39246 lie within an exact representation of 1/2 ulp of the result.
39247 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39248 unconditionally.
39249 (TENS_P9_IDX): Define unconditionally.
39250 (TENS_P9_SIZE): Likewise.
39251 (TENS_P10_IDX): Likewise.
39252 (TENS_P10_SIZE): Likewise.
39253 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39254 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39255 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39256 entries for 10^2^13 and 10^2^14.
39257 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39258 (TENS_P13_IDX): Define.
39259 (TENS_P13_SIZE): Likewise.
39260 (TENS_P14_IDX): Likewise.
39261 (TENS_P14_SIZE): Likewise.
39262 (_fpioconst_pow10): Change array size to
39263 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39264 unconditional.
39265 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39266 1024]: Add entries for 10^2^13 and 10^2^14.
39267 [LAST_POW10 > _LAST_POW10]: Remove #error.
39268 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39269 (_fpioconst_pow10): Change array size to
39270 FPIOCONST_POW10_ARRAY_SIZE.
39271 * stdlib/gen-fpioconst.c: New file.
39272 * stdlib/gen-tst-strtod-round.c: Likewise.
39273 * stdlib/tst-strtod-round-data: Likewise.
39274 * stdlib/tst-strtod-round.c: Likewise.
39275 * stdlib/Makefile (tests): Add tst-strtod-round.
39276
d6e70f43
JM
39277 [BZ #14459]
39278 * stdlib/strtod_l.c: Include <stdint.h>.
39279 (NDEBUG): Do not define.
39280 (round_and_return): Change EXPONENT parameter to type intmax_t.
39281 Rearrange calculations to avoid internal overflow possibilities.
39282 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39283 Rearrange calculations to avoid internal overflow possibilities.
39284 Assert that number fits inside MPNSIZE limbs.
39285 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39286 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39287 calculations and add assertions to avoid internal overflow
39288 possibilities. Add casts to avoid signed/unsigned operations.
39289 * stdlib/tst-strtod-overflow.c: New file.
39290 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39291
1f529f7d
MP
392922012-08-25 Marek Polacek <polacek@redhat.com>
39293
39294 * time/time.h: Fix some typos in comments.
39295
59a629f1
RM
392962012-08-23 Roland McGrath <roland@hack.frob.com>
39297
39298 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39299 * posix/tst-rfc3484-2.c: Likewise.
39300 * posix/tst-rfc3484-3.c: Likewise.
39301
d3bafbc9
SM
393022012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39303
39304 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39305 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39306
4efcc022
JM
393072012-08-23 Joseph Myers <joseph@codesourcery.com>
39308
39309 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39310 #include of fxstatat64.c.
39311
3cc3ef96
RM
393122012-08-22 Roland McGrath <roland@hack.frob.com>
39313
f04e2132
RM
39314 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39315 * shadow/getspent_r.c: Likewise.
39316 * shadow/getspnam.c: Likewise.
39317 * shadow/getspnam_r.c: Likewise.
39318 * gshadow/getsgent.c: Likewise.
39319 * gshadow/getsgent_r.c: Likewise.
39320 * gshadow/getsgnam.c: Likewise.
39321 * gshadow/getsgnam_r.c: Likewise.
39322 * inet/getnetbyad.c: Likewise.
39323 * inet/getnetbyad_r.c: Likewise.
39324 * inet/getnetbynm.c: Likewise.
39325 * inet/getnetbynm_r.c: Likewise.
39326 * inet/getnetent.c: Likewise.
39327 * inet/getnetent_r.c: Likewise.
39328 * inet/getproto.c: Likewise.
39329 * inet/getproto_r.c: Likewise.
39330 * inet/getprtent.c: Likewise.
39331 * inet/getprtent_r.c: Likewise.
39332 * inet/getprtname.c: Likewise.
39333 * inet/getprtname_r.c: Likewise.
39334 * inet/getrpcbyname.c: Likewise.
39335 * inet/getrpcbyname_r.c: Likewise.
39336 * inet/getrpcbynumber.c: Likewise.
39337 * inet/getrpcbynumber_r.c: Likewise.
39338 * inet/getrpcent.c: Likewise.
39339 * inet/getrpcent_r.c: Likewise.
39340 * inet/getaliasent.c: Likewise.
39341 * inet/getaliasent_r.c: Likewise.
39342 * inet/getaliasname.c: Likewise.
39343 * inet/getaliasname_r.c: Likewise.
39344 * nscd/getgrgid_r.c: Likewise.
39345 * nscd/getgrnam_r.c: Likewise.
39346 * nscd/gethstbyad_r.c: Likewise.
39347 * nscd/gethstbynm3_r.c: Likewise.
39348 * nscd/getpwnam_r.c: Likewise.
39349 * nscd/getpwuid_r.c: Likewise.
39350 * nscd/getsrvbynm_r.c: Likewise.
39351 * nscd/getsrvbypt_r.c: Likewise.
39352 * nscd/gai.c: Likewise.
39353
c53d909c
RM
39354 * configure.in (build_nscd): New substituted variable, set
39355 by --disable-build-nscd and defaults to $use_nscd.
39356 * configure: Regenerated.
39357 * config.make.in (build-nscd): New substituted variable.
39358 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39359 Change conditional to require [$(build-nscd) = yes] as well.
39360 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39361
3cc3ef96
RM
39362 [BZ# 13696]
39363 * configure.in (use_nscd): New substituted variable, set by
39364 --disable-nscd. If enabled, define USE_NSCD.
39365 * configure: Regenerated.
39366 * config.h.in: Add USE_NSCD.
39367 * config.make.in (use-nscd): New substituted variable.
39368 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39369 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39370 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39371 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39372 (CFLAGS-getgrnam_r.c): Likewise.
39373 (CFLAGS-initgroups.c): Likewise.
39374 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39375 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39376 Variables removed.
39377 * inet/getnetgrent_r.c
39378 (nscd_setnetgrent): New function, broken out of ...
39379 (setnetgrent): ... here. Call it.
39380 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39381 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39382 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39383 * nscd/Makefile (routines, aux): Move definitions after include of
39384 Makeconfig. Conditionalize on [$(use-nscd) != no].
39385 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39386 Conditionalize on [USE_NSCD].
39387 (is_nscd, nscd_init_cb): Likewise.
39388 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39389 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39390 * nss/nss_db/db-init.c: Likewise.
39391 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39392 [USE_NSCD].
39393 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39394 (make_request): Use it.
39395 (cache_valid_p): New function.
39396 (__check_pf): Use it.
39397 * NEWS: Add item for --disable-nscd.
39398
07e51550
DL
393992012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39400
39401 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39402 to support sed >= 4.2.1-20-ga9bf076.
39403 * configure: Regenerated.
39404
35a5b08b
RM
394052012-08-22 Roland McGrath <roland@hack.frob.com>
39406
39407 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39408 Conditionalize whole body on [IREL].
39409
8479f23a
JL
394102012-08-22 Jeff Law <law@redhat.com>
39411
39412 [BZ #14505]
39413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39414 if the family is PF_UNSPEC.
39415
48da0b21
MF
394162012-08-22 Mike Frysinger <vapier@gentoo.org>
39417
39418 * Makerules (lib-version): Rename from V.
39419 (install-lib-nosubdir): Change V to lib-version.
39420
15d0da8c
WS
394212012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39422
39423 [BZ #14252]
39424 * powerpc32/power6/wcschr.c: New file.
39425 * powerpc32/power6/wcscpy.c: New file.
39426 * powerpc32/power6/wcsrchr.c: New file.
39427 * powerpc64/power6/wcschr.c: New file.
39428 * powerpc64/power6/wcscpy.c: New file.
39429 * powerpc64/power6/wcsrchr.c: New file.
39430
bcca0895
MK
394312012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39432
39433 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39434 (two_way_short_needle): Use it.
5a4aaa33
RM
39435 * string/strstr.c (AVAILABLE1_USES_J): Define.
39436 * string/strcasestr.c: Likewise.
99677e57
MK
39437
39438 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39439 array references.
39440 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39441
400726de
MK
39442 [BZ #11607]
39443 * NEWS: Add an entry.
39444 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39445 define their defaults.
39446 (two_way_short_needle): Detect end-of-string on-the-fly.
39447 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39448 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39449 * string/bug-strcasestr1.c: New test.
39450 * string/Makefile: Run it.
39451
20a71f2c
MK
394522012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39453
39454 [BZ #11607]
39455 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39456 the first character.
39457
21ad0558
RM
394582012-08-21 Roland McGrath <roland@hack.frob.com>
39459
39460 * csu/elf-init.c (__libc_csu_irel): Function removed.
39461 * csu/libc-start.c (apply_irel): New function.
39462 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39463
0e1d9911
JM
394642012-08-21 Joseph Myers <joseph@codesourcery.com>
39465
39466 * sysdeps/unix/sysv/linux/kernel-features.h
39467 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39468 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39469 <kernel-features.h>.
39470 [__NR_fadvise64_64]: Make code unconditional.
39471 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39472 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39473 !__NR_fadvise64_64)]: Likewise.
39474 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39475 !__NR_fadvise64_64))]: Likewise.
39476 [__NR_fadvise64]: Make code unconditional.
39477 [!__NR_fadvise64]: Remove conditional code.
39478 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39479 <kernel-features.h>.
39480 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39481 unconditional.
39482 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39483 conditional code.
39484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39485 not include <kernel-features.h>.
39486 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39487 unconditional.
39488 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39489 conditional code.
39490 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39491 include <kernel-features.h>.
39492 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39493 unconditional.
39494 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39495 conditional code.
39496
14a50c9d
WS
394972012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39498
39499 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39500 slight instruction rearrangements per scrollpipe analysis.
39501 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39502
c0f4faf0
RM
395032012-08-20 Roland McGrath <roland@hack.frob.com>
39504
696da859
RM
39505 * manual/syslog.texi (syslog; vsyslog, closelog):
39506 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39507 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39508
c0f4faf0
RM
39509 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39510 DSOCAPS to match condition on defining it.
39511
348363b2
JM
395122012-08-20 Joseph Myers <joseph@codesourcery.com>
39513
a35cbf28
JM
39514 * sysdeps/unix/sysv/linux/kernel-features.h
39515 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39517 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39518 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39520 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39521 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39523 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39524 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39525
445f7ecd
JM
39526 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39527 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39528
348363b2
JM
39529 * sysdeps/unix/sysv/linux/kernel-features.h
39530 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39531 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39532 unconditional.
39533 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39534 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39535 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39536 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39537 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39538 Make code unconditional.
39539 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39540 (__mmap64) [!__NR_mmap2]: Likewise.
39541 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39542 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39543 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39544 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39545 [__NR_mmap2]: Make code unconditional.
39546 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39547 (__mmap64) [!__NR_mmap2]: Likewise.
39548
bc5bc0e5
AK
395492012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39550
39551 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39552
88d506de
AJ
395532012-08-18 Andreas Jaeger <aj@suse.de>
39554
39555 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39556
493387d2
MF
395572012-08-18 Mike Frysinger <vapier@gentoo.org>
39558
39559 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39560 * include/unistd.h (__have_sock_cloexec): Likewise.
39561 (__have_pipe2): Likewise.
39562 (__have_dup3): Likewise.
39563
a277af22
MF
395642012-08-18 Mike Frysinger <vapier@gentoo.org>
39565
39566 [BZ #9685]
39567 * include/unistd.h (__have_pipe2): Change define into an extern int.
39568 (__have_dup3): Likewise.
39569 * socket/have_sock_cloexec.c: Include fcntl.h.
39570 (__have_pipe2): New variable.
39571 (__have_dup3): Likewise.
39572
fdab8fd3
MF
395732012-08-17 Mike Frysinger <vapier@gentoo.org>
39574
39575 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39576
31035e80
MP
395772012-08-17 Marek Polacek <polacek@redhat.com>
39578
39579 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39580 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39581
3bd9e993
RM
395822012-08-17 Roland McGrath <roland@hack.frob.com>
39583
c91c505f
RM
39584 * configure.in: Add AC_SUBST for sysheaders.
39585 * configure: Regenerated.
39586 * config.make.in (sysheaders): New substituted variable.
39587
7c6f9d53
RM
39588 * sysdeps/unix/mkfifo.c: Moved ...
39589 * sysdeps/posix/mkfifo.c: ... here.
39590 * sysdeps/unix/mkfifoat.c: Moved ...
39591 * sysdeps/posix/mkfifoat.c: ... here.
39592
39593 * sysdeps/unix/utime.c: Moved ...
39594 * sysdeps/posix/utime.c: ... here.
39595
39596 * sysdeps/unix/time.c: Moved ...
39597 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
39598 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39599 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
39600
39601 * sysdeps/unix/nice.c: Moved ...
39602 * sysdeps/posix/nice.c: ... here.
39603
39604 * sysdeps/unix/alarm.c: Moved ...
39605 * sysdeps/posix/alarm.c: ... here.
39606
3bd9e993
RM
39607 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39608
d1f09384
JL
396092012-08-17 Jeff Law <law@redhat.com>
39610
39611 * intl/Makefile (codeset_mo): New variable.
39612 ($(codeset_mo)): New target.
39613 (tst-codeset.out): Depend on that. Remove explicit rule.
39614 (tst-gettext3.out, tst-gettext5.out): Likewise.
39615 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39616 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39617 * intl/tst-codeset.sh: Remove.
39618 * intl/tst-gettext3.sh: Likewise.
39619 * intl/tst-gettext5.sh: Likewise.
39620
2ae1ae5c
RM
396212012-08-17 Roland McGrath <roland@hack.frob.com>
39622
c31fdb83
RM
39623 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39624 * sysdeps/unix/syscalls.list: ... here.
39625
a0844057
RM
39626 * sysdeps/posix/getaddrinfo.c
39627 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39628 (gaiconf_init, gaiconf_reload): Use them.
39629 [!_STATBUF_ST_NSEC]
39630 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39631 Define using time_t rather than struct timespec.
39632
750c1f2a
RM
39633 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39634 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39635 Macros removed.
39636 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39637 [!NO_THREADS].
39638 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39639 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39640 Likewise.
39641
2ae1ae5c
RM
39642 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39643 __libc_cleanup_push argument.
39644
e66a42f5
RM
39645 * bits/param.h: New file.
39646 * misc/sys/param.h: New file.
39647 * include/sys/param.h: New file.
39648 * misc/Makefile (headers): Add bits/param.h.
39649 * sysdeps/generic/sys/param.h: File removed.
39650 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39651 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39652 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 39653 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 39654
b7c08a66
RM
39655 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39656 last change.
39657
b2e1c562
RM
39658 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39659 [_IO_MTSAFE_IO].
39660 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39661 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39662 New macros.
39663
c75ccd4c
RM
39664 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39665 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39666 rather than -D_IO_MTSAFE_IO conditionally.
39667 * stdio-common/Makefile (CPPFLAGS): Likewise.
39668 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39669 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39670 Use $(libio-mtsafe).
39671 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39672 of -D_IO_MTSAFE_IO.
39673 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39674 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39675 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39676 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39677 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39678 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39679 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39680 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39681 (CFLAGS-fread_u_chk.c): Likewise.
39682 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39683 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39684 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39685 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39686 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39687 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39688 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39689 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39690 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39691
39692 * libio/Makefile: Test [$(libc-reentrant) = yes]
39693 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39694
39695 * Makeconfig
39696 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39697 * sysdeps/pthread/configure: File removed.
39698 * sysdeps/pthread/Makeconfig: New file.
39699 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39700 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39701
d9195db8
GB
397022012-08-16 Gary Benson <gbenson@redhat.com>
39703
39704 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39705 unmapping the first object in a namespace.
39706
86466cd9
RM
397072012-08-16 Roland McGrath <roland@hack.frob.com>
39708
39709 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39710 (__internal_setnetgrent): ... this. Add internal_function to
39711 definition. Add libc_hidden_def.
39712 (setnetgrent): Update caller.
39713 (internal_endnetgrent): Renamed to ...
39714 (__internal_endnetgrent): ... this. Add internal_function to
39715 definition. Add libc_hidden_def.
39716 (endnetgrent): Update caller.
39717 (internal_getnetgrent_r): Renamed to ...
39718 (__internal_getnetgrent_r): ... this. Add internal_function to
39719 definition. Add libc_hidden_def.
39720 (__getnetgrent_r): Update caller.
39721 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39722
c3c8283c
JM
397232012-08-16 Joseph Myers <joseph@codesourcery.com>
39724
39725 * stdlib/longlong.h: Update from GCC.
39726
db1ee0a8
RM
397272012-08-16 Roland McGrath <roland@hack.frob.com>
39728
39729 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39730 on _QL, which is set by umul_ppmm but never used.
39731 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39732 variables, which are set by GMP macros but never used.
39733 * stdio-common/_itowa.c (_itowa): Likewise.
39734 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39735 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39736
30f69637
CD
397372012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39738
39739 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39740 struct La_sh_regs is not constant.
39741 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39742 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39743 and struct La_sparc64_regs are not constant.
39744
93a78ac4
JM
397452012-08-16 Joseph Myers <joseph@codesourcery.com>
39746
39747 * sysdeps/unix/sysv/linux/kernel-features.h
39748 (__ASSUME_POSIX_TIMERS): Remove.
39749 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39750 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39751 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39752 Make code unconditional.
39753 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39754 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39755 Make code unconditional.
39756 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39757 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39758 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39759 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39760 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39761 Make code unconditional.
39762 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39763 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39764 (__libc_missing_posix_timers): Remove.
39765
dd924cd7
RM
397662012-08-15 Roland McGrath <roland@hack.frob.com>
39767
4b4f2771
RM
39768 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39769 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39770
601c888b
RM
39771 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39772
176790a7
RM
39773 * elf/dl-sym.c: Include <stdlib.h>.
39774
329bc018
RM
39775 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39776 constants, which avoids warnings in 32-bit builds.
39777
e04e272d
RM
39778 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39779 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39780
952bf94a
RM
39781 * misc/lseek.c: File moved to ...
39782 * io/lseek.c: ... here.
39783
7c99b50a
RM
39784 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39785
dd924cd7
RM
39786 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39787 shifting LEN more than 31 bits at once.
39788
b3f479a8
LD
397892012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39790
39791 [BZ #14195]
8c4ae0d4
RM
39792 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39793 segmentation fault for a case of two empty input strings.
b3f479a8
LD
39794 * string/test-strncasecmp.c (check1): Renamed to...
39795 (bz12205): ...this.
39796 (bz14195): Add new testcase for two empty input strings and N > 0.
39797 (test_main): Call new testcase, adapt for renamed function.
39798
9c55864e
AJ
397992012-08-15 Andreas Jaeger <aj@suse.de>
39800
39801 [BZ #14090]
39802 * crypt/md5test2.c: New test, based on test supplied by Serge
39803 Belyshev <belyshev@depni.sinp.msu.ru>.
39804 * crypt/Makefile (xtests): Add md5test-giant..
39805 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39806
02dcb6c5
PE
398072012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39808
39809 [BZ #14090]
39810 * crypt/md5.c (md5_process_block): Don't assume the buffer
39811 length is less than 2**32.
39812 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39813 length is less than 2**64.
39814
a3f95dcc
RM
398152012-08-15 Roland McGrath <roland@hack.frob.com>
39816
be75d758
RM
39817 * string/str-two-way.h: Include <sys/param.h>.
39818 (MAX): Macro removed.
39819
7312ca90
RM
39820 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39821 Move #define and #undef of memmove to just before and after
39822 including <string.h>.
39823
9a0a5486
RM
39824 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39825 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39826 and after including <string.h>. Move declarations of
39827 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39828 to before #include "string/memmove.c".
39829
67cc348d
RM
39830 * include/dirent.h: Declare __getdirentries.
39831
a3f95dcc
RM
39832 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39833 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39834
ca98e171
MF
398352012-08-14 Mike Frysinger <vapier@gentoo.org>
39836
39837 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39838 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39839 * sysdeps/i386/configure: Regenerated.
39840 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39841 STABS_CURRENT_FILE, and STABS_FUN.
39842 (END): Remove call to STABS_FUN_END.
39843 (STABS_CURRENT_FILE1): Delete.
39844 (STABS_CURRENT_FILE): Likewise.
39845 (STABS_FUN): Likewise.
39846 (STABS_FUN_END): Likewise.
39847 (STABS_FUN2): Likewise.
39848 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39849 * sysdeps/x86_64/configure: Regenerated.
39850
5908bf46
RM
398512012-08-14 Roland McGrath <roland@hack.frob.com>
39852
39853 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 39854 * elf/dl-lookup.c: Likewise.
5908bf46 39855
f2c05b9e
JM
398562012-08-14 Joseph Myers <joseph@codesourcery.com>
39857
39858 * sysdeps/unix/sysv/linux/kernel-features.h
39859 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39860 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39861 unconditionally.
39862 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39863 unconditionally.
39864 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39865 condition on __ASSUME_CLONE_THREAD_FLAGS.
39866
e11f5155
AJ
398672012-08-14 Andreas Jaeger <aj@suse.de>
39868
39869 * sysdeps/i386/fpu/libm-test-ulps: Update.
39870
51a9ba86
MK
398712012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39872
2fdd4f78
AJ
39873 * include/atomic.h (atomic_exchange_and_add): Split into ...
39874 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39875 New atomic macros.
51a9ba86 39876
ba6cba9e
MT
398772012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39878
39879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39880
42443a47
JL
398812012-08-13 Jeff Law <law@redhat.com>
39882
39883 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39884 null byte in the output string.
39885
121dce05
JM
398862012-08-10 Joseph Myers <joseph@codesourcery.com>
39887
39888 * sysdeps/unix/sysv/linux/kernel-features.h
39889 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39890 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39891 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39892 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39893 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39894 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39895 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39896
bf51f568
JL
398972012-08-09 Jeff Law <law@redhat.com>
39898
39899 [BZ #13939]
39900 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39901 When avoid_arena is set, don't retry in the that arena. Pick the
39902 next one, whatever it might be.
39903 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39904 (arena_lock): Pass in new parameter to arena_get2.
39905 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39906 arena_get2.
39907 (__libc_malloc): Unify retrying after main arena failure with
39908 __libc_memalign version.
39909 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39910
f85fa270
L
399112012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39912
39913 [BZ #14166]
39914 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39915 to __redirect_strstr.
39916 (__strstr_sse42): Use typeof __redirect_strstr.
39917 (__strstr_ia32): Likewise.
39918 (__libc_strstr): New prototype.
39919 (strstr): Renamed to ...
39920 (__libc_strstr): This.
39921 (strstr): New strong alias of __libc_strstr.
39922 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39923 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39924 __redirect_time.
39925 Include <time.h>.
39926 (__libc_time): New prototype.
39927 (time_ifunc): Replace time with __libc_time.
39928 (time): New strong alias and hidden definition of __libc_time.
39929 (__GI_time): Remove strong alias.
39930 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39931 Include <stddef.h>.
39932 (memmove): Redefined to __redirect_memmove.
39933 (__memmove_sse2): Use typeof __redirect_memmove.
39934 (__memmove_ssse3): Likewise.
39935 (__memmove_ssse3_back): Likewise.
39936 (__libc_memmove): New prototype.
39937 (memmove): Renamed to ...
39938 (__libc_memmove): This.
39939 (memmove): New strong alias of __libc_memmove.
39940
33b4a91e
MS
399412012-08-08 Mark Salter <msalter@redhat.com>
39942
39943 * elf/elf.h
39944 (R_MN10300_TLS_GD): Define.
39945 (R_MN10300_TLS_LD): Likewise.
39946 (R_MN10300_TLS_LDO): Likewise.
39947 (R_MN10300_TLS_GOTIE): Likewise.
39948 (R_MN10300_TLS_IE): Likewise.
39949 (R_MN10300_TLS_LE): Likewise.
39950 (R_MN10300_TLS_DTPMOD): Likewise.
39951 (R_MN10300_TLS_DTPOFF): Likewise.
39952 (R_MN10300_TLS_TPOFF): Likewise.
39953 (R_MN10300_SYM_DIFF): Likewise.
39954 (R_MN10300_ALIGN): Likewise.
39955 (R_MN10300_NUM): Update.
39956
b36137f1
JM
399572012-08-08 Joseph Myers <joseph@codesourcery.com>
39958
39959 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39960 Remove.
39961
cdd915fd
RM
399622012-08-08 Roland McGrath <roland@hack.frob.com>
39963
a2433aac
RM
39964 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39965
cdd915fd
RM
39966 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39967 sysdeps/unix -> sysdeps/posix move.
39968 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39969
bf9b740a
AM
399702012-08-07 Allan McRae <allan@archlinux.org>
39971
39972 [BZ #14303]
39973 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39974 (SUNOS_CPP): Likewise.
39975 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39976 not found.
39977 (open_input): Call CPP using execvp.
39978
93df14ee
JM
399792012-08-07 Joseph Myers <joseph@codesourcery.com>
39980
39981 * sysdeps/unix/sysv/linux/kernel-features.h
39982 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39983 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39984 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39985 (__ASSUME_WAITID_SYSCALL): Likewise.
39986 * sysdeps/unix/sysv/linux/dl-execstack.c
39987 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39988 code unconditional.
39989 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39990 conditional code.
39991 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39992 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39993 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39994 code.
39995 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39996 unconditional.
39997 [__ASSUME_WAITID_SYSCALL]: Likewise.
39998 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39999
d34689de
RM
400002012-08-07 Roland McGrath <roland@hack.frob.com>
40001
a281decc
RM
40002 * sysdeps/unix/closedir.c: Renamed to ...
40003 * sysdeps/posix/closedir.c: ... here.
40004 * sysdeps/unix/dirfd.c: Renamed to ...
40005 * sysdeps/posix/dirfd.c: ... here.
40006 * sysdeps/unix/dirstream.h: Renamed to ...
40007 * sysdeps/posix/dirstream.h: ... here.
40008 * sysdeps/unix/fdopendir.c: Renamed to ...
40009 * sysdeps/posix/fdopendir.c: ... here.
40010 * sysdeps/unix/opendir.c: Renamed to ...
40011 * sysdeps/posix/opendir.c: ... here.
40012 * sysdeps/unix/readdir.c: Renamed to ...
40013 * sysdeps/posix/readdir.c: ... here.
40014 * sysdeps/unix/readdir_r.c: Renamed to ...
40015 * sysdeps/posix/readdir_r.c: ... here.
40016 * sysdeps/unix/rewinddir.c: Renamed to ...
40017 * sysdeps/posix/rewinddir.c: ... here.
40018 * sysdeps/unix/seekdir.c: Renamed to ...
40019 * sysdeps/posix/seekdir.c: ... here.
40020 * sysdeps/unix/telldir.c: Renamed to ...
40021 * sysdeps/posix/telldir.c: ... here.
40022 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40023 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40024 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40025 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40026
22895b47
RM
40027 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40028 * bits/fcntl.h: ... here.
40029
707a53b6
RM
40030 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40031 not 0.
40032 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40033 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40034 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40035 (struct flock): Move l_start, l_len to the beginning.
40036 Use __pid_t for l_pid.
40037 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40038 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40039 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40040 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40041 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40042 [__USE_LARGEFILE64] (struct flock64): New type.
40043 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40044
f0bd3e25
RM
40045 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40046 * bits/dirent.h: ... here.
40047
d34689de
RM
40048 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40049 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40050
6dad2c06
JM
400512012-08-07 Joseph Myers <joseph@codesourcery.com>
40052
40053 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40054 Change from 2.6.0 to 2.6.16.
40055 * sysdeps/unix/sysv/linux/configure: Regenerated.
40056 * sysdeps/unix/sysv/linux/kernel-features.h
40057 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40058 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40059 version.
40060 (__ASSUME_UTIMES): Likewise.
40061 (__ASSUME_CLONE_STOPPED): Remove.
40062 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40063 architectures, not kernel version.
40064 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40065 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40066 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40067 (__ASSUME_WAITID_SYSCALL): Likewise.
40068 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40069 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40070 * README: State 2.6.16 as minimum Linux kernel version. Do not
40071 refer to older versions.
40072
03af9520
RM
400732012-08-06 Roland McGrath <roland@hack.frob.com>
40074
8e49df1d
RM
40075 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40076 Define alphasort64 as an alias.
40077 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40078 Define versionsort64 as an alias.
40079 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40080 Define scandir64 as an alias.
40081 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40082 Define scandirat64 as an alias.
40083 * dirent/alphasort64.c (alphasort64):
40084 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40085 * dirent/versionsort64.c: Likewise.
40086 * dirent/scandir64.c: Likewise.
40087 * dirent/scandirat64.c: Likewise.
40088 * sysdeps/wordsize-64/alphasort.c: File removed.
40089 * sysdeps/wordsize-64/alphasort64.c: File removed.
40090 * sysdeps/wordsize-64/scandir.c: File removed.
40091 * sysdeps/wordsize-64/scandir64.c: File removed.
40092 * sysdeps/wordsize-64/scandirat.c: File removed.
40093 * sysdeps/wordsize-64/scandirat64.c: File removed.
40094 * sysdeps/wordsize-64/versionsort.c: File removed.
40095 * sysdeps/wordsize-64/versionsort64.c: File removed.
40096 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40097 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40098 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40099 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40100 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40101 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40102 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40103 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40104
40105 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40106 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40107 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40108 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40109 [defined __arch64__ || defined __sparcv9]
40110 (__INO_T_MATCHES_INO64_T): New macro.
40111 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40112 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40113 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40114 * sysdeps/unix/sysv/linux/bits/dirent.h
40115 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40116 (_DIRENT_MATCHES_DIRENT64): New macro.
40117
03af9520
RM
40118 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40119 Define lockf64 as an alias.
40120 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40121 Define fseeko64 as an alias.
40122 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40123 Define ftello64 as an alias.
40124 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40125 Define _IO_fgetpos64 and fgetpos64 as aliases.
40126 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40127 Define _IO_fsetpos64 and fsetpos64 as aliases.
40128 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40129 Conditionalize body on this.
40130 * libio/fseeko64.c: Likewise.
40131 * libio/ftello64.c: Likewise.
40132 * libio/iofgetpos64.c: Likewise.
40133 * libio/iofsetpos64.c: Likewise.
40134 * sysdeps/wordsize-64/lockf.c: File removed.
40135 * sysdeps/wordsize-64/lockf64.c: File removed.
40136 * sysdeps/wordsize-64/fseeko.c: File removed.
40137 * sysdeps/wordsize-64/fseeko64.c: File removed.
40138 * sysdeps/wordsize-64/ftello.c: File removed.
40139 * sysdeps/wordsize-64/ftello64.c: File removed.
40140 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40141 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40142 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40143 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40144 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40145 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40146 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40147 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40148 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40149 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40150 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40151 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40152 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40153 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40154
40155 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40156 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40157 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40158 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40159 [defined __arch64__ || defined __sparcv9]
40160 (__OFF_T_MATCHES_OFF64_T): New macro.
40161 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40162 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40164 (__OFF_T_MATCHES_OFF64_T): New macro.
40165
c5757acd
L
401662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40167
40168 * stdlib/secure-getenv.c (__secure_getenv): Replace
40169 GLIBC_2_16 with GLIBC_2_17.
40170
3a31811e
L
401712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40172
40173 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40174 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40175
faa2bccb
DM
401762012-08-03 David S. Miller <davem@davemloft.net>
40177
40178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40179
85fe1997
JM
401802012-08-03 Joseph Myers <joseph@codesourcery.com>
40181
40182 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40183 Remove.
40184 (__ASSUME_CORRECT_SI_PID): Likewise.
40185 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40186 (__ASSUME_TMPFS_NAME): Likewise.
40187 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40188 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40189 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40190 (HAVE_AUX_SECURE): Make definition unconditional.
40191 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40192 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40193
4f75b7a0
RM
401942012-08-03 Roland McGrath <roland@hack.frob.com>
40195
40196 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40197 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40198 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40199 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40200 __eloop_threshold instead of SYMLOOP_MAX.
40201
40202 * sysdeps/generic/eloop-threshold.h: New file.
40203 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40204 of MAXSYMLINKS.
40205 * elf/chroot_canon.c (chroot_canon): Likewise.
40206
7aab07e4
JM
402072012-08-03 Joseph Myers <joseph@codesourcery.com>
40208
40209 [BZ #13717]
40210 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40211 Change to 2.6.0 everywhere.
40212 * sysdeps/unix/sysv/linux/configure: Regenerated.
40213 * sysdeps/unix/sysv/linux/kernel-features.h
40214 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40215 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40216 kernel versions.
40217 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40218 (__ASSUME_FUTEX_REQUEUE): Remove.
40219 (__ASSUME_STATFS64): Define unconditionally.
40220 (__ASSUME_AT_SECURE): Likewise.
40221 (__ASSUME_CORRECT_SI_PID): Likewise.
40222 (__ASSUME_TGKILL): Define without depending on kernel version for
40223 i386.
40224 (__ASSUME_UTIMES): Likewise.
40225 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40226 kernel version.
40227 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40228 (__ASSUME_TMPFS_NAME): Likewise.
40229 * README: Update reference to Linux kernel versions.
40230
b67e9372
MP
402312012-08-02 Marek Polacek <polacek@redhat.com>
40232
1f529f7d 40233 [BZ# 14150]
b67e9372
MP
40234 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40235 libc_cv_asm_type_prefix with %.
40236 * configure: Regenerated.
d2441631
RM
40237 * include/libc-symbols.h: Remove comment about
40238 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
40239 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40240 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40241 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40242 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40243 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40244 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40245 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40246 * elf/tst-unique2mod1.c: Likewise.
40247 * elf/tst-unique1mod2.c: Likewise.
40248 * elf/tst-unique1mod1.c: Likewise.
40249 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40250 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40251 Replace ASM_TYPE_DIRECTIVE with .type.
40252 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40253 * sysdeps/i386/sysdep.h: Likewise.
40254 * sysdeps/x86_64/sysdep.h: Likewise.
40255 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
40256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40257 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 40258 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
40259 * sysdeps/powerpc/powerpc32/sysdep.h:
40260 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
40261 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40262 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40263 * sysdeps/i386/fpu/e_powf.S: Likewise.
40264 * sysdeps/i386/fpu/e_expl.S: Likewise.
40265 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40266 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40267 * sysdeps/i386/fpu/e_pow.S: Likewise.
40268 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40269 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40270 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40271 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40272 * sysdeps/i386/fpu/e_log2.S: Likewise.
40273 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40274 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40275 * sysdeps/i386/fpu/e_powl.S: Likewise.
40276 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40277 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40278 * sysdeps/i386/fpu/e_logl.S: Likewise.
40279 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40280 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40281 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40282 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40283 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40284 * sysdeps/i386/fpu/e_log.S: Likewise.
40285 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40286 * sysdeps/i386/fpu/e_logf.S: Likewise.
40287 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40288 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40289 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40290 * sysdeps/i386/fpu/e_log10.S: Likewise.
40291 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40292 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40293 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40294 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40295 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40296 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40297 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40298 * sysdeps/i386/i686/strtok.S: Likewise.
40299 * sysdeps/i386/i386-mcount.S: Likewise.
40300 * sysdeps/i386/strtok.S: Likewise.
40301 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40302 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40303 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40304 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40305 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40306 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40307 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40308 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40309 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40310 * sysdeps/x86_64/_mcount.S: Likewise.
40311 * sysdeps/x86_64/strtok.S: Likewise.
40312 * sysdeps/sh/_mcount.S: Likewise.
40313
2747bf9a
RM
403142012-08-01 Roland McGrath <roland@hack.frob.com>
40315
40316 * libio/iofopen.c: Include <fcntl.h>.
40317 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40318 (_IO_fopen64, fopen64): Define as aliases.
40319 * libio/iofopen64.c: Include <fcntl.h>.
40320 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40321 Conditionalize body on this.
40322 * sysdeps/wordsize-64/iofopen.c: File removed.
40323 * sysdeps/wordsize-64/iofopen64.c: File removed.
40324
3fb791b8
MP
403252012-08-01 Marek Polacek <polacek@redhat.com>
40326
40327 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40328 Use dlfcn directly instead of a variable.
40329 (binfmt-subdir): Do not define.
40330 (dlfcn): Likewise.
40331
a9f1039f
JM
403322012-08-01 Joseph Myers <joseph@codesourcery.com>
40333
23bddc06
JM
40334 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40335 Remove all definitions.
40336 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40337 <kernel-features.h>.
40338 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40339 (miss_F_GETOWN_EX): Remove all definitions.
40340 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40341 macro definition.
40342 [!__ASSUME_FCNTL64]: Remove conditional code.
40343 [__ASSUME_FCNTL64]: Make code unconditional.
40344 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40345 <kernel-features.h>.
40346 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40347 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40348 (lockf64) [__NR_fcntl64]: Make code unconditional.
40349 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40350
a9f1039f
JM
40351 * sysdeps/unix/sysv/linux/kernel-features.h
40352 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40353 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40354 Make code unconditional.
40355 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40356 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40358 [__NR_vfork]: Make code unconditional.
40359 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40360 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40362 [__NR_vfork]: Make code unconditional.
40363 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40364 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40365
09c0ee5f
RM
403662012-08-01 Roland McGrath <roland@hack.frob.com>
40367
48aec5b9
RM
40368 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40369 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40370
cd97c966
RM
40371 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40372 Define mkstemp64 as an alias.
3f55550c
RM
40373 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40374 Define mkstemps64 as an alias.
cd97c966
RM
40375 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40376 Define mkostemp64 as an alias.
b8625cfc
RM
40377 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40378 Define mkostemps64 as an alias.
cd97c966
RM
40379 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40380 Conditionalize body on this.
40381 * misc/mkostemp64.c: Likewise.
b8625cfc 40382 * misc/mkostemps64.c: Likewise.
3f55550c 40383 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40384 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40385 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40386 * sysdeps/wordsize-64/mkostemp.c: File removed.
40387 * sysdeps/wordsize-64/mkstemp.c: File removed.
40388 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40389 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40390 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40391 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40392
09c0ee5f
RM
40393 [BZ #14138]
40394 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40395 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40396 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40397 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40398
40399 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40400 compat_symbol macros from <shlib-compat.h> rather than the underlying
40401 default_symbol_version and symbol_version macros, so that DEFAULT
40402 lines in shlib-versions are respected.
40403 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40404
7e66ee51
FW
404052012-08-01 Florian Weimer <fweimer@redhat.com>
40406
40407 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40408 Declare with warn_unused_result.
40409 (setgid, setregid, setegid, setresgid): Likewise.
40410 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40411 Likewise.
40412 * WUR-REPORT: Remove set*id functions.
40413
d2a54255
PT
404142012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40415
40416 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40417
7ecdb005
RM
404182012-07-31 Roland McGrath <roland@hack.frob.com>
40419
b4180a5e 40420 [BZ #10191]
789bd351
RM
40421 * include/sys/socket.h (__libc_accept, __libc_accept4):
40422 Add attribute_hidden.
40423 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40424
40ce302d
RM
40425 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40426 use of PTR_MANGLE.
40427 * inet/getnetgrent_r.c (setup): Likewise.
40428
7ecdb005
RM
40429 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40430
e2eabb2c
DM
404312012-07-31 David S. Miller <davem@davemloft.net>
40432
40433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40434
d0419dbf
JM
404352012-07-31 Joseph Myers <joseph@codesourcery.com>
40436
40437 [BZ #13629]
40438 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40439 value between 1.0 and 2.0 and smaller part has absolute value less
40440 than 1.0.
40441 * math/s_clog10.c (__clog10): Likewise.
40442 * math/s_clog10f.c (__clog10f): Likewise.
40443 * math/s_clog10l.c (__clog10l): Likewise.
40444 * math/s_clogf.c (__clogf): Likewise.
40445 * math/s_clogl.c (__clogl): Likewise.
40446 * math/libm-test.inc (clog_test): Add more tests.
40447 (clog10_test): Likewise.
40448 * sysdeps/i386/fpu/libm-test-ulps: Update.
40449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40450
2bc13872
FW
404512012-07-31 Florian Weimer <fweimer@redhat.com>
40452
40453 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40454 Exit with zero in case no suitable GID is found, and write a
40455 message to standard error.
40456
bea9b193
RM
404572012-07-30 Roland McGrath <roland@hack.frob.com>
40458
40459 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40460 rather than to 1.
40461 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40462 (MAXPATHLEN): Removed.
40463 (NOGROUP, NODEV): New macros.
40464 (setbit, clrbit, isset, isclr): New macros.
40465 (howmany, roundup, powerof2): New macros.
40466 (DEV_BSIZE): New macro.
40467
40468 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40469 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40470
40471 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40472 definition on [!__NO_LONG_DOUBLE_MATH].
40473
40474 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40475 PTR_MANGLE and PTR_DEMANGLE.
40476
40477 * socket/accept4.c (accept4): Rename to __libc_accept4.
40478 Define accept4 as a weak alias.
40479
40480 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40481 on [_DIRENT_HAVE_D_TYPE].
40482 * io/ftw.c (ftw_dir): Likewise.
40483
40484 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40485
40486 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40487
40488 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40489 Use the BSD numbers rather than the arbitrary ones we had.
40490 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40491 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40492 (SIGXCPU, SIGXFSZ): New macros.
40493 (_NSIG): Now 32.
40494
40495 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40496 initializer on [_LIBC_REENTRANT].
40497
40498 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40499 definitions inside [_POSIX_MAPPED_FILES].
40500
40501 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40502
40503 * dirent/opendir.c: Include <fcntl.h>.
40504
40505 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40506 (__libc_getspecific): Likewise.
40507 (__libc_key_create): Likewise.
40508
40509 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40510 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40511 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40512 (tmpfile64): Define as alias.
40513 * sysdeps/wordsize-64/tmpfile.c: File removed.
40514 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40515 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40516 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40517
40518 * stdio-common/vfscanf.c: Include <stdbool.h>.
40519 * nss/makedb.c: Likewise.
40520 * stdio-common/_i18n_number.h: Likewise.
40521 * argp/argp-help.c: Likewise.
40522 * posix/wordexp.c: Likewise.
40523 * sysdeps/posix/spawni.c: Likewise.
40524 * nss/nss_files/files-initgroups.c: Likewise.
40525 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40526 * nss/nss_files/files-initgroups.c: Likewise.
40527 * nss/nss_db/db-netgrp.c: Likewise.
40528 * nss/nss_db/db-initgroups.c: Likewise.
40529 * io/fchmodat.c: Include <sys/stat.h>.
40530
40531 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40532 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40533
40534 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40535 [HAVE_MMAP].
40536
40537 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40538 Add multiple inclusion protection.
40539
e5abc686
DM
405402012-07-27 David S. Miller <davem@davemloft.net>
40541
40542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40543
815e6fa3
GB
405442012-07-27 Gary Benson <gbenson@redhat.com>
40545
40546 [BZ #14298]
40547 * elf/rtld.c: Include <stap-probe.h>.
40548 (dl_main): Added static probes "init_start" and "init_complete".
40549 * elf/dl-load.c: Include <stap-probe.h>.
40550 (lose): Take new parameter "nsid".
40551 Added static probe "map_failed".
40552 (_dl_map_object_from_fd): Pass namespace id to lose.
40553 Added static probe "map_start".
40554 (open_verify): Pass namespace id to lose.
40555 * elf/dl-open.c: Include <stap-probe.h>.
40556 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40557 and "reloc_complete".
40558 * elf/dl-close.c: Include <stap-probe.h>.
40559 (_dl_close_worker): Added static probes "unmap_start" and
40560 "unmap_complete".
40561 * elf/rtld-debugger-interface.txt: New file documenting the above.
40562
9f98c16c
RM
405632012-07-26 Roland McGrath <roland@hack.frob.com>
40564
40565 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40566 rather than a string variable.
40567 * sunrpc/rpc_main.c (h_output): Likewise.
40568 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40569
f3c22df3
PT
405702012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40571
40572 * inet/check_native.c: New file.
40573
3129cfc6
JM
405742012-07-26 Joseph Myers <joseph@codesourcery.com>
40575
da865e95
JM
40576 [BZ #13629]
40577 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40578 if larger part has absolute value 1.0.
40579 * math/s_clog10.c (__clog10): Likewise.
40580 * math/s_clog10f.c (__clog10f): Likewise.
40581 * math/s_clog10l.c (__clog10l): Likewise.
40582 * math/s_clogf.c (__clogf): Likewise.
40583 * math/s_clogl.c (__clogl): Likewise.
40584 * math/libm-test.inc (clog_test): Add more tests.
40585 (clog10_test): Likewise.
40586 * sysdeps/i386/fpu/libm-test-ulps: Update.
40587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40588
3129cfc6
JM
40589 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40590 (pltexit): Likewise.
40591 (La_regs): Likewise.
40592 (La_retval): Likewise.
40593 (int_retval): Likewise.
40594 Update #error for removed macros to refer only to definitions in
40595 tst-audit.h.
40596 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40597 macro.
40598 (pltexit): Likewise.
40599 (La_regs): Likewise.
40600 (La_retval): Likewise.
40601 (int_retval): Likewise.
40602 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40603 macro.
40604 (pltexit): Likewise.
40605 (La_regs): Likewise.
40606 (La_retval): Likewise.
40607 (int_retval): Likewise.
40608 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40609 macro.
40610 (pltexit): Likewise.
40611 (La_regs): Likewise.
40612 (La_retval): Likewise.
40613 (int_retval): Likewise.
40614 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40615 macro.
40616 (pltexit): Likewise.
40617 (La_regs): Likewise.
40618 (La_retval): Likewise.
40619 (int_retval): Likewise.
40620 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40621 macro.
40622 (pltexit): Likewise.
40623 (La_regs): Likewise.
40624 (La_retval): Likewise.
40625 (int_retval): Likewise.
40626 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40627 macro.
40628 (pltexit): Likewise.
40629 (La_regs): Likewise.
40630 (La_retval): Likewise.
40631 (int_retval): Likewise.
40632 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40633 macro definitions in tst-audit.h.
40634 * sysdeps/i386/tst-audit.h: New file.
40635 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40636 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40637 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40638 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40639 * sysdeps/sh/tst-audit.h: Likewise.
40640 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40641 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40642 * sysdeps/x86_64/tst-audit.h: Likewise.
40643
bfc07087
AJ
406442012-07-26 Andreas Jaeger <aj@suse.de>
40645
b1b2aaf8
AJ
40646 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40647 ptrace.
40648
40649 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40650 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40651 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40652 PTRACE_O_MASK.
40653 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40654 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40655 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40656
bfc07087
AJ
40657 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40658 value.
40659
40660 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40661 _sigsys.
40662 (si_call_addr, si_syscall, si_arch): Define new macro.
40663 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40664 _sigsys.
40665 (si_call_addr, si_syscall, si_arch): Define new marcro.
40666 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40667 _sigsys.
40668 (si_call_addr, si_syscall, si_arch): Define new macro.
40669 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40670 _sigsys.
40671 (si_call_addr, si_syscall, si_arch): Define new macro.
40672
89b4b02f
JM
406732012-07-25 Joseph Myers <joseph@codesourcery.com>
40674
40675 [BZ #13717]
40676 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40677 Change to 2.4.21 where previously 2.4.1.
40678 * sysdeps/unix/sysv/linux/configure: Regenerated.
40679 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40680 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40681 Linux kernel version.
40682 (__ASSUME_STD_AUXV): Remove.
40683 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40684 kernel version.
40685 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40686 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40687 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40688 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40689 (__ASSUME_NETLINK_SUPPORT): Likewise.
40690 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40691 (__no_netlink_support): Remove conditional definition.
40692 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40693 Remove.
40694 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40695 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40696 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40697 (if_nameindex_ioctl): Remove.
40698 (if_nameindex_netlink): Do not handle __no_netlink_support.
40699 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40700 code.
40701 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40702 Remove conditional code.
40703 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40704 code.
40705 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40706 unconditional.
40707 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40708 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40709 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40710 Remove.
40711 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40712 [!__ASSUME_STD_AUXV]: Remove conditional code.
40713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40714 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40715 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40717 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40718 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40719 code.
40720 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40722 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40723 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40724 conditional code.
40725 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40727 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40728 code.
40729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40730 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40731 conditional code.
40732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40733 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40734 code unconditional.
40735 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40736 conditional code.
40737 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40738 unconditional.
40739 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40740 conditional code.
40741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40742 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40743 unconditional.
40744 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40745 conditional code.
40746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40747 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40748 code unconditional.
40749 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40750 conditional code.
40751 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40752 unconditional.
40753 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40754 conditional code.
40755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40756 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40757 code unconditional.
40758 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40759 conditional code.
40760 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40761 unconditional.
40762 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40763 conditional code.
40764
842a39cd
AS
407652012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40766
40767 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40768 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40769 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40770 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40771 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40772 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40773 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40774 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40775 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40776 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40777 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40778 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40779 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40780 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40781 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40782 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40783 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40784 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40785 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40787 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40788 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40789 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40790
84b3fd84
FW
407912012-07-25 Florian Weimer <fweimer@redhat.com>
40792
40793 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
40794 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40795 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40796 Introduce __libc_secure_getenv.
0c7936d5
FW
40797 * stdlib/Versions (2.17): Add secure_getenv
40798 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40799 * stdlib/secure-getenv.c: Rename __secure_getenv to
40800 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40801 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
40802 * stdlib/tst-secure-getenv.c: New.
40803 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
40804 * manual/startup.texi (Environment Access): Document
40805 secure_getenv.
84b3fd84
FW
40806 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40807 __libc_secure_getenv.
40808 * inet/ruserpass.c (ruserpass): Likewise.
40809 * malloc/mtrace.c (mtrace): Likewise.
40810 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 40811 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
40812 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40813 * sysdeps/posix/tempname.c: Likewise. Evaluate
40814 HAVE_SECURE_GETENV.
40815 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 40816 __secure_getenv to __libc_secure_getenv.
84b3fd84 40817 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
40818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40819 Likewise.
40820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40821 Likewise.
40822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40824 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 40829
56e49b71
JM
408302012-07-25 Joseph Myers <joseph@codesourcery.com>
40831
40832 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40833 (struct La_i86_retval): Likewise.
40834 (struct La_x86_64_regs): Likewise.
40835 (struct La_x86_64_retval): Likewise.
40836 (struct La_x32_regs): Likewise.
40837 (struct La_x32_retval): Likewise.
40838 (struct La_ppc32_regs): Likewise.
40839 (struct La_ppc32_retval): Likewise.
40840 (struct La_ppc64_regs): Likewise.
40841 (struct La_ppc64_retval): Likewise.
40842 (struct La_sh_regs): Likewise.
40843 (struct La_sh_retval): Likewise.
40844 (struct La_s390_32_regs): Likewise.
40845 (struct La_s390_32_retval): Likewise.
40846 (struct La_s390_64_regs): Likewise.
40847 (struct La_s390_64_retval): Likewise.
40848 (struct La_sparc32_regs): Likewise.
40849 (struct La_sparc32_retval): Likewise.
40850 (struct La_sparc64_regs): Likewise.
40851 (struct La_sparc64_retval): Likewise.
40852 (struct audit_ifaces): Remove architecture-specific pltenter and
40853 pltexit members.
40854 * sysdeps/i386/ldsodefs.h: New file.
40855 * sysdeps/powerpc/ldsodefs.h: Likewise.
40856 * sysdeps/s390/ldsodefs.h: Likewise.
40857 * sysdeps/sh/ldsodefs.h: Likewise.
40858 * sysdeps/sparc/ldsodefs.h: Likewise.
40859 * sysdeps/x86_64/ldsodefs.h: Likewise.
40860
354691b7
MP
408612012-07-25 Marek Polacek <polacek@redhat.com>
40862
40863 [BZ #6808]
40864 * math/libm-test.inc (yn_test): Add another test.
40865 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40866 to ERANGE when the result is +-Inf.
40867 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40868 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40869 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40870 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40871
bf9e2071
JM
408722012-07-24 Joseph Myers <joseph@codesourcery.com>
40873
40874 * conform/data/time.h-data (NULL): Use macro-constant. Require
40875 equal to 0.
40876 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40877 clock_t.
40878 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40879
57633811
TS
408802012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40881
40882 * configure.in <sysdeps resolving>: Correct printing
40883 Implies_before.
40884 * configure: Regenerate.
40885
c23c33b0
TS
408862012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40887
40888 * math/w_ilogb.c: Include <limits.h>.
40889 * math/w_ilogbl.c: Likewise.
40890
b5982523
JM
408912012-07-20 Joseph Myers <joseph@codesourcery.com>
40892
40893 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40894 va_copy. Document allowing for unavailable va_copy only as
40895 pre-C99 compatibility.
40896 * manual/string.texi (Copying and Concatenation): Use va_copy
40897 instead of __va_copy in concat example.
40898
ac4ea442
PT
408992012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40900
40901 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40902 (__sendto): Use create_address_port. Initialize APORT and deallocate
40903 it if not null.
40904
f98eafbd
PT
40905 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40906 with O_NOLINK passed to __file_name_lookup.
40907
898c7aab
PT
40908 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40909 with O_NOLINK passed to __file_name_lookup.
40910
0ced335a
PT
40911 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40912 negative N or less than NGIDS.
40913
b3404dbd
PT
40914 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40915 type to string_t. Set ERANGE as errno and return it if NAME is not big
40916 enough. Use memcpy instead of strncpy.
40917
0f48659e
JM
409182012-07-20 Joseph Myers <joseph@codesourcery.com>
40919
40920 * elf/Makefile (check-data): Remove.
40921 (localplt.data): New vpath directive.
40922 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40923 instead of $(check-data).
40924 * scripts/data/localplt-generic.data: Move to ...
40925 * sysdeps/generic/localplt.data: ... here.
40926 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40927 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40928 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40930 ... here.
40931 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40933 ... here.
40934 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40936 ... here.
40937 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40939 ... here.
40940 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40942 ... here.
40943 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40945 ... here.
40946
d37cbdaa
AZ
409472012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40948
40949 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40950 PPC32 and PPC64 files.
40951 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40952 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40953
46f85fc2
AK
409542012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40955
40956 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40957 __makecontext_ret to ...
40958 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40959 ... here and call exit if uc_link is NULL. New file.
40960 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40961 __makecontext_ret.S.
40962 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40963 __makecontext_ret to ...
40964 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40965 ... here and call exit if uc_link is NULL. New file.
40966 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40967 __makecontext_ret.S.
40968
08f43f9b
AK
409692012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40970
40971 * elf/elf.h (R_390_IRELATIVE): New definition.
40972 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40973 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40974 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40975 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40976 (elf_machine_lazy_rel): Likewise.
40977 * sysdeps/s390/dl-irel.h: New file.
40978 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40979 * sysdeps/s390/s390-64/memset.S: New asm code.
40980 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40981 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40982 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40983 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40984 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40985 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40986 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40987 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40988 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40989 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40990 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40991 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40992 * sysdeps/s390/s390-32/memset.S: New asm code.
40993 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40994
3b05db33
MP
409952012-07-17 Marek Polacek <polacek@redhat.com>
40996
40997 [BZ #14349]
40998 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40999 * sysdeps/s390/s390-64/configure.in: Likewise.
41000 * sysdeps/sparc/configure.in: Likewise.
41001 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41002 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41003 * sysdeps/i386/configure.in: Likewise.
41004 * sysdeps/x86_64/configure.in: Likewise.
41005 * sysdeps/sh/configure.in: Likewise.
41006 * sysdeps/s390/s390-32/configure: Regenerated.
41007 * sysdeps/s390/s390-64/configure: Likewise.
41008 * sysdeps/x86_64/configure: Likewise.
41009 * sysdeps/sh/configure: Likewise.
41010 * sysdeps/powerpc/powerpc64/configure: Likewise.
41011 * sysdeps/powerpc/powerpc32/configure: Likewise.
41012 * sysdeps/sparc/configure: Likwise.
41013 * sysdeps/i386/configure: Likewise.
41014
a66877c6
MP
41015 * elf/dl-open.c: Comment fixes.
41016
cfc82fd8
JM
410172012-07-17 Joseph Myers <joseph@codesourcery.com>
41018
bd29910a
JM
41019 * Makefile [CXX] (check-data): Remove.
41020 [CXX] (c++-types.data): New vpath directive.
41021 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41022 vpath. Do not allow for C++ type data being missing.
41023 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41024 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41025 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41026 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41027 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41028 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41029 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41031 ... here.
41032 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41034 ... here.
41035 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41037 ... here.
41038 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41040 ... here.
41041 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41043 ... here.
41044 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41046 ... here.
41047 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41049 ... here.
41050 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41052
cfc82fd8
JM
41053 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41054 definitions to architecture-specific files.
41055 (TLS_IE): Likewise.
41056 (TLS_LD): Likewise.
41057 (TLS_GD): Likewise.
41058 * sysdeps/i386/tls-macros.h: New file.
41059 * sysdeps/powerpc/tls-macros.h: Likewise.
41060 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41061 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41062 * sysdeps/sh/tls-macros.h: Likewise.
41063 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41064 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41065 * sysdeps/x86_64/tls-macros.h: Likewise.
41066
f7db3170
TS
410672012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41068
07cbfc23
TS
41069 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41070 zero value for regular exit case.
41071
f7db3170
TS
41072 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41073 (__start_context): Preserve zero value for regular exit case.
41074
dc97c227
TS
410752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41076 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41077
41078 * manual/setjmp.texi (setcontext): Clarify normal process
41079 termination when uc_link is the null pointer.
41080 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41081 exit call.
41082
d0cd7d02
AS
410832012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41084
41085 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41086 preprocessor. Test for each exception mask separately.
41087
dd318934
AJ
410882012-07-16 Andreas Jaeger <aj@suse.de>
41089
41090 * po/ru.po: Update from translation team.
41091
8048311a
JM
410922012-07-15 Joseph Myers <joseph@codesourcery.com>
41093
41094 * conform/data/string.h-data (NULL): Use macro-constant. Require
41095 equal to 0.
41096 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41097 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41098 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41099 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41100 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41101
b637d46e
AJ
411022012-07-13 Andreas Jaeger <aj@suse.de>
41103
41104 * po/fr.po: Update from translation team.
41105
541428fe
MP
411062012-07-12 Marek Polacek <polacek@redhat.com>
41107
41108 [BZ #14173]
41109 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41110 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41111 loop condition.
41112
ec332e94
JM
411132012-07-12 Joseph Myers <joseph@codesourcery.com>
41114
41115 [BZ #13717]
41116 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41117 Change to 2.4.1 where previously 2.4.0.
41118 * sysdeps/unix/sysv/linux/configure: Regenerated.
41119 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41120 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41121 version.
41122 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41123 (__ASSUME_AT_CLKTCK): Remove.
41124 (__ASSUME_AT_PAGESIZE): Likewise.
41125 (__ASSUME_AT_XID): Likewise.
41126 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41127 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41128 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41129 unconditionally.
41130 (HAVE_AUX_PAGESIZE): Likewise.
41131 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41132 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41133 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41134
7b6e99be
JB
411352012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41136
41137 [BZ #14307]
41138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41139 the temporary buffer used to invoke __gethostbyname2_r,
41140 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41141 host_data / struct gaih_addrtuple.
41142 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41143 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41144 header file nss/nsswitch.h.
41145 * nss/nsswitch.h (global scope): Add definition of implementation
41146 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41147 resolv/nss_dns/dns-host.c).
41148
608404eb
AJ
411492012-07-11 Andreas Jaeger <aj@suse.de>
41150
41151 * po/fr.po: Update from translation team.
41152
71220aca
AJ
41153 * po/sv.po: Update from translation team
41154 * po/fr.po: Another update from translation team.
41155
28cfe843
AZ
411562012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41157
41158 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41159 for subnormals or multiply small sinh result by itself.
41160 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41162
6b90f981
DM
411632012-07-11 David S. Miller <davem@davemloft.net>
41164
41165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41166
c6825772
AS
411672012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41168
41169 [BZ #14347]
41170 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41171 (INTERNAL_MARK): Shift it here.
41172
7b8e0d49
MP
411732012-07-10 Marek Polacek <polacek@redhat.com>
41174
41175 [BZ #14151]
41176 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41177 libc_cv_asm_global_directive with .globl.
41178 * configure: Regenerated.
41179 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41180 with .globl.
41181 * sysdeps/i386/configure: Regenerated.
41182 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41183 with .globl.
41184 * sysdeps/x86_64/configure: Regenerated.
41185 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41186 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41187 * elf/tst-unique2mod2.c: Likewise.
41188 * elf/tst-unique2mod1.c: Likewise.
41189 * elf/tst-unique1mod2.c: Likewise.
41190 * elf/tst-unique1mod1.c: Likewise.
41191 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41192 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41193 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41194 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41195 * sysdeps/mach/sysdep.h: Likewise.
41196 * sysdeps/i386/sysdep.h: Likewise.
41197 * sysdeps/i386/i386-mcount.S: Likewise.
41198 * sysdeps/x86_64/_mcount.S: Likewise.
41199 * sysdeps/x86_64/sysdep.h: Likewise.
41200 * sysdeps/sh/_mcount.S: Likewise.
41201 * sysdeps/sh/sysdep.h: Likewise.
41202 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41203 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41204 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41205 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41206 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41207 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41208 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41209 * locale/localeinfo.h: Likewise.
41210 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41211 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41212
6c55cda3
RM
412132012-07-09 Roland McGrath <roland@hack.frob.com>
41214
41215 [BZ #14336]
41216 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41217 system".
41218 * manual/message.texi (The Uniforum approach): Likewise.
41219 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41220 (glibc iconv Implementation): Likewise.
41221
638a572e
JM
412222012-07-09 Joseph Myers <joseph@codesourcery.com>
41223
41224 [BZ #14337]
41225 * math/s_clog.c (__clog): Avoid scaling a value down where that
41226 could result in underflow.
41227 * math/s_clog10.c (__clog10): Likewise.
41228 * math/s_clog10f.c (__clog10f): Likewise.
41229 * math/s_clog10l.c (__clog10l): Likewise.
41230 * math/s_clogf.c (__clogf): Likewise.
41231 * math/s_clogl.c (__clogl): Likewise.
41232 * math/libm-test.inc (clog_test): Add more tests.
41233 (clog10_test): Likewise.
41234 * sysdeps/i386/fpu/libm-test-ulps: Update.
41235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41236
261f4859
AS
412372012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41238
0abaf3e4
AS
41239 [BZ #14283]
41240 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41241 by 7 not 8 to examine high bit of fractional part.
41242
261f4859
AS
41243 [BZ #14042]
41244 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41245 for call to __mcount_internal.
41246 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41247 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41248 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41249
f17ac40d
JM
412502012-07-06 Joseph Myers <joseph@codesourcery.com>
41251
9ad63c23
JM
41252 [BZ #14154]
41253 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41254 approximation for values within 0x1p-13f of an odd multiple of
41255 pi/4.
41256 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41257 exception. Add more tests.
41258 * sysdeps/i386/fpu/libm-test-ulps: Update.
41259
f17ac40d
JM
41260 [BZ #6778]
41261 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41262 inputs and return -1 for them. Do not check for +Inf in case not
41263 reachable for +Inf.
41264 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41265 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41266 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41267 and return -1 for them. Do not check for +Inf in case not
41268 reachable for +Inf.
41269 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41270 define.
41271 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41272 and return -1 for them. Do not check for +Inf in case not
41273 reachable for +Inf.
41274 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41275 spurious underflow.
41276 * sysdeps/i386/fpu/libm-test-ulps: Update.
41277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41278
fb21f89b
MF
412792012-07-06 Mike Frysinger <vapier@gentoo.org>
41280
41281 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41282
cdfe2c5e
JM
412832012-07-05 Joseph Myers <joseph@codesourcery.com>
41284
41285 [BZ #14157]
41286 [BZ #14331]
41287 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41288 could result in spurious underflow. Scale down values above
41289 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41290 * math/s_csqrtf.c (__csqrtf): Likewise.
41291 * math/s_csqrtl.c (__csqrtl): Likewise.
41292 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41293 spurious underflow.
41294 * sysdeps/i386/fpu/libm-test-ulps: Update.
41295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41296
70d35b67
AS
412972012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41298
704bc459
AS
41299 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41300 xopen-msg.sed.
41301 * catgets/xopen-msg.awk: New file.
41302 * catgets/xopen-msg.sed: Removed.
41303
70d35b67
AS
41304 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41305 po2text.sed.
41306 * intl/po2test.awk: New file.
41307 * intl/po2test.sed: Removed.
41308
ca61cf32
JM
413092012-07-04 Joseph Myers <joseph@codesourcery.com>
41310
41311 [BZ #14328]
41312 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41313 or multiply small sinh result by itself.
41314 * math/s_ctanf.c (__ctanf): Likewise.
41315 * math/s_ctanh.c (__ctanh): Likewise.
41316 * math/s_ctanhf.c (__ctanhf): Likewise.
41317 * math/s_ctanhl.c (__ctanhl): Likewise.
41318 * math/s_ctanl.c (__ctanl): Likewise.
41319 * math/libm-test.inc (ctan_test_tonearest): New function.
41320 (ctan_test_towardzero): Likewise.
41321 (ctan_test_downward): Likewise.
41322 (ctan_test_upward): Likewise.
41323 (ctanh_test_tonearest): Likewise.
41324 (ctanh_test_towardzero): Likewise.
41325 (ctanh_test_downward): Likewise.
41326 (ctanh_test_upward): Likewise.
41327 (main): Call these new functions.
41328 * sysdeps/i386/fpu/libm-test-ulps: Update.
41329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41330
ca48a46a
MF
413312012-07-03 Mike Frysinger <vapier@gentoo.org>
41332
41333 * .gitignore: Delete /ports entry.
41334
9d63d37d
AJ
413352012-07-03 Andreas Jaeger <aj@suse.de>
41336
41337 * po/bg.po: Update from translation team.
41338 * po/cs.po: Likewise.
41339 * po/de.po: Likewise.
41340 * po/hr.po: Likewise.
41341 * po/nl.pl: Likewise.
41342 * po/pl.po: Likewise.
41343 * po/vi.po: Likewise.
41344
370ca3d2
JM
413452012-07-03 Joseph Myers <joseph@codesourcery.com>
41346
95f5a9a8
JM
41347 * Makeconfig [!+link] (+link-before-libc): New variable.
41348 [!+link] (+link-after-libc): Likewise.
41349 [!+link] (+link-tests): Likewise.
41350 [!+link] (+link): Define in terms of $(+link-before-libc) and
41351 $(+link-after-libc).
41352 [!+link-static] (+link-static-before-libc): New variable.
41353 [!+link-static] (+link-static-after-libc): Likewise.
41354 [!+link-static] (+link-static-tests): Likewise.
41355 [!+link-static] (+link-static): Define in terms of
41356 $(+link-static-before-libc) and $(+link-static-after-libc).
41357 [build-shared] (link-libc-before-gnulib): New variable.
41358 [build-shared] (link-libc-tests): Likewise.
41359 [build-shared] (link-libc): Define in terms of
41360 $(link-libc-before-gnulib).
41361 [!build-shared] (link-libc-tests): New variable.
41362 (link-libc-static-tests): New variable.
41363 [!gnulib] (gnulib-arch): New variable.
41364 [!gnulib] (gnulib-tests): Likewise.
41365 [!gnulib] (static-gnulib-arch): Likewise.
41366 [!gnulib] (static-gnulib-tests): Likewise.
41367 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41368 Define with "=" instead of ":=".
41369 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41370 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41371 * Rules (binaries-all-notests): New variable.
41372 (binaries-all-tests): Likewise.
41373 (binaries-static-notests): Likewise.
41374 (binaries-static-tests): Likewise.
41375 (binaries-all): Define using $(binaries-all-notests) and
41376 $(binaries-all-tests).
41377 (binaries-static): Define using $(binaries-static-notests) and
41378 $(binaries-static-tests).
41379 (binaries-shared-tests): New variable.
41380 (binaries-shared-notests): Likewise.
41381 (binaries-shared): Remove variable.
41382 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41383 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41384 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41385 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41386 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41387 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41388 * elf/Makefile (sln-modules): New variable.
41389 (extra-objs): Add $(sln-modules:=.o).
41390 (ldconfig-modules): Add static-stubs.
41391 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41392 * elf/static-stubs.c: New file.
41393
7a845b2c
JM
41394 [BZ #14283]
41395 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41396 by 7 not 8 to examine high bit of fractional part. Use volatile
41397 variables when splitting into final array of floats if
41398 __FLT_EVAL_METHOD__ != 0.
41399 * math/libm-test.inc (cos_test): Add another test.
41400 (sin_test): Likewise.
41401 * sysdeps/i386/fpu/libm-test-ulps: Update.
41402
e2283f38
JM
41403 [BZ #14273]
41404 * math/libm-test.inc (cosh_test): Add more tests.
41405
370ca3d2
JM
41406 * version.h (RELEASE): Set to "development".
41407 (VERSION): Set to "2.16.90".
41408
ee9247c3
CD
414092012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41410
41411 * NEWS: Update copyright. Remove last-updated date.
41412 Mention math library bug fixes and timezone data changes.
41413 * README: Mention GNU/Hurd, x32, and HPPA support status.
41414
4648c381
TS
414152012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41416
41417 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41418
aac78a43
AJ
414192012-06-27 Andreas Jaeger <aj@suse.de>
41420
41421 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41422
ed3dbfad
AJ
414232012-06-25 Andreas Jaeger <aj@suse.de>
41424
41425 * sysdeps/s390/fpu/libm-test-ulps: Update.
41426
4d0ee855
AS
414272012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41428 Thomas Schwinge <thomas@codesourcery.com>
41429
41430 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41431 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41432 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41433 fanotify_mark.
41434
af1bce34
TS
414352012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41436
a9fa33ba
TS
41437 * sysdeps/mach/start.c: Remove file.
41438 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41439 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41440 * sysdeps/sh/init-first.c: Likewise.
41441
58f902b8
TS
41442 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41443 registers for frame unwinding purposes, add CFI directives.
41444 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41445 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41446 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41447 Likewise.
41448
1518f58b
TS
41449 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41450 __fortify_fail returning.
41451 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41452
db9b5059
TS
41453 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41454 sysdeps/sh/____longjmp_chk.S.
41455 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41456 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41457 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41458 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41459
967705fe
TS
41460 * sysdeps/sh/abort-instr.h: New file.
41461 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41462 process in case exit returns.
41463
a9def8c4
TS
41464 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41465 initialize the GOT register before use.
41466
2a649725
TS
41467 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41468 calculation of ARGC > 4.
41469
af1bce34
TS
41470 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41471 meaningful names to some local labels.
41472
d230f50a
KK
414732012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41474 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41475
41476 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41477 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41478 (__arch_compare_and_exchange_val_16_acq): Likewise.
41479 (__arch_compare_and_exchange_val_32_acq): Likewise.
41480 (atomic_exchange_and_add): Fix gUSA sequence.
41481 (atomic_add): Likewise.
41482 (atomic_add_negative): Likewise.
41483 (atomic_add_zero): Likewise.
41484 (atomic_bit_test_set): Likewise.
41485
0479b305
AS
414862012-06-22 Andreas Schwab <schwab@redhat.com>
41487
41488 [BZ #13579]
41489 * include/link.h (struct link_map): Add l_free_initfini.
41490 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41491 l_initfini.
41492 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41493 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41494 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41495 set.
41496
0e3933b9
CD
414972012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41498
41499 * configure.in: Use AC_LANG_SOURCE.
41500 * configure: Regenerate.
41501
4248b1b1
RM
415022012-06-22 Roland McGrath <roland@hack.frob.com>
41503
41504 * configure.in (libc_cv_localstatedir): New substituted variable.
41505 * configure: Regenerated.
41506 * config.make.in (localstatedir): New variable, substituted from
41507 libc_cv_localstatedir.
41508 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41509 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41510 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41511 * sysdeps/gnu/configure: Regenerated.
41512
006dd861
JL
415132012-06-21 Jeff Law <law@redhat.com>
41514
41515 [BZ #14277]
41516 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41517 free. Simplify list management for _LIBC case.
41518
79662d42
JM
415192012-06-21 Joseph Myers <joseph@codesourcery.com>
41520
b7abb4bf
JM
41521 [BZ #14273]
41522 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41523 Clear sign bit of 64-bit integer value before comparing against
41524 overflow value.
41525
79662d42
JM
41526 * sysdeps/mach/configure: Regenerated.
41527
1f150908
L
415282012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41529
41530 [BZ #14278]
41531 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41532
28363bbf
JL
415332012-06-21 Jeff Law <law@redhat.com>
41534
41535 [BZ #13882]
41536 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41537 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 41538 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
41539 * elf/dl-open.c (dl_open_worker): Likewise.
41540
09615db4
CD
415412012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41542
41543 * scripts/list-sources.sh: Scan PORTS for translations.
41544 * po/libc.pot: Regenerated.
41545
2174c6dd
AJ
415462012-06-21 Andreas Jaeger <aj@suse.de>
41547
41548 [BZ #12194]
41549 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41550 warning.
41551 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41552 * bits/byteswap-16.h (__bswap_16): Likewise.
41553 * bits/byteswap.h (__bswap_constant_16): Likewise.
41554
3ee947b1
L
415552012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41556
41557 [BZ #14117]
a2f34833
L
41558 * sysdeps/i386/fpu_control.h: Removed.
41559 * sysdeps/x86_64/fpu_control.h: Moved to ...
41560 * sysdeps/x86/fpu_control.h: Here.
41561
3ee947b1
L
41562 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41563 (_FPU_SETCW): Likewise.
41564
ed1825f8
L
415652012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41566
25f1282a
L
41567 [BZ #14117]
41568 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41569 * sysdeps/x86/fpu/bits/mathinline.h: This.
41570 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41571
ed1825f8
L
41572 [BZ #14050]
41573 [BZ #14117]
41574 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41575 functions if __x86_64__ is defined.
41576
36d54b74
CLT
415772012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41578
41579 * string/endian.h: Add !__ASSEMBLER__ condition for including
41580 conversion interfaces.
41581
10285c21
JM
415822012-06-15 Joseph Myers <joseph@codesourcery.com>
41583
41584 [BZ #14241]
41585 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41586 of ABS(x) in calculating zero to negative powers other than odd
41587 integers.
41588 * math/libm-test.inc (pow_test): Add more tests.
41589
06c5abbd
AJ
415902012-06-15 Andreas Jaeger <aj@suse.de>
41591
41592 * manual/contrib.texi (Contributors): Update entry of Liubov
41593 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41594 Machado Filho.
41595
a3aeac40
CH
415962012-06-15 Cyril Hrubis <metan@ucw.cz>
41597
41598 * string/string.h: Add __wur to GNU version of strerror_r.
41599
49bdf4c1
L
416002012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41601
41602 [BZ #14229]
41603 * string/Makefile (tests): Add tst-strtok_r.
41604 * string/tst-strtok_r.c: New file.
41605 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41606 RAX_LP/RDX_LP on SAVE_PTR.
41607
834f9b8d
RM
416082012-06-14 Roland McGrath <roland@hack.frob.com>
41609
41610 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41611
75fa1921
JM
416122012-06-14 Joseph Myers <joseph@codesourcery.com>
41613
41614 * libm_test.inc (csqrt_test): Allow more spurious underflow
41615 exceptions.
41616 (j0_test): Likewise.
41617 (j1_test): Likewise.
41618 (y0_test): Likewise.
41619 (y1_test): Likewise.
41620
771766df
CD
416212012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41622
41623 * po/Makefile (libc.pot): Use UTF-8 charset.
41624
ceb9e56b
PP
416252012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41626
41627 [BZ #14210]
41628 Suppress sign-conversion warning from FD_SET.
41629 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41630 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41631 not unsigned long int.
41632 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41633
ddb28975
L
416342012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41635
41636 [BZ #14050]
41637 [BZ #14117]
41638 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41639 __extern_always_inline instead of __extern_inline.
41640 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41641 (__signbit): Likewise.
41642 (__signbitl): Support C++ namespace.
41643 (lrintf): New inline function.
41644 (lrint): Likewise.
41645 (llrintf): Likewise.
41646 (llrint): Likewise.
41647 (fmaxf): Likewise.
41648 (fmax): Likewise.
41649 (fminf): Likewise.
41650 (fmin): Likewise.
41651 (rint): Likewise.
41652 (rintf): Likewise.
41653 (ceil): Likewise.
41654 (ceilf): Likewise.
41655 (floor): Likewise.
41656 (floorf): Likewise.
41657 (nearbyint): Likewise.
41658 (nearbyintf): Likewise.
41659
d7b4fb26
TS
416602012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41661
41662 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41663 non-default versions.
41664
eb55f5c2
RM
416652012-06-11 Roland McGrath <roland@hack.frob.com>
41666
41667 [BZ #14218]
41668 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41669
366af02c
TS
416702012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41671
99ff6e5c
TS
41672 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41673 (FE_UPWARD, FE_DOWNWARD): Don't define.
41674 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41675 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41676
366af02c
TS
41677 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41678 reading it.
41679 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41680 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41681
793ea851
KK
416822012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41683
41684 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41685 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41686 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41687 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41688
a728a38f
L
416892012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41690
41691 [BZ #14117]
c08010c7
L
41692 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41693 * sysdeps/i386/fpu/Implies: New file.
41694 * sysdeps/x86_64/fpu/Implies: Likewise.
41695 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41696 * sysdeps/x86/fpu/bits/fenv.h: This.
41697
a728a38f
L
41698 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41699 __SSE_MATH__.
41700
6e230d11
SP
417012012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41702
41703 [BZ #14134]
41704 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41705 character 0xffff that matches the last element of the
41706 conversion table.
41707
1b671feb
AZ
417082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41709
41710 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41711 fmodl commit.
41712
6043738b
AZ
417132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41714
41715 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41716 values higher than 25.6283.
41717
34ae0b32
AZ
417182012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41719
41720 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41721 subnormal exponent extraction and add some __builtin_expect.
41722 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41723 Fix for subnormal mantissa calculation.
41724
1214ec8f
MF
417252012-06-04 Mike Frysinger <vapier@gentoo.org>
41726
41727 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41728 cpu2 is -1 and errno is not ENOSYS.
41729
f3d1f93c
L
417302012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41731
41732 [BZ #14117]
0e4a3cd7
L
41733 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41734 * sysdeps/x86/bits/string.h: This.
41735 * sysdeps/x86_64/bits/string.h: Removed.
41736
6704c645
L
41737 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41738 if not compiling for x86-64, but compiling for >= i486.
41739
48495318
L
41740 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41741 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41742
14adcbfc
L
41743 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41744 New macro from Linux kernel 3.4.0.
41745 (FP_XSTATE_MAGIC2): Likewise.
41746 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41747 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41748 (struct _fpx_sw_bytes): New struct.
41749 (struct _xsave_hdr): Likewise.
41750 (struct _ymmh_state): Likewise.
41751 (struct _xstate): Likewise.
41752
68e408ab
L
41753 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41754 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41755 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41756 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41757 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41758 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41759
f3d1f93c
L
41760 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41761 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41762 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41763 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41764 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41765 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41766
d9dc34cd
TMQMF
417672012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41768
41769 [BZ #13743]
41770 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41771 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41772 (sysdep_headers): Include sys/platform/ppc.h.
41773 * sysdeps/powerpc/test-gettimebase.c: Test for
41774 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41775 * manual/Makefile (appendices): Include platform.texi.
41776 * manual/contrib.texi (Contributors): Update @node pointers.
41777 * manual/maint.texi (Maintenance): Likewise.
41778 (Platform): New node.
41779 * manual/platform.texi: New file. Document the new features.
41780
4af3879c
SP
417812012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41782 Jakub Jelinek <jakub@redhat.com>
41783
41784 [BZ #14188]
41785 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41786 where __builtin_expect is unavailable.
41787
2fd6ff13
DM
417882012-06-03 David S. Miller <davem@davemloft.net>
41789
41790 * stdlib/longlong.h: Updated from GCC.
41791
173f7220
AS
417922012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41793
41794 [BZ #14042]
41795 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41796 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41797 __mcount_internal.
41798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41799 (GLIBC_2.16): Likewise.
41800
f34a1c6f
L
418012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41802
41803 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41804
88a4576f
JM
418052012-06-01 Joseph Myers <joseph@codesourcery.com>
41806
ea32bcdd
JM
41807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41808 (default-abi): New variable.
41809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41810 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41811 variable.
41812 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41813 Likewise.
41814 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41815 Likewise.
41816 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41817 Likewise.
41818
88a4576f
JM
41819 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41820 definition. Document in comment.
41821
402fe938
DM
418222012-06-01 David S. Miller <davem@davemloft.net>
41823
41824 * stdlib/longlong.h: Updated from GCC.
41825
3553723f
L
418262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41827
41828 [BZ #14117]
3bd872c4
L
41829 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41830 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41831 sys/debugreg.h sys/io.h here.
41832 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41833 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41834 sys/io.h.
41835 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41836 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41837 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41838 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41839 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41840 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41841
3553723f
L
41842 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41843 Define only if __x86_64__ is defined.
41844
4842e4fe
JM
418452012-06-01 Joseph Myers <joseph@codesourcery.com>
41846
c5bfe3d5
JM
41847 [BZ #14048]
41848 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41849 Use int64_t for variable i.
41850 * math/libm-test.inc (fmod_test): Add more tests.
41851
4842e4fe
JM
41852 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41853 z computation is not scheduled after fetestexcept.
41854 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41855 Use math_force_eval instead of asm to ensure calculation scheduled
41856 before exception test.
41857 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41858 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41859
efb73488
AJ
418602012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41861
41862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41863 computation is not scheduled after fetestexcept.
41864
29bcce7c
L
418652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41866
41867 [BZ #14117]
41868 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41869 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41870
73a68f94
AZ
418712012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41872
41873 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41874 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41875
67b6df78
L
418762012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41877
edf2933a 41878 [BZ #14117]
ebc64a18
L
41879 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41880 <bits/wordsize.h>.
41881 (__WCHAR_MIN): Support __WORDSIZE == 64.
41882 (__WCHAR_MAX): Likewise.
41883
edf2933a
L
41884 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41885 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41886
57c6cf40
L
41887 [BZ #14183]
41888 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41889 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41890
67b6df78 41891 [BZ #14117]
8eb6281e
L
41892 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41893 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41894
aac639f4
L
41895 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41896 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41897
67b6df78
L
41898 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41899 Defined to 1 if __x86_64__ isn't defined.
41900 (_STAT_VER_LINUX_OLD): New.
41901 (st_atime): Remove duplicate.
41902 (st_mtime): Likewise.
41903 (st_ctime): Likewise.
41904
1c2cfe81
DM
419052012-05-31 David S. Miller <davem@davemloft.net>
41906
41907 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41908 entries.
41909
5be8418c
AS
419102012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41911
e7725326
AS
41912 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41913 gen-libm-test.pl.
41914
5be8418c
AS
41915 [BZ #14132]
41916 * elf/dl-reloc.c: Include <_itoa.h>.
41917 (_dl_reloc_bad_type): Remove use of INTUSE.
41918 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41919 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41920 * stdio-common/psiginfo.c (psiginfo): Likewise.
41921 * stdio-common/psignal.c (psignal): Likewise.
41922 * string/strsignal.c (strsignal): Likewise.
41923 * include/signal.h (_sys_siglist): Declare hidden proto.
41924 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41925 INTVARDEF with libc_hidden_data_def.
41926 * stdio-common/itoa-udigits.c: Likewise.
41927 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41928 (_itoa_lower_digits_internal): Remove declaration.
41929 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41930 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41931 (_sys_sigabbrev_internal): Remove aliases.
41932 (_sys_siglist): Define hidden alias.
41933
507352f1
MT
419342012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41935
41936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41937 bits/sysctl.h.
41938
42bbb1c3
L
419392012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41940
41941 [BZ #14117]
6bd784b6
L
41942 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41943 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41944
8bca20f0
L
41945 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41946 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41947 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41948 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41949 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41950 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41951
f9e890a9
L
41952 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41953 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41954 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41955
471101a1
L
41956 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41957 with __addr.
41958 (insw): Likewise.
41959 (insl): Likewise.
41960 (outsb): Likewise.
41961 (outsw): Likewise.
41962 (outsl): Likewise.
41963
6451c862
L
41964 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41965 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41966 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41967
a254b8c9
L
41968 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41969 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41970 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41971 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41972 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41973 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41974
b8dfdd92
L
41975 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41976 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41977
578cd270
L
41978 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41979 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41980
de662f5f
L
41981 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41982 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41983 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41984
25653439
L
41985 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41986 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41987 to ...
41988 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41989
6bad24a0
L
41990 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41991 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41992 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41993
42bbb1c3
L
41994 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41995 for x86-64.
41996 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41997
2d10d547
JM
419982012-05-31 Joseph Myers <joseph@codesourcery.com>
41999
42000 * math/math.h (M_El): Use two more decimal places.
42001 (M_LOG2El): Likewise.
42002 (M_LOG10El): Likewise.
42003 (M_LN2l): Likewise.
42004 (M_LN10l): Likewise.
42005 (M_PIl): Likewise.
42006 (M_PI_2l): Likewise.
42007 (M_PI_4l): Likewise.
42008 (M_1_PIl): Likewise.
42009 (M_2_PIl): Likewise.
42010 (M_2_SQRTPIl): Likewise.
42011 (M_SQRT2l): Likewise.
42012 (M_SQRT1_2l): Likewise.
42013
f230c29b
DM
420142012-05-31 David S. Miller <davem@davemloft.net>
42015
42016 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42017 values between float registers.
42018 * sysdeps/sparc/sparc64/memset.S: Likewise.
42019 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42020
fed806c3
MF
420212012-05-31 Mike Frysinger <vapier@gentoo.org>
42022
42023 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42024 -D_FORTIFY_SOURCE=1.
42025 (CPPFLAGS-tst-longjmp_chk.c): Define.
42026 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42027 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42028 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42029 CFLAGS-tst-wchar-h.c.
42030
30917259
MP
420312012-05-31 Marek Polacek <polacek@redhat.com>
42032
42033 [BZ #14132]
42034 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42035 __endmntent_internal): Remove declaration.
42036 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42037 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42038 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42039
1c58d5dc
DM
420402012-05-30 David S. Miller <davem@davemloft.net>
42041
42042 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42043 (___Q_simulate_exceptions): Use real FP ops rather than writing
42044 into the %fsr.
42045 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42046 Likewise.
42047
7dc00e0d
L
420482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42049
42050 [BZ #14117]
0bd53985
L
42051 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42052 * sysdeps/x86/bits/xtitypes.h: This.
42053
3a257e66
L
42054 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42055 * sysdeps/x86/bits/wordsize.h: This.
42056
62f62904
L
42057 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42058 * sysdeps/x86/bits/huge_vall.h: This.
42059
404fe9d9
L
42060 * sysdeps/i386/bits/select.h: Removed.
42061 * sysdeps/x86_64/bits/select.h: Renamed to ...
42062 * sysdeps/x86/bits/select.h: This.
42063
d48d0446
L
42064 * sysdeps/i386/bits/setjmp.h: Removed.
42065 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42066 * sysdeps/x86/bits/setjmp.h: This.
42067
7dc00e0d
L
42068 * sysdeps/i386/bits/mathdef.h: Removed.
42069 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42070 * sysdeps/x86/bits/mathdef.h: This.
42071
03277f8f
AS
420722012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42073
42074 [BZ #14132]
42075 * include/sys/socket.h (__connect_internal)
42076 (__libc_sa_len_internal): Remove declaration.
42077 (__connect, __libc_sa_len): Declare hidden_proto.
42078 (SA_LEN): Remove use of INTUSE.
42079 * socket/connect.c: Add libc_hidden_def.
42080 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42081 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42082 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42083 alias.
42084 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42085 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42086 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42087 of adding _internal alias.
42088
13764867
L
420892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42090
42091 [BZ #14117]
6bd97696
L
42092 * sysdeps/i386/bits/link.h: Removed.
42093 * sysdeps/i386/bits/linkmap.h: Likewise.
42094 * sysdeps/x86_64/bits/link.h: Renamed to ...
42095 * sysdeps/x86/bits/link.h: This.
42096 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42097 * sysdeps/x86/bits/linkmap.h: This.
42098
f726f0bb
L
42099 * sysdeps/i386/bits/endian.h: Removed.
42100 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42101 * sysdeps/x86/bits/endian.h: This.
42102
13764867
L
42103 * sysdeps/i386/bits/byteswap.h: Removed.
42104 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42105 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42106 * sysdeps/x86/bits/byteswap.h: This.
42107 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42108 * sysdeps/x86/bits/byteswap-16.h: This.
42109 * sysdeps/i386/Implies: Add x86.
42110 * sysdeps/x86_64/Implies: Likewise.
42111
ae251b0b
DM
421122012-05-30 David S. Miller <davem@davemloft.net>
42113
42114 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42115 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42116 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42117 (FP_TRAPPING_EXCEPTIONS): Define.
42118 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42119 (FP_TRAPPING_EXCEPTIONS): Define.
42120 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42121 subnormals only when inexact has been signalled or underflow
42122 exceptions are enabled.
42123 (_FP_PACK_CANONICAL): Likewise.
42124
d5c90867
L
421252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42126
42127 [BZ #14183]
42128 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42129 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42130
63f1549e
RH
421312012-05-30 Richard Henderson <rth@twiddle.net>
42132
8d8f2279
RH
42133 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42134 with #ifndef NOT_IN_libc.
42135
63f1549e
RH
42136 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42137 marked to avoid plt entry.
42138
0ab0291b
L
421392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42140
42141 [BZ #14112]
42142 * Makeconfig (default-abi): New macro.
42143 (abi-includes): Likewise.
42144 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42145 $(abi-$(default-abi)-lib-soname) for soname if defined.
42146 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42147 abi-variants.
42148 * Makefile (installed-stubs): Likewise.
42149 * include/stubs-biarch.h: Removed.
42150 * scripts/lib-names.awk: Only handle one library at a time.
42151 * scripts/soversions.awk: Remove WORDSIZE support.
42152 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42153 entries.
42154 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42155 Removed.
42156 (syscall-list-default-condition): Likewise.
42157 (syscall-list-default-condition): Likewise.
42158 (syscall-list-includes): Likewise.
42159 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42160 syscall-list-* with abi-*. Handle undefined abi-variants.
42161 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42162 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42163 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42164 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42165 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42166 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42167 Removed.
42168 (syscall-list-32-options): Likewise.
42169 (syscall-list-32-condition): Likewise.
42170 (syscall-list-64-options): Likewise.
42171 (syscall-list-64-condition): Likewise.
42172 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42173 macro.
42174 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42175 Renamed to ...
42176 (abi-*): This.
42177 (abi-64-ld-soname): New macro.
42178 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42179 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42180 Renamed to ...
42181 (abi-*): This.
42182 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42183 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42184
4da0431d
JM
421852012-05-30 Joseph Myers <joseph@codesourcery.com>
42186
3a85279c
JM
42187 * sysdeps/unix/sysv/linux/kernel-features.h
42188 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42189 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42190 include <kernel-features.h>.
42191 [!__NR_ftruncate64]: Remove conditional code.
42192 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42193 [__NR_ftruncate64]: Make code unconditional.
42194 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42195 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42196 include <kernel-features.h>.
42197 [!__NR_ftruncate64]: Remove conditional code.
42198 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42199 [__NR_ftruncate64]: Make code unconditional.
42200 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42202 include <kernel-features.h>.
42203 [!__NR_ftruncate64]: Remove conditional code.
42204 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42205 [__NR_ftruncate64]: Make code unconditional.
42206 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42208 include <kernel-features.h>.
42209 [!__NR_ftruncate64]: Remove conditional code.
42210 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42211 [__NR_ftruncate64]: Make code unconditional.
42212 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42213
4da0431d
JM
42214 * configure.in (libc_cv_fpie): Weaken to a compile test using
42215 LIBC_TRY_CC_OPTION.
42216 * configure: Regenerated.
42217
11ef492c
AK
422182012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42219
42220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42224 Refreshed.
42225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42231 Refreshed.
42232
d66ef399
DM
422332012-05-27 David S. Miller <davem@davemloft.net>
42234
42235 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42236 (___Q_zero): New.
42237 (__Q_simulate_exceptions): Return void. Change to simulate
42238 exceptions by writing into the %fsr.
42239 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42240 (__Qp_handle_exceptions): Likewise.
42241 (numbers): Delete.
42242 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42243 __Qp_handle_exceptions.
42244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42245 __Qp_handle_exceptions.
42246 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42247 as unused and give dummy FP_RND_NEAREST initializer.
42248 (FP_INHIBIT_RESULTS): Define.
42249 (___Q_simulate_exceptions): Update declaration.
42250 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42251 formatting.
42252 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42253 as unused and give dummy FP_RND_NEAREST initializer.
42254 (__Qp_handle_exceptions): Update declaration.
42255 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42256 formatting.
42257
04fb54b5
TS
422582012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42259
42260 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42261 the temporary FPU control word.
42262 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42263 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42264 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42265 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42266 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42267 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42268 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42269 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42270 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42271 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42272 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42273
3f99608f
KK
422742012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42275
42276 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42277 fields.
42278
65a4de4e
CLT
422792012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42280
42281 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42282 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42283 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42284 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42285 Likewise.
42286 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42287 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42288 Likewise.
42289
15749d40
UD
422902012-05-27 Ulrich Drepper <drepper@gmail.com>
42291
42292 * po/h.po: Update from translation team.
42293
25dbcb27
AS
422942012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42295
3d3f8e55
AS
42296 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42297
25dbcb27
AS
42298 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42299 handling of denormals.
42300 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42301 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42302 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42303 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42304 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42305 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42306 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42307 Likewise.
42308
7ad47a80 423092012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42310
42311 [BZ #14152]
42312 * math/libm-test.inc (fma_test): Don't always expect underflow
42313 exception.
42314
9c6ea9fa
SP
423152012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42316
42317 [BZ #12416]
42318 * elf/tst-execstack.c: Include stackinfo.h.
42319 (do_test): Adjust test case to ensure that pthread_getattr_np
42320 behaviour remains the same after marking stack executable.
42321
a8239222
JM
423222012-05-25 Joseph Myers <joseph@codesourcery.com>
42323
42324 * sysdeps/unix/sysv/linux/kernel-features.h
42325 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42326 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42327 kernel-features.h.
42328 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42329 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42330 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42331 kernel-features.h.
42332 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42333 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42334
918b5606
L
423352012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42336
42337 * configure.in: Define the default includes to being none.
42338 * configure: Regenerated.
42339
3a097cc7
RM
423402012-05-25 Roland McGrath <roland@hack.frob.com>
42341
8422c9a5
RM
42342 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42343 * sysdeps/x86_64/setjmp.S: Likewise.
42344 * sysdeps/i386/bsd-setjmp.S: Likewise.
42345 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42346 * sysdeps/i386/setjmp.S: Likewise.
42347 * sysdeps/i386/__longjmp.S: Likewise.
42348 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42349 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42350
3a097cc7
RM
42351 * include/stap-probe.h: New file.
42352 * configure.in: Handle --enable-systemtap.
42353 * configure: Regenerated.
42354 * config.h.in (USE_STAP_PROBE): New #undef.
42355 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42356 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42357 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42358
21708942
JM
423592012-05-25 Joseph Myers <joseph@codesourcery.com>
42360
42361 [BZ #13717]
42362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42363 to 2.4.0 where earlier.
42364 * sysdeps/unix/sysv/linux/configure: Regenerated.
42365 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42366 <kernel-features.h>.
42367 [__ASSUME_32BITUIDS]: Make code unconditional.
42368 [!__ASSUME_32BITUIDS]: Remove conditional code.
42369 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42370 <kernel-features.h>.
42371 [__ASSUME_32BITUIDS]: Make code unconditional.
42372 [!__ASSUME_32BITUIDS]: Remove conditional code.
42373 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42374 [__ASSUME_32BITUIDS]: Make code unconditional.
42375 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42376 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
42381 <kernel-features.h>.
42382 [__ASSUME_32BITUIDS]: Make code unconditional.
42383 [!__ASSUME_32BITUIDS]: Remove conditional code.
42384 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42385 <kernel-features.h>.
42386 [__ASSUME_32BITUIDS]: Make code unconditional.
42387 [!__ASSUME_32BITUIDS]: Remove conditional code.
42388 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42389 <kernel-features.h>.
42390 [__ASSUME_32BITUIDS]: Make code unconditional.
42391 [!__ASSUME_32BITUIDS]: Remove conditional code.
42392 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42393 <kernel-features.h>.
42394 [__ASSUME_32BITUIDS]: Make code unconditional.
42395 [!__ASSUME_32BITUIDS]: Remove conditional code.
42396 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42397 <kernel-features.h>.
42398 [__ASSUME_32BITUIDS]: Make code unconditional.
42399 [!__ASSUME_32BITUIDS]: Remove conditional code.
42400 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42401 <kernel-features.h>.
42402 [__ASSUME_32BITUIDS]: Make code unconditional.
42403 [!__ASSUME_32BITUIDS]: Remove conditional code.
42404 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42405 <kernel-features.h>.
42406 [__ASSUME_32BITUIDS]: Make code unconditional.
42407 [!__ASSUME_32BITUIDS]: Remove conditional code.
42408 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42409 <kernel-features.h>.
42410 [__ASSUME_32BITUIDS]: Make code unconditional.
42411 [!__ASSUME_32BITUIDS]: Remove conditional code.
42412 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42413 <kernel-features.h>.
42414 [__ASSUME_32BITUIDS]: Make code unconditional.
42415 [!__ASSUME_32BITUIDS]: Remove conditional code.
42416 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42417 <kernel-features.h>.
42418 [__NR_setresgid] (__setresgid): Do not declare.
42419 [__ASSUME_32BITUIDS]: Make code unconditional.
42420 [!__ASSUME_32BITUIDS]: Remove conditional code.
42421 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42422 <kernel-features.h>.
42423 [__NR_setresuid] (__setresuid): Do not declare.
42424 [__ASSUME_32BITUIDS]: Make code unconditional.
42425 [!__ASSUME_32BITUIDS]: Remove conditional code.
42426 * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
42431 <kernel-features.h>.
42432 [__ASSUME_32BITUIDS]: Make code unconditional.
42433 [!__ASSUME_32BITUIDS]: Remove conditional code.
42434 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42435 <kernel-features.h>.
42436 [__ASSUME_32BITUIDS]: Make code unconditional.
42437 [!__ASSUME_32BITUIDS]: Remove conditional code.
42438 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42439 <kernel-features.h>.
42440 [__ASSUME_32BITUIDS]: Make code unconditional.
42441 [!__ASSUME_32BITUIDS]: Remove conditional code.
42442 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42443 <kernel-features.h>.
42444 [__ASSUME_32BITUIDS]: Make code unconditional.
42445 [!__ASSUME_32BITUIDS]: Remove conditional code.
42446 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42447 <kernel-features.h>.
42448 [__ASSUME_32BITUIDS]: Make code unconditional.
42449 [!__ASSUME_32BITUIDS]: Remove conditional code.
42450 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42451 <kernel-features.h>.
42452 [__ASSUME_32BITUIDS]: Make code unconditional.
42453 [!__ASSUME_32BITUIDS]: Remove conditional code.
42454 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42455 <kernel-features.h>.
42456 [__ASSUME_32BITUIDS]: Make code unconditional.
42457 [!__ASSUME_32BITUIDS]: Remove conditional code.
42458 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42459 <kernel-features.h>.
42460 [__ASSUME_32BITUIDS]: Make code unconditional.
42461 [!__ASSUME_32BITUIDS]: Remove conditional code.
42462 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42463 <kernel-features.h>.
42464 [__ASSUME_32BITUIDS]: Make code unconditional.
42465 [!__ASSUME_32BITUIDS]: Remove conditional code.
42466 * sysdeps/unix/sysv/linux/kernel-features.h
42467 (__ASSUME_SETRESUID_SYSCALL): Remove.
42468 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42469 (__ASSUME_32BITUIDS): Likewise.
42470 (__ASSUME_LDT_WORKS): Likewise.
42471 (__ASSUME_O_DIRECTORY): Likewise.
42472 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42473 architecture but not kernel version.
42474 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42475 (__ASSUME_MMAP2_SYSCALL): Likewise.
42476 (__ASSUME_STAT64_SYSCALL): Likewise.
42477 (__ASSUME_IPC64): Likewise.
42478 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42479 <kernel-features.h>.
42480 [__ASSUME_32BITUIDS]: Make code unconditional.
42481 [!__ASSUME_32BITUIDS]: Remove conditional code.
42482 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42483 <kernel-features.h>.
42484 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42485 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42486 132096]: Remove conditional code.
42487 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42488 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42489 <kernel-features.h>.
42490 [__ASSUME_32BITUIDS]: Make code unconditional.
42491 [!__ASSUME_32BITUIDS]: Remove conditional code.
42492 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42493 <kernel-features.h>.
42494 [__ASSUME_32BITUIDS]: Make code unconditional.
42495 [!__ASSUME_32BITUIDS]: Remove conditional code.
42496 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42497 <kernel-features.h>.
42498 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42499 unconditional.
42500 (__setresgid): Do not declare.
42501 [__ASSUME_32BITUIDS]: Make code unconditional.
42502 [!__ASSUME_32BITUIDS]: Remove conditional code.
42503 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42504 <kernel-features.h>.
42505 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42506 unconditional.
42507 (__setresuid): Do not declare.
42508 [__ASSUME_32BITUIDS]: Make code unconditional.
42509 [!__ASSUME_32BITUIDS]: Remove conditional code.
42510 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42511 <kernel-features.h>.
42512 [__ASSUME_32BITUIDS]: Make code unconditional.
42513 [!__ASSUME_32BITUIDS]: Remove conditional code.
42514 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42515 <kernel-features.h>.
42516 [__ASSUME_32BITUIDS]: Make code unconditional.
42517 [!__ASSUME_32BITUIDS]: Remove conditional code.
42518
a386f1cc
RH
425192012-05-25 Richard Henderson <rth@twiddle.net>
42520
42521 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42522 dl_hwcap to ifunc resolver.
42523 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42524 elf_ifunc_invoke.
42525 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42526 dl_hwcap to ifunc resolver.
42527 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42528
b6550497
JM
425292012-05-24 Joseph Myers <joseph@codesourcery.com>
42530
42531 [BZ #14153]
42532 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42533 for |x| <= 2**-26, not 2**-57.
42534 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42535 exception.
42536
b0bc23a1
JL
425372012-05-24 Jeff Law <law@redhat.com>
42538
42539 * stdio-common/Makefile (tests): Add bug25.
42540 * stdio-common/bug25.c: New test.
42541
347c92e9
L
425422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42543
42544 [BZ #13576]
42545 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42546 multiple of MALLOC_ALIGNMENT in size.
42547 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42548
6bcc8b3f
JM
425492012-05-24 Joseph Myers <joseph@codesourcery.com>
42550
42551 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42552 Require >= 256.
42553 (FILENAME_MAX): Use macro-int-constant.
42554 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42555 (_IOFBF): Use macro-int-constant.
42556 (_IOLBF): Likewise.
42557 (_IONBF): Likewise.
42558 (SEEK_CUR): Likewise.
42559 (SEEK_END): Likewise.
42560 (SEEK_SET): Likewise.
42561 (TMP_MAX): Likewise.
42562 (EOF): Use macro-int-constant. Require < 0.
42563 (NULL): Use macro-constant. Require == 0.
42564 (stdin): Require type to be FILE *.
42565 (stdout): Likewise.
42566 (stderr): Likewise.
42567 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42568 macro-int-constant.
42569 (EXIT_SUCCESS): Likewise.
42570 (NULL): Use macro-constant. Require == 0.
42571 (RAND_MAX): Use macro-int-constant.
42572 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42573 [C99-based standards] (strtof): Require function.
42574 [C99-based standards] (strtold): Likewise.
42575 [C99-based standards] (strtoll): Likewise.
42576 [C99-based standards] (strtoull): Likewise.
42577 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42578 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42579 [ISO || ISO99 || ISO11] (math.h): Likewise.
42580 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42581 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42582 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42583
d18ea0c5
AS
425842012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42585
42586 [BZ #14132]
56d25bb8
AS
42587 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42588 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42589 * intl/dgettext.c (DCGETTEXT): Likewise.
42590 * intl/gettext.c (DCGETTEXT): Likewise.
42591 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42592 * posix/regex_internal.h (gettext): Likewise.
42593 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42594 Remove declaration.
42595 * include/argz.h (__argz_count_internal)
42596 (__argz_stringify_internal): Remove declaration.
42597 (__argz_count, __argz_stringify): Declare hidden proto.
42598 * intl/dcgettext.c: Remove use of INTDEF.
42599 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42600 * string/argz-stringify.c: Likewise.
42601 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42602 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42603 Declare hidden proto.
d18ea0c5
AS
42604 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42605 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42606 Declare hidden proto.
42607 * include/stdio.h (__asprintf_internal): Don't declare.
42608 (__asprintf): Don't define as macro. Declare hidden proto.
42609 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42610 (__fsetlocking): Declare hidden proto.
42611 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42612 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42613 hidden proto.
42614 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42615 (_IO_setlinebuf): Remove use of INTUSE.
42616 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42617 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42618 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42619 Remove declaration.
42620 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42621 (_IO_do_flush): Remove use of INTUSE.
42622 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42623 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42624 (_IO_adjust_column, _IO_least_wmarker)
42625 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42626 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42627 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42628 (_IO_default_doallocate, _IO_wdefault_doallocate)
42629 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42630 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42631 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42632 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42633 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42634 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42635 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42636 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42637 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42638 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42639 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42640 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42641 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42642 proto.
42643 (_IO_flush_all_internal, _IO_adjust_column_internal)
42644 (_IO_default_uflow_internal, _IO_default_finish_internal)
42645 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42646 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42647 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42648 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42649 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42650 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42651 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42652 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42653 (_IO_file_close_internal, _IO_file_close_it_internal)
42654 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42655 (_IO_file_init_internal, _IO_file_attach_internal)
42656 (_IO_file_fopen_internal, _IO_file_read_internal)
42657 (_IO_file_sync_internal, _IO_file_seek_internal)
42658 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42659 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42660 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42661 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42662 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42663 (_IO_list_all_internal, _IO_link_in_internal)
42664 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42665 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42666 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42667 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42668 (_IO_do_write_internal, _IO_padn_internal)
42669 (_IO_getline_info_internal, _IO_getline_internal)
42670 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42671 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42672 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42673 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42674 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42675 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42676 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42677 with libc_hidden_ver, remove use of INTUSE.
42678 * libio/genops.c: Likewise.
42679 * libio/freopen.c: Likewise.
42680 * libio/freopen64.c: Likewise.
42681 * libio/iofclose.c: Likewise.
42682 * libio/iofdopen.c: Likewise.
42683 * libio/iofflush.c: Likewise.
42684 * libio/iofflush_u.c: Likewise.
42685 * libio/iofgets.c: Likewise.
42686 * libio/iofgets_u.c: Likewise.
42687 * libio/iofopen.c: Likewise.
42688 * libio/iofopncook.c: Likewise.
42689 * libio/iofread.c: Likewise.
42690 * libio/iofread_u.c: Likewise.
42691 * libio/ioftell.c: Likewise.
42692 * libio/iofwrite.c: Likewise.
42693 * libio/iogetline.c: Likewise.
42694 * libio/iogets.c: Likewise.
42695 * libio/iogetwline.c: Likewise.
42696 * libio/iopadn.c: Likewise.
42697 * libio/iopopen.c: Likewise.
42698 * libio/ioseekoff.c: Likewise.
42699 * libio/ioseekpos.c: Likewise.
42700 * libio/iosetbuffer.c: Likewise.
42701 * libio/iosetvbuf.c: Likewise.
42702 * libio/ioungetc.c: Likewise.
42703 * libio/ioungetwc.c: Likewise.
42704 * libio/iovdprintf.c: Likewise.
42705 * libio/iovsprintf.c: Likewise.
42706 * libio/iovsscanf.c: Likewise.
42707 * libio/memstream.c: Likewise.
42708 * libio/obprintf.c: Likewise.
42709 * libio/oldfileops.c: Likewise.
42710 * libio/oldiofclose.c: Likewise.
42711 * libio/oldiofdopen.c: Likewise.
42712 * libio/oldiofopen.c: Likewise.
42713 * libio/oldiopopen.c: Likewise.
42714 * libio/oldstdfiles.c: Likewise.
42715 * libio/putc.c: Likewise.
42716 * libio/setbuf.c: Likewise.
42717 * libio/setlinebuf.c: Likewise.
42718 * libio/stdfiles.c: Likewise.
42719 * libio/strops.c: Likewise.
42720 * libio/vasprintf.c: Likewise.
42721 * libio/vscanf.c: Likewise.
42722 * libio/vsnprintf.c: Likewise.
42723 * libio/vswprintf.c: Likewise.
42724 * libio/wfiledoalloc.c: Likewise.
42725 * libio/wfileops.c: Likewise.
42726 * libio/wgenops.c: Likewise.
42727 * libio/wmemstream.c: Likewise.
42728 * libio/wstrops.c: Likewise.
42729 * libio/__fpurge.c: Likewise.
42730 * libio/__fsetlocking.c: Likewise.
42731 * assert/assert.c: Likewise.
42732 * debug/fgets_chk.c: Likewise.
42733 * debug/fgets_u_chk.c: Likewise.
42734 * debug/fread_chk.c: Likewise.
42735 * debug/fread_u_chk.c: Likewise.
42736 * debug/gets_chk.c: Likewise.
42737 * debug/obprintf_chk.c: Likewise.
42738 * debug/vasprintf_chk.c: Likewise.
42739 * debug/vdprintf_chk.c: Likewise.
42740 * debug/vsnprintf_chk.c: Likewise.
42741 * debug/vsprintf_chk.c: Likewise.
42742 * malloc/mtrace.c: Likewise.
42743 * misc/error.c: Likewise.
42744 * misc/syslog.c: Likewise.
42745 * stdio-common/asprintf.c: Likewise.
42746 * stdio-common/fxprintf.c: Likewise.
42747 * stdio-common/getw.c: Likewise.
42748 * stdio-common/isoc99_fscanf.c: Likewise.
42749 * stdio-common/isoc99_scanf.c: Likewise.
42750 * stdio-common/isoc99_vfscanf.c: Likewise.
42751 * stdio-common/isoc99_vscanf.c: Likewise.
42752 * stdio-common/isoc99_vsscanf.c: Likewise.
42753 * stdio-common/printf-prs.c: Likewise.
42754 * stdio-common/printf_fp.c: Likewise.
42755 * stdio-common/printf_fphex.c: Likewise.
42756 * stdio-common/printf_size.c: Likewise.
42757 * stdio-common/putw.c: Likewise.
42758 * stdio-common/scanf.c: Likewise.
42759 * stdio-common/sprintf.c: Likewise.
42760 * stdio-common/tmpfile.c: Likewise.
42761 * stdio-common/vfprintf.c: Likewise.
42762 * stdio-common/vfscanf.c: Likewise.
42763 * stdlib/strfmon_l.c: Likewise.
42764 * sunrpc/openchild.c: Likewise.
42765 * sunrpc/xdr_stdio.c: Likewise.
42766 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42767 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42768
d6c33fda
RM
427692012-05-24 Roland McGrath <roland@hack.frob.com>
42770
c1487492
RM
42771 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42772
42773 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42774 in the third column, to generate for the shared library an IFUNC
42775 that uses _dl_vdso_vsym.
42776 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42777 * Makeconfig (object-suffixes-noshared): New variable.
42778
42779 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42780 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42781 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42782 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42783
d6c33fda
RM
42784 [BZ #14132]
42785 * include/sys/time.h (__gettimeofday): Remove macro.
42786 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42787 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42788 Remove INTDEF.
42789 (__gettimeofday): Add libc_hidden_def.
42790 (gettimeofday): Add libc_hidden_weak.
42791 * sysdeps/mach/gettimeofday.c: Likewise.
42792 * sysdeps/posix/gettimeofday.c: Likewise.
42793 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42794 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42795 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42796 (__gettimeofday_internal): Remove strong_alias.
42797 (__gettimeofday): Add libc_hidden_def.
42798 (gettimeofday): Add libc_hidden_weak.
42799 * sysdeps/unix/syscalls.list (gettimeofday):
42800 Remove __gettimeofday_internal alias.
42801
b5a2bbe6
L
428022012-05-24 Daniel Jacobowitz <drow@false.org>
42803 H.J. Lu <hongjiu.lu@intel.com>
42804
42805 [BZ #12495]
42806 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42807 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42808 (largebin_index_32_big): New.
42809 (largebin_index): Use it for 16-byte alignment.
42810 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42811 correction with front_misalign.
42812
cfba4fda
L
428132012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42814
7f907421
L
42815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42817 Likewise.
42818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42819 Likewise.
42820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42821 Likewise.
42822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42823 Likewise.
42824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42825 Likewise.
42826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42827 Likewise.
42828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42829 Likewise.
42830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42831 Likewise.
42832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42833 Likewise.
42834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42835 Likewise.
42836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42837 Likewise.
42838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42839 Likewise.
42840
cfba4fda
L
42841 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42842 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42843
80bad0cc
JM
428442012-05-24 Joseph Myers <joseph@codesourcery.com>
42845
7a25eb06
JM
42846 [BZ #10846]
42847 [BZ #14036]
42848 * math/libm-test.inc (exp_test): Add test from bug 14036.
42849 (pow_test): Add test from bug 10846.
42850
795405f9
JM
42851 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42852 and other flags.
42853 (special_function): Do not include flags in test name.
42854 (parse_args): Likewise.
42855 * sysdeps/i386/fpu/libm-test-ulps: Update.
42856 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42857 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42858 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42860
80bad0cc
JM
42861 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42862 exceptions.
42863 * math/libm-test.inc ("Philosophy"): Update comment about
42864 exception testing.
42865 (UNDERFLOW_EXCEPTION): New macro.
42866 (UNDERFLOW_EXCEPTION_OK): Likewise.
42867 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42868 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42869 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42870 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42871 (INVALID_EXCEPTION_OK): Update value.
42872 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42873 (OVERFLOW_EXCEPTION_OK): Likewise.
42874 (IGNORE_ZERO_INF_SIGN): Likewise.
42875 (test_exceptions): Handle underflow exceptions.
42876 (acos_test): Update for underflow exception expectations.
42877 (cexp_test): Likewise.
42878 (clog_test): Likewise.
42879 (clog10_test): Likewise.
42880 (csqrt_test): Likewise.
42881 (ctan_test): Likewise.
42882 (ctanh_test): Likewise.
42883 (exp_test): Likewise.
42884 (exp10_test): Likewise.
42885 (exp2_test): Likewise.
42886 (expm1_test): Likewise.
42887 (fma_test): Likewise.
42888 (j0_test): Likewise.
42889 (jn_test): Likewise.
42890 (nexttoward_test): Likewise.
42891 (pow_test): Likewise.
42892 (scalbn_test): Likewise.
42893 (scalbln_test): Likewise.
42894 (tan_test): Likewise.
42895 (y1_test): Likewise.
42896 * sysdeps/i386/fpu/libm-test-ulps: Update.
42897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42898
9e0e3d0b
DM
428992012-05-23 David S. Miller <davem@davemloft.net>
42900
42901 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42902 (__libc_sigaction): Remove unused local variables.
42903
ccd0a08f
L
429042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42905
42906 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42907
62bdf9a6
PE
429082012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42909
f8591f80
PE
42910 mktime: avoid signed integer overflow
42911 * time/mktime.c (__mktime_internal): Do not mishandle the case
42912 where diff == INT_MIN.
42913
94c7d826
PE
42914 mktime: simplify computation of average
42915 * time/mktime.c (ranged_convert): Use new time_t_avg function
42916 instead of rolling our own (probably-slower) code.
42917
ce73d683
PE
42918 mktime: do not assume signed right shift propagates sign bit
42919 * time/mktime.c (isdst_differ): New static function.
42920 (__mktime_internal): No need to normalize tm_isdst now.
42921 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42922 tm_isdst values.
42923
72a22e59
PE
42924 mktime: merge another wrapv change from gnulib
42925 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42926 from some compilers.
42927
68605433
PE
42928 mktime: remove incorrect attempt at unusual arithmetics
42929 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42930 The code didn't really work on such machines anyway.
42931 (TYPE_MINIMUM): Assume two's complement.
42932 (twos_complement_arithmetic): Verify that long_int and time_t
42933 are two's complement (or unsigned, in the latter case).
42934
03cf7fe3
PE
42935 mktime: check signed shifts on long_int and time_t, too
42936 * time/mktime.c (SHR): Check that shifts work as desired
42937 on the types long_int and time_t too, as SHR is used on
42938 such types.
42939
f04dfbc2
PE
42940 mktime: do not assume 'long' is wide enough
42941 * time/mktime.c (verify): Move decl up.
42942 (long_int): New type.
42943 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42944 to remove assumption in the code that 'long' is wide enough to
42945 store year values. This assumption is not true on x32 and on
42946 some non-glibc platforms.
42947
62bdf9a6
PE
42948 mktime: merge wrapv change from gnulib
42949 * time/mktime.c (WRAPV): New macro.
42950 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42951 (guess_time_tm, __mktime_internal): Do not assume that signed
42952 integer overflow wraps around; modern compilers generate code
42953 where this assumption is no longer valid.
42954
5e292e4f
L
429552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42956
42957 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42958 Replace "jmp L(pseudo_end)" with "ret".
42959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42960 Likewise.
42961
8caf8c87
AJ
429622012-05-23 Andreas Jaeger <aj@suse.de>
42963
42964 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42965 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42966
1a09dc56
AJ
429672012-05-23 Andreas Jaeger <aj@suse.de>
42968 Maximilian Attems <max@stro.at>
42969
42970 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42971 New macros.
42972
1c87aba0
L
429732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42974
42975 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42976 code so that pseudo_end is just ret and the stack pointer is
42977 correct also for static library in error case.
42978
40e45bd5
JM
429792012-05-23 Joseph Myers <joseph@codesourcery.com>
42980
c2670533
JM
42981 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42982 move to syscalls.list.
42983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42987
40e45bd5
JM
42988 * manual/install.texi (Running make install): Do not mention Linux
42989 kernel version for which pt_chown is not needed.
42990 (Linux): Do not mention problems with nscd with 2.0 kernels.
42991 * INSTALL: Regenerated.
42992
be08eda5
AJ
429932012-05-23 Andreas Jaeger <aj@suse.de>
42994
42995 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42996 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42997 macro.
42998 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42999 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43000 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43001 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43002 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43003 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43004 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43005 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43006 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43007 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43008 * sysdeps/unix/sysv/linux/bits/in.h
43009 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43010
a6a056bb
RM
430112012-05-22 Roland McGrath <roland@hack.frob.com>
43012
43013 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43014 (PREPARE_VERSION): Just use assert instead, it will be elided
43015 under [NDEBUG] anyway.
43016
c9009328
L
430172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43018
43019 * sysdeps/unix/sysv/linux/Makefile: Include
43020 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 43021 (sysdep_routines): Remove sysctl.
c9009328
L
43022 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43023 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43024 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43025 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43026 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43027
73338355
AJ
430282012-05-22 Andreas Jaeger <aj@suse.de>
43029
43030 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43031 that pseudo_end is just ret and the stack pointer is correct also
43032 for static library in error case.
43033
d44638b0
PP
430342012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43035
43036 [BZ #14122]
43037 * nss/nsswitch.c (defconfig_entries): New variable.
43038 (__nss_database_lookup): Don't leak defconfig entries.
43039 (nss_parse_service_list): Don't leak on error paths.
43040 (free_database_entries): New function.
43041 (free_defconfig): New function.
43042 (free_mem): Move common code to free_database_entries.
43043
31a39bd8
L
430442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43045
da0331a8
L
43046 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43047 Add arch_prctl.
43048 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43049
31a39bd8
L
43050 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43051 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43052 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43053 New macro.
43054 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43055 (INTERNAL_SYSCALL_TYPES): Likewise.
43056 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43057 (LOAD_REGS_TYPES_[1-6]): Likewise.
43058 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43059 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43060
45470df3
AZ
430612012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43062
43063 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43064 copysignl for GLIBC_2_0.
43065 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43066 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43067 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43068 logbl for GLIBC_2_0.
43069 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43070 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43071
98a61bcb
L
430722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43073
a4f6e481
L
43074 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43075 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43076
f63d5db6
L
43077 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43078 Use "neg %eax".
43079
98a61bcb
L
43080 * time/mktime.c: Update copyright years.
43081
95770f14
PE
430822012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43083
6226efbd
PE
43084 mktime: merge comment-quoting-style change from gnulib
43085 * time/mktime.c: Quote 'like this' in comments.
43086 The GNU coding standards suggest that we no longer quote `like this',
43087 as "`" and "'" are typically rendered asymmetrically nowadays.
43088 The typical gnulib style is to quote 'like this' when quoting
43089 code, and "like this" when quoting English.
43090
b99e4f78
PE
43091 * time/mktime.c (compile-command): Add "-I.".
43092
643e01e6
PE
43093 mktime: merge mktime-internal.h change from gnulib
43094 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43095
2554247d
PE
43096 mktime: merge time_r change from gnulib
43097 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43098
826dd0ab
PE
43099 mktime: merge DEBUG change from gnulib
43100 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43101 case system <time.h> has a #define.
43102
bd83aabe
PE
43103 mktime: merge <sys/types.h> change from gnulib
43104 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43105 since <time.t> is now guaranteed to define time_t.
43106
95770f14
PE
43107 mktime: merge HAVE_CONFIG_H change from gnulib
43108 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43109
5e1a27a9
L
431102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43111
0e44a77e
L
43112 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43113 Use "neg %eax".
43114
5e1a27a9
L
43115 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43116 __rlim_t cast.
43117 (struct rusage): Use anonymous union to pad each field to
43118 __syscall_slong_t.
43119
46259bec
DM
431202012-05-21 David S. Miller <davem@davemloft.net>
43121
43122 * Makefules (o-iterator): Remove .s cases.
43123 (compile-command.s): Delete.
43124 (COMPILE.s): Delete.
43125 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43126
59f0c22e
JM
431272012-05-21 Joseph Myers <joseph@codesourcery.com>
43128
43129 * configure.in (libc_cv_predef_stack_protector): Only consider
43130 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43131 * configure: Regenerated.
43132
20c07380
L
431332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43134
bbb3154b
L
43135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43136 New macro. Use R*LP on int and pointer.
43137 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
43138 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43139 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
43140 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43141
20c07380
L
43142 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43143 [__WORDSIZE_TIME64_COMPAT32] instead of
43144 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43145 (struct utmp): Likewise.
43146 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43147 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43148 Renamed to ...
43149 (__WORDSIZE_TIME64_COMPAT32): This.
43150 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43151 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43152 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43153 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43154 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43155 (__WORDSIZE_TIME64_COMPAT32): New macro.
43156
d8d1017e
AJ
431572012-05-21 Andreas Jaeger <aj@suse.de>
43158
43159 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43160 only if [SHARED]. Add prototype for __wcschr_ia32.
43161
6c7fb145
RM
431622012-05-21 Roland McGrath <roland@hack.frob.com>
43163
43164 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43165 of %rbp unmolested in the jmp_buf while mangling the low bits.
43166 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43167 unmolested high bits of %rbp while demangling the low bits.
43168 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43169
66274218
AJ
431702012-05-21 Andreas Jaeger <aj@suse.de>
43171
07c58f8f
AJ
43172 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43173 * sunrpc/svc_simple.c: Use it for registerrpc.
43174 * sunrpc/xcrypt.c: Use it for passwd2des.
43175
66274218
AJ
43176 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43177
61f65140
L
431782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43179
43180 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43181 Don't define if [__SYSCALL_WORDSIZE != 32].
43182 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43183 New macro.
43184
5fefb436
AJ
431852012-05-21 Bruno Haible <bruno@clisp.org>
43186 Andreas Jaeger <aj@suse.de>
43187
43188 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43189 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43190 inptr and inend for must_buffer_ch.
43191 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43192 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43193 * stdio-common/Makefile (tests): Remove bug15.
43194 (bug15-ENV): Remove macro.
43195 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43196 anymore.
43197
d8e272ab
AJ
431982012-05-19 Andreas Jaeger <aj@suse.de>
43199 Roland McGrath <roland@hack.frob.com>
43200
43201 * manual/contrib.texi: Completely rewritten. It contains now an
43202 alphabetical list of contributors and their contributions.
43203
4a56a162
RH
432042012-05-21 Richard Henderson <rth@twiddle.net>
43205
43206 * misc/getauxval.c (__getauxval): Use unsigned long int.
43207 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43208 (getauxval): Use unsigned long int.
43209
d024d23c
L
432102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43211
43212 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43213
cbc00a03
RM
432142012-05-21 Roland McGrath <roland@hack.frob.com>
43215
43216 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43217 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43218 __alignof__ (long double).
43219
478143fa
AZ
432202012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43221
43222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43223
c7683a6d
RH
432242012-05-20 Richard Henderson <rth@twiddle.net>
43225
43226 * misc/getauxval.c: New file.
43227 * misc/sys/auxv.h: New file.
43228 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43229 (routines): Add getauxval.
43230 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43231 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43232 * elf/dl-sysdep.c (_dl_auxv): Remove.
43233 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43234 * elf/dl-support.c (_dl_auxv): New variable.
43235 (_dl_aux_init): Initialize it.
43236 * manual/startup.texi (Auxiliary Vector): New node.
43237 * sysdeps/generic/bits/hwcap.h: New file.
43238 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43239 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43240 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43241 * sysdeps/sparc/sysdep.h: ... here. Include it.
43242 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43243 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
43244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43245 Update.
c7683a6d
RH
43246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43249 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43254
a6f1845d
AZ
432552012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43256
43257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43258
cbcbe830
DM
432592012-05-19 David S. Miller <davem@davemloft.net>
43260
43261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43262
e0b16cc2
JM
432632012-05-19 Joseph Myers <joseph@codesourcery.com>
43264
43265 [BZ #14123]
43266 * math/s_ccosh.c: Include <float.h>
43267 (__ccosh): Avoid internal overflow calculating sinh and cosh
43268 values before multiplying by sin and cos values.
43269 * math/s_ccoshf.c: Likewise.
43270 * math/s_ccoshl.c: Likewise.
43271 * math/s_csin.c: Likewise.
43272 * math/s_csinf.c: Likewise.
43273 * math/s_csinl.c: Likewise.
43274 * math/s_csinh.c: Likewise.
43275 * math/s_csinhf.c: Likewise.
43276 * math/s_csinhl.c: Likewise.
43277 * math/libm-test.inc (ccos_test): Add more tests.
43278 (ccosh_test): Likewise.
43279 (csin_test): Likewise.
43280 (csinh_test): Likewise.
43281 * sysdeps/i386/fpu/libm-test-ulps: Update.
43282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43283
6ad13e08
L
432842012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43285
f66f0ce8
L
43286 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43287 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43288
6ad13e08
L
43289 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43290
b1d072a7
JM
432912012-05-19 Joseph Myers <joseph@codesourcery.com>
43292
43293 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43294 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43295 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43296 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43297 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43298 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43299 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43300 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43301 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43302 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43303 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43304 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43305 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43306 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43307 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43308 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43309 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43310 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43311 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43312 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43313 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43314 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43315 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43316 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43317 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43318 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43319 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43320 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43321 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43322 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43323 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43324
9eae47cb
AJ
433252012-05-18 Andreas Jaeger <aj@suse.de>
43326
43327 * csu/.gitignore: Delete.
43328
bb07f69f
L
433292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43330
43331 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43332 (timex): Use __syscall_slong_t.
43333
e6bdb741
AJ
433342012-05-18 Andreas Jaeger <aj@suse.de>
43335 Carlos O'Donell <carlos_odonell@mentor.com>
43336
43337 * manual/install.texi (Configuring and compiling): Update
43338 description about files modified in the source directory.
d6c33fda 43339 * INSTALL: Regenerated.
e6bdb741 43340
1b74487e
L
433412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43342
43343 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43344 value. Use "or" to set return value to -1.
43345 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43346 negate return value.
43347
a88b64b9
TMQMF
433482012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43349
57f41c40
AS
43350 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43351 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43352 failure if the compiler has Graphite support disabled.
43353 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43354 Likewise.
57f41c40
AS
43355 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43356 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43357 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43358 Likewise.
43359
3707636e
L
433602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43361
610b8622
L
43362 * sysdeps/x86_64/x32/_itoa.h: New file.
43363
7cd195df
L
43364 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43365 getdents system call only if kernel and user dirents have the
43366 same d_ino and d_off.
43367
94b07d20
L
43368 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43369 LLONG_MAX != LONG_MAX.
43370 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43371 (_fitoa_word): Likewise.
43372
18298070
L
43373 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43374 years.
43375 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43376 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43377 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43378
553c7ea4
L
43379 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43380 include <bits/wordsize.h>. Check __x86_64__ instead of
43381 __WORDSIZE.
43382 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43383 if __x86_64__ is defined. Use anonymous union on fpstate.
43384
3707636e
L
43385 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43386 anonymous union.
43387
b53ef01a
AS
433882012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43389
37fb1dc0
AS
43390 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43391 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43392 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43393 Refer to _rtld_local_ro instead of _rtld_global_ro.
43394 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43395 Likewise.
43396 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43397 Likewise.
43398 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43399 Likewise.
43400 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43401 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43402 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43403
b53ef01a
AS
43404 * sysdeps/powerpc/powerpc32/dl-machine.c
43405 (__elf_machine_runtime_setup) [PROF]: Don't reference
43406 _dl_prof_resolve.
43407
7a185db2
AJ
434082012-05-18 Andreas Jaeger <aj@suse.de>
43409
43410 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43411 function only available for GCCs before 3.4 since GCC 3.4
43412 introduced a builtin.
43413 (lrint): Likewise.
43414 (llrintf): Likewise.
43415 (llrint): Likewise.
43416 (fmaxf): Likewise.
43417 (fmax): Likewise.
43418 (fminf): Likewise.
43419 (fmin): Likewise.
43420 (rint): Likewise.
43421 (rintf): Likewise.
43422 (nearbyint): Likewise.
43423 (nearbyintf): Likewise.
43424 (ceil): Likewise.
43425 (ceilf): Likewise.
43426 (floor): Likewise.
43427 (floorf): Likewise.
43428
3e5aef87
L
434292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43430
428bd707
L
43431 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43432 on both fields and cast pointer to __syscall_ulong_t.
43433
3e5aef87
L
43434 * bits/types.h (__fsword_t): New type.
43435 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43436 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43438 (__FSWORD_T_TYPE): Likewise.
43439 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43440 (__FSWORD_T_TYPE): Likewise.
43441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43442 (__FSWORD_T_TYPE): Likewise.
43443 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43444 (__FSWORD_T_TYPE): Likewise.
43445 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43446 __SWORD_TYPE with __fsword_t.
43447 (statfs64): Likewise.
43448
1ba7c3dc
DM
434492012-05-17 David S. Miller <davem@davemloft.net>
43450
43451 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43452
59910343
AJ
434532012-05-17 Andreas Jaeger <aj@suse.de>
43454
43455 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43456 warning.
43457
2e4c1e9e
L
434582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43459
43460 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43461
de7f5ce7
AJ
434622012-05-17 Andreas Jaeger <aj@suse.de>
43463
43464 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43465 when it is used.
43466
286abc3d
CM
434672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43468
43469 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43470
477cc68e
L
434712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43472
43473 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43474 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43475
1a0994f5
CD
434762012-05-17 Andreas Jaeger <aj@suse.de>
43477 Carlos O'Donell <carlos_odonell@mentor.com>
43478
43479 [BZ #14059]
43480 * sysdeps/x86_64/multiarch/init-arch.h
43481 (bit_YMM_Usable): Rename to...
43482 (bit_AVX_Usable): ... this.
43483 (bit_FMA4_Usable): New macro.
43484 (bit_XMM_state): New macro.
43485 (bit_YMM_state): New macro.
43486 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43487 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43488 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43489 (CPUID_OSXSAVE): New macro.
43490 (CPUID_AVX): New macro.
43491 (CPUID_FMA4): New macro.
43492 (index_YMM_Usable): Rename to...
43493 (index_AVX_Usable): ... this.
43494 (HAS_AVX): Use HAS_ARCH_FEATURE.
43495 (HAS_FMA4): Likewise.
43496 (HAS_YMM_USABLE): Remove.
43497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43498 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43499 are present.
43500 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43501 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43502 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43503 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43504 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43505
0af797de
CM
435062012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43507
43508 * math/libm-test.c: Support platforms without multiple rounding modes.
43509 * math/bug-nextafter.c: Support platforms without FP exceptions.
43510 * math/bug-nexttoward.c: Likewise.
43511 * math/test-fenv.c: Likewise.
43512 * math/test-misc.c: Likewise.
43513 * stdlib/bug-getcontext.c: Likewise.
43514
e39745ff
AJ
435152012-05-17 Andreas Jaeger <aj@suse.de>
43516
43517 * manual/examples/search.c (critter_cmp): Change signature to
43518 avoid warnings.
43519 * manual/string.texi (Collation Functions): Likewise.
43520
48970aba
L
435212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43522
43523 * bits/types.h: Fold copyright years.
43524 * bits/typesizes.h: Likewise.
43525 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43527 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43529 * time/time.h: Likewise.
43530
bedee953
PP
435312012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43532
43533 [BZ #208]
43534 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43535 in instead of returning them. Return void.
43536 (__libc_mallinfo): Accumulate over all arenas.
43537 (__malloc_stats): Adjust for change in int_mallinfo interface.
43538
61653dfb
RM
435392012-05-16 Roland McGrath <roland@hack.frob.com>
43540
30b99d79
RM
43541 [BZ #10375]
43542 * configure.in (NM): Add AC_CHECK_TOOL for it.
43543 (libc_extra_cflags): New substituted variable.
43544 Check for -fstack-protector being used implicitly.
43545 * configure: Regenerated.
43546 * config.make.in (config-extra-cflags): New variable,
43547 gets @libc_extra_cflags@.
43548 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43549
61653dfb
RM
43550 [BZ #10375]
43551 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43552 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43553 * configure: Regenerated.
43554 * config.make.in (CPPUNDEFS): New substituted variable.
43555 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43556 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43557 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43558
661768bb
L
435592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43560
43561 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43562 (mq_attr): Use __syscall_slong_t.
43563
d4261567
L
435642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43565
43566 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43567 Check __x86_64__ instead of __WORDSIZE.
43568 (_STAT_VER_LINUX): Likewise.
43569 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43570 __syscall_ulong_t and __syscall_slong_t.
43571 (stat64): Likewise.
43572
cf3ff365
L
435732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43574
43575 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43576
76cf3e4d
L
435772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43578
43579 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43580
a637753a
L
435812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43582
43583 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43584 __syscall_ulong_t.
43585
d5e05119
L
43586 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43587 include <bits/wordsize.h>. Check __x86_64__ instead of
43588 __WORDSIZE.
43589 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43590 defined.
43591 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43592
f62ee380
L
43593 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43594 include <bits/wordsize.h>. Check __x86_64__ instead of
43595 __WORDSIZE.
43596 (user_regs_struct): Use "__extension__ unsigned long long"
43597 instead of "unsigned long" if __x86_64__ is defined.
43598 (user): Likewise. Pad after pointer field if __ILP32__ is
43599 defined.
43600
4e124ced
JM
436012012-05-16 Joseph Myers <joseph@codesourcery.com>
43602
6a3951a0
JM
43603 * configure.in (makeinfo): Require version 4.5 or later. Allow
43604 versions 5 to 9.
43605 * configure: Regenerated.
43606 * manual/install.texi (texinfo): Increase version requirement to
43607 4.5 or later.
43608 * INSTALL: Regenerated.
43609
4e124ced
JM
43610 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43611
953ca31a
L
436122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43613
43614 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43615
617aca05
L
43616 * sysdeps/x86_64/x32/ffs.c: New file.
43617
5762f7ae
L
43618 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43619 __syscall_ulong_t.
43620 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43621 defined. Use __syscall_ulong_t.
43622 (shminfo): Use __syscall_ulong_t.
43623 (shm_info): Likewise.
43624
a26b6856
L
43625 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43626 __syscall_ulong_t.
43627
cb2b9ef7
L
43628 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43629 <bits/wordsize.h>.
43630 (msgqnum_t): Use __syscall_ulong_t.
43631 (msglen_t): Likewise.
43632 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43633 __syscall_ulong_t.
43634
34683bb0
L
43635 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43636 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43637
84a68786
L
43638 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43639
48baa5f1
L
43640 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43641 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43642
180be88b
L
43643 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43644 __syscall_slong_t.
43645
5e90c8ad
L
43646 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43647 include <bits/wordsize.h>. Check __x86_64__ instead of
43648 __WORDSIZE.
43649
23dfb58b
L
43650 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43651 "unsigned long long int" if __x86_64__ is defined.
43652 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43653
ce5d54b0
L
43654 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43655 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43656 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43657
13dc9eac
L
43658 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43659 <stdint.h>.
43660 (GET_PC): Cast to uintptr_t first.
43661 (GET_FRAME): Likewise.
43662 (GET_STACK): Likewise.
43663
a7895d15
L
43664 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43665 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43666 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43667 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43668 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43669 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43670 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43671 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43672 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43673 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43674 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43675 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43676 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43677 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43678 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43679 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43680 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43681 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43682 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43683 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43684 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43685 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43686 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43687 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43688 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43689 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43690 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43691 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43692 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43693
656416c9
AS
436942012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43695
5bd66283
AS
43696 * Makerules (+depfiles): Also collect depfiles from .oS in
43697 $(extra-objs).
43698 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43699 .oS, $(libnldbl-routines)).
43700
656416c9
AS
43701 * Makerules (native-compile-mkdep-flags): Define.
43702 * sunrpc/Makefile (extra-objs): Add $(addprefix
43703 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43704 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43705 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43706 calling $(make-target-directory).
43707
a46f2169
L
437082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43709
43710 * bits/types.h (__snseconds_t): Removed.
43711 * time/time.h (struct timespec): Replace __snseconds_t with
43712 __syscall_slong_t.
43713 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43714 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43715 Likewise.
43716 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43717 (__SNSECONDS_T_TYPE): Likewise.
43718 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43719 (__SNSECONDS_T_TYPE): Likewise.
43720 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43721 (__SNSECONDS_T_TYPE): Likewise.
43722
6af6528b
L
437232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43724
43725 * sysdeps/mach/hurd/bits/typesizes.h
43726 (__SYSCALL_SLONG_TYPE): New macro.
43727 (__SYSCALL_ULONG_TYPE): Likewise.
43728
de986b56
L
437292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43730
43731 * bits/types.h (__syscall_slong_t): New type.
43732 (__syscall_ulong_t): Likewise.
43733
43734 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43735 (__SYSCALL_ULONG_TYPE): Likewise.
43736 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43737 (__SYSCALL_SLONG_TYPE): Likewise.
43738 (__SYSCALL_ULONG_TYPE): Likewise.
43739 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43740 (__SYSCALL_SLONG_TYPE): Likewise.
43741 (__SYSCALL_ULONG_TYPE): Likewise.
43742 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43743 (__SYSCALL_SLONG_TYPE): Likewise.
43744 (__SYSCALL_ULONG_TYPE): Likewise.
43745
85736dc7
L
437462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43747
43748 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43749 Add sigaltstack-offsets.sym.
43750 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43751 <sigaltstack-offsets.h>.
43752 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43753 longjmp_msg pointer.
43754 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43755 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43756 signal stack.
43757 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43758
cc03b296
JM
437592012-05-15 Joseph Myers <joseph@codesourcery.com>
43760
a9538892
JM
43761 * elf/stackguard-macros.h: Remove file.
43762 * sysdeps/generic/stackguard-macros.h: New file.
43763 * sysdeps/i386/stackguard-macros.h: Likewise.
43764 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43765 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43766 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43767 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43768 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43769 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43770 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43771 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43772 <elf/stackguard-macros.h>.
43773
cc03b296
JM
43774 [BZ #14109]
43775 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43776 __aligned__ in attribute.
43777 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43778 (gregset_t): Likewise.
43779
93171016
L
437802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43781
43782 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43783 * sysdeps/x86_64/64/Implies-after: Here. New file.
43784 * sysdeps/x86_64/x32/Implies-after: New file.
43785
d86813a0
L
437862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43787
43788 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43789 and access return value for _dl_profile_fixup. Use R10_LP to
43790 load frame size.
43791
2953ec75
L
437922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43793
43794 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43795
3b550e9e
L
437962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43797
43798 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43799 * sysdeps/x86_64/x32/sysdep.h: New file.
43800
eda41706
L
438012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43802
43803 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43804 * sysdeps/x86_64/setjmp.S: Likewise.
43805
9ea01d93
AZ
438062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43807
43808 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43809 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43810 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43811 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43812 remove unused global constant.
43813
02a91938
CM
438142012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43815
43816 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43817 include of <not-cancel.h>.
43818
6540185f
RM
438192012-05-15 Roland McGrath <roland@hack.frob.com>
43820
43821 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43822
509072a0
AJ
438232012-05-15 Jeff Law <law@redhat.com>
43824 Andreas Jaeger <aj@suse.de>
43825
43826 [BZ #13594]
43827 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43828 out from...
43829 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43830 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43831 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43832 code changing __hst_map_handle.map.
43833
ba75122d
RM
438342012-05-15 Roland McGrath <roland@hack.frob.com>
43835
43836 * configure.in (sysnames): Look for Implies-before and Implies-after
43837 files.
43838 * configure: Regenerated.
43839
890d8bd8
L
438402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43841
43842 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43843 8-byte data alignment with LP_SIZE alignment.
43844
f6ee6623
L
438452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43846
43847 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43848 into R10_LP.
43849
ea2626f6
L
438502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43851
43852 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43853
085f715e
L
438542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43855
43856 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43857 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43858 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43859 Likewise.
43860 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43861
be8498fc
L
438622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43863
43864 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43865 (stackinfo_sub_sp): Likewise.
43866
70bc83b9
L
438672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43868
43869 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43870 RAX_LP.
43871
9bc0b730
L
438722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43873
43874 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43875 into R*_LP.
43876
6d2850e7
L
438772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43878
43879 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43880 sizes into R*_LP.
43881
3cb84561
L
438822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43883
43884 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43885
54e2ed81
L
438862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43887
43888 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43889 into R11_LP and load __x86_64_shared_cache_size_half into
43890 R8_LP.
43891
8a17f349
L
438922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43893
43894 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43895 R8_LP.
43896
777b1eea
AZ
438972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43898
43899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43900 logb for POWER7.
43901 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43902 logbf for POWER7.
43903 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43904 logbl for POWER7.
43905 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43906 powerpc32/power7/fpu/s_logb.c via #include.
43907 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43908 powerpc32/power7/fpu/s_logbf.c via #include.
43909 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43910 powerpc32/power7/fpu/s_logbl.c via #include.
43911
d20d4ac2
JM
439122012-05-15 Joseph Myers <joseph@codesourcery.com>
43913
43914 * README.libm: Remove file.
43915
6cdef1ab
L
439162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43917
43918 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43919 count for x32. Use R*_LP and omit operand-size suffix.
43920
0b254d8f
L
439212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43922
43923 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43924 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43925 * sysdeps/x86_64/x32/shlib-versions: New file.
43926
ceb809dc
RM
439272012-05-14 Roland McGrath <roland@hack.frob.com>
43928
43929 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43930 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43931 Use _dl_fatal_printf instead.
43932
37f1abd4
JM
439332012-05-14 Joseph Myers <joseph@codesourcery.com>
43934
43935 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43936 set if not set by the user. Do not allow for being unset.
43937 * sysdeps/unix/sysv/linux/configure: Regenerated.
43938
11de3a33
L
439392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43940
43941 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43942 the `q' suffix from lea and replace .quad with ASM_ADDR.
43943
e02f153a
L
439442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43945
43946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43947 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43948 instead of $17.
43949 (PTR_DEMANGLE): Likewise.
43950
520ae0fd
L
439512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43952
43953 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43954 (LP_OP): Likewise.
43955 (ASM_ADDR): Likewise.
43956 (RAX_LP): Likewise.
43957 (RBP_LP): Likewise.
43958 (RBX_LP): Likewise.
43959 (RCX_LP): Likewise.
43960 (RDI_LP): Likewise.
43961 (RSI_LP): Likewise.
43962 (RSP_LP): Likewise.
43963 (R8_LP): Likewise.
43964 (R9_LP): Likewise.
43965 (R10_LP): Likewise.
43966 (R10_LP): Likewise.
43967 (R11_LP): Likewise.
43968 (R12_LP): Likewise.
43969 (R13_LP): Likewise.
43970 (R14_LP): Likewise.
43971 (R15_LP): Likewise.
43972
b985be81
L
439732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43974
43975 * sysdeps/x86_64/x32/dl-machine.h: New file.
43976
6a4888ff
AJ
439772012-05-14 Andreas Jaeger <aj@suse.de>
43978
43979 * manual/Makefile (subdir): Remove export of subdir.
43980 (all): Remove target.
43981 (.PHONY): Remove all from list.
43982 (mkinstalldirs): Remove.
43983 (.PHONY): Remove installdirs from list.
43984 ($(inst_infodir)/libc.info): Use make-target-directory.
43985 (installdirs): Remove.
43986 (subdir_%): Remove.
43987 (glibc-targets): Remove.
43988 (lib): Remove.
43989 (stubs): Remove.
43990 ($(objpfx)stubs ../po/manual.pot): Remove.
43991 ($(objpfx)stamp%): Remove.
43992 (make-target-directory): Remove.
43993 (subdir_install): Remove.
43994 (routines): Remove.
43995 (aux): Remove.
43996 (sources): Remove.
43997 (objects): Remove.
43998 (headers): Remove.
43999
44000 [BZ #13750]
44001 * manual/.gitignore: Remove, it's not needed anymore.
44002 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44003 all files in it.
44004 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44005 directory.
44006 (texis): Renamed to $(objpfx)texis.
44007 (texis-path): New, contains path to generated files.
44008 (chapters.%): Use texis-path for complete path, add extra argument
44009 libc-texinfo.sh.
44010 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44011 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44012 (summary,texi, stamp-summary): Use complete path of
44013 files. Generate files in build dir.
44014 (dir-add.texi): Build in build dir.
44015 (libm-err.texi,stamp-libm-err): Likewise.
44016 (version.texi, stamp-version): Likewise.
44017 (.%c.texi): Likewise.
44018 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44019 (mostlyclean): Remove target.
44020 (realclean): Remove target.
44021 (generated): Add new variable with contents from mostlyclean and
44022 realclean, remove entries duplicated in common-mostlyclean, add
44023 stamp-libm-err and stamp-version.
44024 (generated-dirs): Add libc directory.
44025 ($(inst_infodir)/libc.info): Install files from build dir.
44026
44027 * manual/install.texi (Configuring and compiling): Adjust since
44028 the info files are not part of the tar ball anymore.
44029
7ac77294
AJ
440302012-05-14 Andreas Jaeger <aj@suse.de>
44031
44032 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44033 variable.
44034
ffb7875d
JM
440352012-05-14 Joseph Myers <joseph@codesourcery.com>
44036
44037 [BZ #13717]
44038 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44039 to 2.2.0 where earlier.
44040 * sysdeps/unix/sysv/linux/configure: Regenerated.
44041 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44042 Remove conditional code.
44043 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44044 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44045 Remove conditional code.
44046 [!__NR_lchown]: Likewise.
44047 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44048 [__NR_lchown]: Likewise.
44049 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44050 comment referencing __ASSUME_LCHOWN_SYSCALL.
44051 * sysdeps/unix/sysv/linux/i386/sigaction.c
44052 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44053 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44054 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44055 Remove conditional code.
44056 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44057 (__protocol_available): Remove #if 0 code.
44058 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44059 conditional code.
44060 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44061 * sysdeps/unix/sysv/linux/kernel-features.h
44062 (__ASSUME_GETCWD_SYSCALL): Don't define.
44063 (__ASSUME_REALTIME_SIGNALS): Likewise.
44064 (__ASSUME_PREAD_SYSCALL): Likewise.
44065 (__ASSUME_PWRITE_SYSCALL): Likewise.
44066 (__ASSUME_POLL_SYSCALL): Likewise.
44067 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44068 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44069 non-SPARC.
44070 (__ASSUME_SIOCGIFNAME): Don't define.
44071 (__ASSUME_MSG_NOSIGNAL): Likewise.
44072 (__ASSUME_SENDFILE): Define unconditionally.
44073 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44074 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44075 conditional code.
44076 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44077 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44078 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44079 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44080 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44081 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44082 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44084 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44085 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44087 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44088 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44090 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44091 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44093 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44094 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44096 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44097 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44099 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44100 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44102 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44103 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44105 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44106 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44107 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44108 Remove conditional code.
44109 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44110 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44111 Remove conditional code.
44112 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44113 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44114 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44115 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44116 Remove conditional code.
44117 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44118 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44119 Remove conditional code.
44120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44121 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44122 Remove conditional code.
44123 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44124 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44125 Remove conditional code.
44126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44127 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44128 Remove conditional code.
44129 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44130 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44131 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44132 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44133 * sysdeps/unix/sysv/linux/sigaction.c
44134 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44135 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44136 * sysdeps/unix/sysv/linux/sigpending.c
44137 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44138 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44139 * sysdeps/unix/sysv/linux/sigprocmask.c
44140 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44141 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44142 * sysdeps/unix/sysv/linux/sigsuspend.c
44143 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44144 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44145 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44146 (__libc_missing_rt_sigs): Remove.
44147 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44148 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44149 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44150 Remove conditional code.
44151 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44152 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44153 return 1.
44154 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44155 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44156 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44157 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44158
1bfb7291
AJ
441592012-05-14 Andreas Jaeger <aj@suse.de>
44160
caae5a81
AJ
44161 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44162 it's not used in glibc.
44163 (__coshm1): Likewise.
44164 (__acosh1p): Likewise.
44165 (__sgn): Likewise.
44166
1bfb7291
AJ
44167 * manual/string.texi (Copying and Concatenation): Add missing
44168 variable in concat example.
44169 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44170
c044d724
L
441712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44172
144c5467 44173 [BZ #14103]
c044d724
L
44174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44175 __builtin_clzl with __builtin_clzll.
44176
2523c62b
L
441772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44178
44179 [BZ #14104]
44180 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44181 libc_freeres_ptr.
44182
d7bb4c42
LD
441832012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44184
44185 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44186 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44187 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44188 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44189
9dc4e1fb
MF
441902012-05-14 Mike Frysinger <vapier@gentoo.org>
44191
44192 * NEWS: Update ia64 info.
44193
c7df0112
AS
441942012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44195
44196 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44197 used as bcopy.
44198
dc70356c
TS
441992012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44200
44201 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44202 * sysdeps/unix/syscalls.list (dup3): Likewise.
44203 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44204 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44205
9fb1a21f
L
442062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44207
44208 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44209 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44210
4822a2a5
L
442112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44212
44213 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44214 thread pointer.
44215 (TLS_IE): Use mov/add instead of movq/addq to load thread
44216 pointer.
44217 (TLS_GD_PREFIX): New.
44218 (TLS_GD): Use it.
44219
842b81d6
DM
442202012-05-11 David S. Miller <davem@davemloft.net>
44221
44222 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44223 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44224 (_FPU_SETCW): Likewise.
44225
1cf463cd
L
442262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44227
44228 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44229 is 32-byte aligned.
44230
60cc4a18
AS
442312012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44232
44233 [BZ #11837]
44234 * iconvdata/gb18030.c: Update tables.
44235 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44236 characters specially.
44237 (BODY for TO_LOOP): Add encoding of missing ranges.
44238
febb44a4
TS
442392012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44240
44241 [BZ #13673]
44242 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44243 * sysdeps/mach/hurd/dup3.c: Likewise.
44244 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44245 * sysdeps/powerpc/memmove.c:: Likewise.
44246
0a10fb9e
L
442472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44248
44249 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44250 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44251
df8a552f
L
442522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44253
44254 * elf/elf.h (R_X86_64_RELATIVE64): New.
44255 (R_X86_64_NUM): Updated.
44256 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44257 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44258 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44259 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44260 tst-quad1pie tst-quad2pie
44261 (modules-names): Add tst-quadmod1 tst-quadmod2.
44262 ($(objpfx)tst-quad1): New dependency.
44263 ($(objpfx)tst-quad2): Likewise.
44264 ($(objpfx)tst-quad1pie): Likewise.
44265 ($(objpfx)tst-quad2pie): Likewise.
44266 * sysdeps/x86_64/tst-quad1.c: New file.
44267 * sysdeps/x86_64/tst-quad1pie.c: New file.
44268 * sysdeps/x86_64/tst-quad2.c: Likewise.
44269 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44270 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44271 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44272 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44273 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44274
f34d6f84
ST
442752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44276
f42d41d1
ST
44277 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44278 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44279 * streams/stropts.h (t_scalar_t): Define type.
44280
3c3571fc
ST
44281 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44282 (_PATH_PRESERVE): Set to "/var/lib".
44283 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44284
61f06bd3
ST
44285 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44286 instead of int.
44287
918d4d71
ST
44288 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44289 if __dir_mkfile succeeded.
44290
f34d6f84
ST
44291 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44292 checking for _hurd_dtablesize. Unlock it right after having
44293 finished _hurd_dtable allocation.
44294
10589b4a
TS
442952012-05-10 Thomas Schwinge <thomas@schwinge.name>
44296
674cdbc7
TS
44297 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44298 * sysdeps/mach/hurd/configure: Regenerated.
44299 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44300 special-casing to...
44301 * sysdeps/gnu/configure.in: ... this new file.
44302 * sysdeps/unix/sysv/linux/configure: Regenerated.
44303 * sysdeps/gnu/configure: New generated file.
44304
8e41b99f
TS
44305 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44306 for Linux: use nsec instead of usec, as well as:
44307 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44308 members of type struct timespec.
44309 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44310 New macros.
44311 (struct stat64): Likewise.
44312 (_STATBUF_ST_NSEC): New macro.
44313 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44314
10589b4a
TS
44315 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44316 __strtoul_internal rather than strtoul.
44317
63643c85
PT
443182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44319
44320 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44321 and reject them.
44322
3faebe6a
ST
443232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44324
44325 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44326 which preserves existing values.
44327 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44328
c6474b07
PT
443292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44330
44331 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44332 TIMEOUT values. Return EINVAL for NFDS values either negative or
44333 greater than FD_SETSIZE.
44334
1043890b
ST
443352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44336
44337 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44338 allocated, call __vm_protect to finish enabling the existing space, and
44339 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44340 allocate the remainder.
44341
37ed8b9b
PT
443422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44343
44344 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44345 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44346
db653660
ST
443472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44348
37ed8b9b
PT
44349 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44350 sysdeps/mach/hurd/readlink.c.
b29d4053 44351
db653660
ST
44352 * posix/tst-sysconf.c (posix_options): Only use
44353 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44354 _POSIX_SYNCHRONIZED_IO when they are defined
44355 * sysdeps/mach/hurd/bits/posix_opt.h:
44356 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44357 (_XOPEN_REALTIME): Undefine macro.
44358 (_XOPEN_REALTIME_THREADS): Undefine macro.
44359 (_XOPEN_SHM): Undefine macro.
44360 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44361 macro to -1.
44362 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44363 macro to -1.
44364 (_POSIX_ASYNC_IO): Undefine macro.
44365 (_POSIX_PRIORITIZED_IO): Undefine macro.
44366 (_POSIX_SPIN_LOCKS): Define macro to -1.
44367
ee16e894
ST
44368 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44369 SA_NODEFER, SA_RESETHAND.
44370 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44371 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44372 F_DUPFD_CLOEXEC.
44373
6103ae3b
TS
443742012-05-10 Thomas Schwinge <thomas@schwinge.name>
44375
44376 * elf/Makefile (pldd-modules): Define unconditionally.
44377
80b4e5f3
TS
443782012-05-10 Thomas Schwinge <thomas@schwinge.name>
44379
44380 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44381
edadcbd6
ST
443822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44383
44384 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44385 Return ENOENT when name is empty.
44386 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44387
80694780
TS
443882012-05-10 Thomas Schwinge <thomas@schwinge.name>
44389
1792c087
TS
44390 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44391
80694780
TS
44392 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44393
6b645f0d
ST
443942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44395
80694780
TS
44396 Fix mlock in all cases except non-readable pages.
44397 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44398 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44399
6b645f0d
ST
44400 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44401 (__mkdir): When path is `/', just fail with EEXIST.
44402 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44403
e468f8a3
TS
444042012-05-10 Thomas Schwinge <thomas@schwinge.name>
44405
44406 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44407 <sys/uio.h> (for writev).
44408 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44409 and <sys/param.h> (for MIN).
44410
a4186cff
PT
444112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44412
44413 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44414 REQUESTED_TIME. Properly set the remaining time and return EINTR
44415 if interrupted.
44416
510bbf14
TS
444172012-05-10 Thomas Schwinge <thomas@schwinge.name>
44418
44419 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44420 Depend on against $(link-rpcuserlibs).
44421
5d5722e8
ST
444222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44423
a4186cff
PT
44424 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44425 (__libc_stack_end): Do not use attribute_relro.
44426 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44427 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44428 to libthread-provided value.
a4186cff
PT
44429 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44430 attribute_relro.
5d5722e8 44431
37233df9
TS
444322012-05-10 Thomas Schwinge <thomas@schwinge.name>
44433
be971a2b
TS
44434 [BZ #3748]
44435 * bits/libc-lock.h (__libc_once_get): New macro.
44436 * sysdeps/mach/bits/libc-lock.h: Likewise.
44437 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44438 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44439 instead of using implementation details.
44440
37233df9
TS
44441 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44442 * libio/freopen.c: Likewise.
44443 * libio/freopen64.c: Likewise.
44444 * misc/syslog.c: Likewise.
44445 * nscd/connections.c: Likewise.
44446 * nscd/netgroupcache.c: Likewise.
44447 * sysdeps/posix/getcwd.c: Likewise.
44448
38de94a5
RM
444492012-05-10 Roland McGrath <roland@hack.frob.com>
44450
44451 * math/w_ilogbf.c: Add #include <limits.h>.
44452
67530489
ST
444532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44454
a4186cff 44455 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44456 path instead of returning without unlocking.
44457
67530489
ST
44458 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44459 immediate-write ioctls.
44460 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44461
5aa3a74a
TS
444622012-05-10 Thomas Schwinge <thomas@schwinge.name>
44463
18bad2ae
TS
44464 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44465 __builtin_frame_address instead of making assumptions about the
44466 location of the return address relative to DATA. Force early load of
44467 the return address.
44468 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44469 __builtin_frame_address.
44470
5aa3a74a
TS
44471 dup3 for GNU Hurd.
44472 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44473 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44474 implement dup3 and do some further code clean-ups.
44475 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44476 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44477
ecd0de9a
ST
444782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44479
cd9fa985
ST
44480 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44481
a4186cff
PT
44482 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44483 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44484 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44485 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44486 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44487 d->port.lock.
802ca5a5 44488
a4186cff
PT
44489 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44490 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44491 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44492
bcf55240
TS
444932012-05-10 Thomas Schwinge <thomas@schwinge.name>
44494
6960eb42
TS
44495 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44496 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44497 definitions.
44498
eb43375f
TS
44499 accept4 for GNU Hurd.
44500 * include/sys/socket.h (__libc_accept4): New prototype.
44501 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44502 to implement __libc_accept4.
44503 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44504 __libc_accept4.
44505 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44506
bcf55240
TS
44507 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44508 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44509 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44510 signal-defines.sym.
44511
6178c55b
ST
445122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44513
a4186cff 44514 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44515
6f080c2f
TS
445162012-05-10 Thomas Schwinge <thomas@schwinge.name>
44517
44518 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44519 assertion on O_CLOEXEC flag.
44520 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44521 * hurd/intern-fd.c: Likewise.
44522 * hurd/port2fd.c: Likewise.
44523
bcfe3a54
ST
445242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44525
44526 [BZ #3906]
44527 * bits/in.h (IPV6_PKTINFO): Define new macro.
44528 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44529
89c9aa49
AZ
445302012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44531
44532 [BZ #13954]
44533 [BZ #13955]
44534 [BZ #13956]
44535 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44536 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44537 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44538 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44539 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44540 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44541 * math/libm-test.inc (logb_test) : Additional logb tests.
44542
021db4be
AJ
445432012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44544 Andreas Jaeger <aj@suse.de>
44545
44546 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44547 * configure: Regenerated.
44548 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44549 * config.make.in (link-obsolete-rpc): New substituted variable.
44550 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44551 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44552 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44553 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44554 so that libc.a contains the symbols.
44555 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44556 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44557 * sunrpc/auth_none.c: Likewise.
44558 * sunrpc/auth_unix.c: Likewise.
44559 * sunrpc/authdes_prot.c: Likewise.
44560 * sunrpc/authuxprot.c: Likewise.
44561 * sunrpc/clnt_gen.c: Likewise.
44562 * sunrpc/clnt_perr.c: Likewise.
44563 * sunrpc/clnt_raw.c: Likewise.
44564 * sunrpc/clnt_simp.c: Likewise.
44565 * sunrpc/clnt_tcp.c: Likewise.
44566 * sunrpc/clnt_udp.c: Likewise.
44567 * sunrpc/clnt_unix.c: Likewise.
44568 * sunrpc/des_crypt.c: Likewise.
44569 * sunrpc/des_soft.c: Likewise.
44570 * sunrpc/get_myaddr.c: Likewise.
44571 * sunrpc/key_call.c: Likewise.
44572 * sunrpc/key_prot.c: Likewise.
44573 * sunrpc/netname.c: Likewise.
44574 * sunrpc/pm_getmaps.c: Likewise.
44575 * sunrpc/pm_getport.c: Likewise.
44576 * sunrpc/pmap_clnt.c: Likewise.
44577 * sunrpc/pmap_prot.c: Likewise.
44578 * sunrpc/pmap_prot2.c: Likewise.
44579 * sunrpc/pmap_rmt.c: Likewise.
44580 * sunrpc/publickey.c: Likewise.
44581 * sunrpc/rpc_cmsg.c: Likewise.
44582 * sunrpc/rpc_common.c: Likewise.
44583 * sunrpc/rpc_dtable.c: Likewise.
44584 * sunrpc/rpc_prot.c: Likewise.
44585 * sunrpc/rpc_thread.c: Likewise.
44586 * sunrpc/rtime.c: Likewise.
44587 * sunrpc/svc.c: Likewise.
44588 * sunrpc/svc_auth.c: Likewise.
44589 * sunrpc/svc_raw.c: Likewise.
44590 * sunrpc/svc_run.c: Likewise.
44591 * sunrpc/svc_tcp.c: Likewise.
44592 * sunrpc/svc_udp.c: Likewise.
44593 * sunrpc/svc_unix.c: Likewise.
44594 * sunrpc/svcauth_des.c: Likewise.
44595 * sunrpc/xcrypt.c: Likewise.
44596 * sunrpc/xdr.c: Likewise.
44597 * sunrpc/xdr_array.c: Likewise.
44598 * sunrpc/xdr_float.c: Likewise.
44599 * sunrpc/xdr_intXX_t.c: Likewise.
44600 * sunrpc/xdr_mem.c: Likewise.
44601 * sunrpc/xdr_rec.c: Likewise.
44602 * sunrpc/xdr_ref.c: Likewise.
44603 * sunrpc/xdr_sizeof.c: Likewise.
44604 * sunrpc/xdr_stdio.c: Likewise.
44605
b5c086a2
RM
446062012-05-10 Roland McGrath <roland@hack.frob.com>
44607
44608 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44609 change. Update copyright years.
44610
6d74dd09
JM
446112012-05-10 Joseph Myers <joseph@codesourcery.com>
44612
44613 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44614
28e72501
MK
446152012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44616 Joseph Myers <joseph@codesourcery.com>
44617 Paul Pluzhnikov <ppluzhnikov@google.com>
44618
44619 [BZ #14012]
44620 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44621 requiring rpcgen.
44622 [cross-compiling] (extra-libs): Likewise.
44623 [cross-compiling] (extra-libs-others): Likewise.
44624 [cross-compiling] (librpcsvc-routines): Likewise.
44625 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44626 [cross-compiling] (omit-deps): Likewise.
44627 (sunrpc-CPPFLAGS): New variable.
44628 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44629 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44630 (cross-rpcgen-objs): New variable.
44631 (extra-objs): Append $(cross-rpcgen-objs).
44632 ($(cross-rpcgen-objs)): New rule.
44633 ($(objpfx)cross-rpcgen): Likewise.
44634 (rpcgen-cmd): Define to use $(built-program-file). Expand
44635 comment.
44636 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44637 ($(objpfx)x%.stmp): Likewise.
44638 * sunrpc/proto.h [IS_IN_build] (_): Define.
44639 [IS_IN_build] (_libc_intl_domainname): Likewise.
44640
c8c59454
L
446412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44642
44643 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44644 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44645 and R_X86_64_TPOFF64.
44646
6f27cd16
JM
446472012-05-10 Joseph Myers <joseph@codesourcery.com>
44648
44649 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44650 sysdeps/unix/sysv/syscalls.list.
44651 (stime): Likewise.
44652 (utime): Likewise.
44653 * sysdeps/unix/sysv/syscalls.list: Remove file.
44654
02467e1c
PE
446552012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44656
44657 [BZ #3440]
44658 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44659 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44660 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44661 (__LC_IDENTIFICATION): Make these macros useful in #if
44662 expressions, as required by C99.
44663
da392631
AS
446642012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44665
44666 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44667 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44668 after this.
44669
8115f29b
L
446702012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44671
44672 * stdlib/longlong.h: Updated from GCC.
44673
bdd74070
AJ
446742012-05-09 Andreas Jaeger <aj@suse.de>
44675
edfe0dbe
AJ
44676 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44677 default is first entry.
44678 (run_mode): Set type.
44679 (main): Remove informal message about syslog.
44680 (options): Fix typo.
44681
bcfe3a54
ST
44682 [BZ #14053]
44683 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 44684 to asm.
bcfe3a54
ST
44685 (lrint): Likewise.
44686 (llrintf): Likewise.
44687 (llrint): Likewise.
44688 (rint): Likewise.
44689 (rintf): Likewise.
44690 (nearbyint): Likewise.
44691 (nearbyintf): Likewise.
bdd74070 44692
91d8d69e
AJ
446932012-05-09 Andreas Jaeger <aj@suse.de>
44694 Pedro Alves <palves@redhat.com>
44695
44696 * nscd/nscd.c (run_mode): Use enum.
44697 (main): Cleanup coding style issue.
44698
bb90b80b
AJ
446992012-05-09 Alexandre Oliva <aoliva@redhat.com>
44700 Andreas Jaeger <aj@suse.de>
44701
bcfe3a54
ST
44702 * nscd/nscd.c (go_background): Replaced with...
44703 (run_mode): ... this.
bb90b80b 44704 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
44705 (options): Add -F --foreground.
44706 (main): Implement it.
44707 (parse_opt): Parse it.
bb90b80b 44708
1a4b75a1
AJ
447092012-05-09 Andreas Jaeger <aj@suse.de>
44710
44711 [BZ #14083]
44712 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44713 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44714 -Wconversion warning.
44715 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44716 Likewise.
44717
b1cc2472
JM
447182012-05-09 Joseph Myers <joseph@codesourcery.com>
44719
44720 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44721 == 0.
44722 (LC_ALL): Use macro-int-constant.
44723 (LC_COLLATE): Likewise.
44724 (LC_CTYPE): Likewise.
44725 (LC_MESSAGES): Likewise.
44726 (LC_MONETARY): Likewise.
44727 (LC_NUMERIC): Likewise.
44728 (LC_TIME): Likewise.
44729 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44730 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44731 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44732 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44733 Specify type.
44734 [C99-based standards] (float_t): Expect type.
44735 [C99-based standards] (double_t): Expect type.
44736 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44737 type.
44738 [C99-based standards] (HUGE_VALL): Likewise.
44739 [C99-based standards] (INFINITY): Likewise.
44740 [C99-based standards] (NAN): Likewise.
44741 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44742 [C99-based standards] (FP_NAN): Likewise.
44743 [C99-based standards] (FP_NORMAL): Likewise.
44744 [C99-based standards] (FP_SUBNORMAL): Likewise.
44745 [C99-based standards] (FP_ZERO): Likewise.
44746 [C99-based standards] (FP_FAST_FMA): Use
44747 optional-macro-int-constant. Specify type. Require == 1.
44748 [C99-based standards] (FP_FAST_FMAF): Likewise.
44749 [C99-based standards] (FP_FAST_FMAL): Likewise.
44750 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44751 [C99-based standards] (FP_ILOGBNAN): Likewise.
44752 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44753 Specify type.
44754 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44755 [C99-based standards] (math_errhandling): Specify type.
44756 [ISO99 || ISO11] (signgam): Do not allow.
44757 [non-C99-based standards] (copysignf): Do not allow.
44758 [non-C99-based standards] (exp2f): Likewise.
44759 [non-C99-based standards] (log2f): Likewise.
44760 [non-C99-based standards] (modff): Allow.
44761 [non-C99-based standards] (erff): Do not allow.
44762 [non-C99-based standards] (erfcf): Likewise.
44763 [non-C99-based standards] (gammaf): Likewise.
44764 [non-C99-based standards] (hypotf): Likewise.
44765 [non-C99-based standards] (j0f): Likewise.
44766 [non-C99-based standards] (j1f): Likewise.
44767 [non-C99-based standards] (jnf): Likewise.
44768 [non-C99-based standards] (lgammaf): Likewise.
44769 [non-C99-based standards] (tgammaf): Likewise.
44770 [non-C99-based standards] (y0f): Likewise.
44771 [non-C99-based standards] (y1f): Likewise.
44772 [non-C99-based standards] (ynf): Likewise.
44773 [non-C99-based standards] (isnanf): Likewise.
44774 [non-C99-based standards] (acoshf): Likewise.
44775 [non-C99-based standards] (asinhf): Likewise.
44776 [non-C99-based standards] (atanhf): Likewise.
44777 [non-C99-based standards] (cbrtf): Likewise.
44778 [non-C99-based standards] (expm1f): Likewise.
44779 [non-C99-based standards] (ilogbf): Likewise.
44780 [non-C99-based standards] (log1pf): Likewise.
44781 [non-C99-based standards] (logbf): Likewise.
44782 [non-C99-based standards] (nextafterf): Likewise.
44783 [non-C99-based standards] (remainderf): Likewise.
44784 [non-C99-based standards] (rintf): Likewise.
44785 [non-C99-based standards] (scalbf): Likewise.
44786 [non-C99-based standards] (copysignl): Likewise.
44787 [non-C99-based standards] (exp2l): Likewise.
44788 [non-C99-based standards] (log2l): Likewise.
44789 [non-C99-based standards] (modfl): Allow.
44790 [non-C99-based standards] (erfl): Do not allow.
44791 [non-C99-based standards] (erfcl): Likewise.
44792 [non-C99-based standards] (gammal): Likewise.
44793 [non-C99-based standards] (hypotl): Likewise.
44794 [non-C99-based standards] (j0l): Likewise.
44795 [non-C99-based standards] (j1l): Likewise.
44796 [non-C99-based standards] (jnl): Likewise.
44797 [non-C99-based standards] (lgammal): Likewise.
44798 [non-C99-based standards] (tgammal): Likewise.
44799 [non-C99-based standards] (y0l): Likewise.
44800 [non-C99-based standards] (y1l): Likewise.
44801 [non-C99-based standards] (ynl): Likewise.
44802 [non-C99-based standards] (isnanl): Likewise.
44803 [non-C99-based standards] (acoshl): Likewise.
44804 [non-C99-based standards] (asinhl): Likewise.
44805 [non-C99-based standards] (atanhl): Likewise.
44806 [non-C99-based standards] (cbrtl): Likewise.
44807 [non-C99-based standards] (expm1l): Likewise.
44808 [non-C99-based standards] (ilogbl): Likewise.
44809 [non-C99-based standards] (log1pl): Likewise.
44810 [non-C99-based standards] (logbl): Likewise.
44811 [non-C99-based standards] (nextafterl): Likewise.
44812 [non-C99-based standards] (remainderl): Likewise.
44813 [non-C99-based standards] (rintl): Likewise.
44814 [non-C99-based standards] (scalbl): Likewise.
44815 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44816 [non-C99-based standards] (FP_*): Do not allow.
44817 [C99-based standards] (FP_*): Change to
44818 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44819 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44820 allow.
44821 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44822 (SIG_ERR): Likewise.
44823 [X/Open-based standards] (SIG_HOLD): Likewise.
44824 (SIG_IGN): Likewise.
44825 (SIGABRT): Use macro-int-constant. Specify type. Require
44826 positive value.
44827 (SIGFPE): Likewise.
44828 (SIGILL): Likewise.
44829 (SIGINT): Likewise.
44830 (SIGSEGV): Likewise.
44831 (SIGTER): Likewise.
44832 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44833 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44834 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44835 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44836 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44837 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44838 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44839 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44840 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44841 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44842 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44843 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44844 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44845 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44846 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44847 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44848 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44849 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44850 [X/Open-based standards] (SIGTRAP): Likewise.
44851 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44852 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44853 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44854 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44855 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44856 allow.
44857
b9f1922d
IW
448582012-05-08 Ian Wienand <ianw@vmware.com>
44859
44860 [BZ #14080]
44861 * time/tzset.c (__tzset_parse_tz): Update default rules for
44862 daylight time changes in the Energy Policy Act of 2005.
44863
1db86e88
AJ
448642012-05-09 Andreas Jaeger <aj@suse.de>
44865
44866 [BZ #13983]
44867 * elf/ldconfig.c (parse_conf): Change string to make clear that
44868 ldconfig only issued a warning if ld.so.conf does not exist.
44869
dee4a4e3
DM
448702012-05-08 David S. Miller <davem@davemloft.net>
44871
ee0db190
DM
44872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44873 movxtod instead of popping the value on the stack.
44874
dee4a4e3
DM
44875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44876
6a43ec98
CD
448772012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44878
44879 * config.h.in: Add HAVE_ARM_PCS_VFP.
44880
05c2c961
RMG
448812012-05-08 Roland Mc Grath <roland@hack.frob.com>
44882
bcfe3a54
ST
44883 [BZ #13979]
44884 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44885 checking but the checks are disabled for any reason.
05c2c961 44886
4b30f61a
L
448872012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44888
44889 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44890 and ELF64_R_TYPE with ELFW(R_TYPE).
44891
eee2bc67
JM
448922012-05-08 Joseph Myers <joseph@codesourcery.com>
44893
7ea5391a
JM
44894 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44895 (ulimit): Likewise.
44896
eee2bc67
JM
44897 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44898 (settimeofday): Likewise.
44899
abb66a67
MF
449002012-05-08 Mike Frysinger <vapier@gentoo.org>
44901
44902 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44903 a struct th_u2 inside the union, and move tu_block/tu_code into
44904 a new th_u3 union of tu_block/tu_code inside of that. Move
44905 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44906 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44907 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44908 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44909 (th_stuff): Change to th_u1.tu_stuff.
44910 (th_data): Define.
44911 (th_msg): Change to th_u1.th_u2.tu_data.
44912
7f18b530
DM
449132012-05-07 David S. Miller <davem@davemloft.net>
44914
05760585
DM
44915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44916
7f18b530
DM
44917 [BZ #14074]
44918 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44919 (SETUP_PIC_REG): Use it.
44920 (SETUP_PIC_REG_LEAF): Use it.
44921
495fd99f
JM
449222012-05-07 Joseph Myers <joseph@codesourcery.com>
44923
44924 [BZ #13885]
44925 [BZ #13923]
44926 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44927 USE_AS_EXPM1L.
44928 (EXPL_FINITE): Likewise.
44929 (FLDLOG): Likewise.
44930 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44931 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44932 e_expl.S.
44933 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44934 USE_AS_EXPM1L.
44935 (EXPL_FINITE): Likewise.
44936 (FLDLOG): Likewise.
44937 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44938 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44939 e_expl.S.
44940 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44941 test of -max_value argument for long double.
44942 * sysdeps/i386/fpu/libm-test-ulps: Update.
44943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44944
6693d694
DM
449452012-05-06 David S. Miller <davem@davemloft.net>
44946
44947 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44948 quad soft-float symbols whose references which are compiler
44949 generated.
44950 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44951
6c23e11c
JM
449522012-05-06 Joseph Myers <joseph@codesourcery.com>
44953
d8b82cad
JM
44954 [BZ #13884]
44955 [BZ #13914]
44956 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44957 USE_AS_EXP10L.
44958 (EXPL_FINITE): Likewise.
44959 (FLDLOG): Likewise.
44960 (c0): Likewise.
44961 (c1): Likewise.
44962 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44963 Adjust comments for base varying.
44964 (__expl_finite): Change alias to EXPL_FINITE.
44965 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44966 e_expl.S.
44967 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44968 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44969 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44970 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44971 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44972 USE_AS_EXP10L.
44973 (EXPL_FINITE): Likewise.
44974 (FLDLOG): Likewise.
44975 (c0): Likewise.
44976 (c1): Likewise.
44977 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44978 Adjust comments for base varying.
44979 (__expl_finite): Change alias to EXPL_FINITE.
44980 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44981 tests for bugs.
44982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44983
6c23e11c
JM
44984 [BZ #14064]
44985 * math/libm-test.inc (check_float_internal): Correct ulp
44986 calculation for subnormal expected results.
44987
29ba805c
AJ
449882012-05-06 Andreas Jaeger <aj@suse.de>
44989
44990 * Makeconfig (+math-flags): New, set to -frounding-math.
44991 (+cflags): Add +math-flags so that all of glibc gets compiled with
44992 it.
44993
44994 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44995
7b17aeda
JM
449962012-05-05 Joseph Myers <joseph@codesourcery.com>
44997
5779f134
JM
44998 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44999 Disable one test.
45000
41498f4d
JM
45001 [BZ #13787]
45002 [BZ #13922]
45003 [BZ #14036]
45004 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45005 (__ieee754_expl): Allow for and saturate large arguments.
45006 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45007 (u_threshold): Likewise.
45008 (__exp): Call __ieee754_exp before checking for overflow and
45009 underflow.
45010 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45011 (u_threshold): Likewise.
45012 (__expf): Call __ieee754_expf before checking for overflow and
45013 underflow.
45014 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45015 (u_threshold): Likewise.
45016 (__expl): Call __ieee754_expl before checking for overflow and
45017 underflow.
45018 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45019 (__ieee754_expl): Allow for and saturate large arguments.
45020 * math/libm-test.inc (exp_test): Add another test. Do not allow
45021 missing overflow exception on overflow.
45022 (expm1_test): Do not allow missing overflow exception on overflow.
45023
6698b8bf
JM
45024 * sysdeps/i386/fpu/e_expl.c: Move to ...
45025 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45026 rather than using inline asm.
45027 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45028 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45029 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45030
7b17aeda
JM
45031 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45032 (nice): Likewise.
45033 (poll): Likewise.
45034 (signal): Likewise.
45035 (time): Likewise.
45036 (times): Likewise.
45037
f7c85819
JM
450382012-05-04 Joseph Myers <joseph@codesourcery.com>
45039
45040 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45041 sysdeps/unix/common/syscalls.list.
45042 (fchmod): Likewise.
45043 (fchown): Likewise.
45044 (ftruncate): Likewise.
45045 (getrusage): Likewise.
45046 (gettimeofday): Likewise.
45047 (setpgid): Likewise.
45048 (setregid): Likewise.
45049 (setreuid): Likewise.
45050 (sigaction): Likewise.
45051 (truncate): Likewise.
45052 (vhangup): Likewise.
45053 * sysdeps/unix/common/syscalls.list: Remove file.
45054 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45055 * sysdeps/unix/sysv/linux/Implies: Likewise.
45056
336270d0
L
450572012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45058
45059 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45061 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45062 Moved to ...
45063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45064 Here.
45065 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45066 to ...
45067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45068 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45069 to ...
45070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45071 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45072 to ...
45073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45074 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45075 to ...
45076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45077 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45078 to ...
45079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45080 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45081 to ...
45082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45083 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45084 to ...
45085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45086 Here.
45087 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45088 to ...
45089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45090 Here.
45091 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45092 to ...
45093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45094 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45095 Moved to ...
45096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45097 Here.
45098 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45099 to ...
45100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45101
d128e450
JM
451022012-05-04 Joseph Myers <joseph@codesourcery.com>
45103
fa8ee516
JM
45104 * sysdeps/unix/common/bits/dirent.h: Remove file.
45105 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45106
d128e450
JM
45107 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45108 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45109 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45110 * sysdeps/unix/bsd/isatty.c: Likewise.
45111 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45112 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45113 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45114
ff8faaf0 451152012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 45116
62881be4 45117 [BZ #13563]
31dc8730
AZ
45118 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45119 long double comparison inaccuracies.
45120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45122
6fef930c
AS
451232012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45124
45125 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45126 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45127
8f203e6c
JM
451282012-05-04 Joseph Myers <joseph@codesourcery.com>
45129
45130 [BZ #14049]
45131 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45132 nonzero digits before rounding a hex value.
45133 * stdlib/tst-strtod.c (tests): Add another test.
45134
5197d9c2
AK
451352012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45136
45137 * sysdeps/s390/fpu/libm-test-ulps: Update.
45138
f0c1dedf
AJ
451392012-05-03 Andreas Jaeger <aj@suse.de>
45140
45141 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45142 does not get optimized out.
45143 (malloc_opt_barrier): New.
45144
a65ef2ae 451452012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 45146 Roland McGrath <roland@hack.frob.com>
a65ef2ae 45147
2b942cb7 45148 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 45149 intermediate file deletion.
2b942cb7 45150 (generated): Add .symlist files.
a65ef2ae 45151
54b71e02
JM
451522012-05-03 Joseph Myers <joseph@codesourcery.com>
45153
45154 [BZ #13775]
45155 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45156 Redirect under this condition.
45157 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45158 [__USE_GNU] (__dprintf_chk): Not under this condition.
45159 [__USE_GNU] (__vdprintf_chk): Likewise.
45160 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45161 under this condition.
45162 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45163 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45164 [__USE_XOPEN2K8] (vdprintf): Likewise.
45165 [__USE_GNU] (__dprintf_chk): Not under this condition.
45166 [__USE_GNU] (__vdprintf_chk): Likewise.
45167 [__USE_GNU] (dprintf): Likewise.
45168 [__USE_GNU] (vdprintf): Likewise.
45169
d3dfcc41
RM
451702012-05-03 Roland McGrath <roland@hack.frob.com>
45171
45172 * elf/Makefile (common-generated): Set this instead of generated for
45173 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45174 $(all-built-dso)-derived lists.
45175
7ac30cc5
AJ
451762012-05-03 Andreas Jaeger <aj@suse.de>
45177
0c51e550
AJ
45178 * sysdeps/i386/fpu/libm-test-ulps: Update.
45179
7ac30cc5
AJ
45180 * FAQ: Removed.
45181 * FAQ.in: Likewise.
45182 * scripts/gen-FAQ.pl: Likewise.
45183 * manual/install.texi (Installation): Point to online location of
45184 FAQ.
45185 * Makefile (files-for-dist): Remove FAQ.
45186 (FAQ): Remove.
45187
d4c2917f
AM
451882012-05-02 Allan McRae <allan@archlinux.org>
45189
45190 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45191 (LDFLAGS-reldepmod5.so): Likewise.
45192 (LDFLAGS-reldep6mod1.so): Likewise.
45193 (LDFLAGS-reldep6mod4.so): Likewise.
45194 (LDFLAGS-reldep8mod3.so): Likewise.
45195 (LDFLAGS-unload4mod1.so): Likewise.
45196 (LDFLAGS-unload4mod2.so): Likewise.
45197 (LDFLAGS-tst-initorder): Likewise.
45198 (LDFLAGS-tst-initordera2.so): Likewise.
45199 (LDFLAGS-tst-initordera3.so): Likewise.
45200 (LDFLAGS-tst-initordera4.so): Likewise.
45201 (LDFLAGS-tst-initorderb2.so): Likewise.
45202 (LDFLAGS-noload): Likewise.
45203 (LDFLAGS-next): Likewise.
45204 (LDFLAGS-order2mod1.so): Likewise.
45205 (LDFLAGS-order2mod2.so): Likewise.
45206 (LDFLAGS-tst-initorder2): Likewise.
45207 (LDFLAGS-tst-initorder2a.so): Likewise.
45208 (LDFLAGS-tst-initorder2b.so): Likewise.
45209 (LDFLAGS-tst-initorder2c.so): Likewise.
45210 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45211
d77f993f
DM
452122012-05-02 David S. Miller <davem@davemloft.net>
45213
45214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45215
171a70b4
PP
452162012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45217
45218 [BZ #14055]
45219 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45220
0be196ad
AJ
452212012-05-02 Andreas Jaeger <aj@suse.de>
45222
45223 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45224 since we manipulate rounding mode.
45225 (CPPFLAGS-test-idouble.c): Likewise.
45226 (CPPFLAGS-test-ifloat.c): Likewise.
45227 (CFLAGS-test-ldouble.c): Likewise.
45228 (CFLAGS-test-double.c): Likewise.
45229 (CFLAGS-test-float.c): Likewise.
45230 (CFLAGS-test-misc.c): Likewise.
45231 (CFLAGS-test-test-fenv.c): Likewise.
45232
4f9d04aa
AZ
452332012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45234
2b942cb7
RM
45235 [BZ #2550]
45236 [BZ #2570]
45237 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45238 comparisons to determine direction to adjust input.
4f9d04aa 45239
82a79e7d
RM
452402012-05-01 Roland McGrath <roland@hack.frob.com>
45241
f5a01ca9
RM
45242 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45243 output to the target.
45244
90fe4186
RM
45245 * scripts/localplt.awk: New file.
45246 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45247 (check-localplt-CFLAGS): Variable removed.
45248 ($(all-built-dso:=.jmprel)): New static pattern rule.
45249 (generated): Add those targets.
45250 (localplt-built-dso): New variable.
45251 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45252
45253 * elf/check-localplt.c: File removed.
45254
82397ed6
RM
45255 * scripts/check-execstack.awk: New file.
45256 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45257 (check-execstack-CFLAGS): Variable removed.
45258 ($(objpfx)check-execstack.h): Target removed.
45259 ($(objpfx)execstack-default): New target.
45260 (generated): Add that instead of check-execstack.h.
45261 ($(all-built-dso:=.phdr)): New static pattern rule.
45262 (generated): Add those targets.
45263 * elf/check-execstack.c: File removed.
45264
82a79e7d
RM
45265 * scripts/check-textrel.awk: New file.
45266 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45267 (check-textrel-CFLAGS): Variable removed.
45268 (all-built-dso): Use := to define.o
45269 ($(all-built-dso:=.dyn)): New static pattern rule.
45270 (generated): Add those targets.
45271 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45272 * config.make.in (READELF): New substituted variable.
45273 * elf/check-textrel.c: File removed.
45274
62fde54f 452752012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 45276
615605c9
JM
45277 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45278 allow.
45279 * conform/data/ctype.h-data [C99-based standards] (isblank):
45280 Expect function.
45281 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45282 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45283 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45284 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45285 Specify type. Require positive value.
45286 (EILSEQ): Likewise.
45287 (ERANGE): Likewise.
45288 [ISO || POSIX] (EILSEQ): Do not expect.
45289 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45290 Specify type. Require positive value.
45291 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45292 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45293 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45294 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45295 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45296 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45297 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45298 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45299 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45300 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45301 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45302 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45303 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45304 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45305 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45306 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45307 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45308 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45309 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45310 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45311 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45312 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45313 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45314 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45315 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45316 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45317 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45318 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45319 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45320 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45321 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45322 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45323 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45324 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45325 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45326 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45327 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45328 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45329 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45330 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45331 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45332 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45333 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45334 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45335 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45336 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45337 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45338 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45339 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45340 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45341 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45342 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45343 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45344 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45345 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45346 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45347 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45348 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45349 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45350 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45351 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45352 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45353 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45354 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45355 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45356 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45357 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45358 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45359 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45360 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45361 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45362 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45363 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45364 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45365 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45366 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45367 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45368 Require >= 2.
45369 (FLT_ROUNDS): Expect as macro, not constant.
45370 (FLT_MANT_DIG): Use macro-int-constant.
45371 (DBL_MANT_DIG): Likewise.
45372 (LDBL_MANT_DIG): Likewise.
45373 (FLT_DIG): Likewise.
45374 (DBL_DIG): Likewise.
45375 (LDBL_DIG): Likewise.
45376 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45377 (DBL_MIN_EXP): Likewise.
45378 (LDBL_MIN_EXP): Likewise.
45379 (FLT_MAX_EXP): Use macro-int-constant.
45380 (DBL_MAX_EXP): Likewise.
45381 (LDBL_MAX_EXP): Likewise.
45382 (FLT_MAX_10_EXP): Likewise.
45383 (DBL_MAX_10_EXP): Likewise.
45384 (LDBL_MAX_10_EXP): Likewise.
45385 (FLT_MAX): Use macro-constant.
45386 (DBL_MAX): Likewise.
45387 (LDBL_MAX): Likewise.
45388 (FLT_EPSILON): Use macro-constant. Give upper bound.
45389 (DBL_EPSILON): Likewise.
45390 (LDBL_EPSILON): Likewise.
45391 (FLT_MIN): Likewise.
45392 (DBL_MIN): Likewise.
45393 (LDBL_MIN): Likewise.
45394 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45395 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45396 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45397 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45398 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45399 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45400 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45401 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45402 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45403 [ISO11] (FLT_TRUE_MIN): Likewise.
45404 [ISO11] (LDBL_TRUE_MIN): Likewise.
45405 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45406 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45407 (SCHAR_MIN): Use macro-int-constant. Specify type.
45408 (SCHAR_MAX): Likewise.
45409 (UCHAR_MAX): Likewise.
45410 (CHAR_MIN): Likewise.
45411 (CHAR_MAX): Likewise.
45412 (MB_LEN_MAX): Use macro-int-constant.
45413 (SHRT_MIN): Use macro-int-constant. Specify type.
45414 (SHRT_MAX): Likewise.
45415 (USHRT_MAX): Likewise.
45416 (INT_MAX): Likewise.
45417 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45418 bound negative.
45419 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45420 bound with "U".
45421 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45422 bound with "L".
45423 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45424 bound negative. Suffix upper bound with "L".
45425 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45426 bound with "UL".
45427 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45428 Specify type.
45429 [C99-based standards] (LLONG_MAX): Likewise.
45430 [C99-based standards] (ULLONG_MAX): Likewise.
45431 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45432 == 0.
45433 [ISO11] (max_align_t): Require type.
45434 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45435
c9140a62
JM
45436 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45437 from $CFLAGS, without defining away __attribute__ calls.
45438 (checknamespace): Use $CFLAGS_namespace.
45439
9af0bf29
JM
45440 * conform/conformtest.pl (@keywords): Only include C99 keywords
45441 for standards based on C99 or C11.
45442
343222a2
JM
45443 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45444 Disable tests.
45445 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45446 UNIX98]: Likewise.
45447
661f8cf0
JM
45448 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45449 usability of symbols in #if.
45450
ee74b9cb
JM
45451 * conform/conformtest.pl: If macro or constant types start
45452 "promoted:", expect the symbol to be of the following type
45453 promoted by the integer promotions.
62fde54f 45454
aafc49b3
JM
45455 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45456 in one place. Also handle "macro-constant".
45457
fefdf574
JM
45458 * conform/conformtest.pl: Only accept expected macro values with
45459 "==". Parse all "macro" lines in one place.
45460 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45461
f2d922fe
JM
45462 * conform/conformtest.pl: Handle braced types on "constant" lines
45463 instead of handling "typed-constant".
45464 * conform/data/signal.h-data: Use "constant" instead of
45465 "typed-constant".
45466
d22956c9
JM
45467 * conform/conformtest.pl: Handle "optional-" at start of lines in
45468 one place rather than duplicating several cases. Handle each
45469 format of "macro" line with initial "optional-".
45470
028e2e38
JM
45471 * conform/conformtest.pl: Only accept expected constant or
45472 optional-constant values with "==". Parse all "constant" lines in
45473 one place. Parse all "optional-constant" lines in one place.
45474 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45475 * conform/data/fmtmsg.h-data: Likewise.
45476 * conform/data/netinet/in.h-data: Likewise.
45477 * conform/data/tar.h-data: Likewise.
45478 * conform/data/limits.h-data: Use "==" form on "constant" and
45479 "optional-constant" lines.
45480
1b8f2850
JM
45481 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45482 Use -std=c99 for XOPEN2K.
45483 (@knownproblems): Remove.
45484 (newtoken): Don't check %isknown.
45485
a05a144b
JM
45486 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45487 Do not expect macro.
45488 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45489 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45490 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45491 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45492 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45493 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45494 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45495 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45496 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45497 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45498 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45499 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45500 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45501 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45502 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45503 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45504 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45505 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45506 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45507 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45508 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45509 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45510 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45511 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45512 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45513 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45514 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45515 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45516 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45517 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45518 [XPG3] (acosh): Likewise.
45519 [XPG3] (asinh): Likewise.
45520 [XPG3] (atanh): Likewise.
45521 [XPG3] (cbrt): Likewise.
45522 [XPG3] (expm1): Likewise.
45523 [XPG3] (ilogb): Likewise.
45524 [XPG3] (log1p): Likewise.
45525 [XPG3] (logb): Likewise.
45526 [XPG3] (nextafter): Likewise.
45527 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45528 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45529 [XPG3] (remainder): Likewise.
45530 [XPG3] (rint): Likewise.
45531 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45532 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45533 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45534 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45535 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45536 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45537 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45538 [UNIX98 || XOPEN2K] (scalb): Expect.
45539 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45540 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45541 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45542 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45543 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45544 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45545 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45546 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45547 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45548 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45549 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45550 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45551 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45552 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45553 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45554 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45555 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45556 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45557 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45558 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45559 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45560 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45561 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45562 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45563 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45564 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45565 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45566 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45567 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45568 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45569 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45570 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45571 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45572 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45573 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45574 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45575 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45576 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45577 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45578 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45579 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45580 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45581 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45582 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45583 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45584 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45585 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45586 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45587 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45588 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45589 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45590 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45591 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45592 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45593 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45594 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45595 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45596 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45597 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45598 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45599 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45600 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45601 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45602 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45603 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45604 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45605 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45606 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45607 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45608 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45609 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45610 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45611 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45612 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45613 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45614 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45615 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45616 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45617 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45618 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45619 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45620 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45621 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45622 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45623 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45624 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45625 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45626 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45627 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45628 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45629 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45630 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45631 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45632 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45633 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45634 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45635 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45636 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45637 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45638 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45639 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45640 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45641 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45642 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45643 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45644 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45645 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45646 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45647 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45648 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45649 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45650 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45651 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45652 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45653 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45654 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45655 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45656 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45657 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45658 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45659 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45660 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45661 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45662 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45663 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45664 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45665 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45666 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45667 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45668 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45669 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45670 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45671 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45672 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45673 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45674 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45675 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45676
73c5ebe3
JM
45677 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45678 _XOPEN_SOURCE_EXTENDED for XPG4.
45679
39c33b6c
JM
45680 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45681
62fde54f
JM
45682 * Makeconfig (localtime): Remove variable.
45683 (inst_localtime-file): Likewise.
45684
0741d64c
AS
456852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45686
45687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45688 Update.
45689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45690 Update.
45691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45692 Update.
45693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45694 Update.
45695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45696 Update.
45697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45698 Update.
45699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45700 Update.
45701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45702 Update.
45703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45704 Update.
45705
7cb029ee
JM
457062012-05-01 Joseph Myers <joseph@codesourcery.com>
45707
45708 [BZ #2550]
45709 [BZ #2570]
45710 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45711 comparisons to determine direction to adjust input.
45712 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45713 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45714 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45715 Likewise.
45716 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45717 Likewise.
45718 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45719 Likewise.
45720 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45721 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45722 Likewise.
45723 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45724 Likewise.
45725 * math/libm-test.inc (nexttoward_test): Add more tests.
45726
412bd966
AS
457272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45728
45729 [BZ #14040]
45730 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45731 in version GLIBC_2.1, not GLIBC_2.0.
45732 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45733 Likewise.
45734
9568c0c2
JM
457352012-04-30 Joseph Myers <joseph@codesourcery.com>
45736
adfbc8ac
JM
45737 [BZ #13942]
45738 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45739 (1 - x) * (1 + x).
45740 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45741 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45742 * math/libm-test.inc (acos_test): Add more tests.
45743 (asin_test): Likewise.
45744 * sysdeps/i386/fpu/libm-test-ulps: Update.
45745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45746
5ba3cc69
JM
45747 [BZ #14034]
45748 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45749 of square root.
45750 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45751 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45752 * math/libm-test.inc (acos_test_tonearest): New function.
45753 (acos_test_towardzero): Likewise.
45754 (acos_test_downward): Likewise.
45755 (acos_test_upward): Likewise.
45756 (asin_test_tonearest): Likewise.
45757 (asin_test_towardzero): Likewise.
45758 (asin_test_downward): Likewise.
45759 (asin_test_upward): Likewise.
45760 (main): Call the new functions.
45761 * sysdeps/i386/fpu/libm-test-ulps: Update.
45762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45763
9568c0c2
JM
45764 [BZ #13884]
45765 [BZ #13924]
45766 * math/e_exp10.c: Include <float.h>.
45767 (__ieee754_exp10): Handle underflow here rather than multiplying
45768 large negative argument by M_LN10.
45769 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45770 of __ieee754_expf.
45771 * math/e_exp10l.c: Include <float.h>.
45772 (__ieee754_exp10l): Handle underflow here rather than multiplying
45773 large negative argument by M_LN10l.
45774 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45775 spurious overflow exception on underflow.
45776
5ac3ea17
MP
457772012-04-29 Marek Polacek <polacek@redhat.com>
45778
45779 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45780 (__fortify_function): New macro.
45781 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45782 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45783 __extern_always_inline.
45784 * libio/bits/stdio2.h: Likewise.
45785 * libio/bits/stdio.h: Likewise.
45786 * string/string.h: Likewise.
45787 * string/bits/string3.h: Likewise.
45788 * include/stdio.h: Likewise.
45789 * stdlib/bits/stdlib.h: Likewise.
45790 * stdlib/stdlib.h: Likewise.
45791 * rt/bits/mqueue2.h: Likewise.
45792 * rt/mqueue.h: Likewise.
45793 * posix/bits/unistd.h: Likewise.
45794 * posix/unistd.h: Likewise.
45795 * io/bits/poll2.h: Likewise.
45796 * io/bits/fcntl2.h: Likewise.
45797 * io/fcntl.h: Likewise.
45798 * io/sys/poll.h: Likewise.
45799 * misc/bits/syslog.h: Likewise.
45800 * misc/bits/syslog-ldbl.h: Likewise.
45801 * misc/sys/syslog.h: Likewise.
45802 * socket/bits/socket2.h: Likewise.
45803 * socket/sys/socket.h: Likewise.
45804 * debug/tst-chk1.c: Likewise.
45805 * wcsmbs/bits/wchar2.h: Likewise.
45806 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45807 * wcsmbs/wchar.h: Likewise.
45808
ecf0ebfb
AJ
458092012-04-29 Andreas Jaeger <aj@suse.de>
45810
45811 * Makerules (tests): Remove enable-check-abi protection.
45812 (check-abi-warn): Remove.
45813 (check-abi-%): Remove check-abi-warn usage.
45814
45815 * configure.in: Remove check-abi configure option.
45816 * configure: Regenerated.
45817 * config.make.in (enable-check-abi): Remove.
45818
6d5c57fa
AS
458192012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45820
24c5d07e 45821 [BZ #14033]
ded5180a
AS
45822 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45823 double functions to double *_finite functions.
45824
7e0d315d
AS
45825 [BZ #13941]
45826 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45827 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45828 LDBL_MIN_EXP.
45829 * stdio-common/Makefile (tests): Add tst-sprintf3.
45830 * stdio-common/tst-sprintf3.c: New file.
45831
6d5c57fa
AS
45832 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45833 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45834
0749ff8b
JM
458352012-04-28 Joseph Myers <joseph@codesourcery.com>
45836
45837 * conform/conformtest.pl: Remove duplicate typed-constant
45838 handling.
45839
8dbd5d7b
DM
458402012-04-28 David S. Miller <davem@davemloft.net>
45841
45842 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45843 (check-abi-%): Remove AWK script prerequisite and explicit
45844 abilist directory.
45845 (check-abi): Rewrite to just diff the symlist with the abilist.
45846 (config-tls, config-abi-config): Delete, no longer used.
45847 (update-abi-%): Remove AWK script and explicit abilist directory.
45848 (update-abi): Rewrite to simply compare and conditionally copy the
45849 symlist and the sysdep abilist file. Remove update-abi-config
45850 checks.
45851 * abilist/ld.abilist: Remove.
45852 * abilist/libBrokenLocale.abilist: Remove.
45853 * abilist/libanl.abilist: Remove.
45854 * abilist/libcrypt.abilist: Remove.
45855 * abilist/libdl.abilist: Remove.
45856 * abilist/librt.abilist: Remove.
45857 * abilist/libthread_db.abilist: Remove.
45858 * abilist/libutil.abilist: Remove.
45859 * scripts/extract-abilist.awk: Remove.
45860 * scripts/merge-abilist.awk: Remove.
45861 * sysdeps/generic/libcidn.abilist: New file.
45862 * sysdeps/generic/libnss_compat.abilist: New file.
45863 * sysdeps/generic/libnss_db.abilist: New file.
45864 * sysdeps/generic/libnss_dns.abilist: New file.
45865 * sysdeps/generic/libnss_files.abilist: New file.
45866 * sysdeps/generic/libnss_hesiod.abilist: New file.
45867 * sysdeps/generic/libnss_nis.abilist: New file.
45868 * sysdeps/generic/libnss_nisplus.abilist: New file.
45869 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45870 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45871 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45872 file.
45873 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45874 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45875 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45876 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45877 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45878 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45879 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45880 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45881 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45882 file.
45883 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45884 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45885 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45886 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45887 file.
45888 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45889 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45890 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45891 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45892 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45893 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45894 file.
45895 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45896 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45897 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45898 file.
45899 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45901 New file.
45902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45903 New file.
45904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45905 New file.
45906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45907 New file.
45908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45909 New file.
45910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45911 New file.
45912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45913 New file.
45914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45915 New file.
45916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45917 New file.
45918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45919 New file.
45920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45921 New file.
45922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45923 New file.
45924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45925 New file.
45926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45927 file.
45928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45929 New file.
45930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45931 New file.
45932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45933 file.
45934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45935 New file.
45936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45937 New file.
45938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45939 file.
45940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45941 New file.
45942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45943 New file.
45944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45945 New file.
45946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45947 New file.
45948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45949 New file.
45950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45951 New file.
45952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45954 file.
45955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45956 New file.
45957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45958 file.
45959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45960 file.
45961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45962 file.
45963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45964 file.
45965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45966 file.
45967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45968 New file.
45969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45970 file.
45971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45972 file.
45973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45974 New file.
45975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45976 file.
45977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45979 file.
45980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45981 New file.
45982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45983 file.
45984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45985 file.
45986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45987 file.
45988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45989 file.
45990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45991 file.
45992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45993 New file.
45994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45995 file.
45996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45997 file.
45998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45999 New file.
46000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46001 file.
46002 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46003 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46004 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46005 file.
46006 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46007 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46008 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46009 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46010 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46011 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46012 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46013 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46014 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46015 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46018 file.
46019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46020 New file.
46021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46022 file.
46023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46024 file.
46025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46026 file.
46027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46028 file.
46029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46030 file.
46031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46032 New file.
46033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46034 New file.
46035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46036 file.
46037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46038 New file.
46039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46040 file.
46041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46043 file.
46044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46045 New file.
46046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46047 file.
46048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46049 file.
46050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46051 file.
46052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46053 file.
46054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46055 file.
46056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46057 New file.
46058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46059 New file.
46060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46061 file.
46062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46063 New file.
46064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46065 file.
46066
41d73a1b
JM
460672012-04-28 Joseph Myers <joseph@codesourcery.com>
46068
46069 * conform/conformtest.pl: Fix typo in handling typed-constant from
46070 allow-header.
46071
28aeeda4
JM
460722012-04-27 Joseph Myers <joseph@codesourcery.com>
46073
adae8f5e
JM
46074 * README: Cut down references to pre-2.6 Linux kernels and
46075 Linuxthreads. Update lists of configurations in libc and ports
46076 and sort alphabetically. Say "or newer" with Linux kernel version
46077 requirements.
46078
28aeeda4
JM
46079 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46080
a462cb63
RA
460812012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46082
46083 [BZ #887]
46084 * math/libm-test.inc (logb_test_downward): New test to expose
46085 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46086 rounding mode.
46087
6ad3493e
JM
460882012-04-27 Joseph Myers <joseph@codesourcery.com>
46089
46090 [BZ #14027]
46091 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46092 to be done.
46093 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46094 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46095
2ce4f015
JM
460962012-04-26 Joseph Myers <joseph@codesourcery.com>
46097
5aeb141a
JM
46098 * sysdeps/unix/i386/brk.S: Remove file.
46099 * sysdeps/unix/i386/dl-brk.S: Likewise.
46100 * sysdeps/unix/i386/pipe.S: Likewise.
46101 * sysdeps/unix/i386/sigreturn.S: Likewise.
46102 * sysdeps/unix/i386/syscall.S: Likewise.
46103 * sysdeps/unix/i386/vfork.S: Likewise.
46104 * sysdeps/unix/i386/wait.S: Likewise.
46105
7143acae
JM
46106 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46107 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46108
2ce4f015
JM
46109 * configure.in (arm*-none*): Do not allow without
46110 --enable-hacker-mode.
46111 (netbsd*): Remove case setting base_os.
46112 (386bsd*): Likewise.
46113 (freebsd*): Likewise.
46114 (bsdi*): Likewise.
46115 (osf*): Likewise.
46116 (sunos*): Likewise.
46117 (ultrix*): Likewise.
46118 (newsos*): Likewise.
46119 (dynix*): Likewise.
46120 (*bsd*): Likewise.
46121 (sysv*): Likewise.
46122 (isc*): Likewise.
46123 (esix*): Likewise.
46124 (sco*): Likewise.
46125 (minix*): Likewise.
46126 (irix4*): Likewise.
46127 (irix6*): Likewise.
46128 (solaris[2-9]*): Likewise.
46129 (none): Likewise.
46130 * configure: Regenerated.
46131
0ac229c8
AZ
461322012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46133
46134 [BZ #11521]
46135 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46136 overflow or cancellation in calculating denominator.
46137 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46138 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46139 down expression to avoid unexpected rounding in newer GCCs.
46140 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46141
33f244f4
DM
461422012-04-26 David S. Miller <davem@davemloft.net>
46143
46144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46145 long-double compat symbols.
46146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46159
cfa1f3e8
DM
461602012-04-25 David S. Miller <davem@davemloft.net>
46161
46162 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46163 HWCAP_* values only after the memory barriers have been defined.
46164 (atomic_full_barrier): Define.
46165 (atomic_read_barrier): Define.
46166 (atomic_write_barrier): Define.
46167
6e236b92
SP
461682012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46169
46170 * shlib-versions: Add libgcc_s version information.
46171 * sysdeps/generic/libgcc_s.h: Remove.
46172 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46173 libgcc_s.h.
46174 * sysdeps/gnu/unwind-resume.c: Likewise.
46175 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46176
aab39a09
DM
461772012-04-25 David S. Miller <davem@davemloft.net>
46178
46179 * sysdeps/unix/sparc/brk.S: Delete.
46180 * sysdeps/unix/sparc/dl-brk.S: Delete.
46181 * sysdeps/unix/sparc/pipe.S: Delete.
46182 * sysdeps/unix/sparc/sysdep.S: Delete.
46183 * sysdeps/unix/sparc/sysdep.h: Delete.
46184 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
46185 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46186 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46187 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46188 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
46189 (JUMPTARGET): Remove.
46190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46191 sysdeps/unix/sparc/sysdep.h
46192 (ENTRY, END): Remove.
46193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46194
a3cc4f48
JM
461952012-04-25 Joseph Myers <joseph@codesourcery.com>
46196
2ed8cda2
JM
46197 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46198 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46199 -DIS_IN_build.
46200
35d76d59
JM
46201 * timezone/README: Update upstream location and email address for
46202 tzcode and tzdata.
46203 * timezone/zdump.c: Update from tzcode 2012b.
46204 * timezone/zic.c: Likewise.
46205
a3cc4f48
JM
46206 * configure.in (libc_cv_as_needed): Remove test.
46207 * configure: Regenerated.
46208 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46209 conditional definition.
46210 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46211 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46212 * config.make.in (have-as-needed): Remove variable.
46213
ceab42c3
SP
462142012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46215 Paul Pluzhnikov <ppluzhnikov@google.com>
46216
46217 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46218 strings correctly.
46219
3ce2865f
CLT
462202012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46221
46222 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46223 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46224 * sysdeps/sh/strlen.S: Likewise.
46225
f37e0d68
JM
462262012-04-24 Joseph Myers <joseph@codesourcery.com>
46227
ae186e9a
JM
46228 * sysdeps/unix/fork.S: Remove file.
46229 * sysdeps/unix/i386/fork.S: Likewise.
46230 * sysdeps/unix/sparc/fork.S: Likewise.
46231
b96914af
JM
46232 * sysdeps/unix/system.c: Remove file.
46233 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46234
f37e0d68
JM
46235 * sysdeps/unix/getegid.S: Remove file.
46236 * sysdeps/unix/geteuid.S: Likewise.
46237
87ef29ca
RM
462382012-04-24 Roland McGrath <roland@hack.frob.com>
46239
83bcd236
RM
46240 * scripts/check-localplt.awk: New file.
46241 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46242 of diff.
46243 * scripts/data/localplt-generic.data: Add a comment.
46244
87ef29ca
RM
46245 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46246 NODE when __dir_mkfile failed.
46247 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46248 Reported by Ludovic Courtès <ludo@gnu.org>.
46249
e5a6e567
AJ
462502012-04-24 Andreas Jaeger <aj@suse.de>
46251
46252 * Makerules (common-clean): Also remove gen-as-const-headers
46253 files.
46254
c1820385
JM
462552012-04-24 Joseph Myers <joseph@codesourcery.com>
46256
46257 * Makerules (native-compile): Do not change working directory for
46258 build. Use $(OUTPUT_OPTION) in command.
46259 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46260
94e02fc4
AZ
462612012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46262
46263 [BZ #13886]
46264 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46265 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46266 * math/libm-test.inc (floor_test): Add more tests.
46267 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46268
3a533ca3
JM
462692012-04-24 Joseph Myers <joseph@codesourcery.com>
46270
940ab4b3
JM
46271 * sysdeps/unix/getdents.c: Remove file.
46272 * sysdeps/unix/sysv/getdents.c: Likewise.
46273 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46274
90e037bd
JM
46275 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46276 sysdeps/unix/mman/syscalls.list.
46277 (mmap): Likewise.
46278 (mprotect): Likewise.
46279 (msync): Likewise.
46280 (munmap): Likewise.
46281 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46282 * sysdeps/unix/mman/syscalls.list: Remove.
46283 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46284
3a533ca3
JM
46285 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46286 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46287 * configure: Regenerated.
46288 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46289 $(libgcc_s_suffix).
46290 * config.make.in (libgcc_s_suffix): Remove variable.
46291
1ad743de
JM
462922012-04-23 Joseph Myers <joseph@codesourcery.com>
46293
4ad451e2
JM
46294 * sysdeps/unix/sysv/gethostname.c: Move to ...
46295 * sysdeps/posix/gethostname.c: ... here.
46296
5e37ce39
JM
46297 * sysdeps/unix/execve.S: Remove file.
46298
1ad743de
JM
46299 * sysdeps/unix/_exit.S: Remove file.
46300
4e681b5b
AJ
463012012-04-23 Andreas Jaeger <aj@suse.de>
46302
46303 [BZ #13739]
46304 * manual/Makefile: Remove make dist support, there's no
46305 need for a stand-alone documentation tar ball.
46306 (TEXI2DVI): Define always, it's not in Makeconfig.
46307 (dist): Removed.
46308 (tar-it): Removed.
46309 (edition): Removed.
46310 (glibc-doc-$(edition).tar): Removed
46311 (%.Z): Removed.
46312 (%.gz): Removed.
46313 (%.uu): Removed.
46314 (ETAGS): Remove, it's in Makeconfig.
46315 (move-if-change): Remove, it's in Makeconfig.
46316
38686a03 463172012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
46318
46319 [BZ #13970]
46320 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46321 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46322 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46323 (strtod_l, strtof_l, strtold_l): Remove __wur.
46324 It is not necessarily an error to ignore strtol's return value.
46325 One can reliably look at the stored endptr to decide whether
46326 the number had valid syntax.
46327
7c0616fa
AJ
463282012-04-21 Andreas Jaeger <aj@suse.de>
46329
803cb6b7 46330 [BZ #13739]
7c0616fa
AJ
46331 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46332
b0fe253f
JM
463332012-04-21 Joseph Myers <joseph@codesourcery.com>
46334
46335 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46336 * sysdeps/unix/sysv/Versions: Remove file.
46337
8280f22d
MT
463382012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46339
46340 [BZ #13927]
46341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46342
75ce411f 463432012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46344
46345 [BZ #7064]
46346 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46347 version from __vm86.
46348
097d59fa
JM
463492012-04-20 Joseph Myers <joseph@codesourcery.com>
46350
a90f3bcb
JM
46351 * sysdeps/unix/common/lxstat.c: Remove file.
46352 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46353
edc7ea78
JM
46354 * sysdeps/unix/sysv/Makefile: Remove file.
46355
cb78c221
JM
46356 * sysdeps/unix/sysv/direct.h: Remove file.
46357
efa6a45f
JM
46358 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46359 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46360 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46361 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46362 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46363 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46364 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46365
9c9f2d0c
JM
46366 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46367
4541c83b
JM
46368 * sysdeps/unix/xmknod.c: Remove file.
46369 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46370
f5d153a0
JM
46371 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46372
aa746595
JM
46373 * sysdeps/unix/sysv/i386/time.S: Remove file.
46374
cce5905e
JM
46375 * sysdeps/unix/fxstat.c: Remove file.
46376 * sysdeps/unix/xstat.c: Likewise.
46377 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46378
37fa3841
JM
46379 * sysdeps/unix/sysv/sigaction.c: Remove file.
46380
ff1962a3
JM
46381 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46382 (sysdep_headers): Remove variable.
46383 [termio.h not in sysdep_headers] (generated): Likewise.
46384 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46385 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46386 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46387 * sysdeps/unix/sysv/tcflow.c: Likewise.
46388 * sysdeps/unix/sysv/tcflush.c: Likewise.
46389 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46390 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46391 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46392 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46393 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46394
e7740d31
JM
46395 * sysdeps/unix/siglist.c: Remove file.
46396
ee06f18b
JM
46397 * sysdeps/unix/getppid.S: Remove file.
46398
097d59fa
JM
46399 * sysdeps/unix/mkdir.c: Remove file.
46400 * sysdeps/unix/rmdir.c: Likewise.
46401
ff3d51ec
AS
464022012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46403
46404 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46405 ERR_MAX value.
46406 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46407 errlist-compat value.
46408
50f81fd7
DM
464092012-04-18 David S. Miller <davem@davemloft.net>
46410
46411 * sysdeps/generic/memcopy.h (reg_char): Delete.
46412 * debug/strcat_chk.c: Use char, not reg_char.
46413 * debug/strcpy_chk.c: Likewise.
46414 * debug/strncat_chk.c: Likewise.
46415 * debug/strncpy_chk.c: Likewise.
46416 * string/memchr.c: Likewise.
46417 * string/memrchr.c: Likewise.
46418 * string/rawmemchr.c: Likewise.
46419 * string/strcat.c: Likewise.
46420 * string/strchr.c: Likewise.
46421 * string/strchrnul.c: Likewise.
46422 * string/strcmp.c: Likewise.
46423 * string/strcpy.c: Likewise.
46424 * string/strncat.c: Likewise.
46425 * string/strncmp.c: Likewise.
46426 * string/strncpy.c: Likewise.
46427
8ff41c46
WS
464282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46429
46430 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46431 __builtin_memcopy is called when src and dest ranges are known to not
46432 overlap.
46433
6b652f46
WS
464342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46435
46436 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46437 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46438 fwd_align_merge macro call.
46439 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46440 bwd_align_merge macro call.
46441 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46442
b282631e
WS
464432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46444
46445 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46446 bwd_align_merge macros.
46447 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46448 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46449 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46450
95aa737c
DM
464512012-04-18 David S. Miller <davem@davemloft.net>
46452
46453 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46454
7a99a614
AJ
464552012-04-18 Andreas Jaeger <aj@suse.de>
46456
46457 [BZ# 6794]
46458 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46459 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46460 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46461
46462 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46463 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46464 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46465
46466 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46467 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46468 Adjust for changed ldbl-128 files.
46469
46470 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46471 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46472 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46473
e5270c23
DM
464742012-04-17 David S. Miller <davem@davemloft.net>
46475
46476 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46477
fb5e92c9
AS
464782012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46479
46480 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46481 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46482 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46483 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46484 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46485 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46486
76da7265
AZ
464872012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46488
46489 [BZ #6794]
46490 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46491 * math/libm-test.inc: Add ilogb errno and exception tests.
46492 * math/w_ilogb.c: New file: ilogb wrapper.
46493 * math/w_ilogbf.c: New file: ilogbf wrapper.
46494 * math/w_ilogbl.c: New file: ilogbl wrapper.
46495 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46496 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46497 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46498 exception being thrown with 0.0 as argument.
46499 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46500 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46501 exception being thrown with 0.0 as argument.
46502 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46503 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46504 exception being thrown with 0.0 as argument.
46505 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46506 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46507 exception being thrown with 0.0 as argument.
46508 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46509 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46510 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46511 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46512 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46513 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46514 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46515 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46516 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46517
0396e69d
PB
465182012-04-17 Petr Baudis <pasky@ucw.cz>
46519
46520 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46521 with altivec.
46522
750b5926
MP
465232012-04-16 Marek Polacek <polacek@redhat.com>
46524
46525 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46526
751728a1
MP
465272012-04-16 Marek Polacek <polacek@redhat.com>
46528
46529 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46530 operands of fdivp instruction.
46531
34a27407
L
465322012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46533
46534 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46535 * elf/tst-auditmod3b.c: Likewise.
46536 * elf/tst-auditmod4b.c: Likewise.
46537 * elf/tst-auditmod5b.c: Likewise.
46538 * elf/tst-auditmod6b.c: Likewise.
46539 * elf/tst-auditmod6c.c: Likewise.
46540 * elf/tst-auditmod7b.c: Likewise.
46541 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46542 * sysdeps/x86_64/preconfigure.in: Likewise.
46543 * sysdeps/x86_64/preconfigure: Regenerated.
46544
7e73e17d
L
465452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46546
46547 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46548 __ILP32__.
46549
c7a6ab72
AB
465502012-04-13 Antoine Balestrat <merkil33@gmail.com>
46551
46552 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46553 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46554
a9e8e0e0
CL
465552012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46556
46557 [BZ #13973]
46558 * locale/iso-639.def: Fix gl language name. Spotted by
46559 Yaron Shahrabani.
46560
ec98af7d
RM
465612012-04-12 Roland McGrath <roland@hack.frob.com>
46562
46563 [BZ #2074]
46564 * libio/libio.h (__io_write_fn): Update comment.
46565
247c3ede
PB
465662012-04-12 Petr Baudis <pasky@ucw.cz>
46567
46568 [BZ #2074]
46569 * stdio.texi (Hook Functions): The user provided writer function
46570 is not allowed to return -1.
46571
55939d6d
DM
465722012-04-11 David S. Miller <davem@davemloft.net>
46573
46574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46575
90020f5a
MF
465762012-04-11 Mike Frysinger <vapier@gentoo.org>
46577
46578 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46579 Add a leading slash to rtkaio.
46580
288f9098
JM
465812012-04-11 Jim Meyering <meyering@redhat.com>
46582
90020f5a
MF
46583 [BZ #11959]
46584 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46585 It is not necessarily an error to ignore fwrite's return
46586 value. One can reliably use ferror to test for errors after
46587 the fact.
288f9098 46588
4be2b570
L
465892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46590
46591 * bits/types.h (__snseconds_t): New type.
46592 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46593
46594 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46595 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46596 (__SNSECONDS_T_TYPE): Likewise.
46597 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46598 (__SNSECONDS_T_TYPE): Likewise.
46599 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46600 (__SNSECONDS_T_TYPE): Likewise.
46601
288f9098 466022012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
46603
46604 [BZ #2636]
46605 * manual/time.texi (Processor Time): Return type of times is
46606 elapsed real time since an arbitrary point in the past.
46607 (CPU Time): Move CLK_TCK from here...
46608 (Processor Time): ...to here. Correct description.
46609 * manual/conf.texi (Constants for Sysconf): Correct description of
46610 _SC_CLK_TCK.
46611
d7dd4413
DM
466122012-04-10 David S. Miller <davem@davemloft.net>
46613
46614 [BZ #13967]
46615 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46616 where the is a gap between DT_REL(A) and DT_JMPREL.
46617
b46068fc
L
466182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46619
46620 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46621 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46622 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46623
73d65cc3
SP
466242012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46625
46626 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46627 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46628 (dl_main): Handle --inhibit-cache.
46629 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46630 _dl_inhibit_cache.
46631 * elf/dl-load.c (_dl_map_object): Use it.
46632 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46633
bcc8d661
JM
466342012-04-09 Joseph Myers <joseph@codesourcery.com>
46635
8f9a2fae
JM
46636 [BZ #13872]
46637 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46638 (__ieee754_powl): Saturate large exponents rather than testing for
46639 overflow of y*log2(x).
46640 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46641 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46642 exceptions.
46643
bcc8d661
JM
46644 [BZ #11521]
46645 * math/s_ctan.c: Include <float.h>.
46646 (__ctan): Avoid internal overflow or cancellation in calculating
46647 denominator.
46648 * math/s_ctanf.c: Likewise.
46649 * math/s_ctanl.c: Likewise.
46650 * math/s_ctanh.c: Likewise.
46651 * math/s_ctanhf.c: Likewise.
46652 * math/s_ctanhl.c: Likewise.
46653 * math/libm-test.inc (ctan_test): Add more tests.
46654 (ctanh_test): Likewise.
46655 * sysdeps/i386/fpu/libm-test-ulps: Update.
46656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46657
823fbbb4
AJ
466582012-04-09 Andreas Jaeger <aj@suse.de>
46659
03879793
AJ
46660 [BZ #6894]
46661 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46662 is an optional BSD extension.
46663
823fbbb4
AJ
46664 [BZ #10254]
46665 * manual/stdio.texi (Opening Streams): Document additional fopen
46666 parameters.
46667
8de131cb
RM
466682012-04-09 Roland McGrath <roland@hack.frob.com>
46669
46670 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46671 %eax without telling the compiler.
46672
c0ed9d7d
CD
466732012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46674
46675 [BZ # 13963]
46676 * manual/install.texi: Use sourceware.org.
46677
c483f6b4
JM
466782012-04-09 Joseph Myers <joseph@codesourcery.com>
46679
d7dd9453
JM
46680 [BZ #13873]
46681 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46682 (__ieee754_pow): Generate overflow and underflow using huge*huge
46683 and tiny*tiny rather than just returning constant infinity or zero
46684 for large exponents.
46685 * math/libm-test.inc (pow_test): Require overflow exceptions for
46686 applicable cases of large exponents.
46687
c483f6b4
JM
46688 [BZ #706]
46689 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46690 (__ieee754_pow): Use iterative multiplication algorithm only for
46691 integer exponents with absolute value below 1024. Check for odd
46692 integer exponents when using algorithm for real exponents.
46693 * math/libm-test.inc (pow_test): Add more tests.
46694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46695
d2de7579
JM
466962012-04-08 Joseph Myers <joseph@codesourcery.com>
46697
46698 [BZ #13705]
46699 * math/libm-test.inc (exp_test): Do not allow overflow exception
46700 on underflow test.
46701
f77f1232
AJ
467022012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46703
46704 [BZ #13705]
46705 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46706 instead of __kernel_standard_f.
46707
3884932b
MF
467082012-04-08 Mike Frysinger <vapier@gentoo.org>
46709
46710 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46711 * sysdeps/x86_64/memset_chk.S: Likewise.
46712
54472e9c
AJ
467132012-04-08 Andreas Jaeger <aj@suse.de>
46714
6ab0fbfc
AJ
46715 [BZ #10153]
46716 * manual/startup.texi (Environment Access): Describe return value
46717 for putenv and setenv.
46718
61efba8c
AJ
46719 [BZ #6895]
46720 * manual/filesys.texi (Directory Entries): Add description for
46721 DT_LNK.
46722
95c3f29a
AJ
46723 [BZ #6890]
46724 * manual/filesys.texi (Directory Entries): Clarify that it's file
46725 system not operating system in the description of DT_UNKNOWN.
46726
54472e9c
AJ
46727 [BZ #6578]
46728 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46729
624254b1
SC
467302012-04-08 Stephen Compall <s11@member.fsf.org>
46731
46732 [BZ #6649]
46733 * manual/llio.texi (Opening and Closing Files): Add cross
46734 reference to explain mode argument.
46735
1e4920e0
MF
467362012-04-07 Mike Frysinger <vapier@gentoo.org>
46737
46738 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46739 * sysdeps/x86_64/memset_chk.S: Likewise.
46740
5ed848f3
DM
467412012-04-07 David S. Miller <davem@davemloft.net>
46742
46743 * elf/elf.h (R_SPARC_WDISP10): Define.
46744 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46745 R_SPARC_SIZE32.
46746 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46747 R_SPARC_SIZE64 and R_SPARC_H34.
46748
96154cd8
CD
467492012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46750
46751 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46752 conditions and remove no longer applicable assertion.
46753
9904dc47
L
467542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46755
46756 * bits/byteswap.h: Include <features.h>.
46757 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46758 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46759
f8887d0a
L
467602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46761
46762 * bits/byteswap.h (__bswap_16): Removed.
46763 Include <bits/byteswap-16.h> to get __bswap_16.
46764 * sysdeps/i386/bits/byteswap.h: Likewise.
46765 * sysdeps/s390/bits/byteswap.h: Likewise.
46766 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46767 * bits/byteswap-16.h: New file.
46768 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46769 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46770 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46771 * string/Makefile (headers): Add bits/byteswap-16.h.
46772
62470f60
PP
467732012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46774
46775 [BZ #13895]
46776 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46777 extra indirection.
46778 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46779 * nss/tst-nss-static.c: New.
46780
4dad7bab
RM
467812012-04-06 Robert Millan <rmh@gnu.org>
46782
46783 [BZ #6486]
46784 * manual/llio.texi (File Position Primitive): lseek
46785 refers to WHENCE when it really means OFFSET.
46786
e9142a17
AJ
467872012-04-06 Andreas Jaeger <aj@suse.de>
46788
2c040eff
AJ
46789 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46790 strncmp declarations.
46791
e9142a17
AJ
46792 * abilist/libc.abilist: Add __poll and __ppoll.
46793
ff9f1c5f
DM
467942012-04-05 David S. Miller <davem@davemloft.net>
46795
dcd2ae90
DM
46796 * scripts/check-local-headers.sh: Accept a host triplet in the
46797 path matched by the exclude regexp.
46798
993eb054
DM
46799 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46800 definition.
46801 * sysdeps/powerpc/powerpc32/dl-machine.h
46802 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46803 * sysdeps/s390/s390-32/dl-machine.h
46804 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46805 * sysdeps/sparc/sparc32/dl-machine.h
46806 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46807 * sysdeps/sparc/sparc64/dl-machine.h
46808 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46809
ff9f1c5f
DM
46810 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46811 lazy binding.
48e2e132 46812 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
46813 undefined symbol errors.
46814
48e2e132 46815 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
46816 DT_NEEDED entries.
46817
e80d6f94
MM
468182012-04-05 Michael Matz <matz@suse.de>
46819
46820 [BZ #13592]
46821 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46822
349fa79f
AJ
468232012-04-05 Andreas Jaeger <aj@suse.de>
46824
46825 [BZ #13908]
46826 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46827 comment.
46828
f402708f
KK
468292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46830
46831 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46832 which ROUND is no valid rounding mode.
46833
2ecccfc9
KK
468342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46835
46836 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46837 read again.
46838 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46839
8a53f50f
KK
468402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46841
46842 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46843 an exception using FPU order intentionally.
46844
468452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46846
46847 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46848 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46849 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46850 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46851
d653abb7
SJ
468522012-04-05 Simon Josefsson <simon@josefsson.org>
46853
46854 [BZ #12340]
46855 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46856 EINVAL when BUFLEN is too smal.
46857
c3b1bf7d
TS
468582012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46859
46860 [BZ #13553]
46861 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46862 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46863
b1aa60f3
AJ
468642012-04-03 Andreas Jaeger <aj@suse.de>
46865
c3b1bf7d 46866 [BZ #13938]
67f60a26
AJ
46867 * manual/setjmp.texi (System V contexts): Fix sentence.
46868
b1aa60f3
AJ
46869 [BZ #13926]
46870 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46871 New macro for this case.
46872 [!__GNUC__] (__bswap_64): New inline function for this case.
46873 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46874 * bits/byteswap.h: Likewise.
46875 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46876 ull, guard with __GLIBC_HAVE_LONG_LONG.
46877
46878 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46879 __GLIBC_HAVE_LONG_LONG.
46880
46881 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46882 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46883
39c59c35
TMQMF
468842012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46885
46886 [BZ #13691]
46887 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46888 inptr and inend, rather than using last_ch.
46889
135ffda8
DM
468902012-04-02 David S. Miller <davem@davemloft.net>
46891
46892 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46893 * stdio-common/printf-parse.h (read_int): Change return type to
46894 'int', return -1 on INT_MAX overflow.
46895 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46896 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46897 overflows INT_MAX. Check for overflow of in-format-string precision
46898 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46899 SIZE_MAX not INT_MAX for integer overflow test.
46900 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46901 skip the construct in the format string but do not record anything.
46902 * stdio-common/bug22.c: Adjust to test both width/prevision
46903 INT_MAX overflow as well as total length INT_MAX overflow. Check
46904 explicitly for proper errno values.
46905
228c019e
TS
469062012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46907
302cadd3
TS
46908 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46909 CHAR_MAX.
46910 * string/test-strcmp.c [! WIDE]: Likewise.
46911 * time/tst-mktime2.c: Likewise for INT_MAX.
46912 * string/test-string.h: #include <sys/param.h> for MIN.
46913
228c019e
TS
46914 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46915 * sysdeps/i386/init-first.c (init): Likewise.
46916 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46917 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46918 * sysdeps/sh/init-first.c (init): Likewise.
46919
cfa633f5
UD
469202012-04-01 Ulrich Drepper <drepper@gmail.com>
46921
46922 * po/ru.po: Update from translation team.
d1635ef8 46923 * po/vi.po: Likewise.
cfa633f5 46924
6cd0a5ea
SP
469252012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46926
46927 * resolv/nss_dns/dns-host.c: Merge copyright years.
46928
4b43400f
LD
469292012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46930
46931 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46932 Optimize memcpy with prefetch if
46933 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46934 src, dst pointers have unequal 16 byte alignments.
46935
48c41d04
SP
469362012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46937
46938 [BZ #13928]
46939 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46940 from a CNAME entry and return the minimum ttl for the query.
46941 (gaih_getanswer_slice): Likewise.
46942
b8dc394d
JL
469432012-03-30 Jeff Law <law@redhat.com>
46944
46945 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46946 due to long keys.
46947 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46948 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46949
2f5a5ed0
JL
46950 * resolv/nss_dns/dns-host.c: Update copyright year.
46951
1d39e359
UD
469522012-03-30 Ulrich Drepper <drepper@gmail.com>
46953
c030f70c 46954 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46955 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46956
1d39e359
UD
46957 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46958 comments for sendmmsg.
46959
469602012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46961
46962 [BZ #13691]
46963 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46964 with only 1 character between 0x0041 and 0x01b0.
46965 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46966 * wcsmbs/tst-mbsnrtowcs.c: New file.
46967
20fde227
DM
469682012-03-29 David S. Miller <davem@davemloft.net>
46969
46970 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46971 small copies by hand.
46972
984a4237
JL
469732012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46974
46975 [BZ #13761]
57f41c40
AS
46976 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46977 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46978 group memberships.
984a4237 46979
18c9d62b
DM
469802012-03-28 David S. Miller <davem@davemloft.net>
46981
88d85d4f
DM
46982 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46983 that branches into memcpy.
46984 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46985 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46986 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46987 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46988 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46989 bits.
46990 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46991 implementation too.
46992 * sysdeps/sparc/mempcpy.S: New file.
46993
e5aa83e1
DM
46994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46995 the IFUNC routine in the libc case.
46996 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46997
88570753
DM
46998 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46999 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47000 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47001 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47002 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47003 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47004 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47005 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47006
249d7567
DM
47007 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47008 loop to 256 bytes instead of 64 bytes and fix test signedness.
47009
18c9d62b
DM
47010 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47011 * sysdeps/sparc/sparc32/Makefile: rather than here...
47012 * sysdeps/sparc/sparc64/Makefile: and here.
47013
05f3d1f6
UD
470142012-03-28 Ulrich Drepper <drepper@gmail.com>
47015
47016 * malloc/mallocbug.c: Avoid warnings about unused variables.
47017
86ae07a8
JL
470182012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47019
47020 [BZ #13760]
47021 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47022 in the right place. Discard and retry query if response is
47023 larger than input buffer size.
47024
41bf21a1
JM
470252012-03-28 Joseph Myers <joseph@codesourcery.com>
47026
d6270972
JM
47027 [BZ #369]
47028 [BZ #2678]
47029 [BZ #3866]
47030 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47031 x for large integer exponent.
47032 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47033 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47034 sign of result as needed afterwards.
47035 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47036 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47037 result for underflowing pow the same as for overflow.
47038 (__kernel_standard_l): Handle powl overflow and underflow here
47039 rather than calling __kernel_standard.
47040 * math/libm-test.inc (pow_test): Add more tests.
47041
414fca03 47042 [BZ #3868]
41bf21a1
JM
47043 [BZ #13879]
47044 [BZ #13910]
47045 [BZ #13911]
47046 [BZ #13912]
47047 [BZ #13913]
47048 [BZ #13915]
47049 [BZ #13916]
47050 [BZ #13917]
47051 [BZ #13918]
47052 [BZ #13919]
47053 [BZ #13920]
47054 [BZ #13921]
47055 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47056 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47057 (__kernel_standard_l): New function.
47058 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47059 __kernel_standard.
47060 * math/w_acosl.c (__acosl): Likewise.
47061 * math/w_asinl.c (__asinl): Likewise.
47062 * math/w_atan2l.c (__atan2l): Likewise.
47063 * math/w_atanhl.c (__atanhl): Likewise.
47064 * math/w_coshl.c (__coshl): Likewise.
47065 * math/w_exp10l.c (__exp10l): Likewise.
47066 * math/w_exp2l.c (__exp2l): Likewise.
47067 * math/w_fmodl.c (__fmodl): Likewise.
47068 * math/w_hypotl.c (__hypotl): Likewise.
47069 * math/w_j0l.c (__j0l, __y0l): Likewise.
47070 * math/w_j1l.c (__j1l, __y1l): Likewise.
47071 * math/w_jnl.c (__jnl, __ynl): Likewise.
47072 * math/w_lgammal.c (__lgammal): Likewise.
47073 * math/w_log10l.c (__log10l): Likewise.
47074 * math/w_log2l.c (__log2l): Likewise.
47075 * math/w_logl.c (__logl): Likewise.
47076 * math/w_powl.c (__powl): Likewise.
47077 * math/w_remainderl.c (__remainderl): Likewise.
47078 * math/w_scalbl.c (sysv_scalbl): Likewise.
47079 * math/w_sinhl.c (__sinhl): Likewise.
47080 * math/w_sqrtl.c (__sqrtl): Likewise.
47081 * math/w_tgammal.c (__tgammal): Likewise.
47082 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47083 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47084 * math/libm-test.inc (acos_test): Add more tests.
47085 (acosh_test): Likewise.
47086 (asin_test): Likewise.
47087 (atanh_test): Likewise.
47088 (exp_test): Likewise.
47089 (exp10_test): Likewise.
47090 (exp2_test): Likewise.
47091 (expm1_test): Likewise.
47092 (lgamma_test): Likewise.
47093 (log_test): Likewise.
47094 (log10_test): Likewise.
47095 (log1p_test): Likewise.
47096 (log2_test): Likewise.
47097 (pow_test): Do not allow some spurious overflow exceptions.
47098 (sqrt_test): Add more tests.
47099 (tgamma_test): Likewise.
47100 (y0_test): Likewise.
47101 (y1_test): Likewise.
47102 (yn_test): Likewise.
47103
dd62fda6
AB
471042012-03-27 Anton Blanchard <anton@samba.org>
47105
47106 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47107 MAP_HUGETLB.
47108 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47109 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47110 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47111
1e3cdfda
AJ
471122012-03-27 David S. Miller <davem@davemloft.net>
47113
b855ab85
DM
47114 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47115
1e3cdfda
AJ
47116 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47117 have-as-vis3 check.
47118
471192012-03-27 Andreas Jaeger <aj@suse.de>
47120
47121 * sysdeps/x86_64/elf/configure.in: Moved to ...
47122 * sysdeps/x86_64/configure.in: ... here.
47123 * sysdeps/x86_64/elf/start.S: Moved to ...
47124 * sysdeps/x86_64/start.S: ... here.
47125 * sysdeps/x86_64/elf/configure: Delete.
47126
47127 * sysdeps/x86_64/configure.in: Merge contents from
47128 sysdeps/i386/configure.in (without i686 check).
47129
47130 * sysdeps/i386/elf/Versions: Merge into ...
47131 * sysdeps/i386/Versions: ... this.
47132 * sysdeps/i386/elf/Versions: Delete file.
47133 * sysdeps/i386/elf/start.S: Moved to ...
47134 * sysdeps/i386/start.S: ...here.
47135 * sysdeps/i386/elf/configure.in: Merge into...
47136 * sysdeps/i386/configure.in: ...here.
47137 * sysdeps/i386/elf/configure.in: Delete file.
47138 * sysdeps/i386/elf/configure: Delete file.
47139
47140 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47141 * debug/backtracesyms.c: ... here.
47142 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47143 * debug/backtracesymsfd.c: ... here.
47144 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47145 * sysdeps/generic/ifunc-sel.h: ... here.
47146
47147 * sysdeps/unix/i386/start.c: Delete file.
47148 * sysdeps/unix/sparc/start.c: Delete file.
47149 * sysdeps/unix/start.c: Delete file.
47150
47151 * sysdeps/sh/elf/configure.in: Moved to ...
47152 * sysdeps/sh/configure.in: ... here.
47153 * sysdeps/sh/elf/start.S: Moved to ...
47154 * sysdeps/sh/start.S: ... here.
47155 * sysdeps/sh/elf/configure: Delete file.
47156
47157 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47158 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47159 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47160 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47161 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47162 * sysdeps/powerpc/powerpc64/start.S: here.
47163 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47164 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47165 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47166 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47167 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47168
47169 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47170 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47171 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47172 * sysdeps/powerpc/powerpc32/start.S: ... here.
47173 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47174 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47175 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47176
47177 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47178 * sysdeps/powerpc/ifunc-sel.h: ... here.
47179 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47180 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47181
47182 * sysdeps/sparc/elf/configure.in: Moved to ...
47183 * sysdeps/sparc/configure.in: ... here.
47184 * sysdeps/sparc/elf/configure: Delete file.
47185 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47186 * sysdeps/sparc/sparc32/start.S: ... here.
47187 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47188 * sysdeps/sparc/sparc64/start.S: ... here.
47189 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47190 * sysdeps/sparc/sparc32/Makefile: ... this.
47191 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47192 * sysdeps/sparc/sparc64/Makefile: ... this.
47193
47194 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47195 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47196 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47197 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47198 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47199 * sysdeps/s390/s390-32/setjmp.S: ... here.
47200 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47201 * sysdeps/s390/s390-32/configure.in: ... here.
47202 * sysdeps/s390/s390-32/elf/configure: Delete file.
47203 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47204 * sysdeps/s390/s390-32/start.S: ... here.
47205
47206 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47207 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47208 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47209 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47210 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47211 * sysdeps/s390/s390-64/setjmp.S: ... here.
47212 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47213 * sysdeps/s390/s390-64/configure.in: ... here
47214 * sysdeps/s390/s390-64/elf/configure: Delete file.
47215 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47216 * sysdeps/s390/s390-64/start.S: ... here.
47217 * sysdeps/s390/s390-64/elf/configure: Delete.
47218
47219 * configure.in: Remove support for elf directories in sysdeps.
47220
47221 * configure: Regenerated.
47222 * sysdeps/i386/configure: Regenerated.
47223 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47224 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47225 * sysdeps/s390/s390-32/configure: Regenerated.
47226 * sysdeps/s390/s390-64/configure: Regenerated.
47227 * sysdeps/sh/configure: Regenerated.
47228 * sysdeps/sparc/configure: Regenerated.
47229 * sysdeps/x86_64/configure: Regenerated.
47230
a3f61311
AS
472312012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47232
c876e002
AS
47233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47234
a3f61311
AS
47235 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47236 denormal result into account.
47237
ac4c54f0
RM
472382012-03-25 Roland McGrath <roland@hack.frob.com>
47239
47240 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47241 Reported by Allan McRae <allan@archlinux.org>.
47242
6a9b9c02
JL
472432012-03-23 Jeff Law <law@redhat.com>
47244
47245 * nss/getnssent.c (__nss_getent): Fix typo.
47246
4c42a0c1
DM
472472012-03-23 David S. Miller <davem@davemloft.net>
47248
47249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47250
1532c7ac
L
472512012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47252
47253 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47254 to pad to uint64_t for each field.
47255 (dl_tls_index): Replace unsigned long with uint64_t.
47256
3ff42526
PP
472572012-03-23 Daniel Jacobowitz <dmj@google.com>
47258 Paul Pluzhnikov <ppluzhnikov@google.com>
47259
47260 [BZ #6528]
47261 * grp/Makefile (otherlibs): Don't set it.
47262 * inet/Makefile (otherlibs): Likewise.
47263 * login/Makefile (otherlibs): Likewise.
47264 * nscd/Makefile (otherlibs): Likewise.
47265 * posix/Makefile (otherlibs): Likewise.
47266 * pwd/Makefile (otherlibs): Likewise.
47267 * rt/Makefile (otherlibs): Likewise.
47268 * sunrpc/Makefile (otherlibs): Likewise.
47269 * nss/Makefile (otherlibs): Likewise.
47270 Add libnss_files to routines and static-only-routines.
47271 ($(objpfx)getent): Remove rule.
47272 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47273 static-only-routines.
47274
7c69cd14
JM
472752012-03-22 Joseph Myers <joseph@codesourcery.com>
47276
47277 [BZ #13892]
47278 * math/s_cexp.c: Include <float.h>.
47279 (__cexp): Handle exp result overflowing not necessarily
47280 overflowing both real and imaginary parts of result.
47281 * math/s_cexpf.c: Likewise.
47282 * math/s_cexpl.c: Likewise.
47283 * math/libm-test.inc (cexp_test): Add more tests.
47284 * sysdeps/i386/fpu/libm-test-ulps: Update.
47285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47286
81b035fe
L
472872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47288
47289 * include/link.h (ELFW): New macro.
47290 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47291 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47292
1da7940c
L
472932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47294
47295 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47296 with uint64_t.
47297
b749dbb9
L
472982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47299
47300 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47301 declaration.
47302 (struct La_x32_retval): Likewise.
47303
2ff87f3f
L
473042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47305
47306 * sysdeps/x86_64/preconfigure.in: New file.
47307 * sysdeps/x86_64/preconfigure: New generated file.
47308
c0df8e69
JM
473092012-03-22 Joseph Myers <joseph@codesourcery.com>
47310
48e44791
JM
47311 [BZ #13824]
47312 * math/e_exp2l.c: Include <float.h>.
47313 (__ieee754_exp2l): Handle overflow and underflow cases
47314 separately. Only pass fractional part of argument to
47315 __ieee754_expl.
47316 * math/libm-test.inc (exp2_test): Add more tests.
47317
c0df8e69
JM
47318 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47319 negating x to take absolute value.
47320 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47321 Likewise.
47322 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47323 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47324 Likewise.
47325 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47326 computing low part if x was negated.
47327 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47328
c8e43ba7
L
473292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47330
47331 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47332 la_x32_gnu_pltexit.
47333 (pltexit): Cast int_retval to ptrdiff_t.
47334 * elf/tst-auditmod3b.c: Likewise.
47335 * elf/tst-auditmod4b.c: Likewise.
47336 * elf/tst-auditmod5b.c: Likewise.
47337 * elf/tst-auditmod6b.c: Likewise.
47338 * elf/tst-auditmod6c.c: Likewise.
47339 * elf/tst-auditmod7b.c: Likewise.
47340
47341 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47342 and x32_gnu_pltexit.
47343
47344 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47345 __ELF_NATIVE_CLASS.
47346 (La_x32_regs): New macro.
47347 (La_x32_retval): Likewise.
47348 (la_x32_gnu_pltenter): New function prototype.
47349 (la_x32_gnu_pltexit): Likewise.
47350
7998fa78
AS
473512012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47352
dcb33988
AS
47353 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47354 exponent.
47355
233fc563
AS
47356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47357
7998fa78
AS
47358 * configure.in (libc_cv_cc_nofma): Check for option to disable
47359 generation of FMA instructions.
47360 * configure: Regenerate.
47361 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47362 * sysdeps/ieee754/dbl-64/Makefile: New file.
47363 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47364 Remove brandred-fma4.
47365 (CFLAGS-brandred-fma4.c): Remove.
47366 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47367 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47368 define.
47369 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47370 define.
47371
8e95c99a
L
473722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47373
47374 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47375 LLONG_MAX != LONG_MAX.
47376 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47377 (_fitoa_word): Likewise.
47378 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47379 LLONG_MAX != LONG_MAX.
47380 * stdio-common/_itowa.h: Include <_itoa.h>.
47381 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47382 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47383 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47384 only if not defined.
47385 (_ITOA_WORD_TYPE): Likewise.
47386 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47387 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47388
6f4db457
DM
473892012-03-21 David S. Miller <davem@davemloft.net>
47390
47391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47392
7785fe5a
L
473932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47394
47395 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47396 of x86_64 when setting libc_cv_slibdir, libdir and
47397 libc_cv_localedir.
47398 * sysdeps/unix/sysv/linux/configure: Regenerated.
47399
4535cd55
JM
474002012-03-21 Joseph Myers <joseph@codesourcery.com>
47401
47402 * manual/lang.texi (Old Varargs): Remove section.
47403 (How Variadic): Update menu.
47404 (va_start): Do not mention varargs.h.
47405
17228132
TS
474062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47407 Joseph Myers <joseph@codesourcery.com>
47408
47409 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47410 link test.
47411 * configure: Regenerated.
47412
8149f976
TS
474132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47414
05f3d1f6
UD
47415 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47416 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47417 conformtest.pl
8149f976 47418
1a4ac776
JM
474192012-03-21 Joseph Myers <joseph@codesourcery.com>
47420
be22ce65
JM
47421 * NOTES: Remove.
47422 * Makefile (files-for-dist): Remove NOTES.
47423 (NOTES): Remove rule.
47424 * README: Don't refer to NOTES.
47425 * manual/creature.texi: Don't include macros.texi.
47426 * manual/intro.texi (creature.texi): Remove comment referring to
47427 NOTES.
47428
40b601fb
JM
47429 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47430 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47431 * configure: Regenerated.
47432 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47433 LIBC_TRY_CC_OPTION.
47434 (libc_cv_as_i686): Likewise.
47435 (libc_cv_cc_avx): Likewise.
47436 (libc_cv_cc_sse2avx): Likewise.
47437 (libc_cv_cc_fma4): Likewise.
47438 (libc_cv_cc_novzeroupper): Likewise.
47439 * sysdeps/i386/configure: Regenerated.
47440
1a4ac776
JM
47441 [BZ #13883]
47442 * sysdeps/i386/fpu/s_cexp.S: Remove.
47443 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47444 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47445 * math/libm-test.inc (cexp_test): Add more tests.
47446 * sysdeps/i386/fpu/libm-test-ulps: Update.
47447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47448
a458e7fe
AM
474492012-03-21 Allan McRae <allan@archlinux.org>
47450
47451 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47452
0cb7efc5
JM
474532012-03-21 Joseph Myers <joseph@codesourcery.com>
47454
47455 [BZ #13871]
47456 * math/w_exp2.c: Do not include <float.h>.
47457 (o_threshold, u_threshold): Remove.
47458 (__exp2): Calculate result before checking finiteness and calling
47459 __kernel_standard.
47460 * math/w_exp2f.c: Likewise.
47461 * math/w_exp2l.c: Likewise.
47462 * math/libm-test.inc (exp2_test): Require overflow exception for
47463 1e6 input.
2460d3aa
JM
47464
47465 [BZ #3866]
47466 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47467 range of signed 64-bit integers before using fistpll. Remove
47468 checks for whether integers fit in mantissa bits.
47469 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47470 the range of signed 32-bit integers before using fistpl. Remove
47471 checks for whether integers fit in mantissa bits.
47472 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47473 (__ieee754_powl): Test for y outside the range of signed 64-bit
47474 integers before using fistpll. Reduce 64-bit values to 63-bit
47475 ones as needed.
47476 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47477 divide-by-zero is raised for zero to large negative powers.
47478 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47479 (__ieee754_powl): Test for y outside the range of signed 64-bit
47480 integers before using fistpll. Reduce 64-bit values to 63-bit
47481 ones as needed.
47482 * math/libm-test.inc (pow_test): Add more tests.
47483
eb96ffb0
L
474842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47485
47486 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47487 <stdio-common/_itoa.h>.
47488 * debug/segfault.c: Likewise.
47489 * elf/dl-cache.c: Likewise.
47490 * elf/dl-minimal.c: Likewise.
47491 * elf/dl-misc.c: Likewise.
47492 * elf/dl-sysdep.c: Likewise.
47493 * elf/dl-version.c: Likewise.
47494 * elf/rtld.c: Likewise.
47495 * hurd/hurdsock.c: Likewise.
47496 * hurd/lookup-retry.c: Likewise.
47497 * malloc/malloc.c: Likewise.
47498 * malloc/mtrace.c: Likewise.
47499 * nscd/nscd_getgr_r.c: Likewise.
47500 * nscd/nscd_getpw_r.c: Likewise.
47501 * nscd/nscd_getserv_r.c: Likewise.
47502 * posix/getopt_init.c: Likewise.
47503 * posix/wordexp.c: Likewise.
47504 * stdio-common/_itoa.c: Likewise.
47505 * stdio-common/printf_fphex.c: Likewise.
47506 * stdio-common/vfprintf.c: Likewise.
47507 * string/_strerror.c: Likewise.
47508 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47509 * sysdeps/i386/i686/hp-timing.h: Likewise.
47510 * sysdeps/mach/_strerror.c: Likewise.
47511 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47512 * sysdeps/mach/hurd/sethostid.c: Likewise.
47513 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47514 * sysdeps/mach/xpg-strerror.c: Likewise.
47515 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47516 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47517 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47518 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47519 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47520 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47521 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47522 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47523 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47524 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47525 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47526 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47527 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47528 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47529 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47530 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47531 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47532 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47533 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47534 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47535 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47536
47537 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47538
47539 * stdio-common/_itoa.h: Moved to ...
47540 * sysdeps/generic/_itoa.h: Here.
47541
47542 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47543
47544 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47545 instead of "_itoa.h" and "_itowa.h".
47546 * stdio-common/vfprintf.: Likewise.
47547
d1af992d
L
475482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47549
47550 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47551 <bits/wordsize.h>.
47552 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47553 (__signbit): Likwise.
47554 (llrintf): Likwise.
47555 (llrint): Likwise.
47556
114883e0
L
475572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47558
47559 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47560 __WORDSIZE != 64.
47561
c135cc1b
JM
475622012-03-20 Joseph Myers <joseph@codesourcery.com>
47563
47564 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47565 OVERFLOW_EXCEPTION_OK.
47566 * math/libm-test.inc ("Philosophy"): Update comment about
47567 exception testing.
47568 (OVERFLOW_EXCEPTION): Define.
47569 (OVERFLOW_EXCEPTION_OK): Likewise.
47570 (INVALID_EXCEPTION_OK): Renumber.
47571 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47572 (IGNORE_ZERO_INF_SIGN): Likewise.
47573 (test_exceptions): Handle FE_OVERFLOW.
47574 (exp10_test): Expect overflow exceptions.
47575 (exp2_test): Likewise.
47576 (expm1_test): Likewise.
47577 (nextafter_test): Likewise.
47578 (pow_test): Likewise.
47579 (scalbn_test): Likewise.
47580 (scalbln_test): Likewise.
47581
95443d88
L
475822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47583
47584 * sysdeps/x86_64/bits/atomic.h
47585 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47586 64bit integer.
47587 (atomic_exchange_acq): Likewise.
47588 (__arch_exchange_and_add_body): Likewise.
47589 (__arch_add_body): Likewise.
47590 (atomic_add_negative): Likewise.
47591 (atomic_add_zero): Likewise.
47592
490df6c4
L
475932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47594
c2722551 47595 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
47596 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47597
5e52b189
L
475982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47599
47600 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47601 Check __x86_64__ instead of __WORDSIZE.
47602
a9879d4c
L
476032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47604
47605 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47606
5df98260
DM
476072012-03-19 David S. Miller <davem@davemloft.net>
47608
e1497744
DM
47609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47610
5df98260
DM
47611 * sysdeps/sparc/fpu/fenv_private.h: New file.
47612 * sysdeps/sparc/fpu/math_private.h: Use it.
47613 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47614 Remove.
57f41c40 47615 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
47616 (libc_feholdexcept_setroundl): Remove.
47617 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47618 Remove.
47619 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47620 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47621
b4c35121
L
476222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47623
47624 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47625 int64_t instead of long int.
47626 (INSERT_WORDS64): Likwise.
47627
56965fd7
L
476282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47629
47630 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47631 _Unwind_GetCFA return to _Unwind_Ptr first.
47632
83d1aec8
JM
476332012-03-19 Joseph Myers <joseph@codesourcery.com>
47634
1897ad44
JM
47635 [BZ #13629]
47636 * math/s_clog.c: Include <float.h>.
47637 (__clog): Scale large or subnormal inputs.
47638 * math/s_clogf.c: Likewise.
47639 * math/s_clogl.c: Likewise.
47640 * math/s_clog10.c: Include <float.h>.
47641 (M_LOG10_2): Define.
47642 (__clog10): Scale large or subnormal inputs.
47643 * math/s_clog10f.c: Likewise.
47644 * math/s_clog10l.c: Likewise.
47645 * math/libm-test.inc (clog_test): Add more tests.
47646 (clog10_test): Likewise.
47647 * sysdeps/i386/fpu/libm-test-ulps: Update.
47648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47649
7726d6a9
JM
47650 [BZ #11451]
47651 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47652 x and y.
47653 * math/libm-test.inc (atan2_test): Add another test.
47654
83d1aec8
JM
47655 * Makerules (common-objdir-compile): Remove.
47656 * sysdeps/unix/Makefile (config-generated): Do not add
47657 $(unix-generated) to variable.
47658 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47659 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47660 Remove rule.
47661 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47662 Likewise.
47663 [generic bits/local_lim.h] (before-compile): Do not append to
47664 variable.
47665 [generic bits/local_lim.h] (common-generated): Likewise.
47666 [generic sys/param.h] (before-compile): Do not append to variable.
47667 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47668 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47669 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47670 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47671 include.
47672 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47673 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47674 [generic sys/param.h] ($(addprefix
47675 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47676 [generic sys/param.h] (common-generated): Do not append to
47677 variable.
47678 [generic sys/param.h] (sysdep_headers): Likewise.
47679 [generic bits/errno.h] (before-compile): Do not append to
47680 variable.
47681 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47682 rule.
47683 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47684 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47685 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47686 [generic bits/errno.h] (common-generated): Do not append to
47687 variable.
47688 [generic bits/ioctls.h] (before-compile): Do not append to
47689 variable.
47690 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47691 rule.
47692 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47693 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47694 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47695 rule.
47696 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47697 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47698 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47699 [generic bits/ioctls.h] (common-generated): Do not append to
47700 variable.
47701 [generic sys/syscall.h] (syscall.h): Remove variable.
47702 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47703 rule.
47704 [generic sys/syscall.h] (before-compile): Do not append to
47705 variable.
47706 [generic sys/syscall.h] (common-generated): Likewise.
47707 * sysdeps/unix/errnos-tmpl.c: Remove file.
47708 * sysdeps/unix/errnos.awk: Likewise.
47709 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47710 * sysdeps/unix/ioctls.awk: Likewise.
47711 * sysdeps/unix/mk-local_lim.c: Likewise.
47712 * sysdeps/unix/snarf-ioctls: Likewise.
47713
4851a949
RH
477142012-03-19 Richard Henderson <rth@twiddle.net>
47715
bd37f2ee
RH
47716 * sysdeps/i386/fpu/fenv_private.h: New file.
47717 * sysdeps/i386/fpu/math_private.h: Use it.
47718 (math_opt_barrier, math_force_eval): Remove.
47719 (libc_feholdexcept_setround_53bit): Remove.
47720 (libc_feupdateenv_53bit): Remove.
47721 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47722 (math_opt_barrier, math_force_eval): Remove.
47723 (libc_feholdexcept): Remove.
47724 (libc_feholdexcept_setround): Remove.
47725 (libc_fetestexcept, libc_fesetenv): Remove.
47726 (libc_feupdateenv_test): Remove.
47727 (libc_feupdateenv, libc_feholdsetround): Remove.
47728 (libc_feresetround): Remove.
47729
d0adc922
RH
47730 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47731 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47732
0fe0f1f8
RH
47733 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47734 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47735 (libc_feupdateenv_testl): New.
47736 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47737 (libc_feupdateenv_testf): New.
47738 (libc_feupdateenv): Use libc_feupdateenv_test.
47739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47740 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47741
eb92c487
RH
47742 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47743 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47744 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47745 (libc_feresetround_noex): New.
47746 (libc_feresetround_noexf): New.
47747 (libc_feresetround_noexl): New.
47748 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47749 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47750 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47751 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47752 SET_RESTORE_ROUND.
47753 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47754 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47755 (__cos): Likewise.
47756 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47757 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47758 SET_RESTORE_ROUND_NOEX.
47759 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47760 SET_RESTORE_ROUND_NOEXF.
47761 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47762 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47763 (libc_feholdsetroundf): New.
47764 (libc_feresetround, libc_feresetroundf): New.
47765
7d2e8012
RH
47766 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47767 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47768 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47769
b4dabbb4
RH
47770 * sysdeps/generic/math_private.h: Include <fenv.h>.
47771 (default_libc_feholdexcept): New.
47772 (default_libc_feholdexcept_setround): New.
47773 (default_libc_fesetenv, default_libc_feupdateenv): New.
47774 (libc_feholdexcept): Only define if undefined.
47775 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47776 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47777 (libc_feholdexcept_setroundl): Likewise.
47778 (libc_feholdexcept_setround_53bit): Likewise.
47779 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47780 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47781 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47782 (libc_feupdateenv_53bit): Likewise.
47783 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47784 (libc_feholdexcept): Convert from macro to inline function.
47785 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47786 (libc_fesetenv, libc_feupdateenv): Likewise.
47787
4851a949
RH
47788 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47789 not previously defined.
47790 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47791 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47792 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47793 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47794 * sysdeps/ieee754/flt-32/math_private.h: New file.
47795 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47796 math_private.h below SET_FLOAT_WORD.
47797 (__isnan, __isinf_ns, __finite): Remove.
47798 (__isnanf, __isinf_nsf, __finitef): Remove.
47799
e79d442e
AS
478002012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47801
47802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47803
90b80344
DM
478042012-03-17 David S. Miller <davem@davemloft.net>
47805
47806 [BZ #6471]
47807 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47808 for 2.16.
47809
edc21804
DM
478102012-03-16 David S. Miller <davem@davemloft.net>
47811
77e927af
DM
47812 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47813 warnings.
47814
374976dd
DM
47815 [BZ #6471]
47816 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47817 properly.
47818 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47819 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47820 sysdep_routines when subdir is sysvipc.
47821 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47822 __getshmlba helper.
47823
edc21804
DM
47824 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47825
473c3ef3
L
478262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47827
47828 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47829 [__LP64__].
47830
eb0f39b6
L
478312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47832
47833 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47834 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47835 (__lround): Renamed to ...
47836 (__llround): This. Replace long int with long long int.
47837 Define lround functions as aliases of llround functions.
47838 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47839
6b6cd74b
L
478402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47841
47842 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47843 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47844 adresses to uintptr_t. Replace "long int" and "unsigned long
47845 int" with "greg_t" on va_arg.
47846
f1a77b01
L
478472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47848
47849 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47850 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47851
47852 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47853 Move e_machine check before EI_CLASS check. Handle x32
47854 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47855 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47856 SKIP_EM_IA_64 and include
47857 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47858
47859 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47860 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47861 (add_system_dir): New macro.
47862
47863 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47864 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47865
11b90b9f
JM
478662012-03-16 Joseph Myers <joseph@codesourcery.com>
47867
c36e1d23
JM
47868 [BZ #2551]
47869 [BZ #2552]
47870 [BZ #2553]
47871 [BZ #2554]
47872 [BZ #2562]
47873 [BZ #2563]
47874 [BZ #2565]
47875 [BZ #2566]
47876 [BZ #2576]
47877 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47878 (y0): Likewise.
47879 * math/w_j0f.c (j0f): Likewise.
47880 (y0f): Likewise.
47881 * math/w_j0l.c (__j0l): Likewise.
47882 (__y0l): Likewise.
47883 * math/w_j1.c (j1): Likewise.
47884 (y1): Likewise.
47885 * math/w_j1f.c (j1f): Likewise.
47886 (y1f): Likewise.
47887 * math/w_j1l.c (__j1l): Likewise.
47888 (__y1l): Likewise.
47889 * math/w_jn.c (jn): Likewise.
47890 (yn): Likewise.
47891 * math/w_jnf.c (jnf): Likewise.
47892 (ynf): Likewise.
47893 * math/w_jnl.c (__jnl): Likewise.
47894 (__ynl): Likewise.
47895 * math/libm-test.inc (j0_test): Add more tests.
47896 (j1_test): Likewise.
47897 (jn_test): Likewise. Add trailing semicolon to existing test.
47898 (y0_test): Likewise.
47899 (y1_test): Likewise.
47900 * sysdeps/i386/fpu/libm-test-ulps: Update.
47901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47902
11b90b9f
JM
47903 [BZ #13851]
47904 [BZ #13854]
47905 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47906 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47907 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47908 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47909 (__tanl): Set errno for infinite argument.
47910 * sysdeps/i386/fpu/mptan.c: Remove.
47911 * sysdeps/i386/fpu/s_tan.S: Likewise.
47912 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47913 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47914 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47915 * math/libm-test.inc (tan_test): Add more tests and enable more
47916 tests for double and long double.
47917 * sysdeps/i386/fpu/libm-test-ulps: Update.
47918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47919
6a1bd2a1
JK
479202012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47921
47922 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47923 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47924
10a803e0
RM
479252012-03-16 Roland McGrath <roland@hack.frob.com>
47926
47927 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47928 * configure.in: Use it for both main tree and add-ons.
47929 * configure: Regenerated.
47930
f196c7f7
L
479312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47932
47933 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47934
8848d99d
JM
479352012-03-16 Joseph Myers <joseph@codesourcery.com>
47936
96cbe7f4
JM
47937 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47938 in comment.
47939
8848d99d
JM
47940 [BZ #13851]
47941 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47942 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47943 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47944 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47945 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47946 infinite argument.
47947 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47948 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47949 != 0 for prec == 2.
47950 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47951 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47952 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47953 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47954 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47955 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47956 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47957 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47958 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47959 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47960 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47961 * math/libm-test.inc (cos_test): Add more tests and enable more
47962 tests for long double.
47963 (sin_test): Likewise.
47964 (sincos_test): Likewise.
47965 * sysdeps/i386/fpu/libm-test-ulps: Update.
47966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47967
dd7f4703
DM
479682012-03-16 David S. Miller <davem@davemloft.net>
47969
47970 * sysdeps/sparc/fpu/math_private.h: New file.
47971
006f1daa
DM
479722012-03-15 David S. Miller <davem@davemloft.net>
47973
c0c83bc8
DM
47974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47975 file.
e6a62e18 47976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47978 file.
e6a62e18
DM
47979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47984 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47985 sysdep routines.
47986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47987
88cb87d9
DM
47988 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47989 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47990
006f1daa 47991 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47993 sparc-ifunc.h
006f1daa 47994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47996 Likewise.
47997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47998 Likewise.
006f1daa
DM
47999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
48002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48003 Likewise.
006f1daa
DM
48004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
48008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48009 Likewise.
48010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48011 Likewise.
006f1daa
DM
48012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48018 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48019 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48030 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48031 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48032 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48033 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48035 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48036
11e0098e
AS
480372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48038
48039 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48040 scaling.
48041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48042
e85b09d0
AJ
480432012-03-15 Andreas Jaeger <aj@suse.de>
48044
48045 [BZ #13852]
48046 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48047 ieee754/flt-32 implementation for sin, cos and sincos.
48048 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48049 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48050 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48051 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48052 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48053 ieee754/flt-32 implementation for tan.
48054
48055 * math/libm-test.inc (cos_test): Enable some large input tests for
48056 float as well
48057 (sin_test): Likewise.
48058 (sincos_test): Likewise.
48059 (tan_test): Add tests for large input.
48060
48061 * sysdeps/i386/fpu/libm-test-ulps: Update.
48062
81c64153
AJ
480632012-03-15 Andreas Jaeger <aj@suse.de>
48064
48065 [BZ #13658]
48066 * math/libm-test.inc (cos_test): Add more test cases.
48067 (sin_test): Likewise.
48068 (sincos_test): Likewise.
48069
7bbfa5c6
AJ
480702012-03-15 Andreas Jaeger <aj@suse.de>
48071
48072 [BZ #13837]
48073 * math/libm-test.inc (cos_test): Add a test case for large input
48074 value.
48075 (sin_test): Likewise.
48076 (sincos_test): Likewise.
48077
57f41c40
AS
480782012-03-15 Andreas Jaeger <aj@suse.de>
48079 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
48080
48081 [BZ #13658]
0671f479 48082 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
48083 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48084 * sysdeps/i386/fpu/branred.c: Likewise.
48085 * sysdeps/i386/fpu/dosincos.c: Likewise.
48086 * sysdeps/i386/fpu/mpa.c: Likewise.
48087 * sysdeps/i386/fpu/s_cos.S: Likewise.
48088 * sysdeps/i386/fpu/s_sin.S: Likewise.
48089 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48090 * sysdeps/i386/fpu/sincos32.c: Likewise.
48091
48092 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48093 Define.
48094 (libc_feupdateenv_53bit): Define.
48095 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48096 Define.
48097 (libc_feupdateenv_53bit): Define.
48098
48099 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48100 53 bit (without extend i386 double precision).
48101
48102 * math/libm-test.inc (sincos_test): Add tests for large input.
48103 (sin): Likewise.
48104 (cos): Likewise.
48105
48106 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48107
9cad04ea
AS
481082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48109
48110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48111
f7062b9a
DM
481122012-03-15 David S. Miller <davem@davemloft.net>
48113
48114 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48115 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48116 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48117 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
48129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48130 file.
f7062b9a 48131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
48132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48133 file.
f7062b9a 48134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
48135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48136 file.
f7062b9a 48137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
48138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48139 file.
f7062b9a
DM
48140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48141 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48142 fmin/fmax sysdep routines.
48143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48144
7bd951ff
DM
481452012-03-14 David S. Miller <davem@davemloft.net>
48146
559398ab
DM
48147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48153 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48154 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48158 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48167 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48168 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48169 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48170 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48171 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48172 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48173 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48174 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48175 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48176 routines.
48177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48178 file.
559398ab 48179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
48180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48181 file.
559398ab 48182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
48183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48184 file.
559398ab 48185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
48186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48187 file.
559398ab 48188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
48189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48190 file.
559398ab 48191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
48192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48193 file.
48194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48195 file.
48196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48197 file.
48198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48199 file.
48200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48201 New file.
48202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48203 file.
48204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48205 file.
559398ab 48206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
48207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48208 file.
559398ab 48209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48211 file.
559398ab 48212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
48213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48214 file.
559398ab 48215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
48216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48217 VIS3 routines.
559398ab
DM
48218
48219 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48220 New file.
48221
5a1c1e32
DM
48222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48223
eae47a36
DM
48224 * sysdeps/sparc/configure.in: New file.
48225 * sysdeps/sparc/configure: Generate.
48226 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48227 * configure: Regenerate.
48228 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48229 * config.make.in (have-as-vis3): New.
48230 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48231 available use -Av9d instead of -Av9a.
48232 * sysdeps/sparc/sparc64/Makefile: Likewise.
48233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
48234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48235 New file.
48236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48237 file.
48238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48239 New file.
48240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48241 file.
eae47a36
DM
48242 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48245 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48246 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48247
c0c83bc8
DM
48248 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48249 fzeros/fnegs to load 0x80000000 into a float register instead of
48250 using the stack.
7bd951ff
DM
48251 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48252
bd951ccb
JM
482532012-03-14 Joseph Myers <joseph@codesourcery.com>
48254
48255 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48256 bits/syscall.h.
48257 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48258 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48259 ($(inst_includedir)/bits/syscall.h): Remove rule.
48260 ($(objpfx)bits/syscall.d): Include instead of
48261 $(objpfx)syscall-list.d.
48262 (generated): Change syscall-list.h and syscall-list.d to
48263 bits/syscall.h and bits/syscall.d.
48264
bb4e6db2
RM
482652012-03-14 Roland McGrath <roland@hack.frob.com>
48266
48267 [BZ #13846]
48268 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48269
aa4a2ae1
JM
482702012-03-14 Joseph Myers <joseph@codesourcery.com>
48271
e456826d
JM
48272 [BZ #13841]
48273 * math/s_csqrt.c: Include <float.h>.
48274 (__csqrt): Scale large or subnormal inputs.
48275 * math/s_csqrtf.c: Likewise.
48276 * math/s_csqrtl.c: Likewise.
48277 * math/libm-test.inc (csqrt_test): Add more tests.
48278 * sysdeps/i386/fpu/libm-test-ulps: Update.
48279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48280
aa4a2ae1
JM
48281 [BZ #13840]
48282 * math/libm-test.inc (hypot_test): Add more tests.
48283
7c10fd35
DM
482842012-03-13 David S. Miller <davem@davemloft.net>
48285
48286 [BZ #13840]
48287 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48288 double-precision for the calculation instead of scaling.
48289
f453b98b
JM
482902012-03-13 Joseph Myers <joseph@codesourcery.com>
48291
48292 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48293 manipulate bits before adding and subtracting TWO52[sx].
48294 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48295 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48296 Likewise.
48297 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48298
09a3453f
DM
482992012-03-13 David S. Miller <davem@davemloft.net>
48300
8e59da90
DM
48301 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48302 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48303 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48304 rtld-global-offsets.h
48305 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48306
2a8ab7f2
DM
48307 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48308 large parameters.
48309
10f62770
DM
48310 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48311
5f0bdb18
DM
48312 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48313 'err' in the ifdef scope in which it is actually used.
48314
09a3453f
DM
48315 * nss/nss_db/db-init.c: Include string.h
48316
b4b2eb5e
DM
483172012-03-12 David S. Miller <davem@davemloft.net>
48318
98bb2f1c
DM
48319 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48320 masking out of the most significant byte of random value used.
48321 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48322 Fix coding style in previous change.
48323
b4b2eb5e
DM
48324 * sysdeps/unix/sysv/linux/kernel-features.h
48325 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48326 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48327 expression.
48328 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48329 later.
48330
6e226b09
DM
483312012-03-11 David S. Miller <davem@davemloft.net>
48332
a1bcbd40
DM
48333 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48334 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48335 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48336 for 'resultvar' otherwise things get truncated on 64-bit.
48337
cb9d6174
DM
48338 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48339 Fix masking out of the most significant byte of random value used.
48340
6e226b09
DM
48341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48342
058c132d
AS
483432012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48344
48345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48346
2d2cd515
DM
483472012-03-09 David S. Miller <davem@davemloft.net>
48348
48349 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48350 variables with appropriate CPP guards.
57f41c40
AS
48351 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48352 from the frame pointer, not the stack pointer. Correct layout
48353 comments. Fix test on resulting framesize and the management of
48354 the outregs buffer for pltexit. Preserve floating point return
48355 values across _dl_call_pltexit call.
2d2cd515
DM
48356 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48357 framesize and the management of the outregs buffer for pltexit.
48358 Preserve floating point return values across _dl_call_pltexit
48359 call.
57f41c40
AS
48360 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48361 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48362 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48363 (print_exit): Fix format string for return register value.
48364
9a07f9d0
JM
483652012-03-10 Joseph Myers <joseph@codesourcery.com>
48366
48367 * sunrpc/Makefile (others): Add rpcgen.
48368 ($(objpfx)rpcgen): Remove special build rule and dependency on
48369 libc.
48370 * sunrpc/rpcgen.c: New file.
48371
547b5e30
PE
483722012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48373
c524201a
PE
48374 [BZ #13673]
48375 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48376 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48377 * sysdeps/i386/crti.S: Likewise.
48378 * sysdeps/i386/crtn.S: Likewise.
48379 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48380 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48381 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48382 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48383 * sysdeps/sh/crti.S: Likewise.
48384 * sysdeps/sh/crtn.S: Likewise.
48385 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48386
7b6235f2
PE
48387 [BZ #13673]
48388 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48389 with URL.
48390 * locale/programs/locfile-kw.gperf: Likewise.
48391 * locale/programs/charmap-kw.h: Regenerated.
48392 * locale/programs/locfile-kw.h: Likewise.
48393
547b5e30
PE
48394 [BZ #13673]
48395 * intl/plural.y: Replace FSF snail mail address with URL.
48396 * intl/plural.c: Regenerated.
48397
5f0a5dae
RH
483982012-03-09 Richard Henderson <rth@twiddle.net>
48399
48400 * include/math_private.h: Remove file.
48401 * math/math_private.h: Move file ...
48402 * sysdeps/generic/math_private.h: ... here.
48403
b8c03620
RH
48404 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48405 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48406 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48407
4e234f5d 48408 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48409 and <math_private.h>.
48410 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48411 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48412 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48413 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48414 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48415 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48416 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48417 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48418 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48419 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48420 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48421 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48422 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48423 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48424 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48425 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48426 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48427 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48428 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48429 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48431 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48432 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48434 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48435 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48436 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48437 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48439 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48440 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48441 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48442 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48443 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48444 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48445 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48446 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48447 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48448 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48449 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48450 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48451 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48452 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48453 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48454 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48455 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48456 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48457 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48458 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48459 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48460 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48461 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48462 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48463 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48464 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48465 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48466 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48467 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48468 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48469 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48470 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48471 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48472 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48473 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48474 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48475 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48476 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48477 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48478 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48479 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48480 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48481 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48482 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48483 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48484 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48485 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48486 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48487 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48488 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48489 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48490 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48491 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48492 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48493 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48494 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48495 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48496 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48497 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48498 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48499 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48500 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48501 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48502 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48503 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48504 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48505 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48506 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48507 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48508 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48509 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48510 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48511 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48512 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48513 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48514 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48515 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48516 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48517 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48518 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48519 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48520 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48521 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48522 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48523 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48524 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48525 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48526 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48527 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48528 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48529 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48530 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48531 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48532 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48533 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48534 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48535 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48536 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48537 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48538 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48539 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48540 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48541 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48542 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48543 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48544 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48545 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48546 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48547 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48548 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48549 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48550 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48551 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48552 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48553 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48554 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48555 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48556 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48557 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48558 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48559 * sysdeps/ieee754/k_standard.c: Likewise.
48560 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48561 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48562 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48563 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48564 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48565 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48566 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48567 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48568 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48569 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48570 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48571 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48572 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48573 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48574 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48575 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48576 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48577 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48578 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48579 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48580 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48581 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48582 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48583 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48584 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48585 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48586 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48587 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48588 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48589 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48590 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48591 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48592 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48593 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48594 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48595 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48596 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48597 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48598 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48599 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48600 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48601 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48602 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48603 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48604 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48605 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48606 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48607 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48608 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48609 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48610 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48611 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48612 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48613 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48614 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48615 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48616 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48617 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48618 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48619 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48620 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48621 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48622 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48623 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48624 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48625 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48626 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48627 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48628 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48629 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48630 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48631 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48632 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48633 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48634 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48635 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48636 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48637 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48638 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48639 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48640 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48641 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48642 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48643 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48644 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48645 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48646 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48647 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48648 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48649 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48650 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48651 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48652 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48653 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48654 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48655 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48656 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48657 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48658 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48659 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48660 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48661 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48662 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48663 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48664 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48665 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48666 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48667 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48668 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48669 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48670 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48671 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48672 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48673 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48674 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48675 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48676 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48677 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48678 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48679 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48680 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48681 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48682 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48683 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48684 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48685 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48686 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48687 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48688 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48689 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48690 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48691 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48692 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48693 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48694 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48695 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48696 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48697 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48698 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48699 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48700 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48701 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48702 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48703 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48704 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48705 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48706 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48707 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48708 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48709 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48710 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48711 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48712 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48713 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48714 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48715 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48716 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48717 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48718 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48719 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48720 * sysdeps/ieee754/s_lib_version.c: Likewise.
48721 * sysdeps/ieee754/s_matherr.c: Likewise.
48722 * sysdeps/ieee754/s_signgam.c: Likewise.
48723 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48724 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48725 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48726 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48727 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48728 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48729 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48730 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48731 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48732 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48733 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48734 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48735 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48736 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48737 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48738 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48739 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48740 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48741 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48742 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48743 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 48744
1991fa03
JM
487452012-03-09 Joseph Myers <joseph@codesourcery.com>
48746
48747 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48748 * sunrpc/rpc_main.c: Likewise.
48749 * sunrpc/rpc_svcout.c: Likewise.
48750
60d6f5a6
DM
487512012-03-09 David S. Miller <davem@davemloft.net>
48752
48753 * include/math_private.h: New file.
48754
4962050e
JM
487552012-03-09 Joseph Myers <joseph@codesourcery.com>
48756
02a6f887
JM
48757 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48758 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48759 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48760 from <bits/socket_type.h>.
48761 (enum __socket_type): Don't define here.
48762 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48764 bits/socket_type.h.
48765
c6e013c1
JM
48766 [BZ #13566]
48767 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48768 checking __USE_GNU.
48769
4962050e
JM
48770 * Makerules ($(inst_includedir)/%.h): New rule.
48771 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48772 (install-others): Remove variable setting.
48773 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48774
38842f45
RH
487752012-03-08 Richard Henderson <rth@twiddle.net>
48776
67bb6da6
RH
48777 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48778 from macro to inline function; merge with the
48779 !__LIBC_INTERNAL_MATH_INLINES version.
48780 (__ieee754_sqrtf): Likewise.
48781
15194b4b
RH
48782 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48783 to inline function.
48784 (__rintf, __floor, __floorf): Likewise.
48785
64e21ede
RH
48786 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48787 macro to inline function.
48788 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48789
38842f45
RH
48790 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48791 not <math/math_private.h>.
48792
c64bf5fe
DM
487932012-03-08 David S. Miller <davem@davemloft.net>
48794
48795 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48796 copyright year.
48797 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48798
82d86f28
TS
487992012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48800
48801 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48802 normalization.
48803 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48804 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48805
aea5d727
UD
488062012-03-08 Ulrich Drepper <drepper@gmail.com>
48807
48808 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48809 be defined individually, they must be defined as a block. Define
48810 S for printing a string instead of hidint the different by using a
48811 macro for adding the 'l'.
48812 * stdio-common/tst-fphex-wide.c: Adjust.
48813
70bca0a3
MP
488142012-03-07 Marek Polacek <polacek@redhat.com>
48815
48816 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48817
65b81130
MP
488182012-03-08 Marek Polacek <polacek@redhat.com>
48819
48820 [BZ #13806]
48821 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48822 * stdio-common/tst-fphex.c: Define a few macros to make the
48823 test reusable. Use them.
48824 * stdio-common/tst-fphex-wide.c: New file.
48825
07037eeb
JM
488262012-03-08 Joseph Myers <joseph@codesourcery.com>
48827
a7a93d50
JM
48828 [BZ #6911]
48829 * manual/macros.texi (gnusystems): New macro.
48830 (nongnusystems): Likewise.
48831 (gnulinuxhurdsystems): Likewise.
48832 (gnuhurdsystems): Likewise..
48833 (gnulinuxsystems): Likewise.
48834 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48835 variants of the GNU system, not "GNU system".
48836 * manual/conf.texi: Likewise.
48837 * manual/errno.texi: Likewise. Update example of errno macro
48838 expansion.
48839 * manual/filesys.texi: Likewise.
48840 (getumask): Document as specific to GNU/Hurd.
48841 * manual/install.texi: Likewise. Reword some references to
48842 GNU/Linux.
48843 * manual/intro.texi: Likewise.
48844 * manual/io.texi: Likewise.
48845 (File Name Portability): Detail which constraints are inapplicable
48846 to all GNU systems and which are only inapplicable to GNU/Hurd.
48847 * manual/job.texi: Likewise.
48848 * manual/llio.texi: Likewise.
48849 (O_NOCTTY): Document as present on GNU/Linux.
48850 * manual/maint.texi: Likewise.
48851 * manual/memory.texi: Likewise.
48852 * manual/pattern.texi: Likewise.
48853 * manual/pipe.texi: Likewise.
48854 * manual/process.texi: Likewise.
48855 * manual/resource.texi: Likewise.
48856 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48857 child on GNU/Hurd.
48858 * manual/setjmp.texi: Likewise.
48859 * manual/signal.texi: Likewise.
48860 * manual/startup.texi: Likewise.
48861 * manual/stdio.texi: Likewise.
48862 * manual/terminal.texi: Likewise.
48863 (ONLCR): Document as POSIX.
48864 (OXTABS): Document availability on GNU/Linux as XTABS.
48865 (ONOEOT): Document availability separately from other bits.
48866 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48867 * manual/time.texi: Likewise.
48868 * manual/users.texi: Likewise.
48869 * INSTALL: Regenerated.
48870 * sysdeps/gnu/errlist.c: Regenerated.
48871
07037eeb
JM
48872 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48873 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48874 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48875 puts.
48876 * configure: Regenerated.
48877
d1d3431a
JM
488782012-03-07 Joseph Myers <joseph@codesourcery.com>
48879
af6a1e37
JM
48880 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48881 default includes instead of AC_HEADER_CHECK.
48882 * sysdeps/i386/configure: Regenerated.
48883
d1d3431a
JM
48884 [BZ #10716]
48885 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48886 * math/s_cacoshf.c (__cacoshf): Likewise.
48887 * math/s_cacoshl.c (__cacoshl): Likewise.
48888 * math/s_casinh.c (__casinh): Set signs of result from argument.
48889 * math/s_casinhf.c (__casinhf): Likewise.
48890 * math/s_casinhl.c (__casinhl): Likewise.
48891 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48892 (casinh_test): Add more tests.
48893 * sysdeps/i386/fpu/libm-test-ulps: Update.
48894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48895
482ff4da
UD
488962012-03-07 Ulrich Drepper <drepper@gmail.com>
48897
872fda05
UD
48898 * po/zh_TW.po: Update from translation team.
48899
a4300c7a
UD
48900 * login/Makefile (distribute): Remove variable.
48901 * catgets/Makefile: Likewise.
48902 * mach/Makefile: Likewise.
48903 * malloc/Makefile: Likewise.
48904 * misc/Makefile: Likewise.
48905 * iconv/Makefile: Likewise.
48906 * nscd/Makefile: Likewise.
48907 * hurd/Makefile: Likewise.
48908 * manual/Makefile: Likewise.
48909 * locale/Makefile: Likewise.
48910 * intl/Makefile: Likewise.
48911 * conform/Makefile: Likewise.
48912 * nss/Makefile: Likewise.
48913 * time/Makefile: Likewise.
48914 * soft-fp/Makefile: Likewise.
48915 * dirent/Makefile: Likewise.
48916 * gmon/Makefile: Likewise.
48917 * po/Makefile: Likewise.
48918 * rt/Makefile: Likewise.
48919 * socket/Makefile: Likewise.
48920 * math/Makefile: Likewise.
48921 * signal/Makefile: Likewise.
48922 * debug/Makefile: Likewise.
48923 * elf/Makefile: Likewise.
48924 * timezone/Makefile: Likewise.
48925 * stdlib/Makefile: Likewise.
48926 * iconvdata/Makefile: Likewise.
48927 * sunrpc/Makefile: Likewise.
48928 * io/Makefile: Likewise.
48929 * argp/Makefile: Likewise.
48930 * inet/Makefile: Likewise.
48931 * hesiod/Makefile: Likewise.
48932 * grp/Makefile: Likewise.
48933 * csu/Makefile: Likewise.
48934 * wctype/Makefile: Likewise.
48935 * crypt/Makefile: Likewise.
48936 * libio/Makefile: Likewise.
48937 * string/Makefile: Likewise.
48938 * nis/Makefile: Likewise.
48939 * resolv/Makefile: Likewise.
48940 * stdio-common/Makefile: Likewise.
48941 * wcsmbs/Makefile: Likewise.
48942 * dlfcn/Makefile: Likewise.
48943 * posix/Makefile: Likewise.
48944
3b7c4e74 48945 [BZ #6959]
482ff4da
UD
48946 * timezone/Makefile: Don't install timezone files, just the programs
48947 and scripts.
48948
f72ed77d
UD
489492012-03-06 Ulrich Drepper <drepper@gmail.com>
48950
a000466f
UD
48951 * nss/databases.def: Add missing gshadow entry.
48952
f72ed77d
UD
48953 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48954
a53b7a4e
MP
489552012-03-06 Marek Polacek <polacek@redhat.com>
48956
48957 [BZ #13726]
48958 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48959 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48960 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48961 * stdio-common/tst-long-dbl-fphex.c: New file.
48962
e9258400
DM
489632012-03-06 David S. Miller <davem@davemloft.net>
48964
48965 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48966 (set_obp_int): New function.
48967 (get_obp_int): New function.
48968 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48969 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48970 Avoid unused variable warnings on 'val' and use builtin_expect.
48971 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48972 __builtin_expect.
e9258400
DM
48973 (INLINE_CLONE_SYSCALL): Likewise.
48974
3bd2c723
DM
489752012-03-05 David S. Miller <davem@davemloft.net>
48976
48977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48978
bbb78d03
AS
489792012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48980
884c5db4
AS
48981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48982
bbb78d03
AS
48983 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48984 only for |x| >= 40.
48985 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48986
1c9f702a 489872012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48988
48989 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48990 Replace gettimeofday with __vdso_gettimeofday.
48991
7be16f82
RM
48992 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48993 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48994 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48995
48996 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48997 time with __vdso_time.
48998
ed58a00f
JM
489992012-03-05 Joseph Myers <joseph@codesourcery.com>
49000
49001 * manual/lang.texi (size_t): Note types to which size_t may be
49002 equivalent with the GNU C Library, but do not describe when
49003 differences between them are significant.
49004
30ee4ced
AJ
490052012-03-05 Andreas Jaeger <aj@suse.de>
49006
49007 * sysdeps/i386/fpu/libm-test-ulps: Update.
49008
b7cd39e8
JM
490092012-03-05 Joseph Myers <joseph@codesourcery.com>
49010
49011 [BZ #3976]
49012 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49013 (__ieee754_pow): Save and restore rounding mode and use
49014 round-to-nearest for main computations.
49015 * math/libm-test.inc (pow_test_tonearest): New function.
49016 (pow_test_towardzero): Likewise.
49017 (pow_test_downward): Likewise.
49018 (pow_test_upward): Likewise.
49019 (main): Call the new functions.
49020 * sysdeps/i386/fpu/libm-test-ulps: Update.
49021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
49022
49023 [BZ #3976]
49024 * math/libm-test.inc (cosh_test_tonearest): New function.
49025 (cosh_test_towardzero): Likewise.
49026 (cosh_test_downward): Likewise.
49027 (cosh_test_upward): Likewise.
49028 (sinh_test_tonearest): Likewise.
49029 (sinh_test_towardzero): Likewise.
49030 (sinh_test_downward): Likewise.
49031 (sinh_test_upward): Likewise.
49032 (main): Call the new functions.
49033 * sysdeps/i386/fpu/libm-test-ulps: Update.
49034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49035
6c6a98c9
TV
490362012-03-05 Tom de Vries <tom@codesourcery.com>
49037
49038 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49039 default stack guard is set in last bytes.
49040 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49041
21bb2d2e 490422012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 49043
21bb2d2e 49044 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 49045
21bb2d2e
AJ
49046 [BZ #13656]
49047 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49048 possibly allocate from heap instead of stack.
49049 * stdio-common/bug-vfprintf-nargs.c: New file.
49050 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 49051
c6922934
AS
490522012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49053
49054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49055
bc957d53
MP
490562012-03-03 Marek Polacek <polacek@redhat.com>
49057
49058 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49059 * math/math_private.h: Likewise.
49060 * stdlib/tst-strtod.c: Likewise.
49061 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49062 * sysdeps/x86_64/bits/atomic.h: Likewise.
49063
6358490d
DM
490642012-03-02 David S. Miller <davem@davemloft.net>
49065
49066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49070 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49071 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49072 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49073 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49074
01ae168d
RM
490752012-03-02 Roland McGrath <roland@hack.frob.com>
49076
d9a17c07
RM
49077 [BZ #13792]
49078 * manual/examples/README: New file, says the example source files
49079 can be used under GPL>=2.
49080 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49081 line containing just "*/".
49082 * manual/examples/add.c: Add copyright header (GPL>=2).
49083 * manual/examples/argp-ex1.c: Likewise.
49084 * manual/examples/argp-ex2.c: Likewise.
49085 * manual/examples/argp-ex3.c: Likewise.
49086 * manual/examples/argp-ex4.c: Likewise.
49087 * manual/examples/atexit.c: Likewise.
49088 * manual/examples/db.c: Likewise.
49089 * manual/examples/dir.c: Likewise.
49090 * manual/examples/dir2.c: Likewise.
49091 * manual/examples/execinfo.c: Likewise.
49092 * manual/examples/filecli.c: Likewise.
49093 * manual/examples/filesrv.c: Likewise.
49094 * manual/examples/fmtmsgexpl.c: Likewise.
49095 * manual/examples/genpass.c: Likewise.
49096 * manual/examples/inetcli.c: Likewise.
49097 * manual/examples/inetsrv.c: Likewise.
49098 * manual/examples/isockad.c: Likewise.
49099 * manual/examples/longopt.c: Likewise.
49100 * manual/examples/memopen.c: Likewise.
49101 * manual/examples/memstrm.c: Likewise.
49102 * manual/examples/mkfsock.c: Likewise.
49103 * manual/examples/mkisock.c: Likewise.
49104 * manual/examples/mygetpass.c: Likewise.
49105 * manual/examples/pipe.c: Likewise.
49106 * manual/examples/popen.c: Likewise.
49107 * manual/examples/rprintf.c: Likewise.
49108 * manual/examples/search.c: Likewise.
49109 * manual/examples/select.c: Likewise.
49110 * manual/examples/setjmp.c: Likewise.
49111 * manual/examples/sigh1.c: Likewise.
49112 * manual/examples/sigusr.c: Likewise.
49113 * manual/examples/stpcpy.c: Likewise.
49114 * manual/examples/strdupa.c: Likewise.
49115 * manual/examples/strftim.c: Likewise.
49116 * manual/examples/strncat.c: Likewise.
49117 * manual/examples/subopt.c: Likewise.
49118 * manual/examples/swapcontext.c: Likewise.
49119 * manual/examples/termios.c: Likewise.
49120 * manual/examples/testopt.c: Likewise.
49121 * manual/examples/testpass.c: Likewise.
49122 * manual/examples/timeval_subtract.c: Likewise.
49123
01ae168d
RM
49124 [BZ #13792]
49125 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49126 function to ...
49127 * manual/timeval_subtract.c.texi: ... here, new file.
49128
49efa33d
DM
491292012-03-02 David S. Miller <davem@davemloft.net>
49130
49131 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49132
28afd92d
JM
491332012-03-02 Joseph Myers <joseph@codesourcery.com>
49134
804360ed
JM
49135 [BZ #3976]
49136 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49137 (__sin): Save and restore rounding mode and use round-to-nearest
49138 for all computations.
49139 (__cos): Save and restore rounding mode and use round-to-nearest
49140 for all computations.
49141 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49142 <fenv.h>.
49143 (tan): Save and restore rounding mode and use round-to-nearest for
49144 all computations.
49145 * math/libm-test.inc (cos_test_tonearest): New function.
49146 (cos_test_towardzero): Likewise.
49147 (cos_test_downward): Likewise.
49148 (cos_test_upward): Likewise.
49149 (sin_test_tonearest): Likewise.
49150 (sin_test_towardzero): Likewise.
49151 (sin_test_downward): Likewise.
49152 (sin_test_upward): Likewise.
49153 (tan_test_tonearest): Likewise.
49154 (tan_test_towardzero): Likewise.
49155 (tan_test_downward): Likewise.
49156 (tan_test_upward): Likewise.
49157 (main): Call the new functions.
49158 * sysdeps/i386/fpu/libm-test-ulps: Update.
49159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49160
a6d06d7b
JM
49161 [BZ #10135]
49162 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49163 small n, then large n, before computing and testing k+n.
49164 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49165 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49166 Likewise.
49167 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49168 Likewise.
49169 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49170 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49171 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49172 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49173 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49174 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49175 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49176 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49177 * math/libm-test.inc (scalbn_test): Add more tests.
49178 (scalbln_test): Likewise.
49179
07e12bb3
JM
49180 * manual/filesys.texi (mode_t): Describe constraints on size and
49181 signedness, not exact equivalence to a particular type.
49182 (ino_t): Likewise.
49183 (ino64_t): Likewise.
49184 (dev_t): Likewise.
49185 (nlink_t): Likewise.
49186 (blkcnt_t): Likewise.
49187 (blkcnt64_t): Likewise.
49188 * manual/llio.texi (off_t): Likewise.
49189
28afd92d
JM
49190 [BZ #3976]
49191 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49192 (__ieee754_exp): Save and restore rounding mode and use
49193 round-to-nearest for all computations.
49194 * math/libm-test.inc (exp_test_tonearest): New function.
49195 (exp_test_towardzero): Likewise.
49196 (exp_test_downward): Likewise.
49197 (exp_test_upward): Likewise.
49198 (main): Call the new functions.
49199 * sysdeps/i386/fpu/libm-test-ulps: Update.
49200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49201
b1eeb65d
CD
492022012-03-01 Chris Demetriou <cgd@google.com>
49203
49204 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49205 have predictable order.
49206
53362a4b
DM
492072012-03-01 David S. Miller <davem@davemloft.net>
49208
3c969083
DM
49209 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49210
759707de
DM
49211 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49212 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49213 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49214 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49215
dfdb8ff2
DM
49216 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49217 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49218 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49220 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49221 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49222 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49223 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49224 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49225
ead89f96
DM
49226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49227
7f66bd07
DM
49228 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49229 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49230 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49231
53362a4b
DM
49232 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49233 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49234 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49235 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49236 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49237 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49238 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49239 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49240 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49241 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49242 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49243 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49244 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49245 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49246 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49247 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49248 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49249 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49250 * sysdeps/sparc/elf/configure: Regenerated.
49251
7b1902cb
JM
492522012-03-01 Joseph Myers <joseph@codesourcery.com>
49253
bec039bc
JM
49254 * configure.in (AS, LD): Require binutils 2.20 or later.
49255 * configure: Regenerated.
49256 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49257 as required minimum version.
49258 * INSTALL: Regenerated.
49259
7b1902cb
JM
49260 [BZ #2541]
49261 [BZ #4108]
49262 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49263 before squaring exponent.
49264 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49265 bottom long double and 27 bits of top long double before squaring
49266 exponent.
49267 * math/libm-test.inc (erfc_test): Add more tests.
49268 * sysdeps/i386/fpu/libm-test-ulps: Update.
49269 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49271
f775c276
KT
492722012-03-01 Kai Tietz <ktietz@redhat.com>
49273
49274 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49275 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49276 containing bit-fields.
49277 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49278 * soft-fp/single.h (_FP_UNION_S): Likewise.
49279 * soft-fp/double.h (_FP_UNION_D): Likewise.
49280
5b8a4d4a
JM
492812012-02-29 Joseph Myers <joseph@codesourcery.com>
49282
0bab47b6
JM
49283 [BZ #13786]
49284 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49285 not include ../strcmp.S.
49286 [USE_AS_STRNCASECMP_L]: Likewise.
49287 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49288 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49289 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49290 (__strncasecmp_l_ia32): Define as alias to
49291 __strncasecmp_l_nonascii.
49292
0fcad3e2
JM
49293 [BZ #5794]
49294 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49295 * sysdeps/i386/fpu/libm-test-ulps: Update.
49296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49297
5b8a4d4a
JM
49298 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49300
8fdceb2e
JL
493012012-02-29 Jeff Law <law@redhat.com>
49302
49303 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49304 out of bounds read.
49305
1f393a11
MP
493062012-02-29 Marek Polacek <polacek@redhat.com>
49307
49308 [BZ #13706]
49309 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49310 * elf/Makefile: Add rules to run tst-unused-dep.out.
49311
8847f037
DM
493122012-02-28 David S. Miller <davem@davemloft.net>
49313
49314 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49315 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49316 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49317 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49318 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49319 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49320
169d7f11
JM
493212012-02-29 Joseph Myers <joseph@codesourcery.com>
49322
49323 * math/libm-test.inc (llround_test): Move one test from
49324 lround_test. Use TEST_f_L in moved test.
49325 (lround_test): Move misplaced test to llround_test. Add testcase
49326 from bug 2561.
49327
39adf059
UD
493282012-02-28 Ulrich Drepper <drepper@gmail.com>
49329
49330 * sysdeps/x86_64/fpu/e_expf.S: New file.
49331 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49332
71b5d1c5
SB
493332012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49334
49335 [BZ #13637]
49336 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49337 of remain_len that may cause incomplete multi-byte character and
49338 false match.
49339 * posix/bug-regex33.c: New file.
49340 * posix/Makefile (tests): Add bug-regex33.
49341
1f77f049
JM
493422012-02-28 Joseph Myers <joseph@codesourcery.com>
49343
49344 * manual/macros.texi: New file.
49345 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49346 * manual/libc.texinfo: Include macros.texi.
49347 * manual/creatute.texi: Likewise.
49348 * manual/install.texi: Likewise.
49349 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49350 @glibcadj{} in references to the GNU C Library.
49351 * manual/charset.texi: Likewise.
49352 * manual/conf.texi: Likewise.
49353 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49354 when not using those macros.
49355 * manual/creature.texi: Likewise.
49356 * manual/crypt.texi: Likewise.
49357 * manual/errno.texi: Likewise.
49358 * manual/filesys.texi: Likewise.
49359 * manual/header.texi: Likewise.
49360 * manual/install.texi: Likewise.
49361 * manual/intro.texi: Likewise.
49362 * manual/io.texi: Likewise.
49363 * manual/job.texi: Likewise.
49364 * manual/lang.texi: Likewise.
49365 * manual/libc.texiinfo: Likewise.
49366 * manual/llio.texi: Likewise.
49367 * manual/locale.texi: Likewise.
49368 * manual/maint.texi: Likewise.
49369 * manual/math.texi: Likewise.
49370 * manual/memory.texi: Likewise.
49371 * manual/message.texi: Likewise.
49372 * manual/nss.texi: Likewise.
49373 * manual/pattern.texi: Likewise.
49374 * manual/process.texi: Likewise.
49375 * manual/resource.texi: Likewise.
49376 * manual/search.texi: Likewise.
49377 * manual/setjmp.texi: Likewise.
49378 * manual/signal.texi: Likewise.
49379 * manual/socket.texi: Likewise.
49380 * manual/startup.texi: Likewise.
49381 * manual/stdio.texi: Likewise.
49382 * manual/string.texi: Likewise.
49383 * manual/sysinfo.texi: Likewise.
49384 * manual/syslog.texi: Likewise.
49385 * manual/terminal.texi: Likewise.
49386 * manual/time.texi: Likewise.
49387 * manual/users.texi: Likewise.
49388 * INSTALL: Regenerated.
49389 * NOTES: Regenerated.
d40c5d54 49390 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49391
450bf206
AS
493922012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49393
49394 * include/dirent.h: Include <dirstream.h> before
49395 <dirent/dirent.h>.
49396
741a235b
DM
493972012-02-28 David S. Miller <davem@davemloft.net>
49398
49399 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49400 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49401 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49402 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49403
d6b5aa58
DM
494042012-02-27 David S. Miller <davem@davemloft.net>
49405
1aff59a3
DM
49406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49408 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49409 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49410
d6b5aa58
DM
49411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49412 frame pointer instead of stack pointer relative arg slot.
49413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49414 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49415 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49416
433f48bf
CD
494172012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49418
49419 [BZ #3992]
49420 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49421
d674b76d
DM
494222012-02-27 David S. Miller <davem@davemloft.net>
49423
49424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49428 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49429 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49430 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49431 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49432
0e7727f7
JM
494332012-02-27 Joseph Myers <joseph@codesourcery.com>
49434
49435 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49436 later. Allow versions 5-9.
43be4ca2 49437 * configure: Regenerated.
0e7727f7
JM
49438 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49439 required minimum version and 4.6 as recommended version. Do not
49440 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49441 * INSTALL: Regenerated.
0e7727f7 49442
a78bc654
DM
494432012-02-27 David S. Miller <davem@davemloft.net>
49444
428d5830
DM
49445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49449 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49450 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49451 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49452 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49453
a78bc654
DM
49454 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49455 manipulate bits before adding and subtracting TWO112[sx].
49456 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49457
4579f81c
RM
494582012-02-27 Roland McGrath <roland@hack.frob.com>
49459
36c8acb4
RM
49460 [BZ #13775]
49461 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49462 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49463 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49464 being in POSIX, because they are in 1003.1-2008.
49465
84ad622b
RM
49466 * rt/tst-aio.c: Include <fcntl.h>.
49467 * rt/tst-aio7.c: Likewise.
49468 * rt/tst-aio64.c: Likewise.
49469
4579f81c
RM
49470 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49471
abd923db
JM
494722012-02-27 Joseph Myers <joseph@codesourcery.com>
49473
49474 * manual/install.texi (--with-headers): Describe headers as
49475 interface headers, not private headers.
49476 (Specific advice for GNU/Linux systems): Describe use of headers
49477 from "make headers_install", not private headers from older
49478 kernels.
43be4ca2 49479 * INSTALL: Regenerated.
abd923db
JM
49480 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49481 Change to 2.6.19.
49482 * sysdeps/unix/sysv/linux/configure: Regenerated.
49483
6664049b
JM
49484 * manual/llio.texi (fclean): Remove documentation.
49485
bb8b6697
JM
49486 * manual/Makefile (libc-texi-generated): New variable. Include
49487 version.texi.
49488 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49489 $(libc-texi-generated), not duplicated list of files.
49490 (version.texi, stamp-version): New rules.
49491 (realclean): Remove $(libc-texi-generated), not individual files
49492 from that list. Do not remove dir-add.texinfo.
49493 * manual/libc.texinfo: Comment out uses of edition numbers and
49494 references to printed manual. Remove last-updated dates.
49495 (EDITION): Comment out.
49496 (ISBN): Likewise.
49497 (VERSION, UPDATED): Remove.
49498 (version.texi): Include.
49499
12e5c3b9
AS
495002012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49501
49502 * sysdeps/posix/spawni.c: Include <signal.h>.
49503 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49504 * sysdeps/pthread/aio_fsync.c: Likewise.
49505
4efeffc1 495062012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49507
ba63ba08
UD
49508 * conform/Makefile (tests): Run only when not cross-compiling and
49509 when fast-check is not defined.
49510
d94a4670
UD
49511 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49512 * conform/data/limits.h-data: Fixes for POSIX2008.
49513 * conform/run-conformtest.sh: Run all tests.
49514 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49515 headers.
49516 * include/bits/dlfcn.h: Likewise.
49517 * include/langinfo.h: Likewise.
49518 * include/monetary.h: Likewise.
49519 * include/sys/poll.h: Likewise.
49520
49521 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49522 for __USE_GNU.
49523 * posix/spawn.h: Define __need_sigset_t.
49524 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49525 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49526 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49527 to get sigevent_t only.
49528 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49529 only for __USE_GNU.
49530 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49531 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49532 process_vm_writev only for __USE_GNU.
49533 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49534
49535 * conform/Makefile: For now ignore errors from run-conformtest.
49536 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49537 POSIX to avoid namespace pollution. Don't prepend headers.
49538 * conform/data/aio.h-data: Fixes for POSIX testing.
49539 * conform/data/fcntl.h-data: Likewise.
49540 * conform/data/glob.h-data: Likewise.
49541 * conform/data/grp.h-data: Likewise.
49542 * conform/data/pthread.h-data: Likewise.
49543 * conform/data/pwd.h-data: Likewise.
49544 * conform/data/signal.h-data: Likewise.
49545 * conform/data/spawn.h-data: Likewise.
49546 * conform/data/stdio.h-data: Likewise.
49547 * conform/data/stdlib.h-data: Likewise.
49548 * conform/data/stropts.h-data: Likewise.
49549 * conform/data/sys/mman.h-data: Likewise.
49550 * conform/data/sys/stat.h-data: Likewise.
49551 * conform/data/sys/types.h-data: Likewise.
49552 * conform/data/sys/wait.h-data: Likewise.
49553 * conform/data/time.h-data: Likewise.
49554 * conform/data/unistd.h-data: Likewise.
49555 * conform/data/utime.h-data: Likewise.
49556
49557 * io/sys/stat.h: fchmod was always in POSIX.
49558 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49559 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49560 * rt/aio.h: Define __need_timespec before including <time.h>.
49561 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49562 struct. Add forward declaration of pthread_attr_t and use it in
49563 sigevent.
49564 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49565 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49566 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49567 always remove CLK_TCK definition.
49568
c20105c3
AS
495692012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49570
49571 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49572
7a270350
UD
495732012-02-25 Ulrich Drepper <drepper@gmail.com>
49574
31341567
UD
49575 * conform/run-conformtest.sh: New file.
49576 * conform/Makefile: Run run-conformtest for tests.
49577 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49578 support.
49579
49580 * conform/data/uchar.h-data: New file.
49581 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49582 * conform/data/arpa/inet.h-data: Likewise.
49583 * conform/data/assert.h-data: Likewise.
49584 * conform/data/complex.h-data: Likewise.
49585 * conform/data/cpio.h-data: Likewise.
49586 * conform/data/ctype.h-data: Likewise.
49587 * conform/data/dirent.h-data: Likewise.
49588 * conform/data/dlfcn.h-data: Likewise.
49589 * conform/data/errno.h-data: Likewise.
49590 * conform/data/fcntl.h-data: Likewise.
49591 * conform/data/float.h-data: Likewise.
49592 * conform/data/fmtmsg.h-data: Likewise.
49593 * conform/data/fnmatch.h-data: Likewise.
49594 * conform/data/ftw.h-data: Likewise.
49595 * conform/data/glob.h-data: Likewise.
49596 * conform/data/grp.h-data: Likewise.
49597 * conform/data/iconv.h-data: Likewise.
49598 * conform/data/inttypes.h-data: Likewise.
49599 * conform/data/langinfo.h-data: Likewise.
49600 * conform/data/libgen.h-data: Likewise.
49601 * conform/data/limits.h-data: Likewise.
49602 * conform/data/locale.h-data: Likewise.
49603 * conform/data/math.h-data: Likewise.
49604 * conform/data/monetary.h-data: Likewise.
49605 * conform/data/mqueue.h-data: Likewise.
49606 * conform/data/ndbm.h-data: Likewise.
49607 * conform/data/net/if.h-data: Likewise.
49608 * conform/data/netdb.h-data: Likewise.
49609 * conform/data/netinet/in.h-data: Likewise.
49610 * conform/data/nl_types.h-data: Likewise.
49611 * conform/data/poll.h-data: Likewise.
49612 * conform/data/pthread.h-data: Likewise.
49613 * conform/data/pwd.h-data: Likewise.
49614 * conform/data/regex.h-data: Likewise.
49615 * conform/data/sched.h-data: Likewise.
49616 * conform/data/search.h-data: Likewise.
49617 * conform/data/semaphore.h-data: Likewise.
49618 * conform/data/setjmp.h-data: Likewise.
49619 * conform/data/signal.h-data: Likewise.
49620 * conform/data/spawn.h-data: Likewise.
49621 * conform/data/stdarg.h-data: Likewise.
49622 * conform/data/stdio.h-data: Likewise.
49623 * conform/data/stdlib.h-data: Likewise.
49624 * conform/data/string.h-data: Likewise.
49625 * conform/data/strings.h-data: Likewise.
49626 * conform/data/stropts.h-data: Likewise.
49627 * conform/data/sys/ipc.h-data: Likewise.
49628 * conform/data/sys/mman.h-data: Likewise.
49629 * conform/data/sys/msg.h-data: Likewise.
49630 * conform/data/sys/resource.h-data: Likewise.
49631 * conform/data/sys/select.h-data: Likewise.
49632 * conform/data/sys/sem.h-data: Likewise.
49633 * conform/data/sys/shm.h-data: Likewise.
49634 * conform/data/sys/socket.h-data: Likewise.
49635 * conform/data/sys/stat.h-data: Likewise.
49636 * conform/data/sys/statvfs.h-data: Likewise.
49637 * conform/data/sys/time.h-data: Likewise.
49638 * conform/data/sys/timeb.h-data: Likewise.
49639 * conform/data/sys/times.h-data: Likewise.
49640 * conform/data/sys/types.h-data: Likewise.
49641 * conform/data/sys/uio.h-data: Likewise.
49642 * conform/data/sys/un.h-data: Likewise.
49643 * conform/data/sys/utsname.h-data: Likewise.
49644 * conform/data/sys/wait.h-data: Likewise.
49645 * conform/data/syslog.h-data: Likewise.
49646 * conform/data/tar.h-data: Likewise.
49647 * conform/data/termios.h-data: Likewise.
49648 * conform/data/utime.h-data: Likewise.
49649 * conform/data/utmpx.h-data: Likewise.
49650 * conform/data/varargs.h-data: Likewise.
49651 * conform/data/wchar.h-data: Likewise.
49652 * conform/data/wctype.h-data: Likewise.
49653 * conform/data/wordexp.h-data: Likewise.
49654
49655 * include/stropts.h: New file.
49656 * include/uchar.h: New file.
49657 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49658 * include/assert.h: Likewise.
49659 * include/ctype.h: Likewise.
49660 * include/dirent.h: Likewise.
49661 * include/dlfcn.h: Likewise.
49662 * include/fcntl.h: Likewise.
49663 * include/fnmatch.h: Likewise.
49664 * include/glob.h: Likewise.
49665 * include/grp.h: Likewise.
49666 * include/libio.h: Likewise.
49667 * include/locale.h: Likewise.
49668 * include/math.h: Likewise.
49669 * include/net/if.h: Likewise.
49670 * include/netdb.h: Likewise.
49671 * include/netinet/in.h: Likewise.
49672 * include/pthread.h: Likewise.
49673 * include/pwd.h: Likewise.
49674 * include/regex.h: Likewise.
49675 * include/sched.h: Likewise.
49676 * include/search.h: Likewise.
49677 * include/setjmp.h: Likewise.
49678 * include/signal.h: Likewise.
49679 * include/stdio.h: Likewise.
49680 * include/stdlib.h: Likewise.
49681 * include/string.h: Likewise.
49682 * include/sys/cdefs.h: Likewise.
49683 * include/sys/mman.h: Likewise.
49684 * include/sys/msg.h: Likewise.
49685 * include/sys/resource.h: Likewise.
49686 * include/sys/select.h: Likewise.
49687 * include/sys/socket.h: Likewise.
49688 * include/sys/stat.h: Likewise.
49689 * include/sys/statvfs.h: Likewise.
49690 * include/sys/time.h: Likewise.
49691 * include/sys/times.h: Likewise.
49692 * include/sys/uio.h: Likewise.
49693 * include/sys/utsname.h: Likewise.
49694 * include/sys/wait.h: Likewise.
49695 * include/termios.h: Likewise.
49696 * include/time.h: Likewise.
49697 * include/ulimit.h: Likewise.
49698 * include/unistd.h: Likewise.
49699 * include/utime.h: Likewise.
49700 * include/wchar.h: Likewise.
49701 * include/wctype.h: Likewise.
49702 * include/wordexp.h: Likewise.
49703
49704 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49705
7a270350
UD
49706 * time/time.h: TIME_UTC must be a macro.
49707 Make timespec_get available for ISO C11 only as well.
49708
7724defc
UD
497092012-02-24 Ulrich Drepper <drepper@gmail.com>
49710
49711 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49712 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49713
6b1d1d46
JM
497142012-02-24 Joseph Myers <joseph@codesourcery.com>
49715
49716 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 49717
0f8bbd69
JM
497182012-02-24 Joseph Myers <joseph@codesourcery.com>
49719
49720 * manual/texinfo.tex: Update to version 2012-01-19.16.
49721
66ab80bc
JM
497222012-02-24 Joseph Myers <joseph@codesourcery.com>
49723
49724 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49725
74981cc5
RM
497262012-02-24 Roland McGrath <roland@hack.frob.com>
49727
ee968201
RM
49728 [BZ #13738]
49729 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49730 * manual/fdl-1.3.texi: New file.
49731 * manual/fdl-1.1.texi: File removed.
49732
74981cc5
RM
49733 [BZ #13738]
49734 * manual/libc.texinfo (FDL_VERSION): New @set.
49735 Use it for mention of FDL in cover text.
49736 (Documentation License): Use it in @include file name.
49737
7bb764bc
JM
497382012-02-22 Joseph Myers <joseph@codesourcery.com>
49739 Roland McGrath <roland@hack.frob.com>
49740
49741 [BZ #5461]
57f41c40
AS
49742 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49743 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
49744 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49745 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49746 name.
49747 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49748
6cbeae47
JM
497492012-02-22 Joseph Myers <joseph@codesourcery.com>
49750
49751 [BZ #2547]
49752 [BZ #11365]
49753 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49754 manipulate bits before adding and subtracting TWO23[sx].
49755 * math/libm-test.inc (nearbyint_test): Add more tests.
49756
fe45ce09
JM
497572012-02-22 Joseph Myers <joseph@codesourcery.com>
49758
49759 [BZ #2548]
49760 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49761 bits before adding and subtracting TWO23[sx].
49762 * math/libm-test.inc (rint_test): Add more tests.
49763 (rint_test_tonearest): Likewise.
49764 (rint_test_towardzero): Likewise.
49765 (rint_test_downward): Likewise.
49766 (rint_test_upward: Likewise.
49767
ff3b3d82
JM
497682012-02-22 Joseph Myers <joseph@codesourcery.com>
49769
49770 [BZ #10110]
49771 * include/stdc-predef.h: New file. Extracted from features.h.
49772 * include/features.h: Include stdc-predef.h.
49773 * Makefile (headers): Add stdc-predef.h.
49774 * CONFORMANCE (Compiler limitations): Update.
49775
ef0aab35
JM
497762012-02-22 Joseph Myers <joseph@codesourcery.com>
49777
49778 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49779
58639409
DM
497802012-02-21 David S. Miller <davem@davemloft.net>
49781
49782 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49783 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49784
c0e70b25
DM
497852012-02-20 David S. Miller <davem@davemloft.net>
49786
49787 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49788 using a normal save/restore sequence, rather than allocating a
49789 dummy stack frame just to store a frame pointer and restore.
49790 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49791
fb06851d
JM
497922012-02-21 Joseph Myers <joseph@codesourcery.com>
49793
49794 * manual/install.texi: Fix stray word in line-wrapped comment.
49795
7a8b71c3
DM
497962012-02-20 David S. Miller <davem@davemloft.net>
49797
d510c123
DM
49798 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49799 both binutils and gcc support GOTDATA.
49800
0722d7c2
DM
49801 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49802 "rd %pc" in the PIC register setup sequences.
49803
3d2b3019
DM
49804 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49805 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49806 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49807 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49808 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49809 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49810 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49811 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49812 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49813 (SYSCALL_ERROR_HANDLER): Likewise.
49814 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49815 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49816 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49817 (SYSCALL_ERROR_HANDLER): Likewise.
49818
c80098a9
DM
49819 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49820 (HAVE_GCC_GOTDATA): New.
49821 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49822 relocation support in both binutils and gcc.
49823 * sysdeps/sparc/elf/configure: Regenerate.
49824
3a2545a0
DM
49825 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49826 * sysdeps/sparc/sparc32/elf/configure: Delete.
49827 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49828 * sysdeps/sparc/sparc64/elf/configure: Delete.
49829 * sysdeps/sparc/elf/configure.in: New file.
49830 * sysdeps/sparc/elf/configure: Generate.
49831
7a8b71c3
DM
49832 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49833 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49834 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49835 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49836 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49837
f1e86fca
JM
498382012-02-21 Joseph Myers <joseph@codesourcery.com>
49839
49840 * manual/install.texi: Do not mention specific glibc version
49841 numbers.
49842 * manual/libc.texinfo (VERSION, UPDATED): Update.
49843 (@copying): Use @copyright{} and range of years.
49844
0e7dfaef
JM
498452012-02-21 Joseph Myers <joseph@codesourcery.com>
49846
49847 [BZ #13695]
49848 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49849 [crti.S not in sysdirs] (generated): Do not append.
49850 [crti.S not in sysdirs] (omit-deps): Likewise.
49851 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49852 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49853 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49854 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49855 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49856 Likewise.
49857 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49858 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49859 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49860 * csu/defs.awk: Remove file.
49861 * sysdeps/generic/initfini.c: Likewise.
49862 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49863 variable.
49864 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49865 Likewise.
49866
599af3ca
JM
498672012-02-20 Joseph Myers <joseph@codesourcery.com>
49868
49869 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49870 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49871 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49872 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49873 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49874 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49875 <bits/epoll.h>.
49876 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49877 (__EPOLL_PACKED): Define to empty if not defined by
49878 <bits/epoll.h>.
49879 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49881 bits/epoll.h.
49882
0e499750
JM
498832012-02-20 Joseph Myers <joseph@codesourcery.com>
49884
49885 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49886 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49887 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49888 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49889 <bits/timerfd.h>.
49890 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49891 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49892 bits/timerfd.h.
49893
5ad91f6e
JM
498942012-02-20 Joseph Myers <joseph@codesourcery.com>
49895
49896 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49897 in C locale.
49898 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49899 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49900 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49902
06b99b02
AJ
499032012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49904
49905 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49906 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49907
7638c0fd
AS
499082012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49909
49910 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49911 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49912 defined.
49913 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49914 Likewise.
49915 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49916 entry for 2.16.
49917
92221550
AJ
499182012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49919
49920 * math/w_acos.c: Use non-signaling floating-point comparisons.
49921 * math/w_acosf.c: Likewise.
49922 * math/w_acosh.c: Likewise.
49923 * math/w_acoshf.c: Likewise.
49924 * math/w_acoshl.c: Likewise.
49925 * math/w_acosl.c: Likewise.
49926 * math/w_asin.c: Likewise.
49927 * math/w_asinf.c: Likewise.
49928 * math/w_asinl.c: Likewise.
49929 * math/w_atanh.c: Likewise.
49930 * math/w_atanhf.c: Likewise.
49931 * math/w_atanhl.c: Likewise.
49932 * math/w_exp2.c: Likewise.
49933 * math/w_exp2f.c: Likewise.
49934 * math/w_exp2l.c: Likewise.
49935 * math/w_j0.c: Likewise.
49936 * math/w_j0f.c: Likewise.
49937 * math/w_j0l.c: Likewise.
49938 * math/w_j1.c: Likewise.
49939 * math/w_j1f.c: Likewise.
49940 * math/w_j1l.c: Likewise.
49941 * math/w_jn.c: Likewise.
49942 * math/w_jnf.c: Likewise.
49943 * math/w_log.c: Likewise.
49944 * math/w_log10.c: Likewise.
49945 * math/w_log10f.c: Likewise.
49946 * math/w_log10l.c: Likewise.
49947 * math/w_log2.c: Likewise.
49948 * math/w_log2f.c: Likewise.
49949 * math/w_log2l.c: Likewise.
49950 * math/w_logf.c: Likewise.
49951 * math/w_logl.c: Likewise.
49952 * math/w_sqrt.c: Likewise.
49953 * math/w_sqrtf.c: Likewise.
49954 * math/w_sqrtl.c: Likewise.
49955 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49956 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49957 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49958 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49959 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49960
ebaf36eb
JM
499612012-02-19 Joseph Myers <joseph@codesourcery.com>
49962
49963 [BZ #9739]
49964 * manual/string.texi (strnlen): Use correct parameter name in
49965 equivalent expression.
49966
71c254a6
JM
499672012-02-19 Joseph Myers <joseph@codesourcery.com>
49968
49969 [BZ #11174]
49970 * manual/users.texi (seteuid): Consistently use neweuid for
49971 argument name.
49972
16d2c631
JM
499732012-02-19 Joseph Myers <joseph@codesourcery.com>
49974
49975 [BZ #13704]
49976 * manual/nss.texi (Services in the NSS configuration): Correct
49977 list of services in example configuration file.
49978
cd837b09
NB
499792012-02-19 Nick Bowler <nbowler@draconx.ca>
49980
49981 [BZ #11322]
49982 * manual/arith.texi: Remove statements about negative zero
49983 behaving identically to zero.
49984
02c4bbad
JM
499852012-02-18 Joseph Myers <joseph@codesourcery.com>
49986
49987 [BZ #5993]
49988 * manual/install.texi: Do not document upgrading from libc5.
49989
366842e7
JM
499902012-02-18 Joseph Myers <joseph@codesourcery.com>
49991
49992 [BZ #4596]
49993 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49994
dd54084d
DM
499952012-02-18 David S. Miller <davem@davemloft.net>
49996
49997 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49998 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49999 %o7 across the call.
50000 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50001 instead.
50002 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50003 SETUP_PIC_REG_LEAF.
50004 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50005 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50006 * sysdeps/sparc/crtn.S: Likewise.
50007
2bcc53a3
UD
500082012-02-17 Ulrich Drepper <drepper@gmail.com>
50009
50010 * aout/Makefile: Remove.
50011
09c093b5
RK
500122012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50013
50014 [BZ #13058]
50015 * manual/examples/argp-ex1.c (main): Format definition in GNU
50016 style.
50017 * manual/examples/argp-ex2.c (main): Likewise.
50018 * manual/examples/argp-ex3.c (main): Likewise.
50019 * manual/examples/argp-ex4.c (main): Likewise.
50020 * manual/examples/longopt.c (main): Use new-style prototype
50021 definition.
50022 * manual/examples/strncat.c (main): Specify return type and use
50023 (void) for arguments.
50024 * manual/examples/subopt.c (main): Use char **argv argument.
50025
2ee633a2
JM
500262012-02-17 Joseph Myers <joseph@codesourcery.com>
50027
50028 [BZ #5077]
50029 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50030 rounding modes.
50031
0520adde
FB
500322012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50033
50034 [BZ #6907]
50035 * manual/string.texi (strchr): Change when strchrnul is
50036 recommended.
50037
3f4081cd
DGM
500382012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50039
50040 [BZ #174]
50041 * manual/locale.texi (setlocale): Document LOCPATH.
50042
d1b10e78
JM
500432012-02-17 Joseph Myers <joseph@codesourcery.com>
50044
50045 [BZ #10210]
50046 * manual/process.texi (execle): Move @dots{} before last argument.
50047
79c6869c
PB
500482012-02-17 Paul Bolle <pebolle@tiscali.nl>
50049
50050 [BZ #12047]
50051 * manual/charset.texi (Generic Charset Conversion): Fix typo
50052 (LC_TYPE -> LC_CTYPE).
50053
cc6e48bc
NB
500542012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50055
50056 [BZ #5805]
50057 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50058 (scalbnf): Likewise.
50059 (scalbnl): Likewise.
50060 (scalbln): Likewise.
50061 (scalblnf): Likewise.
50062 (scalblnl): Likewise.
50063 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50064 (vwarnx): Likewise.
50065 (verr): Likewise.
50066 (verrx): Likewise.
50067 * manual/filesys.texi (telldir): Use braces around return type.
50068 * manual/llio.texi (mmap): Add space after comma.
50069 (mmap64): Likewise.
50070 * manual/math.texi (jn): Use @var{} on parameter names.
50071 (jnf): Likewise.
50072 (jnl): Likewise.
50073 (yn): Likewise.
50074 (ynf): Likewise.
50075 (ynl): Likewise.
50076 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50077 line.
50078 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50079 "...".
50080 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50081 (sched_get_priority_max): Likewise.
50082 * manual/signal.texi (sigvec): Add space after comma.
50083 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50084 names.
50085 (if_indextoname): Likewise.
50086 (if_freenameindex): Likewise.
50087 (sendto): Use ',' instead of '.' in prototype.
50088 * manual/startup.texi (syscall): Use @dots{} instead of literal
50089 "...".
50090 * manual/stdio.texi (__fpending): Separate initial words of
50091 paragraph from @deftypefun line.
50092 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50093 "...".
50094 (vsyslog): Use @var{} on parameter names.
50095 * manual/terminal.texi (stty): Use @var{} on parameter names.
50096 * manual/users.texi (getutmp): Use @var{} on parameter names.
50097 (getutmpx): Likewise.
50098
5b23062f
JM
500992012-02-17 Joseph Myers <joseph@codesourcery.com>
50100
50101 [BZ #6884]
50102 * manual/stdio.texi (fopen): Fix typos in description of
50103 ",ccs=STRING".
50104
8dee4833
AJ
501052012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50106
50107 [BZ #4026]
50108 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50109 get clock_id definition.
50110
9078ce93
TS
501112012-02-17 Thomas Schwinge <thomas@schwinge.name>
50112
50113 [BZ #4822]
50114 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50115 (madvise): Cast every argument to void on its own.
50116
3835c55f
JM
501172012-02-17 Joseph Myers <joseph@codesourcery.com>
50118
50119 [BZ #9902]
50120 * manual/startup.texi (Exit Status): Fix typo.
50121
35c47e37
JM
501222012-02-17 Joseph Myers <joseph@codesourcery.com>
50123
50124 [BZ #10140]
50125 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50126 * manual/examples/argp-ex2.c: Likewise.
50127 * manual/examples/argp-ex3.c: Likewise.
50128
e3b69ca7
RH
501292012-02-16 Richard Henderson <rth@redhat.com>
50130
50131 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50132 * sysdeps/s390/s390-32/initfini.c: Remove.
50133 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50134 * sysdeps/s390/s390-64/initfini.c: Remove.
50135
df83af67
KK
501362012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50137
50138 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50139 compiler output for sysdeps/generic/initfini.c.
50140 * sysdeps/sh/elf/initfini.c: Remove file.
50141
f63f3380
DM
501422012-02-16 David S. Miller <davem@davemloft.net>
50143
fb59b3a4
DM
50144 [BZ #11494]
50145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50146
f63f3380
DM
50147 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50148 * sysdeps/sparc/crti.S: New file.
50149 * sysdeps/sparc/crtn.S: New file.
50150 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50151 * sysdeps/sparc/sparc64/Makefile: Likewise.
50152
df6a4a4a
MF
501532012-02-15 Mike Frysinger <vapier@gentoo.org>
50154
6dd8f3dc 50155 [BZ #3335]
df6a4a4a
MF
50156 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50157
1cac7236
RM
501582012-02-15 Roland McGrath <roland@hack.frob.com>
50159
d2c736f8
RM
50160 [BZ #4822]
50161 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50162
1cac7236
RM
50163 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50164 (write, read, close): Likewise.
50165 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50166
8e475601
JM
501672012-02-15 Joseph Myers <joseph@codesourcery.com>
50168
50169 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50170 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50171 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50172 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50173 <bits/signalfd.h>.
50174 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50176 bits/signalfd.h.
50177
ed656b40
MP
501782012-02-14 Marek Polacek <polacek@redhat.com>
50179
50180 * sysdeps/x86_64/crti.S: New file.
50181 * sysdeps/x86_64/crtn.S: New file.
50182 * sysdeps/x86_64/elf/initfini.c: Remove file.
50183
2a979d3a
JM
501842012-02-13 Joseph Myers <joseph@codesourcery.com>
50185
50186 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50187 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50188 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50189 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50190 <bits/inotify.h>.
50191 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50193 bits/inotify.h.
50194
2a418ac3
JM
501952012-02-13 Joseph Myers <joseph@codesourcery.com>
50196
50197 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50198 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50199 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50200 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50201 <bits/eventfd.h>.
50202 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50204 bits/eventfd.h.
50205
fb779be7
TS
502062012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50207
e19e83c5
RM
50208 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50209 __feraiseexcept instead of feraiseexcept.
7c35ffed 50210
fb779be7
TS
50211 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50212 nanosleep invocations.
50213 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50214 strings, and add error checking for a nanosleep invocations.
50215
59ba27a6
PE
502162012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50217
50218 Replace FSF snail mail address with URLs, as per GNU coding standards.
50219 Most of the snail mail addresses were wrong anyway, and omitting
50220 them makes the source code easier to maintain. Almost all of the
50221 changes are to license notices and to locale LC_IDENTIFICATION
50222 addresses, except for this one:
50223 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50224 not its snail mail address.
50225
57b957eb
RH
502262012-02-09 Richard Henderson <rth@twiddle.net>
50227
af850b1c
RH
50228 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50229 of kernel-features.h.
50230
57b957eb
RH
50231 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50232
6b73181a
MP
502332012-02-08 Marek Polacek <polacek@redhat.com>
50234
50235 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50236 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50237 * sysdeps/gnu/_G_config.h: Likewise.
50238 * sysdeps/generic/_G_config.h: Likewise.
50239
26ecc33a
AS
502402012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50241
6c6dbc63
AS
50242 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50243 tests.
50244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50245
e216c012
AS
50246 * sysdeps/powerpc/powerpc32/crti.S: New file.
50247 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50248 * sysdeps/powerpc/powerpc64/crti.S: New file.
50249 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50250
26ecc33a
AS
50251 * Makeconfig (have-initfini): Don't set.
50252 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50253 * configure.in (nopic_initfini): Don't substitute.
50254 * config.h.in (HAVE_INITFINI): Don't #undef.
50255 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50256 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50257
3add8e13
JM
502582012-02-08 Joseph Myers <joseph@codesourcery.com>
50259
50260 Support crti.S and crtn.S provided directly by architectures.
50261 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50262 [crti.S in sysdirs] (omit-deps): Likewise.
50263 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50264 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50265 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50266 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50267 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50268 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50269 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50270 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50271 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50272 compiler output for sysdeps/generic/initfini.c.
50273 * sysdeps/i386/elf/Makefile: Remove file.
50274 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50275
a22f12b4
MP
502762012-02-07 Marek Polacek <polacek@redhat.com>
50277
50278 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50279 * sysdeps/gnu/_G_config.h: Likewise.
50280 * sysdeps/mach/hurd/_G_config.h: Likewise.
50281
148cf100
MP
502822012-02-07 Marek Polacek <polacek@redhat.com>
50283
50284 * math/Makefile (tests): Add tst-CMPLX2.
50285 * math/tst-CMPLX2.c: New file.
50286
cfdc0dd7
AS
502872012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50288
84ba42c4
AS
50289 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50290
cfdc0dd7
AS
50291 * math/libm-test.inc (jn_test): Add missing L suffix.
50292
622c86f4
MP
502932012-02-06 Marek Polacek <polacek@redhat.com>
50294
50295 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50296 * sysdeps/i386/fpu/e_powf.S: Likewise.
50297 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50298 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50299 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50300 * sysdeps/i386/fpu/e_pow.S: Likewise.
50301 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50302 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50303 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50304 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50305 * sysdeps/i386/fpu/e_log2.S: Likewise.
50306 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50307 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50308 * sysdeps/i386/fpu/e_powl.S: Likewise.
50309 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50310 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50311 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50312 * sysdeps/i386/fpu/e_logl.S: Likewise.
50313 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50314 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50315 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50316 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50317 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50318 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50319 * sysdeps/i386/fpu/e_log.S: Likewise.
50320 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50321 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50322 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50323 * sysdeps/i386/fpu/e_logf.S: Likewise.
50324 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50325 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50326 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50327 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50328 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50329 * sysdeps/i386/fpu/e_log10.S: Likewise.
50330 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50331 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50332 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50333 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50334 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50335 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50336 * sysdeps/i386/asm-syntax.h: Likewise.
50337 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50338 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50339 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50340 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50341 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50342 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50343 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50344 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50345 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50346 * sysdeps/powerpc/sysdep.h: Likewise.
50347 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50348 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50349
d4a54ac6
JM
503502012-02-06 Joseph Myers <joseph@codesourcery.com>
50351
50352 [BZ #411]
50353 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50354
314054ea
JM
503552012-02-06 Joseph Myers <joseph@codesourcery.com>
50356
50357 * sysdeps/i386/sysdep.h: Include <features.h>.
50358 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50359 version.
50360
d8e0ca50
JM
503612012-02-05 Joseph Myers <joseph@codesourcery.com>
50362
50363 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50364 Define.
50365 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50366 LOAD_PIC_REG_STR.
50367
b1da7dd9
JM
503682012-02-03 Joseph Myers <joseph@codesourcery.com>
50369
50370 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50371 (SETUP_PIC_REG): Use GET_PC_THUNK.
50372 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50373 macro.
50374
9a1d9254
JM
503752012-02-03 Joseph Myers <joseph@codesourcery.com>
50376
50377 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50378 for non-PIC compilation.
50379 (SETUP_PIC_REG): Add .p2align directive.
50380 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50381 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50382 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50383 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50384 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50385 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50386 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50387 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50388 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50389 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50390 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50391 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50392 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50393 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50394 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50395 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50396 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50397 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50398 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50399 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50400 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50401 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50402 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50403 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50404 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50405 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50406 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50407 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50408 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50409 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50410 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50411 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50412 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50413 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50414 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50415 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50416 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50417 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50418 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50419 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50420 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50421
65dc3b75
JM
504222012-02-03 Joseph Myers <joseph@codesourcery.com>
50423
50424 * math/tst-CMPLX.c: Include <stdio.h>.
50425
d55bf177
JM
504262012-01-31 Joseph Myers <joseph@codesourcery.com>
50427
50428 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50429 float.
50430 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50431 * sysdeps/sparc/bits/mathdef.h: Likewise.
50432
69db4f8f
MP
504332012-01-31 Marek Polacek <polacek@redhat.com>
50434
50435 * libio/libio.h: Don't define _PARAMS.
50436 * locale/programs/config.h: Don't define PARAMS.
50437 * stdlib/strtol_l.c: Likewise.
50438 (__strtol_l): Remove PARAMS from the prototype.
50439
41b81892
UD
504402012-01-31 Ulrich Drepper <drepper@gmail.com>
50441
3b49edc0
UD
50442 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50443 names. Just use the correct names. Remove unnecessary wrapper
50444 functions.
50445 * malloc/arena.c: Likewise.
50446 * malloc/hooks.c: Likewise.
50447
41b81892
UD
50448 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50449 ARENA_TEST says not to. Simplify test for creation of a new arena.
50450 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50451
27a25b6e
UD
504522012-01-30 Ulrich Drepper <drepper@gmail.com>
50453
50454 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50455 into tail calls.
50456 (update_get_addr): New function.
50457 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50458 GET_ADDR_MODULE parameter.
50459
c8a89e7d
JM
504602012-01-30 Joseph Myers <joseph@codesourcery.com>
50461
50462 * crypt/cert.c: Remove __STDC__ conditionals.
50463 * crypt/crypt-entry.c: Likewise.
50464 * crypt/crypt_util.c: Likewise.
50465 * libio/filedoalloc.c: Likewise.
50466 * libio/fileops.c: Likewise.
50467 * libio/genops.c: Likewise.
50468 * libio/iofclose.c: Likewise.
50469 * libio/iofdopen.c: Likewise.
50470 * libio/iofopen.c: Likewise.
50471 * libio/iofopen64.c: Likewise.
50472 * libio/iogetdelim.c: Likewise.
50473 * libio/iopopen.c: Likewise.
50474 * libio/obprintf.c: Likewise.
50475 * libio/oldfileops.c: Likewise.
50476 * libio/oldiofclose.c: Likewise.
50477 * libio/oldiofdopen.c: Likewise.
50478 * libio/oldiofopen.c: Likewise.
50479 * libio/oldiopopen.c: Likewise.
50480 * libio/wfiledoalloc.c: Likewise.
50481 * libio/wgenops.c: Likewise.
50482 * locale/programs/xmalloc.c: Likewise.
50483 * misc/syslog.c: Likewise.
50484 * stdio-common/xbug.c: Likewise.
50485 * string/memchr.c: Likewise.
50486 * string/memcmp.c: Likewise.
50487 * string/memrchr.c: Likewise.
50488 * string/rawmemchr.c: Likewise.
50489 * sysdeps/posix/getcwd.c: Likewise.
50490 * time/strftime_l.c: Likewise.
50491
3b100462
JM
504922012-01-30 Joseph Myers <joseph@codesourcery.com>
50493
50494 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50495 * config.make.in (config-cflags-sse2avx): Define.
50496 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50497 Fix typo.
50498
607998af
CM
504992012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50500
50501 * scripts/config.guess: Update from upstream config git repository.
50502 * scripts/config.sub: Likewise.
50503
3601428f
CM
505042012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50505
3ac8b282
CM
50506 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50507 (EM_NUM): Update.
50508 (R_TILEPRO_*, R_TILEGX_*): New macros.
50509
e034841e
CM
50510 * scripts/firstversions.awk: Fix bug in version range handling.
50511
540d7568
CM
50512 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50513
3601428f
CM
50514 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50515
463de862
CM
50516 * include/sys/epoll.h: New file.
50517 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50518 libc_hidden_def.
50519
73139a76
UD
505202012-01-28 Ulrich Drepper <drepper@gmail.com>
50521
96bc5b45
UD
50522 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50523 Avoid unnecessary __WORDSIZE == 64 test.
50524 (fmaxf): Use VEX format if possible.
50525 (fmax): Likewise.
50526 (fminf): Likewise.
50527 (fmin): Likewise.
50528
56f6f6a2
UD
50529 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50530 * math/math_private.h: Remove libc_fegetround* and
50531 libc_fesetround*.
50532 * sysdeps/i386/configure.in: Check for -msse2avx.
50533 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50534 also if SSE2AVX is defined.
50535 Remove libc_fegetround* and libc_fesetround*.
50536 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50537 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50538 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50539 of HAS_YMM_USABLE.
50540 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50541 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50542 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50543 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50544 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50545
73139a76
UD
50546 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50547
d73f93a4
AZ
505482012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50549
50550 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50551 size is not set.
50552 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50553
6ee65ed6
UD
505542012-01-27 Ulrich Drepper <drepper@gmail.com>
50555
50556 [BZ #13618]
50557 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50558 relocation.
50559 * Makeconfig (libm): Define.
50560 * elf/Makefile: Add rules to build and run tst-relsort1.
50561 * elf/tst-relsort1.c: New file.
50562 * elf/tst-relsort1mod1.c: New file.
50563 * elf/tst-relsort1mod2.c: New file.
50564
8db21882
JM
505652012-01-27 Joseph Myers <joseph@codesourcery.com>
50566
50567 * math/s_ldexp.c: Remove __STDC__ conditionals.
50568 * math/s_ldexpf.c: Likewise.
50569 * math/s_ldexpl.c: Likewise.
50570 * math/s_nextafter.c: Likewise.
50571 * math/s_nexttowardf.c: Likewise.
50572 * math/s_significand.c: Likewise.
50573 * math/s_significandf.c: Likewise.
50574 * math/s_significandl.c: Likewise.
50575 * math/w_jnl.c: Likewise.
50576 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50577 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50578 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50579 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50580 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50581 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50582 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50583 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50584 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50585 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50586 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50587 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50588 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50589 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50590 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50591 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50592 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50593 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50595 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50596 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50597 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50598 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50599 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50600 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50601 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50602 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50603 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50604 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50605 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50606 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50607 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50608 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50609 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50610 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50611 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50612 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50613 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50614 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50615 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50616 * sysdeps/ieee754/k_standard.c: Likewise.
50617 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50618 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50619 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50620 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50621 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50622 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50623 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50624 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50625 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50626 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50627 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50628 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50629 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50630 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50631 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50632 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50633 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50634 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50635 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50636 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50637 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50638 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50639 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50640 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50641 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50642 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50643 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50644 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50645 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50646 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50647 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50648 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50649 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50650 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50651 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50652 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50653 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50654 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50655 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50656 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50657 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50658 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50659 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50660 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50661 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50662 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50663 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50664 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50665 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50666 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50667 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50668 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50669 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50670 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50671 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50672 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50673 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50674 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50675 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50676 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50677 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50678 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50679 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50680 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50681 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50682 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50683 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50684 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50685 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50686 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50687 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50688 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50689 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50690 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50691 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50692 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50693 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50694 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50695 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50696 * sysdeps/ieee754/s_matherr.c: Likewise.
50697 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50698 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50699 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50700 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50701
965a54a4
JM
507022012-01-26 Joseph Myers <joseph@codesourcery.com>
50703
50704 * crypt/md5.h: Remove __STDC__ conditionals.
50705 * libio/libioP.h: Likewise.
50706 * locale/programs/config.h: Likewise.
50707 * sysdeps/generic/sysdep.h: Likewise.
50708 * sysdeps/i386/asm-syntax.h: Likewise.
50709 * sysdeps/s390/asm-syntax.h: Likewise.
50710 * sysdeps/unix/sysdep.h: Likewise.
50711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50713
7071ad79
JM
507142012-01-26 Joseph Myers <joseph@codesourcery.com>
50715
50716 * libio/libio.h: Remove __STDC__ conditionals.
50717 * malloc/obstack.h: Likewise.
50718 * math/complex.h: Likewise.
50719 * math/math.h: Likewise.
50720 * sysdeps/generic/_G_config.h: Likewise.
50721 * sysdeps/gnu/_G_config.h: Likewise.
50722 * sysdeps/mach/hurd/_G_config.h: Likewise.
50723 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50724 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50725 * sysdeps/sparc/bits/mathdef.h: Likewise.
50726
afc5ed09
UD
507272012-01-26 Ulrich Drepper <drepper@gmail.com>
50728
50729 [BZ #13583]
50730 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 50731 Clean up HAS_* macros.
afc5ed09 50732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
50733 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50734 possible.
50735 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50736 HAS_AVX.
50737 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50738 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50739 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50740 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50741 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 50742
bdb6de1d
JM
507432012-01-25 Joseph Myers <joseph@codesourcery.com>
50744
50745 * elf/tst-unique3.cc (gets): Remove declaration.
50746 * elf/tst-unique3lib.cc (gets): Likewise.
50747 * elf/tst-unique3lib2.cc (gets): Likewise.
50748 * elf/tst-unique4.cc (gets): Likewise.
50749
b15549e6
UD
507502012-01-24 Ulrich Drepper <drepper@gmail.com>
50751
50752 * include/stdio.h: Add C++ protection. Add gets declarations and
50753 definitions.
50754 * debug/tst-chk1.c: Don't declare gets here.
50755 * stdio-common/tst-gets.c: Likewise.
50756
a037381f
JM
507572012-01-24 Joseph Myers <joseph@codesourcery.com>
50758
50759 * posix/glob: Remove directory.
50760
f1d4aa75
JM
507612012-01-24 Joseph Myers <joseph@codesourcery.com>
50762
50763 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50764
81c0c964
PT
507652012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50766
50767 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50768 of the non-standard EPFNOSUPPORT.
50769
0ea698ae
ST
507702011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50771
50772 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50773 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50774 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50775
d220b117
UD
507762012-01-21 Ulrich Drepper <drepper@gmail.com>
50777
50778 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50779
3e1aa84e
UD
507802012-01-20 Ulrich Drepper <drepper@gmail.com>
50781
50782 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50783 transient errors.
50784 * nscd/grpcache.c (cache_addgr): Likewise.
50785 * nscd/hstcache.c (cache_addhst): Likewise.
50786 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50787 * nscd/pwdcache.c (cache_addpw): Likewise.
50788 * nscd/servicescache.c (cache_addserv): Likewise.
50789
400aa020
UD
507902012-01-16 Ulrich Drepper <drepper@gmail.com>
50791
d77e7869
UD
50792 * malloc/malloc.c: Various cleanups.
50793 * malloc/hooks.c: Likewise.
50794
400aa020
UD
50795 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50796 * stdlib/bug-fmtmsg1.c: New file.
50797
50798 * stdlib/fmtmsg.c (init): Add missing unlock.
50799 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50800
e0a309cf
MP
508012012-01-12 Marek Polacek <polacek@redhat.com>
50802
50803 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50804 and _GNU_SOURCE.
50805
929d11c7
WS
508062012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50807
50808 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50809 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50810 macro to ensure uniqueness of label name.
50811 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50812 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50813
41d0e869
UD
508142012-01-11 Ulrich Drepper <drepper@gmail.com>
50815
0cc5ed3b
UD
50816 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50817
41d0e869
UD
50818 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50819 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50820 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50821 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50822
a47a831a
UD
508232012-01-10 Ulrich Drepper <drepper@gmail.com>
50824
daa891c0
UD
50825 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50826
50827 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50828 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50829 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50830
e58ef0f2
UD
50831 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50832
a47a831a 50833 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
50834 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50835 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 50836 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
50837
50838 * math/bits/math-finite.h: Add ldexp support.
50839
a0bfc9c7
MP
508402012-01-10 Marek Polacek <polacek@redhat.com>
50841
50842 * locale/programs/localedef.h (show_archive_content): Add noreturn
50843 attribute.
50844
d6e97a1d
UD
508452012-01-09 Ulrich Drepper <drepper@gmail.com>
50846
50847 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50848
d5835c26
UD
508492012-01-08 Ulrich Drepper <drepper@gmail.com>
50850
e5f484c6
UD
50851 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50852
d5835c26
UD
50853 * io/Makefile (headers): Add bits/poll2.h.
50854
d1f741e9
WS
508552011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50856
50857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50858 typo #include statement.
50859
ec09c1c4
UD
508602012-01-08 Ulrich Drepper <drepper@gmail.com>
50861
50862 * include/sys/cdefs.h: Define __attribute_alloc_size.
50863 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50864 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50865 * elf/pldd.c: Likewise.
50866 * iconv/iconv_charmap.c: Likewise.
50867 * iconv/iconvconfig.c: Likewise.
50868 * iconv/strtab.c: Likewise.
50869 * locale/programs/locale.c: Likewise.
50870 * locale/programs/localedef.h: Likewise.
50871 * locale/programs/simple-hash.c: Likewise.
50872 * nscd/nscd.h: Likewise.
50873 * nss/makedb.c: Likewise.
50874 * sysdeps/generic/ldconfig.h: Likewise.
50875 * locale/programs/localedef.c: Remove xmalloc prototype.
50876 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50877
20b38e03
PP
508782012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50879
50880 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50881 appropriate.
50882
a0da5fe1
UD
508832012-01-08 Ulrich Drepper <drepper@gmail.com>
50884
1d5a644a 50885 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50886 * math/tst-CMPLX.c: New file.
1d5a644a 50887
8784a6db
UD
50888 * math/complex.h (CMPLXL): Fix typo.
50889
d9a216c0
UD
50890 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50891 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50892 GLIBC_2.16.
50893 * debug/tst-chk1.c: Add poll and ppoll tests.
50894 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50895 * include/sys/poll.h: Add hidden proto for ppoll.
50896 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50897 * sysdeps/mach/hurd/ppoll.c: Likewise.
50898 * io/ppoll.c: Likewise.
50899 * debug/poll_chk.c: New file.
50900 * debug/ppoll_chk.c: New file.
50901 * include/bits/poll2.h: New file.
50902 * io/bits/poll2.h: New file.
50903
ac097f5c
UD
50904 [BZ #1350]
50905 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50906
2119dcfa
UD
50907 * configure.in: static is always set to yes. Remove.
50908 * config.make.in: Don't set build-static.
50909 * Makeconfig: Remove use of build-static.
50910 * dlfcn/Makefile: Likewise.
50911 * elf/Makefile: Likewise.
50912 * math/Makefile: Likewise.
50913 * misc/Makefile: Likewise.
50914 * nptl/Makefile: Likewise.
50915 * sysdeps/mach/hurd/Makefile: Likewise.
50916
121766a9
UD
50917 * configure.in: PWD_P is not used anymore.
50918 * config.make.in: Remove PWD_P entry.
50919
51a1d39c 50920 * configure.in: Remove last remnants of RANLIB.
8720d066 50921 No need to check for signed size_t anymore.
215f4bdc
UD
50922 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50923 and IA-64.
3857022a 50924 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50925 * aclocal.m4: Likewise.
50926
d3ed7225
UD
50927 * wcsmbs/mbrtoc16.c: Implement using towc function.
50928 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50929 * wcsmbs/wcsmbsload.c: Likewise.
50930 * iconv/gconv_simple.c: Likewise.
50931 * iconv/gconv_int.h: Likewise.
50932 * iconv/gconv_builtin.h: Likewise.
50933 * iconv/iconv_prog.c: Remove CHAR16 handling.
50934
50935 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50936
50937 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50938
a0da5fe1
UD
50939 * configure.in: Remove --with-elf and --enable-bounded options.
50940 Dont set base_machine for ia64. More non-ELF conditions removed.
50941 Remove testing and setting of leading underscore information.
50942 * config.make.in (build-bounded): Set to no.
50943 * config.h.in: Remove NO_UNDERSCORES entry.
50944 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50945 them.
50946 * csu/start.c: Remove !NO_UNDERSCORE code.
50947 * locale/localeinfo.h: Likewise.
50948 * sysdeps/generic/machine-gmon.h: Likewise.
50949 * sysdeps/generic/sysdep.h: Likewise.
50950 * sysdeps/i386/sysdep.h: Likewise.
50951 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50952 * sysdeps/mach/sysdep.h: Likewise.
50953 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50954 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50955 * sysdeps/sh/sysdep.h: Likewise.
50956 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50957 * sysdeps/unix/i386/sysdep.S: Likewise.
50958 * sysdeps/unix/sparc/start.c: Likewise.
50959 * sysdeps/unix/sparc/sysdep.S: Likewise.
50960 * sysdeps/unix/sparc/sysdep.h: Likewise.
50961 * sysdeps/unix/start.c: Likewise.
50962 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50963 * sysdeps/x86_64/sysdep.h: Likewise.
50964
df78418a
UD
509652012-01-07 Ulrich Drepper <drepper@gmail.com>
50966
a784e502
UD
50967 [BZ #13553]
50968 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50969 for non-gcc.
50970 * argp/argp-fmtstream.h: Use const instead __const.
50971 * argp/argp.h: Likewise.
50972 * assert/assert.h: Likewise.
50973 * bits/fenv.h: Likewise.
50974 * bits/sched.h: Likewise.
50975 * bits/sigset.h: Likewise.
50976 * bits/sigthread.h: Likewise.
50977 * catgets/nl_types.h: Likewise.
50978 * conform/data/pthread.h-data: Likewise.
50979 * crypt/crypt-private.h: Likewise.
50980 * crypt/crypt.h: Likewise.
50981 * crypt/crypt_util.c: Likewise.
50982 * ctype/ctype.h: Likewise.
50983 * debug/execinfo.h: Likewise.
50984 * debug/mbsnrtowcs_chk.c: Likewise.
50985 * debug/mbsrtowcs_chk.c: Likewise.
50986 * debug/wcsnrtombs_chk.c: Likewise.
50987 * debug/wcsrtombs_chk.c: Likewise.
50988 * debug/wcstombs_chk.c: Likewise.
50989 * dirent/dirent.h: Likewise.
50990 * dlfcn/dlfcn.h: Likewise.
50991 * elf/neededtest4.c: Likewise.
50992 * grp/grp.h: Likewise.
50993 * gshadow/gshadow.h: Likewise.
50994 * iconv/gconv.h: Likewise.
50995 * iconv/gconv_int.h: Likewise.
50996 * iconv/gconv_simple.c: Likewise.
50997 * iconv/iconv.h: Likewise.
50998 * iconv/loop.c: Likewise.
50999 * iconv/skeleton.c: Likewise.
51000 * include/aio.h: Likewise.
51001 * include/aliases.h: Likewise.
51002 * include/argz.h: Likewise.
51003 * include/arpa/inet.h: Likewise.
51004 * include/assert.h: Likewise.
51005 * include/dirent.h: Likewise.
51006 * include/dlfcn.h: Likewise.
51007 * include/execinfo.h: Likewise.
51008 * include/fcntl.h: Likewise.
51009 * include/fenv.h: Likewise.
51010 * include/glob.h: Likewise.
51011 * include/grp.h: Likewise.
51012 * include/libintl.h: Likewise.
51013 * include/mntent.h: Likewise.
51014 * include/netdb.h: Likewise.
51015 * include/pwd.h: Likewise.
51016 * include/rpc/netdb.h: Likewise.
51017 * include/sched.h: Likewise.
51018 * include/search.h: Likewise.
51019 * include/shadow.h: Likewise.
51020 * include/signal.h: Likewise.
51021 * include/stdio.h: Likewise.
51022 * include/stdlib.h: Likewise.
51023 * include/string.h: Likewise.
51024 * include/sys/socket.h: Likewise.
51025 * include/sys/stat.h: Likewise.
51026 * include/sys/statfs.h: Likewise.
51027 * include/sys/statvfs.h: Likewise.
51028 * include/sys/syslog.h: Likewise.
51029 * include/sys/time.h: Likewise.
51030 * include/sys/uio.h: Likewise.
51031 * include/time.h: Likewise.
51032 * include/unistd.h: Likewise.
51033 * include/utmp.h: Likewise.
51034 * include/wchar.h: Likewise.
51035 * include/wctype.h: Likewise.
51036 * inet/aliases.h: Likewise.
51037 * inet/arpa/inet.h: Likewise.
51038 * inet/netinet/ether.h: Likewise.
51039 * inet/netinet/in.h: Likewise.
51040 * intl/libintl.h: Likewise.
51041 * io/bits/fcntl2.h: Likewise.
51042 * io/fcntl.h: Likewise.
51043 * io/ftw.h: Likewise.
51044 * io/sys/poll.h: Likewise.
51045 * io/sys/stat.h: Likewise.
51046 * io/sys/statfs.h: Likewise.
51047 * io/sys/statvfs.h: Likewise.
51048 * io/utime.h: Likewise.
51049 * libio/bits/stdio.h: Likewise.
51050 * libio/bits/stdio2.h: Likewise.
51051 * libio/libio.h: Likewise.
51052 * libio/libioP.h: Likewise.
51053 * libio/stdio.h: Likewise.
51054 * locale/lc-ctype.c: Likewise.
51055 * locale/locale.h: Likewise.
51056 * login/utmp.h: Likewise.
51057 * malloc/arena.c: Likewise.
51058 * malloc/malloc.c: Likewise.
51059 * malloc/malloc.h: Likewise.
51060 * malloc/mcheck.c: Likewise.
51061 * malloc/mtrace.c: Likewise.
51062 * math/bits/mathcalls.h: Likewise.
51063 * math/fenv.h: Likewise.
51064 * math/math_private.h: Likewise.
51065 * misc/bits/error.h: Likewise.
51066 * misc/bits/syslog.h: Likewise.
51067 * misc/err.h: Likewise.
51068 * misc/error.h: Likewise.
51069 * misc/fstab.h: Likewise.
51070 * misc/mntent.h: Likewise.
51071 * misc/regexp.h: Likewise.
51072 * misc/search.h: Likewise.
51073 * misc/sgtty.h: Likewise.
51074 * misc/sys/mman.h: Likewise.
51075 * misc/sys/syslog.h: Likewise.
51076 * misc/sys/uio.h: Likewise.
51077 * misc/sys/xattr.h: Likewise.
51078 * misc/ttyent.h: Likewise.
51079 * nis/rpcsvc/ypclnt.h: Likewise.
51080 * nss/nss.h: Likewise.
51081 * posix/bits/unistd.h: Likewise.
51082 * posix/fnmatch.h: Likewise.
51083 * posix/glob.h: Likewise.
51084 * posix/sched.h: Likewise.
51085 * posix/spawn.h: Likewise.
51086 * posix/sys/wait.h: Likewise.
51087 * posix/unistd.h: Likewise.
51088 * posix/wordexp.h: Likewise.
51089 * pwd/pwd.h: Likewise.
51090 * resolv/netdb.h: Likewise.
51091 * resource/sys/resource.h: Likewise.
51092 * rt/aio.h: Likewise.
51093 * rt/bits/mqueue2.h: Likewise.
51094 * rt/mqueue.h: Likewise.
51095 * shadow/shadow.h: Likewise.
51096 * signal/signal.h: Likewise.
51097 * socket/send.c: Likewise.
51098 * socket/sendto.c: Likewise.
51099 * socket/sys/socket.h: Likewise.
51100 * stdio-common/printf.h: Likewise.
51101 * stdlib/bits/stdlib.h: Likewise.
51102 * stdlib/fmtmsg.h: Likewise.
51103 * stdlib/monetary.h: Likewise.
51104 * stdlib/stdlib.h: Likewise.
51105 * stdlib/ucontext.h: Likewise.
51106 * streams/stropts.h: Likewise.
51107 * string/argz.h: Likewise.
51108 * string/bits/string2.h: Likewise.
51109 * string/string.h: Likewise.
51110 * string/strings.h: Likewise.
51111 * sunrpc/rpc/auth.h: Likewise.
51112 * sunrpc/rpc/auth_des.h: Likewise.
51113 * sunrpc/rpc/clnt.h: Likewise.
51114 * sunrpc/rpc/netdb.h: Likewise.
51115 * sunrpc/rpc/pmap_clnt.h: Likewise.
51116 * sunrpc/rpc/xdr.h: Likewise.
51117 * sysdeps/generic/inttypes.h: Likewise.
51118 * sysdeps/generic/net/if.h: Likewise.
51119 * sysdeps/generic/sys/swap.h: Likewise.
51120 * sysdeps/gnu/net/if.h: Likewise.
51121 * sysdeps/gnu/utmpx.h: Likewise.
51122 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51123 * sysdeps/i386/i486/bits/string.h: Likewise.
51124 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51125 * sysdeps/s390/bits/string.h: Likewise.
51126 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51127 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51128 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51129 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51130 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51131 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51132 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51133 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51134 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51135 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51136 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51137 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51138 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51139 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51140 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51141 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51142 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51143 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51144 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51145 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51146 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51147 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51148 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51149 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51150 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51151 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51152 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51153 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51154 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51155 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51156 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51157 * sysvipc/sys/ipc.h: Likewise.
51158 * sysvipc/sys/msg.h: Likewise.
51159 * sysvipc/sys/sem.h: Likewise.
51160 * sysvipc/sys/shm.h: Likewise.
51161 * termios/termios.h: Likewise.
51162 * time/sys/time.h: Likewise.
51163 * time/time.h: Likewise.
51164 * wcsmbs/bits/wchar2.h: Likewise.
51165 * wcsmbs/uchar.h: Likewise.
51166 * wcsmbs/wchar.h: Likewise.
51167 * wctype/wctype.h: Likewise.
51168
0269750c
UD
51169 [BZ #13551]
51170 * Makeconfig: Remove all but ELF support including AIX support.
51171 * Makerules: Likewise.
51172 * config.h.in: Likewise.
51173 * config.make.in: Likewise.
51174 * configure: Likewise.
51175 * configure.in: Likewise.
51176 * csu/Makefile: Likewise.
51177 * csu/version.c: Likewise.
51178 * debug/Makefile: Likewise.
51179 * dlfcn/Makefile: Likewise.
51180 * elf/Makefile: Likewise.
51181 * extra-lib.mk: Likewise.
51182 * iconv/Makefile: Likewise.
51183 * include/libc-symbols.h: Likewise.
51184 * include/shlib-compat.h: Likewise.
51185 * resolv/Makefile: Likewise.
51186 * resolv/res_libc.c: Likewise.
51187 * rt/Makefile: Likewise.
51188 * sysdeps/i386/asm-syntax.h: Likewise.
51189 * sysdeps/i386/sysdep.h: Likewise.
51190 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51191 * sysdeps/mach/sysdep.h: Likewise.
51192 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51193 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51194 * sysdeps/s390/asm-syntax.h: Likewise.
51195 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51196 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51197 * sysdeps/sh/sysdep.h: Likewise.
51198 * sysdeps/unix/sparc/sysdep.h: Likewise.
51199 * sysdeps/wordsize-32/divdi3.c: Likewise.
51200 * sysdeps/x86_64/sysdep.h: Likewise.
51201
00bbd29b
UD
51202 * argp/Versions: Remove _argp_unlock_xxx.
51203
51204 [BZ #13559]
51205 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51206 * abilist/libBrokenLocale.abilist: Likewise.
51207 * abilist/libanl.abilist: Likewise.
51208 * abilist/libc.abilist: Likewise.
51209 * abilist/libcrypt.abilist: Likewise.
51210 * abilist/libdl.abilist: Likewise.
51211 * abilist/libm.abilist: Likewise.
51212 * abilist/libnsl.abilist: Likewise.
51213 * abilist/libpthread.abilist: Likewise.
51214 * abilist/libresolv.abilist: Likewise.
51215 * abilist/librt.abilist: Likewise.
51216 * abilist/libthread_db.abilist: Likewise.
51217 * abilist/libutil.abilist: Likewise.
51218 * abilist/libnss_db.abilist: New file.
51219
51220 * scripts/abilist.awk: Add support for indirect functions.
51221
a2693a0e
UD
51222 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51223
3f05895f
UD
51224 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51225
ecb6fb48
UD
51226 * shlib-versions: Remove entries for ports architectures.
51227
664f8cb9
UD
51228 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51229 files in ports.
51230 * elf/stackguard-macros.h: Remove support for IA-64.
51231 * elf/tst-auditmod1.c: Likewise.
51232 * sysdeps/generic/ldsodefs.h: Likewise.
51233
7ae81d88
UD
51234 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51235 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51236 configure files.
51237
bdeba135
UD
51238 [BZ #13552]
51239 * configure.in: Remove --enable-omitfp support.
51240 * FAQ.in: Adjust.
51241 * config.make.in: Likewise.
51242 * Makeconfig: Likewise.
51243 * manual/install.texi: Likewise.
51244
d75a0a62
UD
51245 In case anyone cares, the IA-64 architecture could move to ports.
51246 * sysdeps/ia64/*: Removed.
51247 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 51248 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 51249
dcc9756b
UD
51250 [BZ #13555]
51251 * configure.in: Remove entries for unsupported architectures.
51252
d3761ebc 51253 [BZ #13533]
9954432e
UD
51254 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51255 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51256 routines.
51257 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51258 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51259 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51260 fall back to using wcrtomb.
51261 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51262 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51263 renaming.
51264 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51265 * wcsmbs/tst-c16c32-1.c: New file.
51266
51267 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51268 local variable.
51269
c3a87236
UD
51270 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51271
28926a1b
UD
51272 * elf/tst-unique3.cc: Add explicit declaration of gets.
51273 * elf/tst-unique3lib.cc: Likewise.
51274 * elf/tst-unique3lib2.cc: Likewise.
51275 * elf/tst-unique4.cc: Likewise.
51276
df78418a
UD
51277 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51278
8ecd6b2a
JM
512792012-01-06 Joseph Myers <joseph@codesourcery.com>
51280
51281 [BZ #13566]
51282 * assert/assert.h (static_assert): Don't define for C++.
51283 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51284 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51285
9f115170
UD
512862012-01-03 Ulrich Drepper <drepper@gmail.com>
51287
5e0d0300
UD
51288 * iconv/loop.c (single loop): Fix assertion in storing of
51289 remaining bytes.
51290
9f115170
UD
51291 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51292
81fb02b0
UD
512932012-01-01 Ulrich Drepper <drepper@gmail.com>
51294
51295 * posix/getconf.c: Update copyright year.
51296 * nss/getent.c: Likewise.
a316c1f6 51297 * nss/makedb.c: Likewise.
81fb02b0
UD
51298 * iconv/iconvconfig.c: Likewise.
51299 * iconv/iconv_prog.c: Likewise.
51300 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51301 * elf/pldd.c: Likewise.
51302 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51303 * catgets/gencat.c: Likewise.
51304 * csu/version.c: Likewise.
51305 * elf/ldd.bash.in: Likewise.
51306 * elf/sprof.c (print_version): Likewise.
51307 * locale/programs/locale.c: Likewise.
51308 * locale/programs/localedef.c: Likewise.
a316c1f6 51309 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51310 * nscd/nscd.c (print_version): Likewise.
51311 * debug/xtrace.sh: Likewise.
51312 * malloc/memusage.sh: Likewise.
51313 * malloc/mtrace.pl: Likewise.
51314 * debug/catchsegv.sh: Likewise.
51315
2ba92745
JJ
513162011-12-30 Jakub Jelinek <jakub@redhat.com>
51317
51318 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51319 pure attribute.
51320
dadebdae
UD
513212011-12-24 Ulrich Drepper <drepper@gmail.com>
51322
d3761ebc 51323 [BZ #13533]
db6af3eb
UD
51324 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51325 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51326 transformations.
51327 * iconv/gconv_int.h: Likewise.
51328 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51329 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51330 from libc for GLIBC_2.16.
51331 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51332 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51333 * wcsmbs/uchar.h: Really define mbstate_t.
51334 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51335 * wcsmbs/c16rtomb.c: New file.
51336 * wcsmbs/mbrtoc16.c: New file.
51337 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51338 for C/POSIX locale.
51339 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51340 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51341
dadebdae
UD
51342 * wcsmbs/wchar.h: Add missing __restrict.
51343
67371b56
UD
513442011-12-23 Ulrich Drepper <drepper@gmail.com>
51345
74033a25
UD
51346 [BZ #13532]
51347 * time/Makefile (routines): Add timespec_get.
51348 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51349 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51350 timespec for ISO C11.
51351 * time/timespec_get.c: New file.
51352 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51353 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51354
380d7e87
UD
51355 [BZ #13531]
51356 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51357 * stdlib/stdlib.h: Declare aligned_alloc.
51358 * Versions.def: Add GLIBC_2.16 for libc.
51359 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51360
4e9e7a35
UD
51361 [BZ 13527]
51362 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51363 ISO C11.
51364
380d7e87 51365 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51366 code.
51367
03a71829
UD
51368 [BZ #13528]
51369 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51370
839e283e
UD
51371 [BZ #13529]
51372 * assert/assert.h (static_assert): Define.
51373
ce5294e2 51374 * version.h: Update for 2.16 development version.
90fa7312 51375
8d44e150 51376 [BZ #13526]
d7809905
UD
51377 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51378 _ISOC11_SOURCE.
51379
c0da14cd
UD
51380 * version.h (RELEASE): Bump for 2.15 release.
51381 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51382
530a3249
MP
51383 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51384 Patch by Marek Polacek <mpolacek@redhat.com>.
51385
67371b56
UD
51386 * bits/byteswap.h: Protect long long constants with __extension__.
51387 * sysdeps/i386/bits/byteswap.h: Likewise.
51388 * sysdeps/ia64/bits/byteswap.h: Likewise.
51389 * sysdeps/s390/bits/byteswap.h: Likewise.
51390 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51391
15db4de1
LD
513922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51393
51394 [BZ #13540]
bbe315ea
LD
51395 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51396 destination buffer.
15db4de1
LD
51397 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51398
2b2596b1
MP
513992011-12-23 Marek Polacek <polacek@redhat.com>
51400
51401 * elf/dl-addr.c (determine_info): Add inline keyword.
51402 * elf/tst-auditmod4b.c (check_avx): Likewise.
51403 * elf/tst-auditmod6b.c (check_avx): Likewise.
51404 * elf/tst-auditmod6c.c (check_avx): Likewise.
51405 * elf/tst-auditmod7b.c (check_avx): Likewise.
51406
70c6c246
UD
514072011-12-23 Ulrich Drepper <drepper@gmail.com>
51408
51409 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51410 !__SSE_MATH__.
51411
c044cf14
LD
514122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51413
15db4de1 51414 [BZ #13540]
c044cf14
LD
51415 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51416 processing for last bytes.
51417
6b13d9d9
BH
514182011-08-06 Bruno Haible <bruno@clisp.org>
51419
d455f537
BH
51420 [BZ #13061]
51421 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51422 U+0385, not to U+1FEE.
51423
6b13d9d9
BH
51424 [BZ #13062]
51425 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51426 entry for U+00A5 U+0301.
51427
db910efd
UD
514282011-12-22 Ulrich Drepper <drepper@gmail.com>
51429
27deeafc
UD
51430 [BZ #13166]
51431 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51432 buffer for the output is too small.
51433
aed9d171
UD
51434 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51435 optimization.
51436
db910efd
UD
51437 [BZ #13185]
51438 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51439 SSE flags if possible.
51440
2bd779ae
LD
514412011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51442
e7f9dac3 51443 [BZ #13540]
2bd779ae
LD
51444 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51445 processing for last bytes.
51446
154bfc16
JM
514472011-12-22 Joseph Myers <joseph@codesourcery.com>
51448
51449 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51450 (syscall-list-default-options, syscall-list-default-condition)
51451 (syscall-list-includes): Define.
51452 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51453 list of ABIs and options and #if conditions for each ABI. Do not
51454 handle common syscalls between ABIs specially.
51455 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51456 Remove.
51457 (syscall-list-variants, syscall-list-32bit-options)
51458 (syscall-list-32bit-condition, syscall-list-64bit-options)
51459 (syscall-list-64bit-condition): Define.
51460 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51461 (syscall-list-variants, syscall-list-32bit-options)
51462 (syscall-list-32bit-condition, syscall-list-64bit-options)
51463 (syscall-list-64bit-condition): Define.
51464 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51465 Remove.
51466 (syscall-list-variants, syscall-list-32bit-options)
51467 (syscall-list-32bit-condition, syscall-list-64bit-options)
51468 (syscall-list-64bit-condition): Define.
51469 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51470 Remove.
51471 (syscall-list-variants, syscall-list-32bit-options)
51472 (syscall-list-32bit-condition, syscall-list-64bit-options)
51473 (syscall-list-64bit-condition): Define.
51474
21eaf3a5
UD
514752011-12-22 Ulrich Drepper <drepper@gmail.com>
51476
16c6f992
UD
51477 * locale/iso-639.def: Add brx entry.
51478
41043168
UD
51479 [BZ #13328]
51480 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51481 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51482
21eaf3a5
UD
51483 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51484 __feraiseexcept_renamed.
51485
e3a851a2
UD
514862011-12-21 Ulrich Drepper <drepper@gmail.com>
51487
4920765e
UD
51488 [BZ #13538]
51489 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51490 EPOLLET with unsigned values.
51491 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51492 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51493
e3a851a2
UD
51494 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51495 to large cancellation.
51496 * math/s_cacoshf.c: Likewise.
51497 * math/s_cacoshl.c: Likewise.
51498
b27e24b8
RK
514992011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51500
51501 [BZ #13305]
aebefeee 51502 [BZ #12786]
b27e24b8
RK
51503 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51504 * math/s_cacoshf.c: Likewise.
51505 * math/s_cacoshl.c: Likewise.
51506
ee190f67
UD
515072011-12-21 Ulrich Drepper <drepper@gmail.com>
51508
51509 [BZ #13439]
51510 * iconv/gconv.h: Define __GCONV_SWAP.
51511 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51512 * iconvdata/utf-16.c: Likewise.
51513 * iconvdata/utf-32.c: Likewise.
51514
707f25df
AS
515152011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51516
51517 [BZ #13524]
51518 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51519 numerator after shifting it by one limb.
51520
d2daaa1e
RÁE
515212011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51522
51523 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51524 under [__USE_EXTERN_INLINES].
51525
a4647e72
UD
515262011-12-17 Ulrich Drepper <drepper@gmail.com>
51527
51528 [BZ #13446]
51529 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51530
f0b264f1
AZ
515312011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51532
51533 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51534 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51535 optimized code.
51536 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51537 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51538 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51539 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51540 for strncasecmp/strncasecmp_l compilation.
51541 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51542 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51543
8ef4f244
MP
515442011-12-08 Marek Polacek <mpolacek@redhat.com>
51545
51546 [BZ #13484]
51547 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51548 of __asm__.
51549
97ac2654
UD
515502011-12-17 Ulrich Drepper <drepper@gmail.com>
51551
51552 [BZ #13506]
51553 * time/tzfile.c (__tzfile_read): Check values from file header.
51554
91d2a845
WS
515552011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51556
51557 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51558 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51559 * powerpc/powerpc32/dl-start.S: Likewise.
51560 * powerpc/powerpc32/elf/start.S: Likewise.
51561 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51562 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51563 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51564 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51565 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51566 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51567 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51568 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51569 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51570 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51571 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51572 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51573 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51574 * powerpc/powerpc32/memset.S: Likewise.
51575 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51576 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51577 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51578 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51579 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51580 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51581 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51582 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51583 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51584 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51585 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51586 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51587 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51588
a1267ba1
AZ
515892011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51590
51591 * math/libm-test.inc: Added more nearbyint tests.
51592 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51593 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51594 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51595 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51596
ad8ac1bd
RL
515972011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51598
51599 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51600 FD_CLOEXEC.
51601
1d3e4b61
UD
516022011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51603
51604 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51605 Add wcscpy-ssse3 wcscpy-c.
51606 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51607 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51608 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51609 * sysdeps/x86_64/wcschr.S: New file.
51610 * sysdeps/x86_64/wcsrchr.S: New file.
51611 * string/test-strcmp.c: Remove checking of wcscmp function for
51612 wrong alignments.
51613 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51614 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51615 wcsrchr-sse2 wcsrchr-c.
51616 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51617 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51618 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51619 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51620 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51621 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51622 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51623 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51624 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51625 * wcsmbc/wcschr.c (WCSCHR): New macro.
51626
5b330a2d
UD
516272011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51628
51629 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51630 * wcsmbs/test-wcsrchr.c: New file.
51631 * string/test-strrchr.c: Add wcsrchr support.
51632 (WIDE): New macro.
51633 * wcsmbs/test-wcscpy.c: New file.
51634 * string/test-strcpy.c: Add wcscpy support.
51635 (WIDE): New macro.
26428b7c 51636
f039c043
UD
516372011-12-10 Ulrich Drepper <drepper@gmail.com>
51638
51639 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51640 the inner loop.
51641
850fb039
AS
516422011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51643
51644 [BZ #13472]
51645 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51646
4efbd5cb
UD
516472011-12-04 Ulrich Drepper <drepper@gmail.com>
51648
52ff5dd0 51649 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 51650 Minor optimizations.
52ff5dd0 51651
4efbd5cb
UD
51652 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51653 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51654 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51655
8a426e12
UD
516562011-12-03 Ulrich Drepper <drepper@gmail.com>
51657
aff2453d
UD
51658 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51659 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51660 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51661 for gcc to avoid warnings.
51662 * inet/Makefile (tests): Add tst-checks.
51663 * inet/tst-checks.c: New file.
51664
51665 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51666 warning.
51667
51668 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51669 __wmemcmp_sse2.
51670
51671 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51672 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51673
8a426e12
UD
51674 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51675
9bea3473
UD
516762011-12-02 Ulrich Drepper <drepper@gmail.com>
51677
3a965496
UD
51678 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51679 problem.
51680
9bea3473
UD
51681 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51682
f101631b
UD
516832011-11-29 Joseph Myers <joseph@codesourcery.com>
51684
51685 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51686 conditional on GCC version.
51687 (__arch_compare_and_exchange_val_8_acq)
51688 (__arch_compare_and_exchange_val_16_acq)
51689 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51690 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51691 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51692
a98275aa
UD
516932011-12-02 Joseph Myers <joseph@codesourcery.com>
51694
51695 * sysdeps/sh/backtrace.c: New file.
51696
d4cc29a2
AS
516972011-12-02 Andreas Schwab <schwab@redhat.com>
51698
51699 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51700 parenthesis.
51701
6257af2d
AS
517022011-12-01 Andreas Schwab <schwab@redhat.com>
51703
51704 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51705 falling back to utime.
51706
b5f44c1a
AS
517072011-11-30 Andreas Schwab <schwab@redhat.com>
51708
51709 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51710 expectations for float.
51711
f3a6cc0a
AS
517122011-11-29 Andreas Schwab <schwab@redhat.com>
51713
51714 * locale/weight.h (findidx): Add parameter len.
51715 * locale/weightwc.h (findidx): Likewise.
51716 * posix/fnmatch_loop.c (FCT): Adjust caller.
51717 * posix/regcomp.c (build_equiv_class): Likewise.
51718 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51719 * posix/regexec.c (check_node_accept_bytes): Likewise.
51720 * string/strcoll_l.c (STRCOLL): Likewise.
51721 * string/strxfrm_l.c (STRXFRM): Likewise.
51722
9d65ea3a
UD
517232011-11-17 Ulrich Drepper <drepper@gmail.com>
51724
51725 * Makefile.in: Remove CVSOPT handling.
51726 * configure.in: Remove use of AC_REVISION.
51727 * iconvdata/Makefile (distribute): No need to filter out CVS.
51728 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51729 handling.
51730
5583a086
AS
517312011-11-16 Andreas Schwab <schwab@redhat.com>
51732
51733 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51734 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51735 [USE_AS_STRNCASECMP_L]: Likewise.
51736 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51737 NO_TLS_DIRECT_SEG_REFS.
51738 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51739 Fix argument offsets for non-PIC.
51740 [USE_AS_STRNCASECMP_L]: Likewise.
51741 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51742 NO_TLS_DIRECT_SEG_REFS.
51743
d62a8200
UD
517442011-11-15 Ulrich Drepper <drepper@gmail.com>
51745
9d65ea3a 51746 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
51747 O_CLOEXEC.
51748 * locale/loadlocale.c (_nl_load_locale): Likewise.
51749
09f93bd3
AS
517502011-11-15 Andreas Schwab <schwab@redhat.com>
51751
446514f9
AS
51752 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51753 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51754 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51755 (SYSCALL_GETTIME): Set errno on error.
51756
09f93bd3
AS
51757 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51758 count references to noai6ai_cached.
51759
312be3f9
UD
517602011-11-15 Ulrich Drepper <drepper@gmail.com>
51761
51762 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51763
51764 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51765 FD_CLOEXEC for /proc/self/maps.
51766
51767 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51768 FD_CLOEXEC for /proc/meminfo.
51769
51770 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51771 gai.conf.
51772
51773 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51774 FD_CLOEXEC for given file.
51775
51776 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51777
51778 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51779 FD_CLOEXEC for /etc/hosts.
51780 (_gethtent): Likewise.
51781
51782 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51783
51784 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51785 cancellation and set FD_CLOEXEC for /etc/netgroup.
51786
51787 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51788 reading /etc/publickey.
51789
51790 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51791 allow cancellation when reading /etc/group.
51792
51793 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51794 cancellation.
51795 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51796
51797 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51798 when using data file.
51799
51800 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51801
51802 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51803 (write_nis_obj): Use "c" and "e" in fopen.
51804
51805 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51806
51807 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51808
51809 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51810
51811 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51812
51813 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51814 locale.alias.
51815
51816 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51817
51818 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51819
51820 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51821
51822 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51823 file parsing and set FD_CLOEXEC.
51824
82af0fa8
UD
518252011-11-14 Ulrich Drepper <drepper@gmail.com>
51826
51827 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51828
a5fb313c
AS
518292011-11-14 Andreas Schwab <schwab@redhat.com>
51830
51831 * malloc/arena.c (arena_get2): Don't call reused_arena when
51832 _int_new_arena failed.
51833
6abf3465
UD
518342011-11-14 Ulrich Drepper <drepper@gmail.com>
51835
51836 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51837 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51838 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51839 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51840 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51841 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51842 to compile strcasecmp and strncasecmp.
51843 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51844 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51845
51846 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51847
76e3966e
UD
518482011-11-13 Ulrich Drepper <drepper@gmail.com>
51849
51850 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51851 locale-defines.sym to gen-as-const-headers.
51852 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51853 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51854 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51855 to compile strcasecmp and strncasecmp.
51856 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51857 strcasecmp_l and strncasecmp_l.
51858 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51859 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51860 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51861 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51862 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51863 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51864 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51865 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51866 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51867 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51868 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51869
ab26144e
UD
518702011-11-12 Ulrich Drepper <drepper@gmail.com>
51871
7edb22ef
UD
51872 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51873 result of SYSDEP_GETTIME_CPU to retval.
51874 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51875 parameter list to macro. Remove trailing semicolon. Adjust users.
51876
9694fc44
UD
51877 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51878 variable.
51879
8ad89ef8
UD
51880 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51881 mantissa words.
51882 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51883
0c822ef9
UD
51884 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51885 from unused variable.
51886
874e0564
UD
51887 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51888 DWARF definitions.
51889 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51890 for assembling.
51891
3a2edc79
UD
51892 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51893 over namespaces.
51894
f3c2577f
UD
51895 * sunrpc/rpc_prot.c (rejected): Fix case value.
51896
294ce126
UD
51897 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51898 unsigned long long int to avoid warnings in shift.
51899
5e2b63c6
UD
51900 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51901 of use of trans.
51902 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51903 variable tmp.
51904
e7f4b08e
UD
51905 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51906 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51907 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51908
ab26144e
UD
51909 * nis/nis_table.c (nis_list): Use variable of correct type for
51910 result of __follow_path call.
51911
8a6d5255
AZ
519122011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51913
51914 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51915 of math functions ceil, trunc, floor, round, and sqrt, when
51916 avaliable on the platform.
51917 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51918 name clash.
51919 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51920 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51921 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51922
aaddc98c
MP
519232011-10-30 Marek Polacek <mpolacek@redhat.com>
51924
51925 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51926 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51927
95b7042b
RM
519282011-11-11 Roland McGrath <roland@hack.frob.com>
51929
51930 * include/unistd.h: Fix __readlink return type.
51931 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51932
57769839
UD
519332011-11-11 Ulrich Drepper <drepper@gmail.com>
51934
51935 * stdlib/ucontext.h: Undo last change for makecontext.
51936
edc5984d
AS
519372011-11-11 Andreas Schwab <schwab@redhat.com>
51938
98591e58
AS
51939 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51940
edc5984d
AS
51941 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51942 * setjmp/setjmp.h: Mark functions as non-leaf.
51943 * setjmp/bits/setjmp2.h: Likewise.
51944 * stdlib/ucontext.h: Likewise.
51945
77cdc054
AS
519462011-11-10 Andreas Schwab <schwab@redhat.com>
51947
51948 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51949 (reused_arena): Don't check arena limit.
51950 (arena_get2): Atomically check arena limit.
51951
fe72eebd
UD
519522011-11-08 Ulrich Drepper <drepper@gmail.com>
51953
5f078c32
UD
51954 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51955 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51956
fe72eebd
UD
51957 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51958 instructions.
51959
ae1bc2fa
AS
519602011-11-07 Andreas Schwab <schwab@redhat.com>
51961
7583a88d
AS
51962 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51963 handler when locking.
51964
ae1bc2fa
AS
51965 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51966 Fix size of allocated buffer.
51967
10fb0bfa
AS
519682011-11-04 Andreas Schwab <schwab@redhat.com>
51969
998832a4
AS
51970 [BZ #10103]
51971 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51972 declarations for long double functions.
51973 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51974
10fb0bfa
AS
51975 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51976
3d7ba52b
AS
519772011-11-03 Andreas Schwab <schwab@redhat.com>
51978
a9ae54a1
AS
51979 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51980 installed.
51981
3d7ba52b
AS
51982 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51983 is disabled.
51984
bc8db248
ST
519852011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51986
51987 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51988
45b96dd6
AS
519892011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51990
647776f6
AS
51991 * include/alloca.h (stackinfo_alloca_round): Define.
51992 (extend_alloca): Use it.
51993 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51994 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51995 here.
51996
d91a8b93
AS
51997 * scripts/check-local-headers.sh: Ignore libaudit.h.
51998
45b96dd6
AS
51999 * nscd/Makefile (extra-objs): Make recursively expanded.
52000
432d41ce
UD
520012011-11-01 Ulrich Drepper <drepper@gmail.com>
52002
34372fc6
UD
52003 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52005
fadb59f8
UD
52006 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52007 * posix/tst-rfc3484-2.c: Likewise.
52008 * posix/tst-rfc3484-3.c: Likewise.
52009
78239589
UD
52010 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52011 process_vm_writev.
52012 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52013 process_vm_writev.
52014 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52015 process_vm_writev from libc using GLIBC_2.15 version.
52016
432d41ce
UD
52017 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52018
02f9c6cf
PP
520192011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52020
52021 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52022 stack usage.
52023
3a2c0242
UD
520242011-10-31 Ulrich Drepper <drepper@gmail.com>
52025
f4ec4833
UD
52026 [BZ #13367]
52027 * nss/getent.c (initgroups_keys): Show error message in case no group
52028 names are given.
52029
3a2c0242
UD
52030 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52031 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52032 __bump_nl_timestamp.
52033 * nscd/connections (nscd_init): When host database is served open
52034 netlink socket and request notification about configuration changes.
52035 (main_loop_poll): Track netlink file descriptor and bump timestamp
52036 in case data becomes available.
52037 (main_loop_epoll): Likewise.
52038 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52039 (database_pers_head): Add extra_data fileds.
52040 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52041 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52042 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52043 Adjust caller.
52044 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52045 in6ai data, call __free_in6ai.
52046 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52047 Add -DHAVE_NETLINK.
52048 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52049 interface information. Reuse previous data if netlink timestamp
52050 is not changed.
52051 (__bump_nl_timestamp): New function.
52052 (__free_in6ai): New function.
52053
636064eb
UD
520542011-10-30 Ulrich Drepper <drepper@gmail.com>
52055
52056 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52057 close_not_cancel_no_status here.
52058 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52059
9beb2334
UD
520602011-10-29 Ulrich Drepper <drepper@gmail.com>
52061
6ef76f3b
UD
52062 [BZ #13276]
52063 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52064 return value.
52065
0ffc4f3e 52066 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
52067 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52068 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52069
cb95113e
UD
520702011-07-03 Andreas Jaeger <aj@suse.de>
52071
52072 [BZ #10709]
52073 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52074 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52075 * math/libm-test.inc (sin_test): Add test case.
52076
a1b560ff
UD
520772011-10-29 Ulrich Drepper <drepper@gmail.com>
52078
c9aaface
UD
52079 [BZ #13337]
52080 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52081 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52082
d272e7f1
UD
52083 * elf/chroot_canon.c (chroot_canon): Cleanups.
52084
1bc33071
UD
52085 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52086
1760874d
TJ
52087 [BZ #13335]
52088 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52089 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52090
51d91b18
UD
52091 * string/test-strchr.c: Make usable for strchrnul testing.
52092 * string/test-strchrnul.c: New file.
52093 * string/Makefile (strop-tests): Add strchrnul.
52094
a1b560ff 52095 * po/it.po: Update from translation team.
b611fb81 52096 * po/es.po: Likewise.
a1b560ff 52097
a5b81e1f
UD
520982011-10-28 Ulrich Drepper <drepper@gmail.com>
52099
fd52bc6d
UD
52100 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52101 the three constants needed as parameters. Drop the others.
52102 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52103 __m128i_strloadu_tolower.
52e4b9eb
UD
52104 Create and initialize variable zero and use it in all the places
52105 where _mm_setzero_si128 was used.
fd52bc6d 52106
a5b81e1f
UD
52107 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52108 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52109 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52110 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52111 anymore.
52112 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52113 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52114 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52115 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52116 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52117 __mpranred, __mptan.
52118 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52119 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52120 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52121 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52122 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52123 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52124 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52125 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52126 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52127
b4343346
AS
521282011-10-28 Andreas Schwab <schwab@redhat.com>
52129
0c92d8a8
AS
52130 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52131 redefine if SHARED.
52132 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52133
b4343346
AS
52134 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52135 wide char related routines to wcsmbs subdir.
52136
3871f58f
AS
521372011-10-27 Andreas Schwab <schwab@redhat.com>
52138
52139 [BZ #13344]
52140 * misc/sys/cdefs.h (__THROWNL): Define.
52141 * posix/unistd.h: Use __THREADNL instead of __THREAD
52142 for memory synchronization functions.
52143
94d44d9f
RM
521442011-10-26 Roland McGrath <roland@hack.frob.com>
52145
21b64b15 52146 [BZ #13349]
94d44d9f
RM
52147 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52148 doesn't exist.
52149 * manual/stdio.texi (Obstack Streams): Node removed.
52150
f6ce9294
AS
521512011-10-26 Andreas Schwab <schwab@redhat.com>
52152
80479147
AS
52153 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52154 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52155 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52156
f6ce9294
AS
52157 * math/math_private.h (math_force_eval): Allow non-addressable
52158 arguments.
52159 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52160
618280a1
UD
521612011-10-25 Ulrich Drepper <drepper@gmail.com>
52162
e0016b11
UD
52163 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52164 file is not needed.
52165
52166 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52167 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52168 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52169 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52170 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52171 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52172 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52173 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52174 Add AVX variants.
52175 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52176 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52177 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52178 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52179 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52180 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52181 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52182 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52183 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52184 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52185 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52186 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52187 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52188 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52189 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52190 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52191 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52192 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52193 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52194
52195 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52196 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52197
618280a1
UD
52198 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52199 place. Use VEX encoding when compiling for AVX.
52200
37822576
AS
522012011-10-25 Andreas Schwab <schwab@redhat.com>
52202
1f1e1947
AS
52203 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52204 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52205
37822576
AS
52206 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52207
31ea014d
UD
522082011-10-25 Ulrich Drepper <drepper@gmail.com>
52209
d7826aa1 52210 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 52211 useless if() expression.
d7826aa1
UD
52212 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52213 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52214 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52215 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52216 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52217 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52218 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52219 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52220 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52221 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52222 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52223 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52224 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52225 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52226 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52227 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52228 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52229 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52230 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52231
31ea014d
UD
52232 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52233
16437fec
AS
522342011-10-25 Andreas Schwab <schwab@redhat.com>
52235
52236 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52237 condition.
52238 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52239
31d3cc00
UD
522402011-10-25 Ulrich Drepper <drepper@gmail.com>
52241
52242 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52243 .text section. Avoid duplicate constants.
52244 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52245 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52246 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52247 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52248 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52249 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52250 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52251 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52252 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52253 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52254 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52255 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52256 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52257 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52258 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52259 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52260 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52261 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52262 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52263 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52264 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52265 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52266 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52267 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52268 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52269 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52270 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52271 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52272 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52273 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52274 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52275 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52276 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52277 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52278 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52279 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52280 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52281 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52282 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52283 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52284 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52285 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52286 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52287 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52288 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52289
58985aa9
UD
522902011-10-24 Ulrich Drepper <drepper@gmail.com>
52291
202c9deb
UD
52292 * sysdeps/x86_64/dla.h: Move to ...
52293 * sysdeps/x86_64/fpu/dla.h: ...here.
52294 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52295 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52296
af968f62
UD
52297 * config.make.in: Add have-mfma4 entry.
52298 * configure.in: Substitute libc_cv_cc_fma4.
52299 * math/Makefile (dbl-only-routines): Add sincostab.
52300 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52301 Use __sincostab not sincos.
52302 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52303 name is a macro.
52304 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52305 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52306 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52308 using __copysign.
52309 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52310 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52311 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52312 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52313 and __inv.
52314 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52315 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52316 __copysign.
52317 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52318 define aliases when function name is a macro.
52319 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52320 sysdeps/ieee754/dbl-64/sincos.tbl.
52321 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52322 fma4-enabled routines.
52323 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52324 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52325 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52326 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52327 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52328 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52329 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52330 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52331 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52332 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52333 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52334 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52335 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52336 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52337 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52338 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52339 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52340 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52341 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52342 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52343 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52344 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52345 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52346 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52347 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52348 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52349 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52350 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52351 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52352 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52353
58985aa9
UD
52354 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52355 rename.
52356 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52357 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52358 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52359 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52360 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52362 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52363 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52364
a201fbcf
AS
523652011-10-24 Andreas Schwab <schwab@redhat.com>
52366
52367 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52368
fc2ee42a
LD
523692011-10-23 Ulrich Drepper <drepper@gmail.com>
52370
bb3129bd
UD
52371 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52372
0275fff8
UD
52373 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52374 prediction.
52375 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52376
2fa2ae85
UD
52377 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52378 Remove unused variable magic_bits.
52379 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52380
fc2ee42a
LD
52381 * string/strnlen.c: Define and use STRNLEN macro.
52382 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52383 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52384 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52385 * wcsmbs/wcslen.c: Define and use WCSLEN.
52386 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52387 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52388 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52389 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52390 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52391 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52392 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52393
ce7dd29f
LD
523942011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52395
52396 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52397 strnlen-sse2-no-bsf.
52398 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52399 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52400 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52401 Add strnlen support.
52402 (USE_AS_STRNLEN): New macro.
52403 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52404 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52405 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52406 * sysdeps/x86_64/wcslen.S: New file.
52407
979c70a3
MZ
524082011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52409
52410 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52411 XMM-moves are used for copying on small sizes.
52412
2d09f82f
LD
524132011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52414
52415 * wcsmbs/Makefile (strop-tests): Add wcschr.
52416 * wcsmbs/test-wcschr.c: New file.
52417 * string/test-strchr.c: Update.
52418 Add wcschr support.
52419 (WIDE): New macro.
52420
619fccca
LD
524212011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52422
2d09f82f 52423 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52424 * wcsmbs/test-wcslen.c: New file.
52425 * string/test-strlen.c: Update.
52426 Add wcslen support.
52427 (WIDE): New macro.
52428
09f699ea
UD
524292011-10-23 Ulrich Drepper <drepper@gmail.com>
52430
52431 * po/it.po: Update from translation team.
52432
95584d3b
LD
524332011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52434
52435 * sysdeps/x86_64/wcscmp.S: Update.
52436 Fix wrong comparison semantics.
52437 wcscmp shall use signed comparison not unsigned.
52438 Don't use substraction to avoid overflow bug.
52439 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52440 * wcsmbc/wcscmp.c: Likewise.
52441 * string/test-strcmp.c: Likewise.
52442 Add new tests to check cases with negative values.
52443
c8b3296b
UD
524442011-10-23 Ulrich Drepper <drepper@gmail.com>
52445
52446 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52447 * sysdeps/x86_64/dla.h: ...here. New file.
52448 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52449 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52451 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52452 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52453 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52454 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52455 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52456 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52457
246ad57a
AS
524582011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52459
52460 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52461 __ynl_finite aliases.
52462
a1a87169
UD
524632011-10-22 Ulrich Drepper <drepper@gmail.com>
52464
0d355eb7
UD
52465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52466
a1a87169
UD
52467 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52468 define DLA_FMA.
52469 [DLA_FMA] (EMULV): Use DLA_FMA.
52470 [DLA_FMA] (MUL12): Use EMULV.
52471 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52472 that are not needed.
52473 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52476 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52477 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52478 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52479 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52480
ee2aafe0
AS
524812011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52482
52483 * math/s_nan.c: Undef __nan.
52484 * math/s_nanf.c: Undef __nanf.
52485 * math/s_nanl.c: Undef __nanl.
52486 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52487 "math_private.h".
52488
bc62c2fb
UD
524892011-10-22 Ulrich Drepper <drepper@gmail.com>
52490
77425c63
UD
52491 * math/s_catan.c: Add branch predictions.
52492 * math/s_catanf.c: Likewise.
52493 * math/s_catanh.c: Likewise.
52494 * math/s_catanhf.c: Likewise.
52495 * math/s_catanhl.c: Likewise.
52496 * math/s_catanl.c: Likewise.
52497 * math/s_cexp.c: Likewise.
52498 * math/s_cexpf.c: Likewise.
52499 * math/s_cexpl.c: Likewise.
52500 * math/s_clog.c: Likewise.
52501 * math/s_clog10.c: Likewise.
52502 * math/s_clog10f.c: Likewise.
52503 * math/s_clog10l.c: Likewise.
52504 * math/s_clogf.c: Likewise.
52505 * math/s_clogl.c: Likewise.
52506 * math/s_csqrt.c: Likewise.
52507 * math/s_csqrtf.c: Likewise.
52508 * math/s_csqrtl.c: Likewise.
52509 * math/s_ctanf.c: Likewise.
52510 * math/s_ctanh.c: Likewise.
52511 * math/s_ctanhf.c: Likewise.
52512 * math/s_ctanhl.c: Likewise.
52513 * math/s_ctanl.c: Likewise.
52514
bc62c2fb
UD
52515 * math/math_private.h: Define __nan, __nanf, __nanl.
52516 * math/s_cacosh.c: Include <math_private.h>.
52517 * math/s_cacoshl.c: Likewise.
52518 * math/s_casinh.c: Likewise.
52519 * math/s_casinhf.c: Likewise.
52520 * math/s_casinhl.c: Likewise.
52521 * math/s_ccos.c: Rely entire on ccosh.
52522 * math/s_ccosf.c: Rely entire on ccoshf.
52523 * math/s_ccosl.c: Rely entirely on ccoshl.
52524 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52525 Remove tests for FE_INVALID.
52526 * math/s_ccoshf.c: Likewise.
52527 * math/s_ccoshl.c: Likewise.
52528 * math/s_csin.c: Likewise.
52529 * math/s_csinf.c: Likewise.
52530 * math/s_csinh.c Likewise.
52531 * math/s_csinhf.c: Likewise.
52532 * math/s_csinhl.c: Likewise.
52533 * math/s_csinl.c: Likewise.
52534 * math/s_ctan.c: Likewise.
52535 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52536 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52537 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52538
8ec250a4
UD
525392011-10-21 Ulrich Drepper <drepper@gmail.com>
52540
c196fed8
UD
52541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52542 compilation problems.
52543
8ec250a4
UD
52544 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52545 __builtin_expect.
52546
8d4f46c6
UD
525472011-10-20 Ulrich Drepper <drepper@gmail.com>
52548
ed72b654
UD
52549 * sysdeps/i386/configure.in: Test for -mfma4 option.
52550 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52551 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52552 COMMON_CPUID_INDEX_80000001.
52553 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52554 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52555 use it if FMA3 is not supported.
52556 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52557
8d4f46c6
UD
52558 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52559 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52560
d45c60c2
AS
525612011-10-20 Andreas Schwab <schwab@redhat.com>
52562
52563 [BZ #12892]
52564 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52565 it would create a cycle with a link time dependency.
52566
d9a4d2ab
UD
525672011-10-19 Ulrich Drepper <drepper@gmail.com>
52568
855d1560
UD
52569 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52570 instruction.
52571 * string/Makefile (strop-tests): Add rawmemchr.
52572 * string/test-rawmemchr.c: New file.
52573
d9a4d2ab
UD
52574 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52575 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52576 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52577 when compiling str{,n}casecmp and when AVX is available. Hook up
52578 new optimized code in initializers.
52579
8f3b1ffe
AS
525802011-10-19 Andreas Schwab <schwab@redhat.com>
52581
52582 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52583 __feraiseexcept instead of feraiseexcept.
52584
d38f1dba
UD
525852011-10-18 Ulrich Drepper <drepper@gmail.com>
52586
d9a8d0ab
UD
52587 * math/math_private.h: Define defaults for libc_fetestexcept and
52588 libc_feupdateenv.
52589 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52590 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52591 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52592 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52593 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52594 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52595 libc_fetestexcept and libc_feupdateenv.
52596
4855e3dd
UD
52597 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52598 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52599 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52600 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52601 libc_feholdexcept_setround.
52602
581d30e3
UD
52603 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52604 Add s_nearbyint-c and s_nearbyintf-c.
52605 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52606 nearbyintf inlines.
52607 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52608 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52609 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52610 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52611
d38f1dba
UD
52612 * math/math_private.h: Define defaults for libc_fegetround,
52613 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52614 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52615 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52616 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52617 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52618 standard functions.
52619 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52620 Remove comments and hacks for old compiler versions.
52621 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52622 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52623 libc_feholdexceptl.
52624
caa6c9d8
AS
526252011-10-18 Andreas Schwab <schwab@redhat.com>
52626
52627 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
52628 (__feraiseexcept_renamed): Add __NTH.
52629 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
52630 namespace violations.
52631
97c066e6
UD
526322011-10-17 Ulrich Drepper <drepper@gmail.com>
52633
99ce7b04
UD
52634 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52635
1004d182
UD
52636 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52637
228a984d
UD
52638 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52639 recently added interfaces.
52640 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52641
c8553a6a
UD
52642 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52643 about macro parameter expansion.
52644
ed22dcf6
UD
52645 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52646 __NO_MATH_INLINES is defined. Cleanups.
52647
52648 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52649 and __floorf is target has SSE4.1.
52650 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52651 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52652 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52653 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52654
b171c137
UD
52655 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52656 name.
52657 (floorf): Likewise.
52658
97c066e6
UD
52659 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52660
629f62ef
AS
526612011-10-17 Andreas Schwab <schwab@redhat.com>
52662
49a43d80
AS
52663 * misc/sys/cdefs.h: Fix last change.
52664
629f62ef
AS
52665 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52666 database lookup.
52667
e453f6cd
UD
526682011-10-16 Ulrich Drepper <drepper@gmail.com>
52669
aa78043a
UD
52670 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52671
ad0f5cad
UD
52672 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52673 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52674 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52675 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52676 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52677 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52678 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52679 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52680 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52681 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52682 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52683 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52684 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52685 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52686 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52687 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52688 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52689 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52690 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52691 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52692 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52693 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52694
52695 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52696 ceil, ceilf, floor, floorf.
52697
52698 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52699 Perform IRELATIVE relocations last.
52700
e453f6cd
UD
52701 * elf/do-rel.h: Add another parameter nrelative, replacing the
52702 local variable with the same name. Change name of the function
52703 to end in Rel or Rela (uppercase).
52704 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52705 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52706 elf_dynamic_do_##reloc function.
52707
fd5bdc09
UD
527082011-10-15 Ulrich Drepper <drepper@gmail.com>
52709
79b195b5
UD
52710 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52711 is sufficient, at least on modern CPUs.
52712
d4a28569
UD
52713 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52714
b61099b5
UD
52715 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52716 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52717
bcf01e6d
UD
52718 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52719 __expl_finite.
52720 * math/bits/math-finite.h: Add entries for exp.
52721 * math/e_expl.c: Add __*_finite alias.
52722 * sysdeps/i386/fpu/e_exp.S: Likewise.
52723 * sysdeps/i386/fpu/e_expf.S: Likewise.
52724 * sysdeps/i386/fpu/e_expl.c: Likewise.
52725 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52726 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52727 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52728 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52729 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52730 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52731 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52732
ba1a0d59
UD
52733 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52734 is sufficient, at least on modern CPUs.
52735
fd5bdc09
UD
52736 * ctype/ctype-info.c (__ctype_init): Define.
52737 * include/ctype.h (__ctype_init): Declare.
52738 (__ctype_b_loc): The variable is always initialized.
52739 (__ctype_toupper_loc): Likewise.
52740 (__ctype_tolower_loc): Likewise.
52741 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52742 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52743
7872cfb0
AS
527442011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52745
b468825a
AS
52746 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52747
7872cfb0
AS
52748 * configure.in: Also look in $cxxmachine/include for C++ system
52749 headers.
52750
be13f7bf
LD
527512011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52752
52753 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52754 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52755 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52756 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52757 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52758 (USE_AS_WMEMCMP): New macro.
52759 Fixing indents.
52760 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52761 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52762 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52763 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52764 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52765 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52766 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52767 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52768 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52769 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52770 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52771 (USE_AS_WMEMCMP): New macro.
52772 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52773 * sysdeps/string/test-memcmp.c: Update.
52774 Fix simple_wmemcmp.
52775 Add new tests.
52776 * wcsmbs/wmemcmp.c: Update.
52777 (WMEMCMP): New macro.
52778 Fix overflow bug.
52779
556a2007
AJ
527802011-10-12 Andreas Jaeger <aj@suse.de>
52781
52782 [BZ #13268]
52783 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52784
538faaa7
UD
527852011-10-15 Ulrich Drepper <drepper@gmail.com>
52786
ab6737ff
UD
52787 * libio/iofwide.c (do_length): Avoid warning.
52788
538faaa7
UD
52789 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52790
396a21b1
UD
527912011-10-14 Ulrich Drepper <drepper@gmail.com>
52792
cdf2901f
UD
52793 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52794
38ad40ce
UD
52795 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52796 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52797 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52798 * sysdeps/i386/i686/fpu/e_log.S: New file.
52799 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52800 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52801
396a21b1
UD
52802 * ctype/ctype.h: Add support for inlined isXXX functions when
52803 compiling C++ code.
52804
6b1f68c9
AS
528052011-10-14 Andreas Schwab <schwab@redhat.com>
52806
349290c0
AS
52807 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52808
6b1f68c9
AS
52809 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52810
f2282d42
RM
528112011-10-13 Roland McGrath <roland@hack.frob.com>
52812
52813 [BZ #13291]
52814 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52815
5298ffa8
AS
528162011-10-13 Andreas Schwab <schwab@redhat.com>
52817
714fad23
AS
52818 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52819 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52820 feraiseexcept.
52821
81dcc7fb
AS
52822 * sysdeps/x86_64/memrchr.S: Check for zero size.
52823
5298ffa8
AS
52824 * string/stratcliff.c: Add memrchr tests.
52825
951fbcec
LD
528262011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52827
52828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52829 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52830 rawmemchr-sse2 rawmemchr-sse2-bsf.
52831 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52832 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52833 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52834 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52835 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52836 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52837 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52838 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52839 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52840 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52841 * string/memrchr.c (MEMRCHR): New macro.
52842
0ac5ae23
UD
528432011-10-12 Ulrich Drepper <drepper@gmail.com>
52844
52845 Add integration with gcc's -ffinite-math-only and optimize wrapper
52846 functions in libm.
52847 * Versions.def: Define GLIBC_2.15 version for libm.
52848 * math/Makefile (headers): Add bits/math-finite.h.
52849 * math/bits/math-finite.h: New file.
52850 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52851 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52852 * math/e_acoshl.c: Add __*_finite alias.
52853 * math/e_acosl.c: Likewise.
52854 * math/e_asinl.c: Likewise.
52855 * math/e_atan2l.c: Likewise.
52856 * math/e_atanhl.c: Likewise.
52857 * math/e_coshl.c: Likewise.
52858 * math/e_exp10.c: Likewise.
52859 * math/e_exp10f.c: Likewise.
52860 * math/e_exp10l.c: Likewise.
52861 * math/e_exp2l.c: Likewise.
52862 * math/e_fmodl.c: Likewise.
52863 * math/e_gammal_r.c: Likewise.
52864 * math/e_hypotl.c: Likewise.
52865 * math/e_j0l.c: Likewise.
52866 * math/e_j1l.c: Likewise.
52867 * math/e_jnl.c: Likewise.
52868 * math/e_lgammal_r.c: Likewise.
52869 * math/e_log10l.c: Likewise.
52870 * math/e_log2l.c: Likewise.
52871 * math/e_logl.c: Likewise.
52872 * math/e_powl.c: Likewise.
52873 * math/e_sinhl.c: Likewise.
52874 * math/e_sqrtl.c: Likewise.
52875 * math/e_scalb.c: Completely rewritten and optimized.
52876 * math/e_scalbf.c: Likewise.
52877 * math/e_scalbl.c: Likewise.
52878 * math/w_acos.c: Likewise.
52879 * math/w_acosf.c: Likewise.
52880 * math/w_acosl.c: Likewise.
52881 * math/w_acosh.c: Likewise.
52882 * math/w_acoshf.c: Likewise.
52883 * math/w_acoshl.c: Likewise.
52884 * math/w_asin.c: Likewise.
52885 * math/w_asinf.c: Likewise.
52886 * math/w_asinl.c: Likewise.
52887 * math/w_atan2.c: Likewise.
52888 * math/w_atan2f.c: Likewise.
52889 * math/w_atan2l.c: Likewise.
52890 * math/w_atanh.c: Likewise.
52891 * math/w_atanhf.c: Likewise.
52892 * math/w_atanhl.c: Likewise.
52893 * math/w_exp10.c: Likewise.
52894 * math/w_exp10f.c: Likewise.
52895 * math/w_exp10l.c: Likewise.
52896 * math/w_fmod.c: Likewise.
52897 * math/w_fmodf.c: Likewise.
52898 * math/w_fmodl.c: Likewise.
52899 * math/w_j0.c: Likewise.
52900 * math/w_j0f.c: Likewise.
52901 * math/w_j0l.c: Likewise.
52902 * math/w_j1.c: Likewise.
52903 * math/w_j1f.c: Likewise.
52904 * math/w_j1l.c: Likewise.
52905 * math/w_jn.c: Likewise.
52906 * math/w_jnf.c: Likewise.
52907 * math/w_log.c: Likewise.
52908 * math/w_logf.c: Likewise.
52909 * math/w_logl.c: Likewise.
52910 * math/w_log10.c: Likewise.
52911 * math/w_log10f.c: Likewise.
52912 * math/w_log10l.c: Likewise.
52913 * math/w_log2.c: Likewise.
52914 * math/w_log2f.c: Likewise.
52915 * math/w_log2l.c: Likewise.
52916 * math/w_pow.c: Likewise.
52917 * math/w_powf.c: Likewise.
52918 * math/w_powl.c: Likewise.
52919 * math/w_remainder.c: Likewise.
52920 * math/w_remainderf.c: Likewise.
52921 * math/w_remainderl.c: Likewise.
52922 * math/w_scalb.c: Likewise.
52923 * math/w_scalbf.c: Likewise.
52924 * math/w_scalbl.c: Likewise.
52925 * math/w_sqrt.c: Likewise.
52926 * math/w_sqrtf.c: Likewise.
52927 * math/w_sqrtl.c: Likewise.
52928 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52929 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52930 used.
52931 * math/math_private.h: Declare __kernel_standard_f.
52932 * math/w_cosh.c: Remove cruft and optimize a bit.
52933 * math/w_coshf.c: Likewise.
52934 * math/w_coshl.c: Likewise.
52935 * math/w_exp2.c: Likewise.
52936 * math/w_exp2f.c: Likewise.
52937 * math/w_exp2l.c: Likewise.
52938 * math/w_hypot.c: Likewise.
52939 * math/w_hypotf.c: Likewise.
52940 * math/w_hypotl.c: Likewise.
52941 * math/w_lgamma.c: Likewise.
52942 * math/w_lgamma_r.c: Likewise.
52943 * math/w_lgammaf.c: Likewise.
52944 * math/w_lgammaf_r.c: Likewise.
52945 * math/w_lgammal.c: Likewise.
52946 * math/w_lgammal_r.c: Likewise.
52947 * math/w_sinh.c: Likewise.
52948 * math/w_sinhf.c: Likewise.
52949 * math/w_sinhl.c: Likewise.
52950 * math/w_tgamma.c: Likewise.
52951 * math/w_tgammaf.c: Likewise.
52952 * math/w_tgammal.c: Likewise.
52953 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52954 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52955 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52956 Minor optimizations. Pretty printing. Remove cruft.
52957 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52958 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52959 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52960 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52961 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52962 * sysdeps/i386/fpu/e_asin.S: Likewise.
52963 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52964 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52965 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52966 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52967 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52968 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52969 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52970 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52971 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52972 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52973 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52974 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52975 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52976 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52977 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52978 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52979 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52980 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52981 * sysdeps/i386/fpu/e_log.S: Likewise.
52982 * sysdeps/i386/fpu/e_log10.S: Likewise.
52983 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52984 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52985 * sysdeps/i386/fpu/e_log2.S: Likewise.
52986 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52987 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52988 * sysdeps/i386/fpu/e_logf.S: Likewise.
52989 * sysdeps/i386/fpu/e_logl.S: Likewise.
52990 * sysdeps/i386/fpu/e_pow.S: Likewise.
52991 * sysdeps/i386/fpu/e_powf.S: Likewise.
52992 * sysdeps/i386/fpu/e_powl.S: Likewise.
52993 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52994 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52995 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52996 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52997 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52998 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52999 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53000 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53001 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53002 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53003 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53004 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53005 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53006 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53007 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53008 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53009 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53010 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53011 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53012 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53013 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53014 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53015 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53016 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53018 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53019 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53020 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53021 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53022 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53023 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53024 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53025 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53026 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53027 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53028 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53029 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53030 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53031 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53032 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53033 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53034 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53035 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53036 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53037 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53038 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53039 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53040 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53041 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53042 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53043 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53044 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53045 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53046 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53047 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53048 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53049 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53050 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53051 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53052 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53053 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53054 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53055 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53056 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53057 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53058 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53059 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53060 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53061 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53062 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53063 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53064 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53065 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53066 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53067 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53068 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53069 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53070 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53071 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53072 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53073 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53074 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53075 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53076 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53077 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53078 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53079 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53080 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53081 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53082 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53083 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53084 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53085 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53086 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53087 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53088 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53089 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53090 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53091 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53092 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53093 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53094 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53095 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53096 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53097 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53098 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53099 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53100 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53101 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53102 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53103 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53104 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53105 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53106 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53107 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53108 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53109 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53110 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53111 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53112 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53113 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53114 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53115 (__isnanf): Likewise.
53116 (__isinf_ns): Likewise.
53117 (__isinf_nsf): Likewise.
53118 (__finite): Likewise.
53119 (__finitef): Likewise.
53120 (__ieee754_sqrt): Define as macro.
53121 (__ieee754_sqrtf): Define as macro.
53122 (__ieee754_sqrtl): Define as macro.
53123 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53124 inlined copy.
53125 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53126 __FINITE_MATH_ONLY__ consistent.
53127 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53128
12cc2fcd
AS
531292011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53130
a843a204
AS
53131 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53132 of rawmemchr.
53133
12cc2fcd
AS
53134 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53135
c853acd5
UD
531362011-10-09 Ulrich Drepper <drepper@gmail.com>
53137
53138 * po/ja.po: Update from translation team.
53139
c658d255
RM
531402011-10-08 Roland McGrath <roland@hack.frob.com>
53141
110946e4
RM
53142 * locale/programs/locarchive.c (prepare_address_space): New function.
53143 (create_archive, enlarge_archive, open_archive): Use it.
53144
50604220
RM
53145 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53146 inside [SHARED], where it is used.
53147
c658d255
RM
53148 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53149
53150 * nss/getent.c (netgroup_keys): Remove unused variable.
53151 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53152
6a621eb7
UD
531532011-10-08 Ulrich Drepper <drepper@gmail.com>
53154
7edb55ce
UD
53155 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53156 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53157 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53158 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53159 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53160 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53161 * math/Makefile (libm-calls): Add s_isinf_ns.
53162 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53163 * math/multc3.c: Likewise.
53164 * math/s_casin.c: Likewise.
53165 * math/s_casinf.c: Likewise.
53166 * math/s_casinl.c: Likewise.
53167 * math/s_ccos.c: Likewise.
53168 * math/s_ccosf.c: Likewise.
53169 * math/s_ccosl.c: Likewise.
53170 * math/s_ctan.c: Likewise.
53171 * math/s_ctanf.c: Likewise.
53172 * math/s_ctanh.c: Likewise.
53173 * math/s_ctanhf.c: Likewise.
53174 * math/s_ctanhl.c: Likewise.
53175 * math/s_ctanl.c: Likewise.
53176 * math/w_fmod.c: Likewise.
53177 * math/w_fmodf.c: Likewise.
53178 * math/w_fmodl.c: Likewise.
53179 * math/w_remainder.c: Likewise.
53180 * math/w_remainderf.c: Likewise.
53181 * math/w_remainderl.c: Likewise.
53182 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53183 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53184 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53185 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53186 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53187 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53188 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53189 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53190
187da0ae
UD
53191 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53192 of the number.
53193 * stdio-common/printf_fphex.c: Likewise.
53194 * stdio-common/printf_size.c: Likewise.
53195
9277c064
UD
53196 * math/e_exp10.c: Include math_private.h using <...> not "...".
53197 * math/e_exp10f.c: Likewise.
53198 * math/e_exp10l.c: Likewise.
53199 * math/e_exp2l.c: Likewise.
53200 * math/e_j0l.c: Likewise.
53201 * math/e_j1l.c: Likewise.
53202 * math/e_jnl.c: Likewise.
53203 * math/e_lgammal_r.c: Likewise.
53204 * math/e_rem_pio2l.c: Likewise.
53205 * math/e_scalb.c: Likewise.
53206 * math/e_scalbf.c: Likewise.
53207 * math/e_scalbl.c: Likewise.
53208 * math/k_cosl.c: Likewise.
53209 * math/k_sinl.c: Likewise.
53210 * math/k_tanl.c: Likewise.
53211 * math/s_cacoshf.c: Likewise.
53212 * math/s_catan.c: Likewise.
53213 * math/s_catanf.c: Likewise.
53214 * math/s_catanh.c: Likewise.
53215 * math/s_catanhf.c: Likewise.
53216 * math/s_catanhl.c: Likewise.
53217 * math/s_catanl.c: Likewise.
53218 * math/s_ccosh.c: Likewise.
53219 * math/s_ccoshf.c: Likewise.
53220 * math/s_ccoshl.c: Likewise.
53221 * math/s_cexp.c: Likewise.
53222 * math/s_cexpf.c: Likewise.
53223 * math/s_cexpl.c: Likewise.
53224 * math/s_clog.c: Likewise.
53225 * math/s_clog10.c: Likewise.
53226 * math/s_clog10f.c: Likewise.
53227 * math/s_clog10l.c: Likewise.
53228 * math/s_clogf.c: Likewise.
53229 * math/s_clogl.c: Likewise.
53230 * math/s_csin.c: Likewise.
53231 * math/s_csinf.c: Likewise.
53232 * math/s_csinh.c: Likewise.
53233 * math/s_csinhf.c: Likewise.
53234 * math/s_csinhl.c: Likewise.
53235 * math/s_csinl.c: Likewise.
53236 * math/s_csqrt.c: Likewise.
53237 * math/s_csqrtf.c: Likewise.
53238 * math/s_csqrtl.c: Likewise.
53239 * math/s_ctan.c: Likewise.
53240 * math/s_ctanf.c: Likewise.
53241 * math/s_ctanh.c: Likewise.
53242 * math/s_ctanhf.c: Likewise.
53243 * math/s_ctanhl.c: Likewise.
53244 * math/s_ctanl.c: Likewise.
53245 * math/s_ldexp.c: Likewise.
53246 * math/s_ldexpf.c: Likewise.
53247 * math/s_ldexpl.c: Likewise.
53248 * math/s_significand.c: Likewise.
53249 * math/s_significandf.c: Likewise.
53250 * math/s_significandl.c: Likewise.
53251 * math/w_acos.c: Likewise.
53252 * math/w_acosf.c: Likewise.
53253 * math/w_acosh.c: Likewise.
53254 * math/w_acoshf.c: Likewise.
53255 * math/w_acoshl.c: Likewise.
53256 * math/w_acosl.c: Likewise.
53257 * math/w_asin.c: Likewise.
53258 * math/w_asinf.c: Likewise.
53259 * math/w_asinl.c: Likewise.
53260 * math/w_atan2.c: Likewise.
53261 * math/w_atan2f.c: Likewise.
53262 * math/w_atan2l.c: Likewise.
53263 * math/w_atanh.c: Likewise.
53264 * math/w_atanhf.c: Likewise.
53265 * math/w_atanhl.c: Likewise.
53266 * math/w_cosh.c: Likewise.
53267 * math/w_coshf.c: Likewise.
53268 * math/w_coshl.c: Likewise.
53269 * math/w_dremf.c: Likewise.
53270 * math/w_exp10.c: Likewise.
53271 * math/w_exp10f.c: Likewise.
53272 * math/w_exp10l.c: Likewise.
53273 * math/w_exp2.c: Likewise.
53274 * math/w_exp2f.c: Likewise.
53275 * math/w_fmod.c: Likewise.
53276 * math/w_fmodf.c: Likewise.
53277 * math/w_fmodl.c: Likewise.
53278 * math/w_hypot.c: Likewise.
53279 * math/w_hypotf.c: Likewise.
53280 * math/w_hypotl.c: Likewise.
53281 * math/w_j0.c: Likewise.
53282 * math/w_j0f.c: Likewise.
53283 * math/w_j0l.c: Likewise.
53284 * math/w_j1.c: Likewise.
53285 * math/w_j1f.c: Likewise.
53286 * math/w_j1l.c: Likewise.
53287 * math/w_jn.c: Likewise.
53288 * math/w_jnf.c: Likewise.
53289 * math/w_jnl.c: Likewise.
53290 * math/w_lgamma.c: Likewise.
53291 * math/w_lgamma_r.c: Likewise.
53292 * math/w_lgammaf.c: Likewise.
53293 * math/w_lgammaf_r.c: Likewise.
53294 * math/w_lgammal.c: Likewise.
53295 * math/w_lgammal_r.c: Likewise.
53296 * math/w_log.c: Likewise.
53297 * math/w_log10.c: Likewise.
53298 * math/w_log10f.c: Likewise.
53299 * math/w_log10l.c: Likewise.
53300 * math/w_log2.c: Likewise.
53301 * math/w_log2f.c: Likewise.
53302 * math/w_log2l.c: Likewise.
53303 * math/w_logf.c: Likewise.
53304 * math/w_logl.c: Likewise.
53305 * math/w_pow.c: Likewise.
53306 * math/w_powf.c: Likewise.
53307 * math/w_powl.c: Likewise.
53308 * math/w_remainder.c: Likewise.
53309 * math/w_remainderf.c: Likewise.
53310 * math/w_remainderl.c: Likewise.
53311 * math/w_scalb.c: Likewise.
53312 * math/w_scalbf.c: Likewise.
53313 * math/w_scalbl.c: Likewise.
53314 * math/w_sinh.c: Likewise.
53315 * math/w_sinhf.c: Likewise.
53316 * math/w_sinhl.c: Likewise.
53317 * math/w_sqrt.c: Likewise.
53318 * math/w_sqrtf.c: Likewise.
53319 * math/w_sqrtl.c: Likewise.
53320 * math/w_tgamma.c: Likewise.
53321 * math/w_tgammaf.c: Likewise.
53322 * math/w_tgammal.c: Likewise.
53323
6a621eb7
UD
53324 * po/ja.po: Update from translation team.
53325
bf582445
AJ
533262011-09-29 Andreas Jaeger <aj@suse.de>
53327
f9efbf3a
AJ
53328 [BZ #13179]
53329 * sunrpc/netname.c (netname2host): Fix logic.
53330
bf582445
AJ
53331 [BZ #6779]
53332 [BZ #6783]
53333 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53334 correctly.
53335 * math/w_remainder.c (__remainder): Likewise.
53336 * math/w_remainderf.c (__remainderf): Likewise.
53337 * math/libm-test.inc (remainder_test): Add test cases.
53338
48693bea
AK
533392011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53340
53341 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53342 sdiv_qrnnd.
53343
42622229
LD
533442011-10-07 Ulrich Drepper <drepper@gmail.com>
53345
53346 * string/test-memcmp.c: Avoid unncessary #defines.
53347 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53348
093ecf92
LD
533492011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53350
53351 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53352 Use new sse2 version for core i3 - i7 as it's faster
53353 than sse42 version.
53354 (bit_Prefer_PMINUB_for_stringop): New.
53355 * sysdeps/x86_64/rawmemchr.S: Update.
53356 Replace with faster SSE2 version.
53357 * sysdeps/x86_64/memrchr.S: New file.
53358 * sysdeps/x86_64/memchr.S: Update.
53359 Replace with faster SSE2 version.
53360
fde56e5c
MP
533612011-09-12 Marek Polacek <mpolacek@redhat.com>
53362
53363 * elf/dl-load.c (lose): Add cast to avoid warning.
53364
21fd49a9
UD
533652011-10-07 Ulrich Drepper <drepper@gmail.com>
53366
5a06e643
UD
53367 * po/ca.po: Update from translation team.
53368
684ae515
UD
53369 * inet/getnetgrent_r.c: Hook up nscd.
53370 * nscd/Makefile (routines): Add nscd_netgroup.
53371 (nscd-modules): Add netgroupcache.
53372 (CFLAGS-netgroupcache.c): Define.
53373 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53374 (cache_search): Add const to second parameter.
53375 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53376 INNETGR.
53377 (dbs): Add netgrdb entry.
53378 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53379 (verify_persistent_db): Handle netgrdb.
53380 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53381 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53382 GETFDNETGR.
53383 (netgroup_response_header): Define.
53384 (innetgroup_response_header): Define.
53385 (datahead): Add netgroup_response_header and innetgroup_response_header
53386 elements.
53387 * nscd/nscd.conf: Add entries for netgroup cache.
53388 * nscd/nscd.h (dbtype): Add netgrdb.
53389 (_PATH_NSCD_NETGROUP_DB): Define.
53390 (netgroup_iov_disabled): Declare.
53391 (xmalloc, xcalloc, xrealloc): Move declarations here.
53392 (cache_search): Adjust prototype.
53393 Add netgroup-related prototypes.
53394 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53395 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53396 (__nscd_innetgr): Declare.
53397 * nscd/selinux.c (perms): Use access_vector_t as element type and
53398 add netgroup-related initializers.
53399 * nscd/netgroupcache.c: New file.
53400 * nscd/nscd_netgroup.c: New file.
53401 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53402 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53403 For four parameters use innetgr.
53404 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53405 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53406 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53407 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53408
21fd49a9
UD
53409 * nscd/connections.c (register_traced_file): Don't register file
53410 for disabled databases.
53411
054c0457
UD
534122011-10-06 Ulrich Drepper <drepper@gmail.com>
53413
32b63198
UD
53414 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53415
054c0457
UD
53416 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53417 from tree and freeing node.
53418
64031225
JO
534192011-09-25 Jiri Olsa <jolsa@redhat.com>
53420
53421 * nss/nsswitch.c (__nss_database_lookup): Handle
53422 nss_parse_service_list out of memory case.
53423
0490345c
JO
534242011-09-15 Jiri Olsa <jolsa@redhat.com>
53425
53426 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53427 out of memory case.
53428
3a62d00d
AS
534292011-10-04 Andreas Schwab <schwab@redhat.com>
53430
53431 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53432 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53433 pass it down.
53434 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53435 elf_machine_rela, elf_machine_lazy_rel.
53436 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53437 (ELF_DYNAMIC_DO_REL): Likewise.
53438 (ELF_DYNAMIC_DO_RELA): Likewise.
53439 (ELF_DYNAMIC_RELOCATE): Likewise.
53440 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53441 to ELF_DYNAMIC_DO_REL.
53442 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53443 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53444 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53445 elf_machine_rela.
53446 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53447 skip_ifunc, don't call ifunc function if non-zero.
53448 (elf_machine_rela): Likewise.
53449 (elf_machine_lazy_rel): Likewise.
53450 (elf_machine_lazy_rela): Likewise.
53451 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53452 (elf_machine_lazy_rel): Likewise.
53453 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53454 Likewise.
53455 (elf_machine_lazy_rel): Likewise.
53456 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53457 Likewise.
53458 (elf_machine_lazy_rel): Likewise.
53459 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53460 (elf_machine_lazy_rel): Likewise.
53461 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53462 (elf_machine_lazy_rel): Likewise.
53463 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53464 (elf_machine_lazy_rel): Likewise.
53465 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53466 (elf_machine_lazy_rel): Likewise.
53467 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53468 (elf_machine_lazy_rel): Likewise.
53469 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53470 (elf_machine_lazy_rel): Likewise.
53471
68577918
UD
534722011-09-28 Ulrich Drepper <drepper@gmail.com>
53473
53474 * nss/nss_files/files-init.c (_nss_files_init): Use static
53475 initialization for all the *_traced_file variables.
53476
68822d74
AS
534772011-09-28 Andreas Schwab <schwab@redhat.com>
53478
53479 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53480
2056100b
RM
534812011-09-27 Roland McGrath <roland@hack.frob.com>
53482
53483 [BZ #13226]
53484 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53485
32c76b63
AS
534862011-09-27 Andreas Schwab <schwab@redhat.com>
53487
53488 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53489 Reread the line before reparsing it.
53490
bf972c9d
AS
534912011-09-26 Andreas Schwab <schwab@redhat.com>
53492
53493 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53494
e057a1b5
JM
534952011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53496 Maxim Kuvyrkov <maxim@codesourcery.com>
53497 Joseph Myers <joseph@codesourcery.com>
53498
53499 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53500 if needed for __stack_chk_guard.
53501
bc7e1c36
RM
535022011-09-19 Roland McGrath <roland@hack.frob.com>
53503
ecb1482f
RM
53504 * sysdeps/posix/spawni.c (script_execute): Always define it.
53505 It will be optimized away if unused.
53506 (maybe_script_execute): New function.
53507 (__spawni): Call it.
53508
bc7e1c36
RM
53509 * Makerules: Don't include tls.make.
53510 (config-tls): Always set to thread.
53511 * tls.make.c: File removed.
53512
1c3b002b
MF
535132011-09-19 Mike Frysinger <vapier@gentoo.org>
53514
53515 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53516 * config.make.in (CPPFLAGS-config): New substituted variable.
53517
2840865d
UD
535182011-09-15 Ulrich Drepper <drepper@gmail.com>
53519
88738eb6
UD
53520 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53521
cbf645a6 53522 [BZ #13192]
2840865d
UD
53523 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53524 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53525
b402e91a
RM
535262011-09-15 Roland McGrath <roland@hack.frob.com>
53527
53528 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53529 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53530 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53531 (CALL_FAIL): Likewise.
53532 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53533 (CALL_FAIL): Macro removed.
53534 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53535
4c1a1f71
UD
535362011-09-15 Ulrich Drepper <drepper@gmail.com>
53537
53538 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53539 for __FINITE_MATH_ONLY__ == 1.
53540
edc121be
AS
535412011-09-15 Andreas Schwab <schwab@redhat.com>
53542
53543 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53544 __ieee754_sqrt instead of sqrt.
53545 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53546 __ieee754_sqrtf instead of sqrtf.
53547 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53548 __floorf instead of floorf.
53549 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53550 __floorf, __truncf instead of floorf, truncf.
53551
cd205654
UD
535522011-09-14 Ulrich Drepper <drepper@gmail.com>
53553
ee4d0315
UD
53554 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53555
cd205654
UD
53556 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53557 __extern_always_inline.
53558 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53559 32-bit.
53560
48b67d71
AS
535612011-09-14 Andreas Schwab <schwab@redhat.com>
53562
53563 * elf/rtld.c (dl_main): Also relocate in dependency order when
53564 doing symbol dependency testing.
53565
1ae12c75
AS
535662011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53567
53568 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53569 Always define `refsym'.
53570
995a80df
AS
535712011-09-13 Andreas Schwab <schwab@redhat.com>
53572
e529793b
AS
53573 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53574 (__FD_ELT): Renamed from __FDELT.
53575 * misc/bits/select2.h (__FD_ELT): Likewise.
53576 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53577 __FD_MASK instead of __FDELT, __FDMASK.
53578 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53579 Likewise.
53580 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53581 Likewise.
53582
52d4fef8
AS
53583 * elf/Makefile (gen-ldd): Fix pattern.
53584
995a80df
AS
53585 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53586 (init_tls): Likewise.
53587
8682f8b0
UD
535882011-09-12 Ulrich Drepper <drepper@gmail.com>
53589
53590 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53591
de82006d
AS
535922011-09-12 Andreas Schwab <schwab@redhat.com>
53593
a7c8e6a1
AS
53594 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53595 `struct cmsghdr *' instead of `void *'.
53596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53597 Likewise.
53598
0f31fe77
AS
535992011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53600
53601 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53602 if non-absolute.
53603 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53604 ldd_rewrite_script.
0f31fe77 53605
32b4c839
UD
536062011-09-11 Ulrich Drepper <drepper@gmail.com>
53607
83cd1420
UD
53608 * configure.in: Remove --with-tls option.
53609 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53610 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53611 out in case it is missing.
53612 * sysdeps/ia64/elf/configure.in: Likewise.
53613 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53614 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53615 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53616 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53617 * sysdeps/sh/elf/configure.in: Likewise.
53618 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53619 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53620 * sysdeps/x86_64/elf/configure.in: Likewise.
53621 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53622 * sysdeps/mach/hurd/tls.h: Likewise.
53623
633f745d
UD
53624 [BZ #13067]
53625 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53626
f318beb8
UD
53627 [BZ #13090]
53628 * configure.in: Fix use of AC_INIT.
53629
32b4c839
UD
53630 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53631
3ce1f295
UD
536322011-09-10 Ulrich Drepper <drepper@gmail.com>
53633
bb016596
UD
53634 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53635 __set_errno.
8e58439c
UD
53636 * malloc/hooks.c: Likewise.
53637
aebae053 53638 [BZ #11929]
02d46fc4
UD
53639 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53640 variables statically.
53641 (narenas): Initialize.
53642 (list_lock): Initialize.
bb016596
UD
53643 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53644 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
53645 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53646 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53647 Add initializers to main_arena and mp_.
53648 (malloc_state): Remove pagesize member. Change all users to use
53649 GLRO(dl_pagesize).
53650
53651 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53652 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53653 is always initialized.
53654
22a89187
UD
53655 * malloc/malloc.c: Removed unused configurations and dead code.
53656 * malloc/arena.c: Likewise.
53657 * malloc/hooks.c: Likewise.
02d46fc4 53658 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 53659
d063d164
UD
53660 * include/tls.h: Removed. USE___THREAD must always be defined.
53661 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53662 * elf/dl-libc.c: Likewise.
53663 * elf/dl-tsd.c: Likewise.
53664 * include/errno.h: Likewise.
53665 * include/netdb.h: Likewise.
53666 * include/resolv.h: Likewise.
53667 * inet/herrno-loc.c: Likewise.
53668 * inet/herrno.c: Likewise.
53669 * malloc/arena.c: Likewise.
53670 * malloc/hooks.c: Likewise.
53671 * malloc/malloc.c: Likewise.
53672 * resolv/res-state.c: Likewise.
53673 * resolv/res_libc.c: Likewise.
53674 * sysdeps/i386/dl-machine.h: Likewise.
53675 * sysdeps/ia64/dl-machine.h: Likewise.
53676 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53677 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53678 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53679 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53680 * sysdeps/sh/dl-machine.h: Likewise.
53681 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53682 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53683 * sysdeps/unix/i386/sysdep.S: Likewise.
53684 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53685 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53686 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53687 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53688 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53689 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53690 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53691 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53692 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53694 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53695 * sysdeps/x86_64/dl-machine.h: Likewise.
53696 * tls.make.c: Likewise.
53697
3ce1f295
UD
53698 * configure.in: Remove --with-__thread option. Make tests for
53699 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53700 tls_model attribute fail if no support is available. Remove
53701 USE_IN_LIBIO.
53702 * Makeconfig: Adjust for dropped configure option. All features are
53703 now mandatory.
53704 * Makerules: Likewise.
53705 * Versions.def: Likewise.
53706 * argp/argp-fmtstream.c: Likewise.
53707 * argp/argp-fmtstream.h: Likewise.
53708 * argp/argp-help.c: Likewise.
53709 * assert/assert.c: Likewise.
53710 * config.h.in: Likewise.
53711 * config.make.in: Likewise.
53712 * configure: Likewise.
53713 * configure.in: Likewise.
53714 * csu/Versions: Likewise.
53715 * csu/init.c: Likewise.
53716 * elf/tst-audit2.c: Likewise.
53717 * elf/tst-tls10.c: Likewise.
53718 * elf/tst-tls10.h: Likewise.
53719 * elf/tst-tls11.c: Likewise.
53720 * elf/tst-tls12.c: Likewise.
53721 * elf/tst-tls14.c: Likewise.
53722 * elf/tst-tlsmod11.c: Likewise.
53723 * elf/tst-tlsmod12.c: Likewise.
53724 * elf/tst-tlsmod13.c: Likewise.
53725 * elf/tst-tlsmod13a.c: Likewise.
53726 * elf/tst-tlsmod14a.c: Likewise.
53727 * elf/tst-tlsmod15b.c: Likewise.
53728 * elf/tst-tlsmod16a.c: Likewise.
53729 * elf/tst-tlsmod16b.c: Likewise.
53730 * elf/tst-tlsmod7.c: Likewise.
53731 * elf/tst-tlsmod8.c: Likewise.
53732 * elf/tst-tlsmod9.c: Likewise.
53733 * gmon/gmon.c: Likewise.
53734 * grp/fgetgrent_r.c: Likewise.
53735 * grp/putgrent.c: Likewise.
53736 * hurd/fopenport.c: Likewise.
53737 * include/libc-symbols.h: Likewise.
53738 * include/tls.h: Likewise.
53739 * intl/gettextP.h: Likewise.
53740 * intl/loadinfo.h: Likewise.
53741 * locale/global-locale.c: Likewise.
53742 * locale/localeinfo.h: Likewise.
53743 * mach/devstream.c: Likewise.
53744 * malloc/arena.c: Likewise.
53745 * malloc/set-freeres.c: Likewise.
53746 * misc/err.c: Likewise.
53747 * misc/getttyent.c: Likewise.
53748 * misc/mntent_r.c: Likewise.
53749 * posix/getopt.c: Likewise.
53750 * posix/wordexp.c: Likewise.
53751 * pwd/fgetpwent_r.c: Likewise.
53752 * resolv/Versions: Likewise.
53753 * resolv/res_hconf.c: Likewise.
53754 * shadow/fgetspent_r.c: Likewise.
53755 * shadow/putspent.c: Likewise.
53756 * stdio-common/printf_fphex.c: Likewise.
53757 * stdio-common/tmpfile.c: Likewise.
53758 * stdlib/abort.c: Likewise.
53759 * stdlib/fmtmsg.c: Likewise.
53760 * sunrpc/auth_unix.c: Likewise.
53761 * sunrpc/clnt_perr.c: Likewise.
53762 * sunrpc/clnt_tcp.c: Likewise.
53763 * sunrpc/clnt_udp.c: Likewise.
53764 * sunrpc/clnt_unix.c: Likewise.
53765 * sunrpc/openchild.c: Likewise.
53766 * sunrpc/svc_simple.c: Likewise.
53767 * sunrpc/svc_tcp.c: Likewise.
53768 * sunrpc/svc_udp.c: Likewise.
53769 * sunrpc/svc_unix.c: Likewise.
53770 * sunrpc/xdr.c: Likewise.
53771 * sunrpc/xdr_array.c: Likewise.
53772 * sunrpc/xdr_rec.c: Likewise.
53773 * sunrpc/xdr_ref.c: Likewise.
53774 * sunrpc/xdr_stdio.c: Likewise.
53775
1248c1c4
PB
537762011-09-09 Ulrich Drepper <drepper@gmail.com>
53777
53778 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53779
537802011-07-03 Andreas Jaeger <aj@suse.de>
53781
53782 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53783 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53784 regenerate with gen-libm-tests.pl.
53785
537862010-05-12 Petr Baudis <pasky@suse.cz>
53787
53788 [BZ #11589]
53789 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53790 around j0() zero points by switching to j1().
53791 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53792 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53794 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53795
f22e1074
UD
537962011-09-09 Ulrich Drepper <drepper@gmail.com>
53797
f19009c1
UD
53798 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53799 instead of 0.
53800 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 53801 instead of 0.
f19009c1
UD
53802 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53803 Patch in part by Pavel Roskin <proski@gnu.org>.
53804
3f8cc204
UD
53805 [BZ #13138]
53806 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53807 realloc.
53808 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53809 Free memory block if necessary.
53810
f22e1074
UD
53811 [BZ #12847]
53812 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53813 be NULL. Don't lock in this case.
53814
0a2349f9
RM
538152011-09-09 Roland McGrath <roland@hack.frob.com>
53816
53817 * elf/elf.h (ELFOSABI_GNU): New macro.
53818 (ELFOSABI_LINUX): Define to that.
53819
f3cdd467
DZ
538202011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53821
53822 * string/strncat.c (strncat): Undef the symbol in case it has been
53823 defined in bits/string.h.
53824
74718d13
UD
538252011-09-09 Ulrich Drepper <drepper@gmail.com>
53826
633e9e0f
UD
53827 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53828
0a2349f9 53829 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
53830 link map.
53831
f9924780
AJ
538322011-08-17 Andreas Jaeger <aj@suse.de>
53833
53834 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53835
7f5517aa
PP
538362011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53837 Ian Lance Taylor <iant@google.com>
53838
53839 * math/libm-test.inc (lround_test): New testcase.
53840 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53841
762011fe
UD
538422011-09-08 Ulrich Drepper <drepper@gmail.com>
53843
92963737
UD
53844 * Makefile: Remove support for automatic cvs check-ins.
53845 * Makerules: Likewise.
53846 * config.make.in: Likewise.
53847 * configure.in: Likewise.
53848 * intl/Makefile: Likewise.
53849 * locale/Makefile: Likewise.
53850 * po/Makefile: Likewise.
53851 * posix/Makefile: Likewise.
53852 * sysdeps/gnu/Makefile: Likewise.
53853 * sysdeps/mach/hurd/Makefile: Likewise.
53854 * sysdeps/sparc/sparc32/Makefile: Likewise.
53855
b0727fd8
JS
53856 [BZ #13118]
53857 * posix/Makefile (bug-regex32-ENV): Define.
53858 Patch by John Stanley <jpsinthemix@verizon.net>.
53859
a0f33f99
UD
53860 * misc/Makefile (headers): Add bits/select2.h.
53861 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53862 * misc/bits/select2.h: New file.
53863 * include/bits/select2.h: New file.
53864 * debug/Makefile (routines): Add fdelt_chk.
53865 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53866 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53867 FD_ISSET.
53868 * debug/fdelt_chk.c: New file.
53869
762011fe
UD
53870 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53871 * wcsmbs/test-wmemcmp.c: Likewise.
53872 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53873 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53874
538752011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53876
53877 * string/Makefile (strop-tests): Add memcmp.
53878 * string/test-wmemcmp.c: New file.
53879 * string/test-memcmp.c: Add wmemcmp support.
53880
7f513ec8
RM
538812011-09-08 Roland McGrath <roland@hack.frob.com>
53882
0442afb4
RM
53883 [BZ #13153]
53884 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53885 2011-07-19 change.
53886
7f513ec8
RM
53887 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53888 garbage value in a __mach_port_mod_refs call in the cases of the
53889 task-self and thread-self ports.
53890
a12b2239
ST
538912011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53892
53893 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53894
610f9ab4
AS
538952011-09-08 Andreas Schwab <schwab@redhat.com>
53896
7f513ec8 53897 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53898
48882a1a
LD
538992011-09-07 Ulrich Drepper <drepper@gmail.com>
53900
b49865be
UD
53901 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53902
fdc86bc9
UD
53903 * elf/dl-libc.c (dlerror_run): Pass back error code from
53904 dl_catch_error.
53905
c966526a
UD
53906 [BZ #13123]
53907 * elf/dl-load.c (lose): Free l_origin if it is valid.
53908
48882a1a
LD
53909 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53910 names.
53911 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53912 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53913 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53914 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53915 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53916 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53917
77a2a8b4
AZ
539182011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53919
53920 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53921 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53922 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53923 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53924 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53925 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53926 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53927 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53928 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53929 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53930
24f579d8
AM
539312011-08-15 Alan Modra <amodra@gmail.com>
53932
53933 [BZ #13092]
53934 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53935 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53936 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53937 ppc_mcount to static-only-routines.
53938 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53939 __mcount_internal.
53940 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53941 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53942
3d4837df
UD
539432011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53944
53945 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53946 for finite and infinity parameters.
53947
22700377
WS
539482011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53949
53950 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53951 and add nop instructions for throughput optimization.
53952 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53953
5025581e
WS
539542011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53955
53956 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53957 aligned copy for power7 with vector-scalar instructions.
53958 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53959
08a300c9
L
539602011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53961
53962 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53963 AVX check.
53964
59178ef9
AS
539652011-09-07 Andreas Schwab <schwab@redhat.com>
53966
53967 [BZ #13144]
53968 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53969 last change.
53970
e38ba7ab
UD
539712011-09-07 Ulrich Drepper <drepper@gmail.com>
53972
53973 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53974 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53975 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53976 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53977 clock_gettime.
53978
d53a73ac
UD
539792011-09-06 Ulrich Drepper <drepper@gmail.com>
53980
fc8bffcc
UD
53981 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53982 Forgot to demangle the pointer.
53983
ceaa0c5d
UD
53984 * sysdeps/i386/sysdep.h: Define atom_text_section.
53985 * sysdeps/x86_64/sysdep.h: Likewise.
53986 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53987 section with atom_text_section.
53988 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53989 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53990 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53991 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53992 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53993
a77d3c17
UD
53994 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53995 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53996 already be defined. Change to take two parameters and don't assign
53997 result to variable. Adjust all users.
53998 Define INTERNAL_GETTIME if not already defined.
53999 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54000 call.
54001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54002 HAVE_CLOCK_GETTIME_VSYSCALL.
54003 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54004
d53a73ac
UD
54005 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54006 gettimeofday vsyscall, just use time.
54007
a8f84144
AS
540082011-09-06 Andreas Schwab <schwab@redhat.com>
54009
54010 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54011 <errno.h>.
54012
ef606249
UD
540132011-09-06 Ulrich Drepper <drepper@gmail.com>
54014
54015 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54016 syscall on x86-64.
54017 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54018 syscall.
54019 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54020 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54021 syscall if possible.
54022
6585cb60
UD
540232011-09-05 Ulrich Drepper <drepper@gmail.com>
54024
54025 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54026 e_ident. Don't pass to find_mapsXX.
54027 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54028
a5f524e4
LD
540292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54030
54031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54032 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54033 * sysdeps/x86_64/multiarch/strchr.S: Update.
54034 Check bit_slow_BSF bit.
54035 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54036 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54037 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54038
554881ef
UD
540392011-09-05 Ulrich Drepper <drepper@gmail.com>
54040
d96de963
UD
54041 [BZ #13134]
54042 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54043 before glibc 2.15.
54044 (tryshell): Define.
54045 (__spawni): Change last parameter to be flag. Test
54046 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54047 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54048 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54049 * posix/spawni.c: Likewise.
54050 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54051 * posix/spawnp.c: Likewise. Change normal version to use
54052 SPAWN_XFLAGS_USE_PATH.
54053 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54054 SPAWN_XFLAGS_TRY_SHELL.
54055
d48e5868
UD
54056 [BZ #13150]
54057 * posix/glob.h: Remove gcc 1.x support.
54058
554881ef
UD
54059 [BZ #13068]
54060 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54061
693fb948
LD
540622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54063
54064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54065 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54066 strrchr-sse2-bsf
54067 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54068 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54069 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54070 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54071 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54072 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54073
1b48c537
UD
540742011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54075
49d42c37
UD
54076 * sysdeps/x86_64/wcscmp.S: New file.
54077
1b48c537
UD
54078 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54079 wcscmp-c wcscmp-sse2
54080 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54081 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54082 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54083 * wcsmbs/wcscmp.c: Allow renaming.
54084
15c95c5d
DM
540852011-09-05 David S. Miller <davem@davemloft.net>
54086
54087 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54088 stack slot, rather than the struct return pointer slot.
54089 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54090 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54092 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54093
2f0ad8f3
UD
540942011-09-05 Ulrich Drepper <drepper@gmail.com>
54095
d88ae418
UD
54096 * po/ja.po: Update from translation team.
54097
2f0ad8f3
UD
54098 [BZ #13144]
54099 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54100 kernel in 64-bit binaries.
54101
5f4318d1
DM
541022011-09-01 David S. Miller <davem@davemloft.net>
54103
54104 * elf/elf.h (HWCAP_SPARC_*): Move to..
54105 * sysdeps/sparc/sysdep.h: this new file and add new values.
54106 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54107 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54108 _DL_HWCAP_COUNT to 24.
54109 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54110 entries.
54111 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54112 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54113 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54114 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54115 instead of magic constants.
54116 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54117
3ba57516
DM
541182011-08-31 David S. Miller <davem@davemloft.net>
54119
54120 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54121 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54122 Reimplement to do errno handling inline.
54123 (SYSCALL_ERROR_HANDLER): New macro.
54124 (__SYSCALL_STRING): Do not do errno handling in asm.
54125 (__CLONE_SYSCALL_STRING): Delete.
54126 (__INTERNAL_SYSCALL_STRING): Delete.
54127 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54128 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54129 (PSEUDO): Reimplement to do errno handling inline.
54130 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54131 (SYSCALL_ERROR_HANDLER): New macro.
54132 (__SYSCALL_STRING): Do not do errno handling in asm.
54133 (__CLONE_SYSCALL_STRING): Delete.
54134 (__INTERNAL_SYSCALL_STRING): Delete.
54135 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54136 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54137 i386.
54138 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54139 (inline_syscall*): Add 'err' argument.
54140 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54141 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54142 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54143 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54144
54145 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54146 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54147
2bc17433
AS
541482011-08-30 Andreas Schwab <schwab@redhat.com>
54149
54150 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54151
fbeb5f4d
JO
541522011-08-29 Jiri Olsa <jolsa@redhat.com>
54153
54154 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54155 directive.
54156
ad69cc26
DM
541572011-08-24 David S. Miller <davem@davemloft.net>
54158
54159 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54160
39dd69df
AS
541612011-08-24 Andreas Schwab <schwab@redhat.com>
54162
54163 * elf/Makefile: Add rules to build and run unload8 test.
54164 * elf/unload8.c: New file.
54165 * elf/unload8mod1.c: New file.
54166 * elf/unload8mod1x.c: New file.
54167 * elf/unload8mod2.c: New file.
54168 * elf/unload8mod3.c: New file.
54169
54170 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54171 it wasn't used.
54172
2c0b250a
DM
541732011-08-23 David S. Miller <davem@davemloft.net>
54174
54175 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54176 subtract stack bias.
54177 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54178 %sp not %fp in calculations.
54179 (_JMPBUF_UNWINDS_ADJ): Likewise.
54180
22044b48
DM
54181 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54182 (aio_suspend): Call it to force an exception region around the
54183 AIO_MISC_WAIT() invocation.
54184
2cae4995
AS
541852011-08-23 Andreas Schwab <schwab@redhat.com>
54186
54187 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54188 backslash.
54189
873a772e
AJ
541902011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54191
54192 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54193 protection macro.
54194 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54195 and <dl-machine.h>.
54196 (Elf64_FuncDesc): Remove.
54197
25ad0df1
DM
541982011-08-22 David S. Miller <davem@davemloft.net>
54199
54200 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54201 sigaltstack check, add missing cfi directives.
54202 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54203 missing cfi directives, and sigaltstack handling.
54204
e888bcbe
AS
542052011-08-16 Andreas Schwab <schwab@redhat.com>
54206
54207 [BZ #11724]
54208 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54209 object is seen twice.
54210 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54211
54212 * elf/Makefile (distribute): Add tst-initorder2.c.
54213 (tests): Add tst-initorder2.
54214 (modules-names): Add tst-initorder2a tst-initorder2b
54215 tst-initorder2c tst-initorder2d. Add rules to build them.
54216 ($(objpfx)tst-initorder2.out): New rule.
54217 * elf/tst-initorder2.c: New file.
54218 * elf/tst-initorder2.exp: New file.
54219
87162f46
AS
542202011-08-22 Andreas Schwab <schwab@redhat.com>
54221
70538b7f
AS
54222 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54223
f55ffe58
AS
54224 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54225 dependencies back to end of function.
54226
87162f46
AS
54227 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54228 $(elfobjdir)/ld.so.
54229
91b392a4
UD
542302011-08-21 Ulrich Drepper <drepper@gmail.com>
54231
54232 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54233 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54234 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54235 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54236 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54237 of __vdso_gettimeofday.
54238 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54239 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54240 attribute_hidden.
54241 (_libc_vdso_platform_setup): Remove initialization of
54242 __vdso_gettimeofday and __vdso_time.
54243
5c43483f
UD
542442011-08-20 Ulrich Drepper <drepper@gmail.com>
54245
775a77e7
UD
54246 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54247 and fgetc_unlocked.
54248 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54249 getc_unlocked.
89f447ed 54250
49c74ba9
UD
54251 * elf/dl-open.c (add_to_global): Report additions to the global scope
54252 for LD_DEBUG=scopes.
54253 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 54254 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 54255
5c43483f
UD
54256 [BZ #13114]
54257 * stdio-common/Makefile (tests): Add bug24.
54258 * stdio-common/bug24.c: New file.
54259
a101b025
AJ
542602011-08-19 Andreas Jaeger <aj@suse.de>
54261
54262 [BZ #13114]
54263 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54264 non-existant file when using close-on-exec mode.
54265
c88f1766
UD
542662011-08-20 Ulrich Drepper <drepper@gmail.com>
54267
0276a718
UD
54268 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54269 the very first instruction.
54270
c88f1766
UD
54271 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54272 the CFI state in the end.
54273 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54274 inclusion of dl-trampoline.h.
54275 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54276
51ccffa0
AS
542772011-08-19 Andreas Schwab <schwab@redhat.com>
54278
94d7165f
AS
54279 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54280 expectations for long double.
54281
51ccffa0
AS
54282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54283 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54284
fd708658 542852011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54286
54287 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54288 artificual limit depends upon the system page size.
54289
44f0a71e
UD
542902011-08-17 Ulrich Drepper <drepper@gmail.com>
54291
54292 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54293 * resolv/Makefile: Define CFLAGS-libresolv.
54294
8de79a24
AS
542952011-08-17 Andreas Schwab <schwab@redhat.com>
54296
54297 * nss/makedb.c (compute_tables): Make variables used in nested
54298 function static.
54299
27724598
UD
543002011-08-17 Ulrich Drepper <drepper@gmail.com>
54301
c5305d88
UD
54302 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54303 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54304 if buffer was too small.
54305
27724598
UD
54306 * elf/pldd.c (main): Attach to all threads in the process.
54307 Rewrite /proc handling to use *at functions.
54308
076fe015
UD
543092011-08-16 Ulrich Drepper <drepper@gmail.com>
54310
174baab3
UD
54311 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54312 specifies first scope to show.
54313 (dl_open_worker): Update callers. Move printing scope of new
54314 object to before the relocation.
44f0a71e 54315 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
54316 * sysdeps/generic/ldsodefs.h: Update declaration.
54317
076fe015
UD
54318 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54319 string for the scope number.
54320
a60df2c3
UD
543212011-08-14 Ulrich Drepper <drepper@gmail.com>
54322
54323 * nscd/servicescache.c (cache_addserv): Make sure written is always
54324 initialized.
54325
5e4287d1
RM
543262011-08-14 Roland McGrath <roland@hack.frob.com>
54327
85ae0589
RM
54328 * sysdeps/i386/i486/bits/atomic.h
54329 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54330 statement expression, so as to suppress "set but not used" warning.
54331 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54332
69f63097
RM
54333 * string/strncat.c (STRNCAT): Use prototype definition.
54334
675456ef
RM
54335 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54336 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54337 -Iprograms here.
54338 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54339 (localedef-modules): Add localedef.
54340 (locale-modules): Add locale.
54341
5e4287d1
RM
54342 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54343 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54344 to avoid a warning.
54345
9c96ff23
DM
543462011-08-14 David S. Miller <davem@davemloft.net>
54347
54348 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54349 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54350
f9ddf089
UD
543512011-08-13 Ulrich Drepper <drepper@gmail.com>
54352
44f0a71e 54353 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54354 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54355 * elf/rtld.c (dl_main): Set l_name of vDSO.
54356 Call _dl_show_scope when DL_DEBUG_SCOPES.
54357 (process_dl_debug): Recognize scopes flag and also set it for all.
54358 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54359 Declare _dl_show_scope.
54360
1dc27704
UD
54361 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54362 (do_dlopen): Pass caller_dlopen to dl_open.
54363 (__libc_dlopen_mode): Initialize caller_dlopen.
54364
f9ddf089
UD
54365 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54366 of libc. Make tolower call locale-independent. Optimize a bit by
54367 using isdigit instead of isalnum.
54368 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54369
9ac533d3
UD
543702011-08-12 Ulrich Drepper <drepper@gmail.com>
54371
54372 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54373 was a dependency or dynamically loaded.
54374
89edf2e9
UD
543752011-08-11 Ulrich Drepper <drepper@gmail.com>
54376
8e999d29
UD
54377 * intl/l10nflist.c: Allow architecture-specific pop function.
54378 * sysdeps/x86_64/l10nflist.c: New file.
54379
89edf2e9
UD
54380 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54381 classification.
54382
14d96785
AS
543832011-08-10 Andreas Schwab <schwab@redhat.com>
54384
54385 * include/dirent.h: Add libc_hidden_proto for scandirat and
54386 scandirat64. Don't declare __scandirat64.
54387 * dirent/scandirat.c: Add libc_hidden_def.
54388 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54389 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54390
6761ac04
DM
543912011-08-10 David S. Miller <davem@davemloft.net>
54392
54393 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54394 enum.
54395 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54396 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54397 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54398
c55fbd1e
UD
543992011-08-09 Ulrich Drepper <drepper@gmail.com>
54400
54401 * Versions.def [libc]: Add GLIBC_2.15.
54402 * dirent/Makefile (routines): Add scandirat and scandirat64.
54403 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54404 GLIBC_2.15.
54405 * dirent/dirent.h: Declare scandirat and scandirat64.
54406 * dirent/scandirat.c: New file.
54407 * dirent/scandirat64.c: New file.
54408 * sysdeps/wordsize-64/scandirat.c: New file.
54409 * sysdeps/wordsize-64/scandirat64.c: New file.
54410 * dirent/opendir.c: Define opendirat.
54411 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54412 using scandirat.
54413 * dirent/scandir64.c: Adjust for scandir.c change.
54414 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54415 __scandirat64, and __scandir_cancel_handler.
54416 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54417 additional parameter and use openat instead of open (outside of ld.so).
54418 Add new __opendir as wrapper around __opendirat.
54419 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54420 here without requiring old scandirat implementation.
54421
879165f2
UD
544222011-08-08 Ulrich Drepper <drepper@gmail.com>
54423
54424 * dirent/scandir.c (cancel_handler): Renamed to
54425 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54426 defined. Adjust users.
54427 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54428 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54429
cb7e923b
UD
544302011-08-04 Ulrich Drepper <drepper@gmail.com>
54431
16292edd
UD
54432 * string/test-string.h (IMPL): Use __STRING to expand name and then
54433 stringify it.
54434
cb7e923b
UD
54435 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54436 of cleanups.
54437
cff82933
LD
544382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54439
54440 * string/Makefile: Update.
54441 (strop-tests): Append strncat.
54442 * string/test-wcscmp.c: New file.
54443 New comprehensive test for wcscmp.
54444 * string/test-strcmp.c: Update.
54445 (WIDE): New define.
54446
9be9bfcc
AS
544472011-07-22 Andreas Schwab <schwab@redhat.com>
54448
54449 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54450 line.
54451
2e96f1c7
AS
544522011-07-26 Andreas Schwab <schwab@redhat.com>
54453
54454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54455 encoding to ACE if AI_IDN.
54456
85188888
JJ
544572011-08-01 Jakub Jelinek <jakub@redhat.com>
54458
54459 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54460 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54461
5fa16e9b
LD
544622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54463
54464 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54465 Fix overflow bug in strncat.
54466 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54467
54468 * string/test-strncat.c: Update.
54469 Add new tests for checking overflow bugs.
54470
544712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54472
54473 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54474 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54475 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54476 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54477 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54478 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54479 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54480 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54481 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54482
54483 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54484 (USE_AS_STRCAT): Define.
54485 Add strcat and strncat support.
54486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54487
8c1a459f
AS
544882011-07-25 Andreas Schwab <schwab@redhat.com>
54489
54490 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54491 __n bigger than INT_MAX+1.
54492 (__strncmp_g): Likewise.
54493
bba33c28
UD
544942011-07-23 Ulrich Drepper <drepper@gmail.com>
54495
798be72d
UD
54496 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54497 * libio/stido.h: Likewise.
54498
8accd4dc
UD
54499 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54500 (AF_NFC): Define.
54501 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54502 (AF_NFC): Define.
54503
cbff0d96
UD
54504 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54505 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54506 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54507 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54508 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54509
9191c04a
UD
54510 [BZ #13021]
54511 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54512 installed.
54513
bba33c28
UD
54514 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54515 typo.
54516 (_dl_x86_64_save_sse): Likewise.
54517
90f139dd
UD
545182011-07-22 Ulrich Drepper <drepper@gmail.com>
54519
1aae088a
UD
54520 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54521 OSXSAVE.
54522 (_dl_x86_64_save_sse): Likewise.
54523
8e2045f5
UD
54524 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54525
90f139dd
UD
54526 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54527
1d002f25
AS
545282011-07-21 Andreas Schwab <schwab@redhat.com>
54529
54530 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54531 change.
54532 (_dl_x86_64_save_sse): Use correct AVX check.
54533
21137f89
UD
545342011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54535
54536 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54537 bug in strncpy/strncat.
54538 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54539
a65c0b7a
UD
545402011-07-21 Ulrich Drepper <drepper@gmail.com>
54541
54542 * string/tester.c (test_strcat): Add tests for different alignments
54543 of source and destination.
54544 (test_strncat): Likewise.
54545
6986b98a
UD
545462011-07-20 Ulrich Drepper <drepper@gmail.com>
54547
90bb2039
UD
54548 [BZ #12852]
54549 * posix/glob.c (glob): Check passed in values before using them in
54550 expressions to avoid some overflows.
54551 (glob_in_dir): Likewise.
54552
5644ef54
UD
54553 [BZ #13007]
54554 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54555 check for AVX enablement so that we don't crash with old kernels and
54556 new hardware.
54557 * elf/tst-audit4.c: Add same checks here.
54558 * elf/tst-audit6.c: Likewise.
54559
54560 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 54561
bfc9dc9b
AS
545622011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54563
54564 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54565
702e64bb
UD
545662011-07-20 Ulrich Drepper <drepper@gmail.com>
54567
54568 * po/cs.po: Update from translation team.
54569 * po/bg.po: Likewise.
54570
295e904f
MP
545712011-07-12 Marek Polacek <mpolacek@redhat.com>
54572
54573 * misc/sys/cdefs.h: Add support for const attribute.
54574 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54575 to gnu_dev_{major,minor,makedev} functions.
54576
3ff94596
MP
545772011-07-20 Marek Polacek <mpolacek@redhat.com>
54578
54579 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54580
28b59fca
AS
545812011-07-20 Andreas Schwab <schwab@redhat.com>
54582
54583 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54584 strlen results.
54585
19df733e
AK
545862011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54587
54588 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54589 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54590 register in order to avoid conflicts with the soft frame pointer
54591 being held in r11 when necessary.
54592 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54593 (INTERNAL_VSYSCALL_NCS): Likewise.
54594
c8835729
MP
545952011-07-14 Marek Polacek <mpolacek@redhat.com>
54596
54597 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54598 * elf/dl-fini.c (_dl_fini): Adjust caller.
54599 * elf/dl-close.c (_dl_close_worker): Likewise.
54600 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54601
b902330c
MP
546022011-07-15 Marek Polacek <mpolacek@redhat.com>
54603
8991e135
MP
54604 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54605 "aux_cache->nlibs < 0".
54606
b902330c
MP
54607 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54608 in the reload-count case.
54609
99710781
LD
546102011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54611
54612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54613 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54614 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54615 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54616 * sysdeps/x86_64/multiarch/strcat.S: New file.
54617 * sysdeps/x86_64/multiarch/strncat.S: New file.
54618 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54619 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54620 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54621 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54622 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54623 (USE_AS_STRCAT): Define.
54624 Add strcat and strncat support.
54625 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54626 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54627 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54628 * string/strncat.c: Update.
54629 (USE_AS_STRNCAT): Define.
54630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54631 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54632 and i7.
54633 * sysdeps/x86_64/multiarch/init-arch.h
54634 (bit_Prefer_PMINUB_for_stringop): New.
54635 (index_Prefer_PMINUB_for_stringop): Likewise.
54636 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54637 bit_Prefer_PMINUB_for_stringop.
54638
7dc6bd90
UD
546392011-07-19 Ulrich Drepper <drepper@gmail.com>
54640
54641 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54642 buffer64.
54643 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54644 of casting of buffer.
54645 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54646 buffer32 and buffer64.
54647 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54648 writes instead of casting of buffer.
54649 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54650 buffer32.
54651 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54652 casting of buffer.
54653
e0e72284
AS
546542011-07-19 Andreas Schwab <schwab@redhat.com>
54655
54656 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54657
feb1eb0b
UD
546582011-07-19 Ulrich Drepper <drepper@gmail.com>
54659
54660 * nscd/nscd.c (termination_handler): Don't do anything for a database
54661 if it has not yet been initialized.
54662
298711ff
UD
546632011-07-18 Ulrich Drepper <drepper@gmail.com>
54664
54665 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54666
546672011-07-15 Marek Polacek <mpolacek@redhat.com>
54668
54669 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54670
f9d68389
UD
546712011-07-18 Ulrich Drepper <drepper@gmail.com>
54672
54673 * po/nl.po: Update from translation team.
54674 * po/sv.po: Likewise.
54675
db290cf5
RM
546762011-07-16 Roland McGrath <roland@hack.frob.com>
54677
54678 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54679 now disallowed by GCC.
5c550700 54680
fd5e21c7
RM
54681 * configure.in (use-default-link): Default to yes if a test -shared
54682 link meets our qualifications.
54683 * configure: Regenerated.
54684
5c550700
RM
54685 * config.make.in (output-format): New variable.
54686 * configure.in: Check for ld --print-output-format support.
54687 * configure: Regenerated.
54688 * Makerules ($(common-objpfx)format.lds)
54689 [$(output-format) != unknown]: Just use $(output-format),
54690 instead of the linker-script munging.
54691
9fa2c032
RM
546922011-07-14 Roland McGrath <roland@hack.frob.com>
54693
a6928d51
RM
54694 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54695 of $(common-objpfx)shlib.lds.
54696 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54697
661607b3
RM
54698 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54699 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54700
9fa2c032
RM
54701 * configure.in (-z relro check): Adjust test code to add a large
54702 writable data section after it.
54703 * configure: Regenerated.
54704
defe9061
RM
547052011-07-11 Roland McGrath <roland@hack.frob.com>
54706
54707 * configure.in (-z relro check): Fix test code to make the variable
54708 truly const.
54709 * configure: Regenerated.
54710
319b9ad4
UD
547112011-07-11 Ulrich Drepper <drepper@gmail.com>
54712
54713 * nscd/nscd.h (struct traced_file): Define.
54714 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54715 elements. Add traced_files.
54716 (inotify_fd): Declare.
54717 (register_traced_file): Declare.
54718 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54719 (inotify_fd): Export.
54720 (resolv_conf_descr): Remove.
54721 (nscd_init): Move inotify descriptor creation to main.
54722 Don't register files for notification here.
54723 (register_traced_file): New function.
54724 (invalidate_cache): Don't use reset_res to determine whether to call
54725 res_init, go through the list of registered files.
54726 (main_loop_poll): The inotify descriptors are now stored in the
54727 structures for the traced files.
54728 (main_loop_epoll): Likewise
54729 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54730 to __nss_disable_nscd.
54731 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54732 for a database anymore. Check the records for all the registered
54733 files instead.
54734 * nss/Makefile (libnss_files-routines): Add files-init.
54735 (libnss_db-routines): Add db-init.
54736 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54737 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54738 * nss/nss_db/db-init.c: New file.
54739 * nss/nss_files/files-init.c: New file.
54740 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54741 __nss_lookup_function.
54742 (__nss_lookup_function): Call nss_load_library.
54743 (nss_load_all_libraries): New function.
54744 (__nss_disable_nscd): Take parameter with callback function for files
54745 to register. Set is_nscd. Load all the DSOs for the NSS modules
54746 used for the cached services.
54747 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54748 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54749 options for features to all the files in nscd.
54750
54751 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54752
23bee3e8
RM
547532011-07-10 Roland McGrath <roland@hack.frob.com>
54754
54755 * csu/elf-init.c (__libc_csu_init): Comment typo.
54756
46a5b7f0
UD
547572011-07-09 Ulrich Drepper <drepper@gmail.com>
54758
54759 * po/pl.po: Update from translation team.
54760 * po/ja.po: Likewise.
54761 * po/ru.po: Likewise.
54762 * po/ko.po: Likewise.
54763 * po/fr.po: Likewise.
54764
d30cf5bb
RM
547652011-07-09 Roland McGrath <roland@hack.frob.com>
54766
113ddea4
RM
54767 * configure.in (.ctors/.dtors header and trailer check):
54768 Use an empirical test on a built program.
54769 * configure: Regenerated.
54770
574920b4
RM
54771 * configure.in (-z relro check): Use an empirical test on a built DSO.
54772 Detect, but do not require, on ia64.
54773 * configure: Regenerated.
54774
d30cf5bb
RM
54775 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54776 Update tests that use readelf to use $READELF instead.
54777 * configure: Regenerated.
54778
8538fdb3
UD
547792011-07-08 Ulrich Drepper <drepper@gmail.com>
54780
54781 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54782 if the result is not used.
54783
04d08991
AJ
547842011-07-05 Andreas Jaeger <aj@suse.de>
54785
54786 [BZ#9696]
54787 * stdlib/tst-strtod.c: Add testcase.
54788
de283087
AD
547892011-07-07 Ulrich Drepper <drepper@gmail.com>
54790
4e5f31c8 54791 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 54792 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
54793 The latter has a higher limit. Take additional parameter to pass to
54794 the new function.
54795 (__pathconf): Pass file to __statfs_link_max.
54796 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54797 __statfs_link_max.
54798 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54799 __statfs_link_max.
54800
de283087
AD
54801 [BZ #12868]
54802 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54803 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54804 Handle Lustre.
54805 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54806 (__statfs_filesize_max): Likewise.
54807 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54808
c75fa153
AJ
548092011-07-05 Andreas Jaeger <aj@suse.de>
54810
54811 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54812
1a544854
UD
548132011-07-06 Marek Polacek <mpolacek@redhat.com>
54814
54815 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54816 `status' variable.
54817 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54818 Likewise.
54819
6f0eec67
UD
548202011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54821
54822 * Makefile (strop-tests): Add strncat.
54823 * string/test-strncat.c: New file.
54824
aae30307
UD
548252011-06-30 Marek Polacek <mpolacek@redhat.com>
54826
54827 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54828
c0cfb5eb
UD
548292011-06-21 Andreas Jaeger <aj@suse.de>
54830
54831 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54832 Copy rule from iconvdata/Makefile.
54833
01636b21
UD
548342011-07-06 Ulrich Drepper <drepper@gmail.com>
54835
54836 [BZ #12922]
54837 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54838 but no long options are defined, just return 'W'.
54839
9895c8bc
UD
548402011-06-22 Marek Polacek <mpolacek@redhat.com>
54841
54842 [BZ #9696]
54843 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54844
5d4cf042
UD
548452011-07-06 Ulrich Drepper <drepper@gmail.com>
54846
54847 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54848 netgroups to read.
960e5535 54849 (innetgr): Likewise.
5d4cf042 54850
751eb97e
RM
548512011-07-05 Roland McGrath <roland@hack.frob.com>
54852
54853 * config.make.in (install_root): Default to $(DESTDIR).
54854
f15f1e45
UD
548552011-07-05 Ulrich Drepper <drepper@gmail.com>
54856
54857 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54858
4e34ac6a
RM
548592011-07-02 Roland McGrath <roland@hack.frob.com>
54860
5e9b6af4
RM
54861 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54862
84f9ea0f
RM
54863 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54864 containing directory rather than embedding absolute directory names.
54865
ea5ee9f7
RM
54866 * scripts/check-local-headers.sh: Rewritten using awk.
54867 Match by word, not by line. Print error messages for matches.
54868 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54869
1b74661a
RM
54870 * Makerules [shlib-lds-flags empty]:
54871 ($(common-objpfx)libc_pic.opts): New target.
54872 ($(common-objpfx)libc_pic.os.clean): New target.
54873 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54874
54875 * config.make.in (OBJCOPY): New variable.
54876 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54877 * configure: Regenerated.
54878
f781ef40
RM
54879 * config.make.in (use-default-link): New variable.
54880 * configure.in (use_default_link): Grok --with-default-link to set it.
54881 * configure: Regenerated.
54882 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54883 (shlib-lds, shlib-lds-flags): Define to empty.
54884
2d4fa81e
RM
54885 * Makerules (shlib-lds): New variable.
54886 (shlib-lds-flags): New variable.
54887 (build-shlib, build-moduile, build-module-asneeded): Use it.
54888 ($(common-objpfx)libc.so): Use $(shlib-lds).
54889 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54890 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54891
31fffa6b
RM
54892 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54893 DT_FLAGS/DT_FLAGS_1 with zero flags.
54894
4e34ac6a
RM
54895 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54896 linker script munging.
54897
fcfc776b
UD
548982011-07-02 Ulrich Drepper <drepper@gmail.com>
54899
54900 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54901 as 128-bit value.
54902 * crypt/sha512.c (sha512_process_block): Perform total addition using
54903 128-bit if possible.
54904 (__sha512_finish_ctx): Likewise.
54905 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54906 as 64-bit value.
54907 * crypt/sha256.c (SWAP64): Define.
54908 (sha256_process_block): Perform total addition using 64-bit if
54909 possible.
54910 (__sha256_finish_ctx): Likewise.
54911
99231d9a
UD
549122011-07-01 Ulrich Drepper <drepper@gmail.com>
54913
54914 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54915 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54916 * nscd/hstcache.c (cache_addhst): Likewise.
54917 * nscd/grpcache.c (cache_addgr): Likewise.
54918 * nscd/aicache.c (addhstaiX): Likewise
54919 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54920
445b4a53
TK
549212011-07-01 Thorsten Kukuk <kukuk@suse.de>
54922
54923 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54924 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54925 * nscd/hstcache.c (cache_addhst): Likewise.
54926 * nscd/grpcache.c (cache_addgr): Likewise.
54927 * nscd/aicache.c (addhstaiX): Likewise
54928
6d4d8e8e
AS
549292011-07-01 Andreas Schwab <schwab@redhat.com>
54930
54931 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54932 domain only when needed.
54933
89f654c5
AS
549342011-06-30 Andreas Schwab <schwab@redhat.com>
54935
54936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54937 is always restored.
54938
cf3b23ff
UD
549392011-06-29 Ulrich Drepper <drepper@gmail.com>
54940
54941 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54942 are re-adding the entry.
54943 * nscd/servicescache.c (cache_addserv): Likewise.
54944
751626f9
AJ
549452011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54946
54947 * sysdeps/generic/dl-irel.h: fix protection against multiple
54948 inclusions.
54949 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54950
9113ea1f
UD
549512011-06-28 Ulrich Drepper <drepper@gmail.com>
54952
5c0b8d90
UD
54953 [BZ #12935]
54954 * malloc/memusage.sh: Fix quoting in message.
54955 * debug/xtrace.sh: Likewise.
54956
9113ea1f
UD
54957 * configure.in: Remove support for --experimental-malloc option, make
54958 it the default.
54959 * config.make.in: Likewise.
54960 * malloc/Makefile: Likewise.
54961
a4172181
AS
549622011-06-27 Andreas Schwab <schwab@redhat.com>
54963
54964 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54965 two-byte characters.
54966
78a7eee7
RM
549672011-06-27 Roland McGrath <roland@hack.frob.com>
54968
62bede13
RM
54969 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54970 AC_CACHE_CHECK invocation.
54971 * configure: Regenerated.
54972
78a7eee7
RM
54973 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54974
5ce33a62
UD
549752011-06-27 Ulrich Drepper <drepper@gmail.com>
54976
034807a9
UD
54977 [BZ #12350]
54978 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54979 bit from old_res_options.
54980
4902da17
UD
54981 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54982
5ce33a62
UD
54983 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54984 value type for setfct.
54985
c2344f56
L
549862011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54987
54988 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54989 __gettimeofday instead of gettimeofday.
54990
68468076
UD
549912011-06-26 Ulrich Drepper <drepper@gmail.com>
54992
54993 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54994
acb0d739
L
549952011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54996
54997 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54998
54999 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55000 info.
55001
8912479f
L
550022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55003
55004 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55005 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55006 strcpy-sse2-unaligned strncpy-sse2-unaligned
55007 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55008 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55009 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55010 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55011 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55012 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55013 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55014 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55015 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55016 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55017 (STRCPY): Support SSE2 and SSSE3 versions.
55018
d5495a11
UD
550192011-06-24 Ulrich Drepper <drepper@gmail.com>
55020
55021 [BZ #12874]
55022 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55023 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55024 kernels which artificially limit size of requests.
55025
0b1cbaae
L
550262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55027
55028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55029 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55030 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55031 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55032 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55033 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55034 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55035 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55036 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55037 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55038 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55039 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55040 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55041 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55042 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55044 Enable unaligned load optimization for Intel Core i3, i5 and i7
55045 processors.
55046 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55047 Define.
55048 (index_Fast_Unaligned_Load): Define.
55049 (HAS_FAST_UNALIGNED_LOAD): Define.
55050
07f494a0
MP
550512011-06-23 Marek Polacek <mpolacek@redhat.com>
55052
55053 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55054
fa3fc0fe
UD
550552011-06-22 Ulrich Drepper <drepper@gmail.com>
55056
55057 [BZ #12907]
55058 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55059 until it is clear that the information is realy needed.
55060 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55061
e12df166
AS
550622011-06-22 Andreas Schwab <schwab@redhat.com>
55063
55064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55065
852eb34d
UD
550662011-06-22 Ulrich Drepper <drepper@gmail.com>
55067
84e2a551
UD
55068 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55069 /sys/devices/system/cpu/online if it is usable.
55070
852eb34d
UD
55071 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55072 reading the information from the /proc filesystem to once a second.
55073
6e502e19
UD
550742011-06-21 Andreas Jaeger <aj@suse.de>
55075
55076 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55077 NULL after inclusion of kernel headers.
55078
75d39ff2
UD
550792011-06-21 Ulrich Drepper <drepper@gmail.com>
55080
51f9aa6a
UD
55081 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55082 calls to internal_setent.
55083
c0244a9d
UD
55084 [BZ #12885]
55085 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55086 addresses using gethostbyname4_r ignore IPv4 addresses.
55087
c5e3c2ae
UD
55088 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55089 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55090
75d39ff2
UD
55091 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55092
42675c6f
DM
550932011-06-20 David S. Miller <davem@davemloft.net>
55094
55095 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55096 inclusions.
55097 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55098
55099 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55100 (elf_irel): Use it.
55101 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55102 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55103 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55104 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55105 * sysdeps/x86_64/dl-irel.h: Likewise.
55106
55107 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55108 * elf/dl-sym.c: Likewise.
55109
57912a71
UD
551102011-06-15 Ulrich Drepper <drepper@gmail.com>
55111
55112 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55113 need to dereference resplen2.
55114
ee22793d
AS
551152011-06-14 Andreas Schwab <schwab@redhat.com>
55116
55117 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55118
a9e836b0
UD
551192011-06-15 Ulrich Drepper <drepper@gmail.com>
55120
77fb9117
UD
55121 * Makeconfig: Define vardbdir and inst_vardbdir.
55122 * nss/Makefile: Add rules to install db-Makefile.
55123
40c1b22c
UD
55124 * nss/nss_db/db-XXX.c: Cleanup.
55125
9f2da732
UD
55126 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55127 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55128 GLIBC_PRIVATE.
55129 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55130 * nss/makedb.c: Implement -g option to specify that value strings
55131 are generated and should not be added to table iterated over for
55132 get*ent calls.
55133 * nss/nss_db/db-initgroups.c: New file.
55134
82e9a1f7
UD
55135 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55136 interface.
55137
c41af17e
UD
55138 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55139 (internal_getgrouplist): Adjust to name change.
55140 Update use_initgroups_entry if this is not the first call.
55141 * nss/databases.def: Add initgroups entry.
55142
a9e836b0
UD
55143 * nss/makedb.c (compute_tables): Check result of multiple hash table
55144 sizes to minimize maximum chain length.
55145
2666d441
UD
551462011-06-14 Ulrich Drepper <drepper@gmail.com>
55147
55148 * Versions.def: Add entry for libnss_db.
55149 * shlib-versions: Likewise.
55150 * nss/Makefile: Add rules to build libnss_db.
55151 * nss/Versions: Add libnss_db information. Organize libnss_files
55152 entries better.
55153 * nss/db-Makefile: Add gshadow support. Change rules for the new
55154 makedb progra. Some minor improvements to generate smaller files.
55155 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55156 here from...
55157 * nss/makedb.c: ...here.
55158 Improve database format to be smaller and require less memory at
55159 runtime.
55160 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55161 db anymore.
55162 * nss/nss_db/db-netgrp.c: Likewise.
55163 * nss/nss_db/db-open.c: Likewise.
55164 * nss/nss_files/flies-XXX.x: Adjust comments.
55165 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55166 * nss/nss_files/files-grp.c: Likewise.
55167 * nss/nss_files/files-hosts.c: Likewise.
55168 * nss/nss_files/files-network.c: Likewise.
55169 * nss/nss_files/files-proto.c: Likewise.
55170 * nss/nss_files/files-pwd.c: Likewise.
55171 * nss/nss_files/files-rpc.c: Likewise.
55172 * nss/nss_files/files-service.c: Likewise.
55173 * nss/nss_files/files-sgrp.c: Likewise.
55174 * nss/nss_files/files-spwd.c: Likewise.
55175 * nss/nss_db/db-alias.c: Removed.
55176 * nss/nss_db/dummy-db.h: Removed.
55177
9ee76b5a
UD
551782011-06-02 Ulrich Drepper <drepper@gmail.com>
55179
55180 * nss/makedb.c: Rewritten to not use database library.
55181 * nss/Makefile: Update to build new makedb program.
55182
c71ca1f8
AJ
551832011-06-14 Andreas Jaeger <aj@suse.de>
55184
55185 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55186 memset declaration.
55187
3154bfb8
UD
551882011-06-10 Andreas Schwab <schwab@redhat.com>
55189
55190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55191 tmpbuf.
55192
b350afab
RM
551932011-06-10 Roland McGrath <roland@hack.frob.com>
55194
decd4e50
RM
55195 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55196 * elf/Makefile ($(objpfx)ld.so): Likewise.
55197
5615eaf2
RM
55198 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55199 Don't list ld.so twice in dependencies.
55200
55201 * posix/bug-regex31.c: Include <stdlib.h>.
55202
55203 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55204
55205 * nis/nss_compat/compat-spwd.c
55206 (getspent_next_nss_netgr): Remove unused variable.
55207 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55208
55209 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55210 nonmembers" output to use the right array.
55211
55212 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55213
55214 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55215
55216 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55217 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55218 * catgets/gencat.c (read_input_file): Likewise.
55219 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55220
55221 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55222 variable definition inside #if's controlling its use.
55223
55224 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55225
55226 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55227
55228 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55229
55230 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55231 unreachable code.
55232
55233 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55234
b68e08db
RM
55235 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55236 * configure: Regenerated.
55237
b350afab
RM
55238 * Makerules: Revert last change.
55239 * elf/Makefile: Likewise.
55240
28368601
RM
552412011-06-09 Roland McGrath <roland@hack.frob.com>
55242
55243 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55244 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55245 (reloc-link): Likewise.
55246
11988f8f
UD
552472011-06-09 Ulrich Drepper <drepper@gmail.com>
55248
55249 * elf/Makefile: Add rules to build pldd.
55250 * elf/pldd.c: New file.
55251 * elf/pldd-xx.c: New file.
55252
e80fab37
UD
552532011-06-07 Ulrich Drepper <drepper@gmail.com>
55254
55255 * version.h: Update for 2.15 development version.
55256
9b849836
DM
552572011-06-07 David S. Miller <davem@davemloft.net>
55258
55259 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55260 ifuncs.
55261 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55262 elf_machine_lazy_rel): Likewise.
55263 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55264 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55265 elf_machine_lazy_rel): Likewise.
55266 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55267 dl_hwcap via passed in argument.
55268 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55269 Likewise.
55270
5a31b283
AK
552712011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55272
55273 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55274
069e52f8
RM
552752011-06-06 Roland McGrath <roland@hack.frob.com>
55276
55277 [BZ #12849]
55278 * manual/fdl-1.1.texi: New file, verbatim from:
55279 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55280 * manual/lgpl-2.1.texi: New file, verbatim from:
55281 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55282 * manual/Makefile (licenses): New variable, list those new file names.
55283 (texis): Use it.
55284 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55285
55286 * manual/fdl.texi: File removed.
55287 * manual/lesser.texi: File removed.
55288 * manual/libc.texinfo (Copying, Documentation License):
55289 Use new @include file names, put @appendix directive before @include.
55290
f16846a5
JJ
552912011-06-04 Jakub Jelinek <jakub@redhat.com>
55292
55293 [BZ #12841]
55294 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55295 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55296 (mq_open): Add __NTH.
55297
3d29045b
L
552982011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55299
55300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55301 Assume Intel Core i3/i5/i7 processor if AVX is available.
55302
8c297311
UD
553032011-05-31 Ulrich Drepper <drepper@gmail.com>
55304
55305 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55306 typo.
55307
c8fc0c91
UD
553082011-05-31 Andreas Schwab <schwab@redhat.com>
55309
55310 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55311 memory. Use alloca_account. Fix memory leak when retrying.
55312
5b27a807
UD
553132011-05-31 Ulrich Drepper <drepper@gmail.com>
55314
356f8bc6
UD
55315 * version.h (RELEASE): Bump for 2.14 release.
55316 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55317
5b27a807
UD
55318 * config.make.in (RANLIB): Remove entry.
55319
01f16ab0
UD
553202011-05-30 Ulrich Drepper <drepper@gmail.com>
55321
41fce8bd
UD
55322 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55323 (libc.pot): Work around missing support for .ksh extension in xgettext.
55324
4769ae77
UD
55325 [BZ #12684]
55326 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55327 if both request failed.
55328 (send_dg): In case of server errors clear resplen or *resplen2.
55329
6b1e7d19
UD
55330 [BZ #12454]
55331 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55332 when there are multiple maps.
55333 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55334 (_dl_fini): Remove test here.
55335
01f16ab0
UD
55336 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55337
b1ebd700
UD
553382011-05-29 Ulrich Drepper <drepper@gmail.com>
55339
7ae22829
UD
55340 [BZ #12350]
55341 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55342 bit from old_res_options.
55343 (gaih_inet): Likewise.
55344
553149f6 55345 [BZ #11099]
18a84741 55346 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55347 as signed.
55348
652ffab1
UD
55349 * resolv/res_init.c (res_setoptions): Make the code more compact.
55350
16985fd0
UD
55351 [BZ #11558]
55352 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55353 set RES_USEVC.
55354
0464f746
UD
55355 [BZ #11634]
55356 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55357
7d17596c
UD
55358 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55359
cf6bbbd7
UD
55360 [BZ #11781]
55361 * malloc/malloc.h: Declare malloc hook variables as volatile.
55362
13f1ab36
UD
55363 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55364 in last patch.
55365
b1ebd700
UD
55366 [BZ #11799]
55367 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55368 raise in the comment.
80e2212d
UD
55369 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55370 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55371 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55372
ce67228d
UD
553732011-05-28 Ulrich Drepper <drepper@gmail.com>
55374
8887a920
UD
55375 [BZ #12811]
55376 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55377 grow the buffers more if it already has to be sufficient.
55378 (build_wcs_upper_buffer): Likewise.
55379 * posix/regexec.c (check_matching): Likewise.
55380 (clean_state_log_if_needed): Likewise.
55381 (extend_buffers): Don't enlarge buffers beyond size of the input
55382 buffer.
55383 Patches mostly by Emil Wojak <emil@wojak.eu>.
55384 * posix/bug-regex32.c: New file.
55385 * posix/Makefile (tests): Add bug-regex32.
55386
4f031072
UD
55387 * locale/findlocale.c (_nl_find_locale): Return right away if
55388 _nl_explode_name failed.
55389 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55390
d0478f0c
UD
55391 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55392
de81b246
UD
55393 * debug/xtrace.sh: Unify messages.
55394 * malloc/memusage.sh: Likewise.
55395
c738465a
UD
55396 [BZ #12813]
55397 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55398 time symbol from vDSO. Substitute with vsyscall if not available.
55399 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55400 __vdso_time.
55401
f1f929d7
UD
55402 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55403 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55404 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55405 Add sendmmsg and internal_sendmmsg.
55406 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55407 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55408 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55409
ce67228d
UD
55410 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55411 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55412 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55413
e57420c6
UD
554142011-05-27 Ulrich Drepper <drepper@gmail.com>
55415
a8509ca5
UD
55416 [BZ #12813]
55417 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55418 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55419 available.
55420 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55421 __vdso_getcpu.
55422
e57420c6
UD
55423 [BZ #12814]
55424 * iconvdata/Makefile (tests): Add bug-iconv9.
55425 * iconvdata/bug-iconv9.c: New file.
55426
4d07db15
AS
554272011-05-27 Andreas Schwab <schwab@redhat.com>
55428
55429 [BZ #12814]
55430 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55431
ea486f69
JJ
554322011-05-25 Jakub Jelinek <jakub@redhat.com>
55433
55434 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55435 (struct user_regs_struct): Change intcs field back to cs.
55436
6f038433
UD
554372011-05-25 Ulrich Drepper <drepper@gmail.com>
55438
55439 * po/ja.po: Update from translation team.
55440
67f86a25
UD
554412011-05-23 Ulrich Drepper <drepper@gmail.com>
55442
55443 [BZ #12795]
55444 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55445 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55446
def7fbd6
AS
554472011-05-20 Andreas Schwab <schwab@redhat.com>
55448
55449 * stdlib/longlong.h: Update from GCC.
55450
f50ef8f1
AS
554512011-05-23 Andreas Schwab <schwab@redhat.com>
55452
55453 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55454 parameter name.
55455 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55456 Add parameter name.
55457 (__sysconf): Pass it down.
55458
de7ce8f1
UD
554592011-05-22 Ulrich Drepper <drepper@gmail.com>
55460
f2962a71
UD
55461 [BZ #12671]
55462 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55463 some situations.
55464 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55465 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55466 add in in __libc_use_alloca calls. Adjust callers.
55467 (glob): Use malloc in some situations.
55468
de7ce8f1
UD
55469 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55470 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55471 pltexit.
55472
aec84f53
UD
554732011-05-21 Ulrich Drepper <drepper@gmail.com>
55474
05bb4a68
UD
55475 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55476 and CLOCK_BOOTTIME_ALARM.
55477
7ea72f99
UD
55478 [BZ #12782]
55479 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55480 is returned.
55481
7e4afad5
UD
55482 * string/_strerror.c (__strerror_r): Print negative errors as signed
55483 numbers.
55484
8e211fec
UD
55485 [BZ #12777]
55486 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55487 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55488 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55489
f7d82dc9
UD
55490 * configure.in: Fix typo in redirection and correct removal of test
55491 files in two cases.
55492
cc9e536d
UD
55493 [BZ #12788]
55494 * locale/setlocale.c (new_composite_name): Fix test to check for
55495 identical name of all categories.
55496
aec84f53
UD
55497 [BZ #12792]
55498 * libio/filedoalloc.c (local_isatty): New function.
55499 (_IO_file_doallocate): Use local_isatty.
55500 * stdio-common/perror.c (perror): In case a new stream is used
55501 forward the stream error.
55502 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55503 error flag.
55504
78e64fdc
RT
555052011-05-20 Ulrich Drepper <drepper@gmail.com>
55506
34a9094f
UD
55507 [BZ #11869]
55508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55509 alloca.
55510 * include/alloca.h (extend_alloca_account): Define.
55511
78e64fdc
RT
55512 [BZ #11857]
55513 * posix/regex.h: Fix comments with documentation of user-accessible
55514 fields after compilation and describe correct free'ing of pattern
55515 after re_compile_pattern.
55516 Patch by Reuben Thomas <rrt@sc3d.org>.
55517
457bddfc
RA
555182011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55519
55520 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55521 and -mno-altivec to prevent the compiler from using Altivec and/or
55522 VSX instructions when the corresponding registers are not available.
55523
a4527b51
AS
555242011-05-19 Andreas Schwab <schwab@redhat.com>
55525
55526 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55527
ed690b2f
UD
555282011-05-19 Ulrich Drepper <drepper@gmail.com>
55529
55530 * libio/freopen.c (freopen): Use __dup2, not dup2.
55531 * libio/freopen64.c (freopen64): Likewise.
55532
8db73634
L
555332011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55534
55535 [BZ #12775]
55536 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55537 * math/Makefile (tests): Add test-powl.
55538 (CFLAGS-test-powl.c): Define.
55539 * math/test-powl.c: New file.
55540
0a197a9d
L
555412011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55542
55543 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55544
ee30c380
UD
555452011-05-17 Ulrich Drepper <drepper@gmail.com>
55546
55547 [BZ #11837]
55548 * iconvdata/gb18030.c: Update to GB18020-2005.
55549
6ce75379
UD
555502011-05-16 Ulrich Drepper <drepper@gmail.com>
55551
a4b89fd8
AR
55552 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55553 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55554 Patch by Aharon Robbins <arnold@skeeve.com>.
55555
ea389b12
UD
55556 [BZ #11892]
55557 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55558 on the stack.
55559
68a3f91f
UD
55560 [BZ #11895]
55561 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55562 through underflows.
55563
15cc7dd1
UD
55564 [BZ #12766]
55565 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55566 point to strings before performing equality test for error_one_per_line
55567 mode.
55568
f3799213
UD
55569 [BZ #11697]
55570 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55571
d79a9c94
UD
55572 [BZ #11820]
55573 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55574 (struct user_fpregs_struct): Avoid __uint*_t types.
55575
56e5eb46
UD
55576 [BZ #6420]
55577 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55578 symbol info. Use it instead of calling _dl_addr locally.
55579 (lock_and_info): New function.
55580 (tr_freehook): Call lock_and_info and pass symbol info as additional
55581 parameter to tr_where.
55582 (tr_mallochook): Likewise.
55583 (tr_reallochook): Likewise.
55584 (tr_memalignhook): Likewise.
55585
6ce75379
UD
55586 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55587 used and couldn't be at all thread-safe.
55588
f8a3b5bf
UD
555892011-05-15 Ulrich Drepper <drepper@gmail.com>
55590
94b7cc37
UD
55591 * libio/freopen.c (freopen): Don't close old file descriptor
55592 before the new one is opened. Instead dup the new file descriptor
55593 to the old one after the new stream is created.
55594 * libio/freopen64.c (freopen64): Likewise.
55595 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55596 * libio/fileops.c (_IO_new_file_close_it): Handle new
55597 _IO_FLAGS2_NOCLOSE flag.
55598 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55599 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55600 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55601 _IO_FLAGS2_NOCLOSE flag.
55602 * include/unistd.h: Add hidden_proto for dup3.
55603 Define __have_dup3.
55604 * io/dup3.c: Define hidden symbol.
55605 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55606
bd25564e
UD
55607 [BZ #7101]
55608 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55609 when an incomplete long option is used.
55610 * posix/tst-getopt_long1.c: New file.
55611 * posix/Makefile (tests): Add tst-getopt_long1.
55612
c84cfef4
UD
55613 [BZ #10138]
55614 * scripts/config.guess: Update from autoconf-2.68.
55615 * scripts/config.sub: Likewise.
55616
3b85df27
UD
55617 [BZ #10157]
55618 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55619 tests into ...
55620 (has_cpuclock): ...this. New function.
55621 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55622 macro here based on has_cpuclock code.
55623
15a856b1
UD
55624 [BZ #10149]
55625 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55626 First byte (not low byte) is now always NUL.
55627 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55628
05f399e6
UD
55629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55630 Use non-cancelable interfaces.
55631
10a52685 55632 [BZ #9809]
94ecc67d
UD
55633 * locale/iso-639.def: Add entry for Sorani.
55634
f8a3b5bf
UD
55635 [BZ #11901]
55636 * include/stdlib.h: Move include protection to the right place.
55637 Define abort_msg_s. Declare __abort_msg with it.
55638 * stdlib/abort.c (__abort_msg): Adjust type.
55639 * assert/assert.c (__assert_fail_base): New function. Majority
55640 of code from __assert_fail. Allocate memory for __abort_msg with
55641 mmap.
55642 (__assert_fail): Now call __assert_fail_base.
55643 * assert/assert-perr.c: Remove bulk of implementation. Use
55644 __assert_fail_base.
55645 * include/assert.hL Declare __assert_fail_base.
55646 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55647 mmap.
55648 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55649
1af4e298
UD
556502011-05-14 Ulrich Drepper <drepper@gmail.com>
55651
f8a3b5bf 55652 [BZ #11952]
d26dfc60
MG
55653 [BZ #12453]
55654 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55655 until all modules are registered in the DTV.
55656 * elf/Makefile: Add rules to build and run tst-tls19.
55657 * elf/tst-tls19.c: New file.
55658 * elf/tst-tls19mod1.c: New file.
55659 * elf/tst-tls19mod2.c: New file.
55660 * elf/tst-tls19mod3.c: New file.
55661 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55662
2fc54d6f
UD
55663 [BZ #12083]
55664 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55665 correctly.
55666
98d76b46
UD
55667 [BZ #12601]
55668 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55669 two-byte sequence errors.
55670 * iconvdata/Makefile (tests): Add bug-iconv8.
55671 * iconvdata/bug-iconv8.c: New file.
55672
da3c19ef
UD
55673 [BZ #12626]
55674 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55675 buf2 definition.
55676
ca408c15
UD
55677 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55678
d6f67f7d
UD
55679 [BZ #12432]
55680 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55681 (dummy_getcfa): New function.
55682 (init): Get _Unwind_GetCFA address, use dummy if not found.
55683 (backtrace_helper): In recursion check, also check whether CFA changes.
55684 (__backtrace): Completely initialize arg.
55685
1af4e298 55686 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
55687 storing incomplete byte sequence in state object. Avoid testing for
55688 guaranteed too small input if we know there is enough data available.
1af4e298 55689
da62f81b
AS
556902011-05-11 Andreas Schwab <schwab@redhat.com>
55691
55692 * Makeconfig (+link-pie): Indent.
55693 * Rules (binaries-pie): Define if $(have-fpie) and
55694 $(build-shared).
55695 (binaries-shared): Also filter out $(binaries-pie).
55696 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55697 * nscd/Makefile (others-pie): Add nscd.
55698 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55699 ($(objpfx)nscd): Remove command override.
55700 * login/Makefile (others-pie): Add pt_chown.
55701 ($(objpfx)pt_chown): Remove command override.
55702 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55703 remove command overrides.
55704
fcabc0f8
UD
557052011-05-13 Ulrich Drepper <drepper@gmail.com>
55706
20030ae6
UD
55707 * libio/tst_putwc.c: Fix error messages.
55708
fcabc0f8
UD
55709 [BZ #12724]
55710 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55711 currently writing and seek to current position when not.
55712 * libio/Makefile (tests): Add bug-fclose1.
55713 * libio/bug-fclose1.c: New file.
55714
320a5dc0
PB
557152011-05-12 Ulrich Drepper <drepper@gmail.com>
55716
55717 [BZ #12511]
55718 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55719 don't set DF_1_NODELETE here.
55720 (do_lookup_x): When entering new entry test for copy relocation
55721 and if necessary set DF_1_NODELETE flag.
55722 * elf/tst-unique4.cc: New file.
55723 * elf/tst-unique4.h: New file.
55724 * elf/tst-unique4lib.cc: New file.
55725 * elf/Makefile: Add rules to build and run tst-unique4.
55726 Patch by Piotr Bury <pbury@goahead.com>.
55727
22836f52
UD
557282011-05-11 Ulrich Drepper <drepper@gmail.com>
55729
f574184a
UD
55730 [BZ #12052]
55731 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55732
e1fb097f
UD
55733 [BZ #12625]
55734 * misc/mntent_r.c (addmntent): Flush the stream after the output
55735
22836f52
UD
55736 [BZ #12393]
55737 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55738 (is_trusted_path_normalize): Skip initial colon. Append slash
55739 to empty buffer. Duplicate is_trusted_path code but allow
55740 constructed patch to be prefix.
55741 (is_dst): Allow $ORIGIN followed by /.
55742 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55743 Correct testing of result of is_trusted_path_normalize
55744 (decompose_rpath): Fix warning.
55745
7b3b0b2a
UD
557462011-05-10 Ulrich Drepper <drepper@gmail.com>
55747
55748 [BZ #11257]
55749 * grp/initgroups.c (internal_getgrouplist): When we found the service
55750 list through the initgroups entry in nsswitch.conf do not always
55751 continue on a successful lookup. Don't always use the
eac80ce2 55752 __nss_group_database value if it is set.
7b3b0b2a
UD
55753 * nss/nsswitch.conf (initgroups): Change action for successful db
55754 lookup to continue for compatibility.
55755
2a81eaa5
UD
557562011-05-09 Ulrich Drepper <drepper@gmail.com>
55757
be97a69e
UD
55758 [BZ #11532]
55759 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55760 and CP774 modules.
55761 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55762 and CP774 modules.
55763 * iconvdata/tst-tables.sh: Likewise.
55764 * iconvdata/cp770.c: New file.
55765 * iconvdata/cp771.c: New file.
55766 * iconvdata/cp772.c: New file.
55767 * iconvdata/cp773.c: New file.
55768 * iconvdata/cp774.c: New file.
55769 * iconvdata/testdata/CP770: New file.
55770 * iconvdata/testdata/CP770..UTF8: New file.
55771 * iconvdata/testdata/CP771: New file.
55772 * iconvdata/testdata/CP771..UTF8: New file.
55773 * iconvdata/testdata/CP772: New file.
55774 * iconvdata/testdata/CP772..UTF8: New file.
55775 * iconvdata/testdata/CP773: New file.
55776 * iconvdata/testdata/CP773..UTF8: New file.
55777 * iconvdata/testdata/CP774: New file.
55778 * iconvdata/testdata/CP774..UTF8: New file.
55779
55780 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55781 END CHARMAP line.
55782 * iconvdata/gen-8bit-gap.sh: Likewise.
55783 * iconvdata/gen-8bit.sh: Likewise.
55784
c1e9e399
UD
55785 * locale/iso-639.def: Add ary entry.
55786
24c55fb3 55787 [BZ #11258]
96b4b1b0
UD
55788 * locale/C-translit.h.in: Add U20A1 transliteration.
55789
bdc2f971
KB
55790 [BZ #12178]
55791 * locale/iso-639.def: Add wae entry.
55792 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55793
2952b117
UD
55794 [BZ #12545]
55795 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55796 for n.
55797
2a81eaa5
UD
55798 [BZ #12711]
55799 * locale/C-translit.h.in: Add entry for U20B9.
55800 Patch by pravin.d.s@gmail.com.
55801
28377d1b
UD
558022011-05-08 Ulrich Drepper <drepper@gmail.com>
55803
7fb90fb8
UD
55804 [BZ #12713]
55805 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55806 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
55807 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55808 in rtld. Use *stat64.
7fb90fb8 55809 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 55810 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 55811 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
55812 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55813 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55814 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55815 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55816 __fstatat64 macros.
7fb90fb8
UD
55817 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55818 * dirent/rewinddir.c: Add libc_hidden_def.
55819 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 55820 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 55821
28377d1b
UD
55822 * include/dirent.h (__alloc_dir): Add flags parameter.
55823 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55824 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55825 __alloc_dir.
55826 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55827 from fdopendir if O_CLOEXEC is already set.
55828
66bdbaa4
AM
558292011-03-15 Alan Modra <amodra@gmail.com>
55830
55831 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55832 l_tls_firstbyte_offset non-zero. Save padding offset in
55833 l_tls_firstbyte_offset for later use.
55834 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55835 freeing static tls block.
55836
95721191
JN
558372011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55838
55839 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55840 where #ifdef was intended. The intent is to prevent ARG_MAX from
55841 being defined by the kernel headers.
55842
f87dfb1f
UD
558432011-05-07 Ulrich Drepper <drepper@gmail.com>
55844
55845 [BZ #12734]
55846 * resolv/resolv.h: Define RES_NOTLDQUERY.
55847 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55848 no-tld-query and set RES_NOTLDQUERY.
55849 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55850 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55851 modern BIND to search name as TLD unless forbidden.
55852
47c3cd7a
UD
558532011-05-07 Petr Baudis <pasky@suse.cz>
55854 Ulrich Drepper <drepper@gmail.com>
55855
55856 [BZ #12393]
55857 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55858 (is_trusted_path): ...to here.
c1e9ea35 55859 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 55860 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 55861 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 55862
8a35c912
PP
558632011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55864
55865 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55866 __BEGIN/__END_DECLS.
55867
acd41f47
UD
558682011-05-06 Ulrich Drepper <drepper@gmail.com>
55869
55870 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55871 NSS_STATUS_NOTFOUND if no record was found.
55872
597df647
AS
558732011-05-05 Andreas Schwab <schwab@redhat.com>
55874
55875 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55876 (headers-not-in-tirpc): Remove rpc/netdb.h
55877 * resolv/netdb.h: Revert last change.
55878
b9af1301
PP
558792011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55880
55881 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55882 circular dependency between libgcc.a and libc.a.
55883
4e34d5f5
AS
558842011-05-05 Andreas Schwab <schwab@redhat.com>
55885
55886 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55887 * nis/Makefile: Don't install rpcsvc/*.
55888 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55889 instead of <rpc/types.h>.
55890 (MAXHOSTNAMELEN): Define.
55891
00ee369c
AS
558922011-05-03 Andreas Schwab <schwab@redhat.com>
55893
55894 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55895
0b592a30
MB
558962011-04-28 Maciej Babinski <mbabinski@google.com>
55897
55898 [BZ #12714]
55899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55900 gethostbyname4_r when IPv6 results are possible.
55901
6e04cbbe
UD
559022011-05-02 Ulrich Drepper <drepper@gmail.com>
55903
55904 [BZ #12723]
55905 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55906 _PC_PIPE_BUF handling.
55907
e4ecafe0
BH
559082011-04-30 Bruno Haible <bruno@clisp.org>
55909
55910 [BZ #12717]
55911 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55912 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55913 to 'int'.
55914 * inet/getnameinfo.c (getnameinfo): Likewise.
55915
125ee683
UD
559162011-04-29 Ulrich Drepper <drepper@gmail.com>
55917
55918 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55919 to groups setting in database lookup.
55920 * nss/nsswitch.conf: Add initgroups entry.
55921
b722481a
EB
559222011-04-22 Ulrich Drepper <drepper@gmail.com>
55923
55924 [BZ #12685]
55925 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55926 mode string.
55927 Patch by Eric Blake <eblake@redhat.com>.
55928
4df46dbd
L
559292011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55930
55931 * sunrpc/Makefile (need-export-routines): Add svc_run.
55932 (routines): Remove svc_run.
55933 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55934 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55935 * sunrpc/svc_run.c (svc_run): Likewise.
55936 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55937
e84142d2
UD
559382011-04-21 Ulrich Drepper <drepper@gmail.com>
55939
55940 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55941 problem in reallocation in last patch.
55942
877175d8
UD
559432011-04-20 Ulrich Drepper <drepper@gmail.com>
55944
55945 * sunrpc/Makefile: Move inclusion of Rules.
55946
ab8eed78
UD
559472011-04-19 Ulrich Drepper <drepper@gmail.com>
55948
55949 * nss/nss_files/files-initgroups.c: New file.
55950 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55951 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55952 _nss_files_initgroups_dyn.
55953
e3d8f584
RS
559542011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55955
55956 * elf/elf.h (R_ARM_IRELATIVE): Define.
55957
af190f45
UD
559582011-04-19 Ulrich Drepper <drepper@gmail.com>
55959
55960 * po/ru.po: Update from translation team.
55961
53cf59ef
UD
559622011-04-17 Ulrich Drepper <drepper@gmail.com>
55963
55964 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55965 dependencies.
55966
4c559bcd
MF
559672011-02-06 Mike Frysinger <vapier@gentoo.org>
55968
55969 [BZ #12653]
55970 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55971 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55972 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55973 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55974 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55975
4420675c
AS
559762011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55977
55978 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55979 differing bytes.
55980 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55981 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55982 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55983
75ea32ab
UD
559842011-04-17 Ulrich Drepper <drepper@gmail.com>
55985
55986 [BZ #12420]
55987 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55988 storing it.
55989 * stdlib/bug-getcontext.c: New file.
55990 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55991
27390476
AK
559922011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55993
55994 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55995 instructions into .machine "z9-109".
55996 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55997 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55998
10442705
AK
559992011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56000
56001 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56002 between environment variables and auxiliary vector.
56003
7b57bfe5
UD
560042011-04-16 Ulrich Drepper <drepper@gmail.com>
56005
56006 * Makefile: Add rules to build linkobj/libc.so.
56007 * include/libc-symbols.h: Define libc_hidden_nolink.
56008 * include/rpc/auth.h: Mark functions which are to be hidden.
56009 * include/rpc/auth_des.h: Likewise.
56010 * include/rpc/auth_unix.h: Likewise.
56011 * include/rpc/clnt.h: Likewise.
56012 * include/rpc/des_crypt.h: Likewise.
56013 * include/rpc/key_prot.h: Likewise.
56014 * include/rpc/pmap_clnt.h: Likewise.
56015 * include/rpc/pmap_prot.h: Likewise.
56016 * include/rpc/pmap_rmt.h: Likewise.
56017 * include/rpc/rpc_msg.h: Likewise.
56018 * include/rpc/svc.h: Likewise.
56019 * include/rpc/svc_auth.h: Likewise.
56020 * include/rpc/xdr.h: Likewise.
56021 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56022 * nss/Makefile: Likewise.
56023 * sunrpc/Makefile: Don't install headers. Build library with normal
56024 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56025 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56026 for the compat linking library. Remove use of INTDEF/INTUSE.
56027 * sunrpc/auth_none.c: Likewise.
56028 * sunrpc/auth_unix.c: Likewise.
56029 * sunrpc/authdes_prot.c: Likewise.
56030 * sunrpc/authuxprot.c: Likewise.
56031 * sunrpc/clnt_gen.c: Likewise.
56032 * sunrpc/clnt_perr.c: Likewise.
56033 * sunrpc/clnt_raw.c: Likewise.
56034 * sunrpc/clnt_simp.c: Likewise.
56035 * sunrpc/clnt_tcp.c: Likewise.
56036 * sunrpc/clnt_udp.c: Likewise.
56037 * sunrpc/clnt_unix.c: Likewise.
56038 * sunrpc/des_crypt.c: Likewise.
56039 * sunrpc/des_soft.c: Likewise.
56040 * sunrpc/get_myaddr.c: Likewise.
56041 * sunrpc/key_call.c: Likewise.
56042 * sunrpc/key_prot.c: Likewise.
56043 * sunrpc/netname.c: Likewise.
56044 * sunrpc/pm_getmaps.c: Likewise.
56045 * sunrpc/pm_getport.c: Likewise.
56046 * sunrpc/pmap_clnt.c: Likewise.
56047 * sunrpc/pmap_prot.c: Likewise.
56048 * sunrpc/pmap_prot2.c: Likewise.
56049 * sunrpc/pmap_rmt.c: Likewise.
56050 * sunrpc/publickey.c: Likewise.
56051 * sunrpc/rpc_cmsg.c: Likewise.
56052 * sunrpc/rpc_common.c: Likewise.
56053 * sunrpc/rpc_dtable.c: Likewise.
56054 * sunrpc/rpc_prot.c: Likewise.
56055 * sunrpc/rpc_thread.c: Likewise.
56056 * sunrpc/rtime.c: Likewise.
56057 * sunrpc/svc.c: Likewise.
56058 * sunrpc/svc_auth.c: Likewise.
56059 * sunrpc/svc_authux.c: Likewise.
56060 * sunrpc/svc_raw.c: Likewise.
56061 * sunrpc/svc_run.c: Likewise.
56062 * sunrpc/svc_simple.c: Likewise.
56063 * sunrpc/svc_tcp.c: Likewise.
56064 * sunrpc/svc_udp.c: Likewise.
56065 * sunrpc/svc_unix.c: Likewise.
56066 * sunrpc/svcauth_des.c: Likewise.
56067 * sunrpc/xcrypt.c: Likewise.
56068 * sunrpc/xdr.c: Likewise.
56069 * sunrpc/xdr_array.c: Likewise.
56070 * sunrpc/xdr_float.c: Likewise.
56071 * sunrpc/xdr_intXX_t.c: Likewise.
56072 * sunrpc/xdr_mem.c: Likewise.
56073 * sunrpc/xdr_rec.c: Likewise.
56074 * sunrpc/xdr_ref.c: Likewise.
56075 * sunrpc/xdr_sizeof.c: Likewise.
56076 * sunrpc/xdr_stdio.c: Likewise.
56077
e6c61494
UD
560782011-04-10 Ulrich Drepper <drepper@gmail.com>
56079
56080 [BZ #12650]
56081 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56082 * sysdeps/ia64/dl-tls.h: Likewise.
56083 * sysdeps/powerpc/dl-tls.h: Likewise.
56084 * sysdeps/s390/dl-tls.h: Likewise.
56085 * sysdeps/sh/dl-tls.h: Likewise.
56086 * sysdeps/sparc/dl-tls.h: Likewise.
56087 * sysdeps/x86_64/dl-tls.h: Likewise.
56088 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56089
34fe483e
AS
560902011-03-14 Andreas Schwab <schwab@redhat.com>
56091
56092 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56093 rpath element also skip the following colon.
56094 (expand_dynamic_string_token): Add is_path parameter and pass
56095 down to DL_DST_REQUIRED and _dl_dst_substitute.
56096 (decompose_rpath): Call expand_dynamic_string_token with
56097 non-zero is_path. Ignore empty rpaths.
56098 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56099 with zero is_path.
56100
f12a32e6
AS
561012011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56102
56103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56104 Make cancelable.
56105
38a7d692
UD
561062011-04-09 Ulrich Drepper <drepper@gmail.com>
56107
56108 [BZ #12655]
56109 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56110 Patch by Filipe David Manana <fdmanana@apache.org>.
56111
e451d22b
AS
561122011-04-07 Andreas Schwab <schwab@redhat.com>
56113
56114 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56115 Maintain aligned stack.
56116 (CHECK_RSP): Remove unused macro.
56117
dedc7c7b
UD
561182011-04-03 Ulrich Drepper <drepper@gmail.com>
56119
56120 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56121 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56122
94521213
UD
561232011-04-02 Ulrich Drepper <drepper@gmail.com>
56124
56125 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56126
8cb700c0 56127 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 56128
0354e355
L
561292011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56130
56131 [BZ #12518]
56132 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56133 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56134 * sysdeps/x86_64/memmove.c: New file.
56135 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56136 (memcpy): Renamed to ...
56137 (__new_memcpy): This.
56138 (memcpy): Provide GLIBC_2_14 memcpy.
56139 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56140 (memcpy): Provide GLIBC_2_2_5 memcpy.
56141
8593482f
UD
561422011-04-01 Ulrich Drepper <drepper@gmail.com>
56143
56144 [BZ #12631]
56145 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56146
81a5726b
AS
561472011-03-30 Andreas Schwab <schwab@redhat.com>
56148
56149 * misc/syncfs.c: New file.
56150 * misc/Makefile (routines): Add syncfs.
56151 * posix/unistd.h: Declare syncfs.
56152 * sysdeps/unix/syscalls.list: Add syncfs.
56153
00e5419f
AS
561542011-04-01 Andreas Schwab <schwab@redhat.com>
56155
56156 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56157 open_by_handle_at.
56158 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56159 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56160 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56161 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56163 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56164 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56165
748876bf
UD
561662011-04-01 Ulrich Drepper <drepper@gmail.com>
56167
658e451d
UD
56168 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56169 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56170 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56171 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56172 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56174 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56175
748876bf
UD
56176 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56177 sync_file_range.c with -fexceptions.
56178 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56179 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56180 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56181 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56182 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56183 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56184 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
56185 sync_file_range as cancellation point
56186 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56187 now a wrapper around __call_sync_file_range with cancellation handling.
56188 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56189 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56190 function name to __call_sync_file_range.
56191 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56192 Add call_sync_file_range.
748876bf 56193
6e63d5e1
AS
561942011-04-01 Andreas Schwab <schwab@redhat.com>
56195
56196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 56197 bits/timex.h.
6e63d5e1 56198
46998f74
UD
561992011-04-01 Ulrich Drepper <drepper@gmail.com>
56200
4c1423ed
UD
56201 * iconv/iconv.h: Fix typo in comment.
56202 * io/fcntl.h: Likewise.
56203 * libio/stdio.h: Likewise.
56204 * posix/spawn.h: Likewise.
56205 * posix/unistd.h: Likewise.
56206 * stdlib/stdlib.h: Likewise.
56207 * time/time.h: Likewise.
56208 * wcsmbs/wchar.h: Likewise.
56209
158648c0
UD
56210 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56211 open_by_handle): Add.
56212 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56213 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56214 Augment a few comments.
56215 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56216 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56217 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56218 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56219 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56220 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56221 open_by_handle.
56222
46998f74
UD
56223 * io/fcntl.h (AT_EMPTY_PATH): Define.
56224
83fe108b
UD
562252011-03-30 Ulrich Drepper <drepper@gmail.com>
56226
56227 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56228 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56229 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56230 to...
56231 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
56232 * Versions.def: Add GLIBC_2.14.
56233 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56234 Export.
83fe108b 56235
bb242059
UD
562362011-03-22 Ulrich Drepper <drepper@gmail.com>
56237
56238 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56239 round counter.
56240 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56241
c97a1282
L
562422011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56243
56244 [BZ #12597]
56245 * string/test-strncmp.c (do_page_test): New function.
56246 (check2): Likewise.
56247 (test_main): Call check2.
56248 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56249
2a115601
UD
562502011-03-20 Ulrich Drepper <drepper@gmail.com>
56251
56252 [BZ #12587]
56253 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56254 Handle cache information in CPU leaf 4.
56255 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56256
8126d904
UD
562572011-03-18 Ulrich Drepper <drepper@gmail.com>
56258
042c49c6 56259 [BZ #12583]
8126d904
UD
56260 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56261 character representation.
56262 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56263
ccfe366e
RA
562642011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56265
56266 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56267 END(__isnan) to END(__isnanf) to match function entry point/label
56268 EALIGN(__isnanf,...).
56269
c6e13027
JJ
562702011-03-10 Jakub Jelinek <jakub@redhat.com>
56271
56272 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56273
33f85a3f
UD
562742011-03-10 Ulrich Drepper <drepper@gmail.com>
56275
028478fa
UD
56276 [BZ #12510]
56277 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56278 copy from the symbol referenced in the relocation to initialize the
56279 used variable.
56280 Patch by Piotr Bury <pbury@goahead.com>.
56281 * elf/Makefile: Add rules to build and tst-unique3.
56282 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56283 * elf/tst-unique3.cc: New file.
56284 * elf/tst-unique3.h: New file.
56285 * elf/tst-unique3lib.cc: New file.
56286 * elf/tst-unique3lib2.cc: New file.
56287
33f85a3f
UD
56288 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56289
03592fc7
MF
562902011-03-10 Mike Frysinger <vapier@gentoo.org>
56291
56292 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56293 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56294 to _start.
03592fc7 56295
6a5ee102
UD
562962011-03-06 Ulrich Drepper <drepper@gmail.com>
56297
56298 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56299 to-be-loaded object along a path to loader is ld.so.
56300
7e4ba49c
HJ
563012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56302 Ulrich Drepper <drepper@gmail.com>
56303
56304 * sysdeps/x86_64/memset.S: After aligning destination, code
56305 branches to different locations depending on the value of
56306 misalignment, when multiarch is enabled. Fix this.
56307
563082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56309
56310 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56311 Set _x86_64_preferred_memory_instruction for AMD processsors.
56312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56313 Set bit_Prefer_SSE_for_memop for AMD processors.
56314
13a804de
UD
563152011-03-04 Ulrich Drepper <drepper@gmail.com>
56316
56317 * libio/fmemopen.c (fmemopen): Optimize a bit.
56318
9d25c392
AS
563192011-03-03 Andreas Schwab <schwab@redhat.com>
56320
56321 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56322
a5543c6a
RM
563232011-03-03 Roland McGrath <roland@redhat.com>
56324
56325 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56326
012d35f7
DM
563272011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56328
7e4ba49c 56329 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
56330 __bzero_ultra1 instead of __memset_ultra1.
56331
4bff6e01
AS
563322011-02-23 Andreas Schwab <schwab@redhat.com>
56333 Ulrich Drepper <drepper@gmail.com>
56334
56335 [BZ #12509]
56336 * include/link.h (struct link_map): Add l_orig_initfini.
56337 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56338 returning unsuccessfully.
56339 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56340 close of a file loaded at startup, restore the original l_initfini
56341 list.
56342 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56343 list, store the pointer.
56344 * elf/Makefile ($(objpfx)noload-mem): New rule.
56345 (noload-ENV): Define.
56346 (tests): Add $(objpfx)noload-mem.
56347 * elf/noload.c: Include <memcheck.h>.
56348 (main): Call mtrace. Close all opened handles.
56349
f2092faf
AS
563502011-02-17 Andreas Schwab <schwab@redhat.com>
56351
56352 [BZ #12454]
56353 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56354 dependencies are missing.
56355
6c8a2e88
ST
563562011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56357
f2092faf 56358 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56359 Hurd needs munmap.
56360 * sysdeps/mach/hurd/ifreq.h: New file.
56361
84a42118
PB
563622011-01-27 Petr Baudis <pasky@suse.cz>
56363 Ulrich Drepper <drepper@gmail.com>
56364
071f805e 56365 [BZ 12445]#
84a42118
PB
56366 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56367 to extend_alloca().
56368 * stdio-common/bug23.c: New file.
56369 * stdio-common/Makefile (tests): Add bug23.
56370
e23fe25b
AS
563712010-09-28 Andreas Schwab <schwab@redhat.com>
56372 Ulrich Drepper <drepper@gmail.com>
56373
56374 [BZ #12489]
56375 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56376 before performing relro protection. At old place add assertion
56377 to make sure nothing changed.
56378
d3f02e10
NS
563792011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56380 Glauber de Oliveira Costa <glommer@gmail.com>
56381
56382 * elf/elf.h: Add new ARM TLS relocs.
56383
d55fd7a5
RA
563842011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56385
56386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56387 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56388 cast from r3.
56389 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56390 'tests' variable.
56391 * sysdeps/wordsize-64/tst-writev.c: New file.
56392
2206397e
RA
563932011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56394
56395 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56396 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56397 insns in _dl_start to prevent a TOC reference before relocs are
56398 resolved.
56399
e9433893
UD
564002011-02-15 Ulrich Drepper <drepper@gmail.com>
56401
56402 [BZ #12469]
56403 * Makeconfig: Remove RANLIB definition.
56404 * Makerules: Don't use RANLIB.
56405 * aclocal.m4: Remove ranlib test.
56406 * configure.in: No need to check for ranlib.
56407 * elf/rtld-Rules: Don't use RANLIB.
56408
f75286c6
ST
564092011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56410
8e31c82d
ST
56411 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56412 protection macro.
56413 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56414 inclusion protection macro.
56415
f75286c6
ST
56416 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56417 SIGRTMIN and SIGRTMAX and print information in that case only when
56418 SIGRTMIN is defined.
56419
c1d0e639
JJ
564202011-02-11 Jakub Jelinek <jakub@redhat.com>
56421
56422 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56423 arginfo fn returning -1.
56424
56425 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56426 and thousands string is zero terminated.
56427
edf9294e
AS
564282011-02-03 Andreas Schwab <schwab@redhat.com>
56429
56430 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56431 sysdeps/unix/sysv/linux/bits/socket.h.
56432
2b7e92df
ST
564332011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56434
edf9294e
AS
56435 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56436 (__CPU_COUNT): Remove old macros.
56437 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56438 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56439 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56440 (__sched_cpualloc, __sched_cpufree): Add declarations.
56441
a4c7ea7b
UD
564422011-02-05 Ulrich Drepper <drepper@gmail.com>
56443
56444 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56445 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56446 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56447 (readdhstai): Return value of addhstaiX call.
56448 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56449 (addgrbyX): Return value returned by cache_addgr.
56450 (readdgrbyname): Return value returned by addgrbyX.
56451 (readdgrbygid): Likewise.
56452 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56453 (addpwbyX): Return value returned by cache_addpw.
56454 (readdpwbyname): Return value returned by addhstbyX.
56455 (readdpwbyuid): Likewise.
56456 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56457 (addservbyX): Return value returned by cache_addserv.
56458 (readdservbyname): Return value returned by addservbyX:
56459 (readdservbyport): Likewise.
56460 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56461 (addhstbyX): Return value returned by cache_addhst.
56462 (readdhstbyname): Return value returned by addhstbyX.
56463 (readdhstbyaddr): Likewise.
56464 (readdhstbynamev6): Likewise.
56465 (readdhstbyaddrv6): Likewise.
56466 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56467 (readdinitgroups): Return value returned by addinitgroupsX.
56468 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56469 (prune_cache): Keep track of timeout value of re-added entries.
56470 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56471 * nscd/nscd.h: Adjust prototypes of readd* functions.
56472
a0bf67cc
RM
564732011-02-04 Roland McGrath <roland@redhat.com>
56474
56475 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56476 (nis_stats): Likewise.
56477 * nis/nis_modify.c (nis_modify): Likewise.
56478 * nis/nis_remove.c (nis_remove): Likewise.
56479 * nis/nis_add.c (nis_add): Likewise.
56480
56481 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56482
56483 * posix/fnmatch_loop.c: Add some consts.
56484
56485 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56486
435b95eb
L
564872011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56488
56489 [BZ #12460]
56490 * config.make.in (config-cflags-novzeroupper): Define.
56491 * configure.in: Substitute libc_cv_cc_novzeroupper.
56492 * elf/Makefile (AVX-CFLAGS): Define.
56493 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56494 (CFLAGS-tst-auditmod4a.c): Likewise.
56495 (CFLAGS-tst-auditmod4b.c): Likewise.
56496 (CFLAGS-tst-auditmod6b.c): Likewise.
56497 (CFLAGS-tst-auditmod6c.c): Likewise.
56498 (CFLAGS-tst-auditmod7b.c): Likewise.
56499 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56500
8517b15e
UD
565012011-02-02 Ulrich Drepper <drepper@gmail.com>
56502
56503 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56504 function to the callback.
56505 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56506
10a656fe
AS
565072011-02-02 Andreas Schwab <schwab@redhat.com>
56508
56509 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56510 of errno.
56511
968dad0a
UD
565122011-01-19 Ulrich Drepper <drepper@gmail.com>
56513
9f94d2ea 56514 [BZ #11724]
968dad0a
UD
56515 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56516 of constructors.
56517 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56518 of destructors.
56519 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56520
56521 [BZ #11724]
56522 * elf/Makefile: Add rules to build and run new test.
56523 * elf/tst-initorder.c: New file.
56524 * elf/tst-initorder.exp: New file.
56525 * elf/tst-initordera1.c: New file.
56526 * elf/tst-initordera2.c: New file.
56527 * elf/tst-initordera3.c: New file.
56528 * elf/tst-initordera4.c: New file.
56529 * elf/tst-initorderb1.c: New file.
56530 * elf/tst-initorderb2.c: New file.
56531 * elf/tst-order-a1.c: New file.
56532 * elf/tst-order-a2.c: New file.
56533 * elf/tst-order-a3.c: New file.
56534 * elf/tst-order-a4.c: New file.
56535 * elf/tst-order-b1.c: New file.
56536 * elf/tst-order-b2.c: New file.
56537 * elf/tst-order-main.c: New file.
56538 New test case by George Gensure <werkt0@gmail.com>.
56539
86e92359
UD
565402010-10-01 Andreas Schwab <schwab@redhat.com>
56541
56542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56543 decoding ACE if AI_CANONIDN.
56544
5d5732b0
UD
565452011-01-18 Ulrich Drepper <drepper@gmail.com>
56546
56547 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56548
a77e8cbc
UD
565492011-01-17 Ulrich Drepper <drepper@gmail.com>
56550
6392473f
UD
56551 * version.h (RELEASE): Bump for 2.13 release.
56552 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56553
620a0529
UD
56554 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56555
18ba70a5
UD
56556 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56557 MADV_NOHUGEPAGE.
32465c3e
UD
56558 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56559 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56560 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56561 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56562 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56563 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56564
c0dafcf1
UD
56565 * posix/getconf.c: Update copyright year.
56566 * catgets/gencat.c: Likewise.
56567 * csu/version.c: Likewise.
56568 * debug/catchsegv.sh: Likewise.
56569 * debug/xtrace.sh: Likewise.
56570 * elf/ldconfig.c: Likewise.
56571 * elf/ldd.bash.in: Likewise.
56572 * elf/sprof.c (print_version): Likewise.
56573 * iconv/iconv_prog.c: Likewise.
56574 * iconv/iconvconfig.c: Likewise.
56575 * locale/programs/locale.c: Likewise.
56576 * locale/programs/localedef.c: Likewise.
56577 * malloc/memusage.sh: Likewise.
56578 * malloc/mtrace.pl: Likewise.
56579 * nscd/nscd.c (print_version): Likewise.
56580 * nss/getent.c: Likewise.
56581
a77e8cbc
UD
56582 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56583 PF_CAIF, and PF_ALG.
56584 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56585
77e8bddf
AS
565862011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56587
1f20b93a
AS
56588 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56589 (modules-names): Use them.
56590 (ifunc-test-modules, ifunc-pie-tests): Define.
56591 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56592 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56593 (test-extras): Likewise.
56594 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56595 $(compile-command.c).
56596 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56597 (all-built-dso): Define.
56598 (check-textrel.out, check-execstack.out): Depend on it.
56599
77e8bddf
AS
56600 * configure.in: Don't override --enable-multi-arch.
56601
bc425b33
UD
566022011-01-15 Ulrich Drepper <drepper@gmail.com>
56603
56604 [BZ #6812]
56605 * nscd/hstcache.c (tryagain): Define.
56606 (cache_addhst): Return tryagain not notfound for temporary errors.
56607 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56608 failed.
56609
794c3ad3
UD
566102011-01-14 Ulrich Drepper <drepper@gmail.com>
56611
70181fdd
UD
56612 [BZ #10563]
56613 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56614 to make the syscall.
56615 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56616
794c3ad3
UD
56617 [BZ #12378]
56618 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56619 and fall back to matching as normal character if the string ends before
56620 the matching ']' is found. This is what POSIX requires.
56621 * posix/testfnm.c: Adjust test result.
56622 * posix/globtest.sh: Adjust test result. Add new test.
56623 * posix/tst-fnmatch.input: Likewise.
56624 * posix/tst-fnmatch2.c: Add new test.
56625
68dc9497
AS
566262010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56627
56628 * elf/Makefile (check-execstack): Revert last change. Depend on
56629 check-execstack.h.
56630 (check-execstack.h): New target.
56631 (generated): Add check-execstack.h.
56632 * elf/check-execstack.c: Include "check-execstack.h".
56633 (main): Revert last change.
56634 (handle_file): Return zero if GNU_STACK is absent and
56635 DEFAULT_STACK_PERMS doesn't include PF_X.
56636
451f001b
UD
566372011-01-13 Ulrich Drepper <drepper@gmail.com>
56638
cfa28e56
UD
56639 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56640 in child fails because the descriptor is already closed.
8cf8ce17
UD
56641 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56642 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56643 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 56644
1086d70d
UD
56645 [BZ #12397]
56646 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56647 syscall.
56648
451f001b
UD
56649 [BZ #10484]
56650 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56651 temporary buffer used to handle multi lookups locally.
a85b5cb4 56652 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 56653
08769175
UD
566542011-01-12 Ulrich Drepper <drepper@gmail.com>
56655
56656 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56657 loader is ld.so.
56658
5e49c52e
UD
566592011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56660
56661 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56662 alignment for SSE2.
56663
60522a5f
UD
566642011-01-12 Ulrich Drepper <drepper@gmail.com>
56665
56666 [BZ #12394]
56667 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56668 characters. When rounding increased number of integer digits recompute
56669 number of groups.
56670 * stdio-common/tst-grouping.c: New file.
56671 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56672
f257bbd7
UD
566732011-01-09 Ulrich Drepper <drepper@gmail.com>
56674
56675 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56676 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56677
56678 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56679 void.
56680 * bits/select.h: Likewise.
56681
fa9c15cb
UD
566822011-01-08 Ulrich Drepper <drepper@gmail.com>
56683
56684 * po/ja.po: Update from translation team.
56685
16c2895f
DM
566862011-01-04 David S. Miller <davem@sunset.davemloft.net>
56687
56688 [BZ #11155]
56689 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56690 implementation just like for lxstat, fxstatat, et al.
56691
2543fef2
JM
566922010-12-27 Jim Meyering <meyering@redhat.com>
56693
56694 [BZ #12348]
56695 * posix/regexec.c (build_trtable): Return failure indication upon
56696 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56697
98727dbe
UD
566982010-12-25 Ulrich Drepper <drepper@gmail.com>
56699
5bd6dc5c
UD
56700 [BZ #12201]
56701 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56702 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56703 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56704 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56705
97983464
UD
56706 [BZ #12207]
56707 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56708
98727dbe
UD
56709 [BZ #12204]
56710 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56711 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56712
4a531bb0
L
567132010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56714
56715 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56716 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56717 script has SORT_BY_INIT_PRIORITY.
56718 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56719 NO_CTORS_DTORS_SECTIONS is defined.
56720 * elf/soinit.c: Likewise.
56721 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56722 NO_CTORS_DTORS_SECTIONS is defined.
56723 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56724 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56725 * sysdeps/sh/init-first.c: Likewise.
56726 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56727
07eb4b71
UD
567282010-12-24 Ulrich Drepper <drepper@gmail.com>
56729
56730 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56731 always use the slow path.
56732
30950a5f
RA
567332010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56734
56735 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56736 similar rule which adds the sysdep directories to the header search in
56737 order to pick up the correct platform stackinfo.h.
56738 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56739 perform test if it is, otherwise return successfully without testing.
56740 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56741 DEFAULT_STACK_PERMS define in stackinfo.h.
56742 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56743 defined in stackinfo.h.
56744 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56745 DEFAULT_STACK_PERMS defined in stackinfo.h.
56746 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56747 * sysdeps/ia64/stackinfo.h: Likewise.
56748 * sysdeps/s390/stackinfo.h: Likewise.
56749 * sysdeps/sh/stackinfo.h: Likewise.
56750 * sysdeps/sparc/stackinfo.h: Likewise.
56751 * sysdeps/x86_64/stackinfo.h: Likewise.
56752 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56753 PF_X for powerpc64. Retain PF_X for powerpc32.
56754
db753e2c
UD
567552010-12-19 Ulrich Drepper <drepper@gmail.com>
56756
14b697f7
UD
56757 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56758 accurately.
db753e2c
UD
56759 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56760 GETDENTS_64BIT_ALIGNED.
56761
28300719
UD
567622010-12-14 Ulrich Drepper <dreper@gmail.com>
56763
14b697f7 56764 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 56765
4f197237
AS
567662010-12-10 Andreas Schwab <schwab@redhat.com>
56767
dbb0472f
AS
56768 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56769 _GNU_SOURCE.
56770
4f197237
AS
56771 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56772 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56773 Remove __restrict.
56774 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56775 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56776
fb88ac72
UD
567772010-12-09 Ulrich Drepper <drepper@gmail.com>
56778
56779 [BZ #11655]
56780 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56781 are initialized.
56782
42acbb92
JJ
567832010-12-09 Jakub Jelinek <jakub@redhat.com>
56784
56785 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56786
c038d98d
UD
567872010-12-03 Ulrich Drepper <drepper@gmail.com>
56788
56789 * po/it.po: Update from translation team.
56790
3a4a2499
L
567912010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56792
56793 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56794 unused codes.
56795
1e24cf6e
UD
567962010-11-30 Ulrich Drepper <drepper@gmail.com>
56797
56798 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56799
a7690819
AS
568002010-11-24 Andreas Schwab <schwab@redhat.com>
56801
56802 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56803 specially.
56804 (gaih_getanswer_slice): Likewise.
56805
3bf8d1b1
JJ
568062010-10-20 Jakub Jelinek <jakub@redhat.com>
56807
56808 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56809
6db52fbb
PB
568102010-05-31 Petr Baudis <pasky@suse.cz>
56811
56812 [BZ #11149]
56813 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56814 silently even in the chroot mode.
56815
eaca7569
UD
568162010-11-22 Ulrich Drepper <drepper@gmail.com>
56817
56818 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56819 last patch a bit. Pretty printing
56820
3056dcdb
UD
568212010-05-31 Petr Baudis <pasky@suse.cz>
56822
56823 [BZ #10085]
56824 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56825 initialization of skip_initgroups_dyn.
56826
cf7c9078
UD
568272010-11-19 Ulrich Drepper <drepper@gmail.com>
56828
56829 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56830 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56831
a1fb5e3e
UD
568322010-11-16 Ulrich Drepper <drepper@gmail.com>
56833
56834 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56835
3540d66b
AS
568362010-11-11 Andreas Schwab <schwab@redhat.com>
56837
56838 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56839 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56840 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56841 ($(objpfx)tst-fnmatch-mem): New rule.
56842 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56843 * posix/tst-fnmatch.c (main): Call mtrace.
56844
13b69574
L
568452010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56846
56847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56848 Support Intel processor model 6 and model 0x2c.
56849
da93d214
LM
568502010-11-10 Luis Machado <luisgpm@br.ibm.com>
56851
56852 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56853 signed comparison.
56854
8ca52c6e
L
568552010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56856
56857 [BZ #12205]
56858 * string/test-strncasecmp.c (check_result): New function.
56859 (do_one_test): Use it.
56860 (check1): New function.
56861 (test_main): Use it.
56862 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56863 Support strcasecmp and strncasecmp.
56864
69da074d
UD
568652010-11-08 Ulrich Drepper <drepper@gmail.com>
56866
56867 [BZ #12194]
56868 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56869 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56870
ff02d528
L
568712010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56872
56873 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56874 IFUNC support.
56875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56876 memset-x86-64.
56877 * sysdeps/x86_64/multiarch/bzero.S: New file.
56878 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56879 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56880 * sysdeps/x86_64/multiarch/memset.S: New file.
56881 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56883 Set bit_Prefer_SSE_for_memop for Intel processors.
56884 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56885 Define.
56886 (index_Prefer_SSE_for_memop): Define.
56887 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56888
344d0b54
LM
568892010-11-04 Luis Machado <luisgpm@br.ibm.com>
56890
56891 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56892 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56893
c0dde15b
UD
568942010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56895
56896 [BZ #12191]
56897 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56898 (__x86_64_raw_data_cache_size_half): Likewise.
56899 (__x86_64_raw_shared_cache_size): Likewise.
56900 (__x86_64_raw_shared_cache_size_half): Likewise.
56901
56902 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56903 (__x86_64_raw_data_cache_size_half): Likewise.
56904 (__x86_64_raw_shared_cache_size): Likewise.
56905 (__x86_64_raw_shared_cache_size_half): Likewise.
56906 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56907 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56908 and __x86_64_raw_shared_cache_size_half. Round
56909 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56910 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56911 to multiple of 256 bytes.
56912
0e516e0e
MS
569132010-11-03 Ulrich Drepper <drepper@gmail.com>
56914
56915 [BZ #12167]
56916 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56917 of inacessible symlinks. Verify result of symlink before returning it.
56918 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56919 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56920
0e012e87
ER
569212010-10-28 Erich Ritz <erichritz@gmail.com>
56922
56923 * math/math.h (isinf): Fix typo in comment.
56924
de0ff7bc
UD
569252010-11-01 Ulrich Drepper <drepper@gmail.com>
56926
56927 * po/da.po: Update from translation team.
56928
fa41c84d
UD
569292010-10-26 Ulrich Drepper <drepper@gmail.com>
56930
56931 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56932 is added to the list.
56933
f0967738
AK
569342010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56935 Ulrich Drepper <drepper@gmail.com>
56936
56937 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56938 the global list here. Move code to...
56939 (_dl_add_to_namespace_list): ...here. New function.
56940 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56941 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56942 * elf/dl-load.c (lose): Don't remove the element from the list.
56943 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56944 (_dl_map_object): Likewise.
56945
569462010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56947
56948 [BZ #12159]
56949 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56950 into all bytes of SSE register.
56951 Patch by Richard Li <richardpku@gmail.com>.
56952
f0967738 569532010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56954
56955 [BZ #12140]
56956 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56957 perturbing.
56958
d0b9e94f
MB
569592010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56960
56961 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56962 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56963 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56964 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56966 submachine.
56967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56968
8e9f92e9
AS
569692010-10-22 Andreas Schwab <schwab@redhat.com>
56970
56971 * include/dlfcn.h (__RTLD_SECURE): Define.
56972 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56973 mode & __RTLD_SECURE instead.
56974 (open_path): Rename preloaded parameter to secure.
56975 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56976 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56977 * elf/dl-deps.c (openaux): Likewise.
56978 * elf/rtld.c (struct map_args): Remove is_preloaded.
56979 (map_doit): Don't use it.
56980 (dl_main): Likewise.
56981 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56982 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56983
bc96fbda
AS
569842010-09-09 Andreas Schwab <schwab@redhat.com>
56985
56986 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56987 (sysd-rules-targets): Remove duplicates.
56988 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56989 rtld-%.$o dependency.
56990
22cd1c9b
AS
569912010-10-18 Andreas Schwab <schwab@redhat.com>
56992
56993 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56994 _dl_map_object do it.
56995
18edac48
UD
569962010-10-19 Ulrich Drepper <drepper@gmail.com>
56997
56998 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56999 fast fma builtins, define the macros in the C99 standard.
57000 (FP_FAST_FMAF): Likewise.
57001 (FP_FAST_FMAL): Likewise.
57002 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57003
57004 * bits/mathdef.h: Update copyright year.
57005 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57006
d2050124
MM
570072010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57008
57009 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57010 builtins, define the macros in the C99 standard.
57011 (FP_FAST_FMAF): Likewise.
57012 (FP_FAST_FMAL): Likewise.
57013 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57014 multiply/add.
57015 (FP_FAST_FMAF): Likewise.
57016
475facd1
JJ
570172010-10-15 Jakub Jelinek <jakub@redhat.com>
57018
57019 [BZ #3268]
57020 * math/libm-test.inc (fma_test): Some new testcases.
57021 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57022 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57023 y and infinite z. Do multiplication by C already in long double.
57024 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57026 y and infinite z. Do bitwise or of inexact bit into u.d.
57027 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57028 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57029 * sysdeps/i386/fpu/s_fma.S: Removed.
57030 * sysdeps/i386/fpu/s_fmal.S: Removed.
57031
7c08a05c
JJ
570322010-10-16 Jakub Jelinek <jakub@redhat.com>
57033
57034 [BZ #3268]
57035 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57036 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57037 computation is not scheduled after fetestexcept. Fix value
57038 of minimum denormal long double.
57039
f3f7372d
JJ
570402010-10-14 Jakub Jelinek <jakub@redhat.com>
57041
57042 [BZ #3268]
57043 * math/libm-test.inc (fma_test): Add some more tests.
57044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57045 correctly.
57046
14d43591
AS
570472010-10-15 Andreas Schwab <schwab@redhat.com>
57048
57049 * scripts/data/localplt-s390-linux-gnu.data: New file.
57050 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57051
5e908464
JJ
570522010-10-13 Jakub Jelinek <jakub@redhat.com>
57053
57054 [BZ #3268]
57055 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57056 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57057 instead of dbl-64.
57058 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57059 inlines.
57060 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57062 if one of x and y is very large and the other is subnormal.
57063 * sysdeps/s390/fpu/s_fmaf.c: New file.
57064 * sysdeps/s390/fpu/s_fma.c: New file.
57065 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57066 * sysdeps/powerpc/fpu/s_fma.S: New file.
57067 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57068 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57069 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57070
570712010-10-12 Jakub Jelinek <jakub@redhat.com>
57072
57073 [BZ #3268]
57074 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57075 fma tests.
57076 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57077 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57078 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57079 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57080 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57081 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57082 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57083
b833d51f
UD
570842010-10-12 Ulrich Drepper <drepper@redhat.com>
57085
57086 [BZ #12078]
57087 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57088 * posix/bug-regex31.input: Add test case.
57089
1751705d
UD
570902010-10-11 Ulrich Drepper <drepper@gmail.com>
57091
e9b9cbf5
UD
57092 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57093 * posix/bug-regex31.input: New file.
57094
57095 [BZ #12078]
57096 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57097 (parse_sub_exp): Fix last change, use postorder.
57098
ef06edbe
UD
57099 * posix/bug-regex31.c: New file.
57100 * posix/Makefile: Add rules to build and run bug-regex31.
57101
a129c80d
UD
57102 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57103
57104 [BZ #12078]
57105 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57106
b76b818e
UD
57107 [BZ #12108]
57108 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57109 to have entries in sys_siglist.
57110
1751705d
UD
57111 [BZ #12093]
57112 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57113 be NULL.
57114
9ff8d36f
JJ
571152010-10-07 Jakub Jelinek <jakub@redhat.com>
57116
57117 [BZ #3268]
57118 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57119 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57120 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57121 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57122 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57123 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57124 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57125 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57126 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57127 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57128 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57129 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57130 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57131 * math/ftestexcept.c (fetestexcept): Likewise.
57132 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57133 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57134 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57135 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57136 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57137 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57138 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57139
af325969
UD
571402010-10-11 Ulrich Drepper <drepper@gmail.com>
57141
c579b202 57142 [BZ #12107]
af325969
UD
57143 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57144 newline.
57145
67a67b95
UD
571462010-10-06 Ulrich Drepper <drepper@gmail.com>
57147
57148 * string/bug-strstr1.c: New file.
57149 * string/Makefile: Add rules to build and run bug-strstr1.
57150
5fb308bc
EB
571512010-10-05 Eric Blake <eblake@redhat.com>
57152
57153 [BZ #12092]
57154 * string/str-two-way.h (two_way_long_needle): Always clear memory
57155 when skipping input due to the shift table.
57156
45db99c7
UD
571572010-10-03 Ulrich Drepper <drepper@gmail.com>
57158
3b111893
UD
57159 [BZ #12005]
57160 * malloc/mcheck.c: Handle large requests.
57161
45db99c7
UD
57162 [BZ #12077]
57163 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57164 for strncmp and strncasecmp.
57165 * string/stratcliff.c: Add tests for strcmp and strncmp.
57166 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57167
cf7a1eb8
NI
571682010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57169
57170 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57171 __set_fpscr.
57172
6484ba5e
AJ
571732010-09-30 Andreas Jaeger <aj@suse.de>
57174
57175 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57176 (CGROUP_SUPER_MAGIC): Define.
57177 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57178 Handle btrfs and cgroup file systems.
57179 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57180 Likewise.
57181
91c42559
LM
571822010-09-27 Luis Machado <luisgpm@br.ibm.com>
57183
57184 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57185 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57186
87a97932
AK
571872010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57188
57189 [BZ #12067]
57190 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57191 trying to locate the ELF header.
57192
c21cc9bc
AS
571932010-09-27 Andreas Schwab <schwab@redhat.com>
57194
57195 [BZ #11611]
57196 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57197 Mask out sign-bit copies when constructing f_fsid.
57198
315970f6
PB
571992010-09-24 Petr Baudis <pasky@suse.cz>
57200
57201 * debug/stack_chk_fail_local.c: Add missing licence exception.
57202 * debug/warning-nop.c: Likewise.
57203
1ac7a2c7
JM
572042010-09-15 Joseph Myers <joseph@codesourcery.com>
57205
57206 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57207 implementing getdents64 using getdents syscall, set d_type if
57208 __ASSUME_GETDENTS32_D_TYPE.
57209
56801c50
AS
572102010-09-16 Andreas Schwab <schwab@redhat.com>
57211
57212 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57213 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57214
dda51327
UD
572152010-09-21 Ulrich Drepper <drepper@redhat.com>
57216
57217 [BZ #12037]
57218 * posix/unistd.h: Undo change of feature selection for ftruncate from
57219 2010-01-11.
57220
8ffcee4a
UD
572212010-09-20 Ulrich Drepper <drepper@redhat.com>
57222
a545ecd9 57223 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
57224 detection.
57225
e24f0a8b
AS
572262010-09-20 Andreas Schwab <schwab@redhat.com>
57227
57228 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57229 fanotify_mark.
57230 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57231
7291c56f
AS
572322010-09-14 Andreas Schwab <schwab@redhat.com>
57233
57234 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57235 variables after CHECK_SP call.
57236 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57237
bc5fb037
AS
572382010-09-13 Andreas Schwab <schwab@redhat.com>
57239 Ulrich Drepper <drepper@redhat.com>
57240
57241 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57242 re-relocationg ld.so.
57243 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57244 _dl_init_paths call.
57245 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57246 here anymore.
57247
e66e7419
UD
572482010-09-14 Ulrich Drepper <drepper@redhat.com>
57249
57250 * resolv/res_init.c (__res_vinit): Count the default server we added.
57251
c044aa75
CLT
572522010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57253 Ulrich Drepper <drepper@redhat.com>
57254
57255 [BZ #11968]
57256 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57257 (____longjmp_chk): Use %ebx for saving value across system call.
57258 Add unwind info.
57259
32cf4069
AS
572602010-09-06 Andreas Schwab <schwab@redhat.com>
57261
57262 * manual/Makefile: Don't mix pattern rules with normal rules.
57263
817328ee
AS
572642010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57265
57266 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57267 operation.
57268 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57269 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57270 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57271 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57272 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57273 Likewise.
57274
29fddf61
UD
572752010-09-04 Ulrich Drepper <drepper@redhat.com>
57276
57277 [BZ #11979]
57278 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57279 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57280
0959ffc9
UD
572812010-09-02 Ulrich Drepper <drepper@redhat.com>
57282
57283 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57284 * sysdeps/x86_64/addmul_1.S: Likewise.
57285 * sysdeps/x86_64/lshift.S: Likewise.
57286 * sysdeps/x86_64/mul_1.S: Likewise.
57287 * sysdeps/x86_64/rshift.S: Likewise.
57288 * sysdeps/x86_64/sub_n.S: Likewise.
57289 * sysdeps/x86_64/submul_1.S: Likewise.
57290
ece29840
ST
572912010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57292
0959ffc9
UD
57293 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57294 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57295 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57296 * bits/sched.h [__need_schedparam]
ece29840 57297 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57298 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57299 (__defined_schedparam): Define to 1.
ece29840
ST
57300 (__sched_param): New structure, identical to sched_param.
57301 (__need_schedparam): Undefine.
57302
e53a31fe
MF
573032010-08-31 Mike Frysinger <vapier@gentoo.org>
57304
fdc0c10d
MF
57305 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57306 (epoll_create1): Declare.
57307
e53a31fe
MF
57308 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57309
a726d796
AS
573102010-08-31 Andreas Schwab <schwab@redhat.com>
57311
57312 [BZ #7066]
57313 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57314 shifting retval into place.
57315
2f3e3dc7
UD
573162010-09-01 Ulrich Drepper <drepper@redhat.com>
57317
f2933da9
UD
57318 * nis/rpcsvc/nis.h: Update copyright notice.
57319 * nis/rpcsvc/nis.x: Likewise.
57320 * nis/rpcsvc/nis_callback.h: Likewise.
57321 * nis/rpcsvc/nis_callback.x: Likewise.
57322 * nis/rpcsvc/nis_object.x: Likewise.
57323 * nis/rpcsvc/nis_tags.h: Likewise.
57324 * nis/rpcsvc/yp.h: Likewise.
57325 * nis/rpcsvc/yp.x: Likewise.
57326 * nis/rpcsvc/ypupd.h: Likewise.
57327 * nis/yp_xdr.c: Likewise.
57328 * nis/ypupdate_xdr.c: Likewise.
57329
2f3e3dc7
UD
57330 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57331 mainly the body of pmap_getport. Add parameters to specify timeouts.
57332 (pmap_getport): Use __libc_rpc_getport.
57333 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57334 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57335 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57336
f3dcc2f9
AS
573372010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57338
57339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57340 fanotify_mark.
57341
6d34eb5b
RM
573422010-08-27 Roland McGrath <roland@redhat.com>
57343
57344 * sysdeps/i386/i686/multiarch/Makefile
57345 (CFLAGS-varshift.c): New variable.
57346
9ea3de11
UD
573472010-08-27 Ulrich Drepper <drepper@redhat.com>
57348
c96d23fc
UD
57349 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57350 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57351
9ea3de11
UD
57352 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57353
57354 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57355
623aac7f
L
573562010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57357
57358 * sysdeps/x86_64/strlen.S: Unroll the loop.
57359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57360 strlen-sse2 strlen-sse2-bsf.
57361 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57362 __strlen_no_bsf if bit_Slow_BSF is set.
57363 (__strlen_sse42): Removed.
57364 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57365 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57366
8b2b7715
RM
573672010-08-25 Roland McGrath <roland@redhat.com>
57368
57369 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57370 * sysdeps/x86_64/multiarch/varshift.c: New file.
57371 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57372 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57373 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57374 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57375
e73015f2
L
573762010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57377
57378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57379 strlen-sse2 strlen-sse2-bsf.
57380 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57381 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57382 (__strlen_sse2): Removed.
57383 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57384 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57386 bit_Slow_BSF for Atom.
57387 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57388 (index_Slow_BSF): Define.
57389 (HAS_SLOW_BSF): Define.
57390
df24a73e
UD
573912010-08-25 Ulrich Drepper <drepper@redhat.com>
57392
57393 [BZ #10851]
57394 * resolv/res_init.c (__res_vinit): When no server address at all
57395 is given default to loopback.
57396
f2ac4868
RM
573972010-08-24 Roland McGrath <roland@redhat.com>
57398
09055553
RM
57399 * configure.in: Remove config-name.h generation.
57400 * configure: Regenerated.
57401 * config-name.in: File removed.
57402 * scripts/config-uname.sh: New file.
57403 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57404 ($(objdir)config-name.h): New target.
57405
f2ac4868
RM
57406 * sunrpc/rpc_parse.h: Avoid nested comment.
57407
73f27d5e
RH
574082010-08-24 Richard Henderson <rth@redhat.com>
57409 Ulrich Drepper <drepper@redhat.com>
57410 H.J. Lu <hongjiu.lu@intel.com>
57411
57412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57414 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57415 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57416 _mm_alignr_epi8 with _mm_loadu_si128.
57417 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57418 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57419 (__m128i_shift_right): Removed.
57420 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57421 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57422 * sysdeps/x86_64/multiarch/varshift.h: New file.
57423 * sysdeps/x86_64/multiarch/varshift.S: New file.
57424
84b9230c
MF
574252010-08-21 Mike Frysinger <vapier@gentoo.org>
57426
57427 * configure.in: Move assembler checks to before sysdep dir checking.
57428
9bbd0ddc
PB
574292010-08-20 Petr Baudis <pasky@suse.cz>
57430
57431 * LICENSES: Sync the sunrpc license.
57432
9da4bb31
UD
574332010-08-19 Ulrich Drepper <drepper@redhat.com>
57434
a7ab6ec8
UD
57435 * sunrpc/auth_des.c: Update copyright notice once again.
57436 * sunrpc/auth_none.c: Likewise.
57437 * sunrpc/auth_unix.c: Likewise.
57438 * sunrpc/authdes_prot.c: Likewise.
57439 * sunrpc/authuxprot.c: Likewise.
57440 * sunrpc/bindrsvprt.c: Likewise.
57441 * sunrpc/clnt_gen.c: Likewise.
57442 * sunrpc/clnt_perr.c: Likewise.
57443 * sunrpc/clnt_raw.c: Likewise.
57444 * sunrpc/clnt_simp.c: Likewise.
57445 * sunrpc/clnt_tcp.c: Likewise.
57446 * sunrpc/clnt_udp.c: Likewise.
57447 * sunrpc/clnt_unix.c: Likewise.
57448 * sunrpc/des_crypt.c: Likewise.
57449 * sunrpc/des_soft.c: Likewise.
57450 * sunrpc/get_myaddr.c: Likewise.
57451 * sunrpc/getrpcport.c: Likewise.
57452 * sunrpc/key_call.c: Likewise.
57453 * sunrpc/key_prot.c: Likewise.
57454 * sunrpc/openchild.c: Likewise.
57455 * sunrpc/pm_getmaps.c: Likewise.
57456 * sunrpc/pm_getport.c: Likewise.
57457 * sunrpc/pmap_clnt.c: Likewise.
57458 * sunrpc/pmap_prot.c: Likewise.
57459 * sunrpc/pmap_prot2.c: Likewise.
57460 * sunrpc/pmap_rmt.c: Likewise.
57461 * sunrpc/rpc/auth.h: Likewise.
57462 * sunrpc/rpc/auth_unix.h: Likewise.
57463 * sunrpc/rpc/clnt.h: Likewise.
57464 * sunrpc/rpc/des_crypt.h: Likewise.
57465 * sunrpc/rpc/key_prot.h: Likewise.
57466 * sunrpc/rpc/netdb.h: Likewise.
57467 * sunrpc/rpc/pmap_clnt.h: Likewise.
57468 * sunrpc/rpc/pmap_prot.h: Likewise.
57469 * sunrpc/rpc/pmap_rmt.h: Likewise.
57470 * sunrpc/rpc/rpc.h: Likewise.
57471 * sunrpc/rpc/rpc_des.h: Likewise.
57472 * sunrpc/rpc/rpc_msg.h: Likewise.
57473 * sunrpc/rpc/svc.h: Likewise.
57474 * sunrpc/rpc/svc_auth.h: Likewise.
57475 * sunrpc/rpc/types.h: Likewise.
57476 * sunrpc/rpc/xdr.h: Likewise.
57477 * sunrpc/rpc_clntout.c: Likewise.
57478 * sunrpc/rpc_cmsg.c: Likewise.
57479 * sunrpc/rpc_common.c: Likewise.
57480 * sunrpc/rpc_cout.c: Likewise.
57481 * sunrpc/rpc_dtable.c: Likewise.
57482 * sunrpc/rpc_hout.c: Likewise.
57483 * sunrpc/rpc_main.c: Likewise.
57484 * sunrpc/rpc_parse.c: Likewise.
57485 * sunrpc/rpc_parse.h: Likewise.
57486 * sunrpc/rpc_prot.c: Likewise.
57487 * sunrpc/rpc_sample.c: Likewise.
57488 * sunrpc/rpc_scan.c: Likewise.
57489 * sunrpc/rpc_scan.h: Likewise.
57490 * sunrpc/rpc_svcout.c: Likewise.
57491 * sunrpc/rpc_tblout.c: Likewise.
57492 * sunrpc/rpc_util.c: Likewise.
57493 * sunrpc/rpc_util.h: Likewise.
57494 * sunrpc/rpcinfo.c: Likewise.
57495 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57496 * sunrpc/rpcsvc/key_prot.x: Likewise.
57497 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57498 * sunrpc/rpcsvc/mount.x: Likewise.
57499 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57500 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57501 * sunrpc/rpcsvc/rex.x: Likewise.
57502 * sunrpc/rpcsvc/rstat.x: Likewise.
57503 * sunrpc/rpcsvc/rusers.x: Likewise.
57504 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57505 * sunrpc/rpcsvc/spray.x: Likewise.
57506 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57507 * sunrpc/rtime.c: Likewise.
57508 * sunrpc/svc.c: Likewise.
57509 * sunrpc/svc_auth.c: Likewise.
57510 * sunrpc/svc_authux.c: Likewise.
57511 * sunrpc/svc_raw.c: Likewise.
57512 * sunrpc/svc_run.c: Likewise.
57513 * sunrpc/svc_simple.c: Likewise.
57514 * sunrpc/svc_tcp.c: Likewise.
57515 * sunrpc/svc_udp.c: Likewise.
57516 * sunrpc/svc_unix.c: Likewise.
57517 * sunrpc/svcauth_des.c: Likewise.
57518 * sunrpc/xcrypt.c: Likewise.
57519 * sunrpc/xdr.c: Likewise.
57520 * sunrpc/xdr_array.c: Likewise.
57521 * sunrpc/xdr_float.c: Likewise.
57522 * sunrpc/xdr_mem.c: Likewise.
57523 * sunrpc/xdr_rec.c: Likewise.
57524 * sunrpc/xdr_ref.c: Likewise.
57525 * sunrpc/xdr_sizeof.c: Likewise.
57526 * sunrpc/xdr_stdio.c: Likewise.
57527
9da4bb31
UD
57528 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57529 handling.
57530
bdaa77bc
AS
575312010-08-19 Andreas Schwab <schwab@redhat.com>
57532
57533 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57534
fe2f79db
LM
575352010-08-19 Luis Machado <luisgpm@br.ibm.com>
57536
57537 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57538 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57539 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57540 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57541 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57542 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57543 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57544 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57545 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57546 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57547 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57548 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57549 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57550 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57551
b9b42ee0
AB
575522010-07-26 Anton Blanchard <anton@samba.org>
57553
57554 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57555 * malloc/arena.c (heap_trim): Likewise.
57556
1c06ba31
UD
575572010-08-16 Ulrich Drepper <drepper@redhat.com>
57558
57559 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57560 here. Not...
57561 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57562 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57563
f8392f40
L
575642010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57565
57566 * sysdeps/i386/elf/Makefile: New file.
57567
3162f12e
AS
575682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57569
57570 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57571 from fanotify_init.
57572 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57573 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57574
28c90b2c
UD
575752010-08-15 Ulrich Drepper <drepper@redhat.com>
57576
57577 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57578 of strncasecmp_l.
1feccb6c 57579 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 57580
ca6bb004
UD
575812010-08-14 Ulrich Drepper <drepper@redhat.com>
57582
e9f82e0d
UD
57583 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57584 strncase_l-nonascii.
57585 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57586 Add strncase_l-ssse3.
57587 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57588 * sysdeps/x86_64/strcmp.S: Likewise.
57589 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57590 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57591 * sysdeps/x86_64/strncase.S: New file.
57592 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57593 * sysdeps/x86_64/strncase_l.S: New file.
57594 * string/Makefile (strop-tests): Add strncasecmp.
57595 * string/test-strncasecmp.c: New file.
57596
57597 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57598 warning.
57599
ca6bb004
UD
57600 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57601 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57602
052fa7b3
AS
576032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57604
57605 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57606
962dba78
UD
576072010-08-12 Ulrich Drepper <drepper@redhat.com>
57608
57609 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57610 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57611 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57612
bebff237
AM
576132010-05-01 Alan Modra <amodra@gmail.com>
57614
57615 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57616 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57617 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57618 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57619 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57620 tidying. Don't tail-call __sigjmp_save for static lib.
57621 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57622 save location.
57623 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57624 (CALL_MCOUNT): Add eh info, and nop after bl.
57625 (TAIL_CALL_SYSCALL_ERROR): New macro.
57626 (PSEUDO_RET): Use it.
57627 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57628 Correct save location of integer regs and cr.
57629 (_dl_profile_resolve): Correct cr save location. Delete nops
57630 after bl when SHARED. Reduce cfi size a little by better
57631 placement of cfi directives.
57632 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57633 make a stack frame. Instead use parm save area as a temp.
57634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57635 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57637 Don't make a stack frame for parent, use parm save area.
57638 Increase child stack frame to 112 bytes. Don't save unused reg,
57639 and adjust reg usage. Set up cfi on error recovery and
57640 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57642 (__makecontext): Add dummy nop after jump to exit.
57643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57644 Use correct parm save area and cr save, reduce stack frame.
57645 Correct cfi for possible PSEUDO_RET frame setup.
57646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57647 Branch to local label emitted by PSEUDO_RET rather than
57648 __syscall_error.
57649
02637374
AS
576502010-08-12 Andreas Schwab <schwab@redhat.com>
57651
57652 [BZ #11904]
57653 * locale/programs/locale.c (print_assignment): New function.
57654 (show_locale_vars): Use it.
57655
c3e2f19b
UD
576562010-08-11 Ulrich Drepper <drepper@redhat.com>
57657
3cdaa6ad
UD
57658 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57659 field.
57660 (struct statfs64): Likewise.
57661 (_STATFS_F_FLAGS): Define.
57662 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57663 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57664 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57665 (ST_VALID): Define locally.
57666 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57667 __statvfs_getflags, use the provided value.
57668 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57669 __ASSUME_STATFS_F_FLAGS.
57670
754f7da3
UD
57671 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57672
10b3bedc
UD
57673 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57674 Add sys/fanotify.h.
57675 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57676 fanotify_mask for GLIBC_2.13.
57677 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57678 fanotify_init and fanotify_mark.
57679 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57680 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57681
c08fb0d7
UD
57682 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57683 Add prlimit.
57684 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57685 prlimit64 for GLIBC_2.13.
57686 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57687 prlimit64.
57688 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57689 syscall.
57690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57691 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57692 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57693 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57694 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57695 add prlimit alias.
57696 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57697
15bac72b
UD
57698 [BZ #11903]
57699 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57700 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57701
c3e2f19b
UD
57702 * nss/Makefile: Add rules to build and run tst-nss-test1.
57703 * shlib-versions: Add entry for libnss_test1.
57704 * nss/nss_test1.c: New file.
57705 * nss/tst-nss-test1.c: New file.
57706
57707 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57708 (__nss_configure_lookup): Set appropriate entry in
57709 __nss_configure_lookup to true.
57710 * nss/nsswitch.h: Define enum with indeces of databases in
57711 databases and __nss_database_custom arrays. Declare
57712 __nss_database_custom.
57713 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57714 to avoid using nscd when custom rules are installed.
57715 * nss/getXXbyYY_r.c: Likewise.
57716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57717
57718 * nss/nss_files/files-parse.c: Whitespace fixes.
57719
f15ce4d8
UD
577202010-08-09 Ulrich Drepper <drepper@redhat.com>
57721
57722 [BZ #11883]
57723 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57724 * posix/fnmatch_loop.c: Likewise.
57725
d22e4cc9
AK
577262010-07-17 Andi Kleen <ak@linux.intel.com>
57727
57728 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57729 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57730 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57731 * Versions.def [GLIBC_2.13]: Add.
57732
805bc17d
UD
577332010-08-06 Ulrich Drepper <drepper@redhat.com>
57734
57735 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57736 Also fail if tpwd after pwuid call is NULL.
57737
5a42321d
ST
577382010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57739
57740 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57741 when converting to ms.
57742
fd3ebeda
ST
577432010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57744
57745 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57746 EOPNOTSUPP errors with ENOTTY.
57747 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57748 EOPNOTSUPP errors with ENOTTY.
57749
73507d3a
UD
577502010-07-31 Ulrich Drepper <drepper@redhat.com>
57751
57752 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57753 Add strcasecmp_l-ssse3.
57754 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57755 strcasecmp.
57756 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57757 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57758 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57759
fe36dd02
UD
577602010-07-30 Ulrich Drepper <drepper@redhat.com>
57761
66f6765a
UD
57762 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57763
42e08a54
UD
57764 * string/Makefile (strop-tests): Add strcasecmp.
57765 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57766 strcasecmp_l-nonascii.
57767 (gen-as-const-headers): Add locale-defines.sym.
57768 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57769 * sysdeps/x86_64/strcasecmp.S: New file.
57770 * sysdeps/x86_64/strcasecmp_l.S: New file.
57771 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57772 * sysdeps/x86_64/locale-defines.sym: New file.
57773 * string/test-strcasecmp.c: New file.
57774
fe36dd02
UD
57775 * string/test-strcasestr.c: Test both ends of the range of characters.
57776 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57777
48cbc0d6
RM
577782010-07-29 Roland McGrath <roland@redhat.com>
57779
76e6d6bc 57780 [BZ #11856]
48cbc0d6
RM
57781 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57782
880113d9
UD
577832010-07-27 Ulrich Drepper <drepper@redhat.com>
57784
57785 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57786 for ld.so.
57787
deb9cabb
AS
577882010-07-27 Andreas Schwab <schwab@redhat.com>
57789
57790 * manual/memory.texi (Malloc Tunable Parameters): Document
57791 M_PERTURB.
57792
1c7570ff
RM
577932010-07-26 Roland McGrath <roland@redhat.com>
57794
57795 [BZ #11840]
57796 * configure.in (-fgnu89-inline check): Set and substitute
57797 gnu89_inline, not libc_cv_gnu89_inline.
57798 * configure: Regenerated.
57799 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57800
24fb0f88
UD
578012010-07-26 Ulrich Drepper <drepper@redhat.com>
57802
57803 * string/test-strnlen.c: New file.
57804 * string/Makefile (strop-tests): Add strnlen.
57805 * string/tester.c (test_strnlen): Add a few more test cases.
57806 * string/tst-strlen.c: Better error reporting.
57807
57808 * sysdeps/x86_64/strnlen.S: New file.
57809
8e96b93a
UD
578102010-07-24 Ulrich Drepper <drepper@redhat.com>
57811
57812 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57813 lower-latency instructions.
57814
dbc676d4
UD
578152010-07-23 Ulrich Drepper <drepper@redhat.com>
57816
57817 * string/test-strcasestr.c: New file.
57818 * string/test-strstr.c: New file.
57819 * string/Makefile (strop-tests): Add strstr and strcasestr.
57820 * string/str-two-way.h: Don't undefine MAX.
57821 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57822
f6a31e0e
AS
578232010-07-21 Andreas Schwab <schwab@redhat.com>
57824
57825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57826 strcasestr-nonascii.
57827 (CFLAGS-strcasestr-nonascii.c): Define.
57828 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57829 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57830 Remove unused attribute.
57831
5dbc3b6c
RM
578322010-07-20 Roland McGrath <roland@redhat.com>
57833
57834 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57835 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57836 ld.so.cache was broken. With it, there is no way to disable dsocaps
57837 like LD_HWCAP_MASK can disable hwcaps.
57838
23d101d8
EPM
578392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57840
57841 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57842
cc9f2e47
UD
578432010-07-16 Ulrich Drepper <drepper@redhat.com>
57844
57845 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57846 call in strcasestr.
57847 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57848 __strcasestr_sse42_nonascii.
57849 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57850 strcasestr-nonascii.c.
57851 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57852
77c1b069
LM
578532010-06-15 Luis Machado <luisgpm@br.ibm.com>
57854
57855 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57856 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57857 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57858 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57859
440566c3
UD
578602010-07-09 Ulrich Drepper <drepper@redhat.com>
57861
57862 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57863 fcntl.
57864
5be9d05d
AS
578652010-07-06 Andreas Schwab <schwab@redhat.com>
57866
c30b7ee2 57867 [BZ #11577]
5be9d05d
AS
57868 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57869 dl_signal_cerror.
57870
8a492a67
UD
578712010-07-06 Ulrich Drepper <drepper@redhat.com>
57872
57873 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57874 _PC_PIPE_BUF using F_GETPIPE_SZ.
57875
713df3d5
RM
578762010-07-05 Roland McGrath <roland@redhat.com>
57877
57878 * manual/arith.texi (Rounding Functions): Fix rint description
57879 implicit in round description.
57880
702e8f14
UD
578812010-07-02 Ulrich Drepper <drepper@redhat.com>
57882
57883 * elf/Makefile: Fix linking for a few tests to make recent linker
57884 happy.
57885
52ed8be9
AS
578862010-06-30 Andreas Schwab <schwab@redhat.com>
57887
57888 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57889 $(common-objpfx)libc_nonshared.a.
57890
f47c9a11
LM
578912010-06-21 Luis Machado <luisgpm@br.ibm.com>
57892
57893 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57894 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57895 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57896 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57897 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57898 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57899 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57900 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57915 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57916 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57917 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57918 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57919 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57920 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57921 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57922 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57923 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57924 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57925 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57926 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57941
6fb8cbcb
L
579422010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57943
57944 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57945 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57946 * string/memmove.c (memmove): Renamed to ...
57947 (MEMMOVE): ...this. Default to memmove.
57948 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57949 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57950 (END_CHK): Define.
57951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57952 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57953 mempcpy-ssse3-back memmove-ssse3-back.
57954 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57955 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57956 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57957 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57958 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57959 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57960 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57961 * sysdeps/x86_64/multiarch/memmove.c: New file.
57962 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57963 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57964 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57965 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57966 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57967 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57968 Define.
57969 (index_Fast_Copy_Backward): Define.
57970 (HAS_ARCH_FEATURE): Define.
57971 (HAS_FAST_REP_STRING): Define.
57972 (HAS_FAST_COPY_BACKWARD): Define.
57973
4e733bac 579742010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57975
57976 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57977 Restore proper fallback handling.
57978
63c4ed22
UD
579792010-06-19 Ulrich Drepper <drepper@redhat.com>
57980
ac2b484c
UD
57981 [BZ #11701]
57982 * posix/group_member.c (__group_member): Correct checking loop.
57983
63c4ed22
UD
57984 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57985 OOM in getpwuid_r correctly. Return error number when the caller
57986 should return, otherwise -1.
57987 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57988 call returning > 0 value.
57989 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57990
765ade4b
AS
579912010-06-07 Andreas Schwab <schwab@redhat.com>
57992
57993 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57994 libc_nonshared.a from targets in modules-names.
57995
80da2e09
KS
579962010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57997
57998 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57999 requires it.
58000
158db122
LM
580012010-06-10 Luis Machado <luisgpm@br.ibm.com>
58002
58003 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58004 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58005 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58006 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58007
caa78cf8
AS
580082010-06-02 Andreas Schwab <schwab@redhat.com>
58009
58010 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58011
b2ef2c01
UD
580122010-06-14 Ulrich Drepper <drepper@redhat.com>
58013
58014 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58015 and F_GETPIPE_SZ.
58016 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58017 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58018 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58019 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58020 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58021 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58022
fbd643b6
RM
580232010-06-14 Roland McGrath <roland@redhat.com>
58024
58025 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58026
f32f2869
JJ
580272010-06-07 Jakub Jelinek <jakub@redhat.com>
58028
58029 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58030 __REDIRECT followed by __THROW.
58031 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58032 * posix/getopt.h (getopt): Likewise.
58033
2a50c078
EPM
580342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58035
58036 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58037 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58038 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58039 in AT_FLAGS.
58040 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58041 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58042
eb5ad2eb
LM
580432010-05-28 Luis Machado <luisgpm@br.ibm.com>
58044
58045 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58046
3c88fe1e
L
580472010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58048
58049 [BZ #11640]
58050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58051 Properly check family and model.
58052
d2f73151
TY
580532010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58054
58055 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58056
ebd2e13d
LM
580572010-05-24 Luis Machado <luisgpm@br.ibm.com>
58058
58059 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58060
b32b8b45
UD
580612010-05-21 Ulrich Drepper <drepper@redhat.com>
58062
58063 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58064 symbol reference.
58065
9acbe24d
AS
580662010-05-19 Andreas Schwab <schwab@redhat.com>
58067
58068 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58069 symbol reference.
58070
f0ccf6ea
AS
580712010-05-21 Andreas Schwab <schwab@redhat.com>
58072
3d04ff3a
AS
58073 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58074 and internal_recvmmsg.
58075 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58076 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58077 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58078 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58079
f0ccf6ea
AS
58080 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58081 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58082 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58083
5b08ac57
AS
580842010-05-20 Andreas Schwab <schwab@redhat.com>
58085
58086 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58087
4828935d
LM
580882010-05-17 Luis Machado <luisgpm@br.ibm.com>
58089
58090 POWER7 optimizations.
58091 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58092 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58093
373d545e
UD
580942010-05-19 Ulrich Drepper <drepper@redhat.com>
58095
58096 * version.h: Update for 2.13 development version.
58097
21a2b1ae
AS
580982010-05-12 Andrew Stubbs <ams@codesourcery.com>
58099
58100 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58101 exceptions. Return 0.
58102
3f7dcb2b
RM
581032010-05-07 Roland McGrath <roland@redhat.com>
58104
58105 * elf/ldconfig.c (main): Add a const.
58106
5f24d53a 581072010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 58108
a160f8d8
UD
58109 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58110 (args_options): Add no-idn option.
58111 (ahosts_keys_int): Add idn_flags to ai_flags.
58112 (parse_option): Handle 'i' option to clear idn_flags.
58113
5f24d53a
UD
58114 * malloc/malloc.c (_int_free): Possible race in the most recently
58115 added check. Only act on the data if no current modification
58116 happened.
265bb1ce
UD
58117
58118See ChangeLog.17 for earlier changes.