1 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6 Refer to _rtld_local_ro instead of _rtld_global_ro.
7 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17 * sysdeps/powerpc/powerpc32/dl-machine.c
18 (__elf_machine_runtime_setup) [PROF]: Don't reference
21 2012-05-18 Andreas Jaeger <aj@suse.de>
23 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24 function only available for GCCs before 3.4 since GCC 3.4
35 (nearbyint): Likewise.
36 (nearbyintf): Likewise.
42 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45 on both fields and cast pointer to __syscall_ulong_t.
47 * bits/types.h (__fsword_t): New type.
48 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51 (__FSWORD_T_TYPE): Likewise.
52 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53 (__FSWORD_T_TYPE): Likewise.
54 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55 (__FSWORD_T_TYPE): Likewise.
56 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
57 (__FSWORD_T_TYPE): Likewise.
58 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
59 __SWORD_TYPE with __fsword_t.
62 2012-05-17 David S. Miller <davem@davemloft.net>
64 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66 2012-05-17 Andreas Jaeger <aj@suse.de>
68 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
73 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
75 2012-05-17 Andreas Jaeger <aj@suse.de>
77 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
80 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
82 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
84 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
86 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
87 * sysdeps/x86_64/tst-mallocalign1.c: New file.
89 2012-05-17 Andreas Jaeger <aj@suse.de>
90 Carlos O'Donell <carlos_odonell@mentor.com>
93 * sysdeps/x86_64/multiarch/init-arch.h
94 (bit_YMM_Usable): Rename to...
95 (bit_AVX_Usable): ... this.
96 (bit_FMA4_Usable): New macro.
97 (bit_XMM_state): New macro.
98 (bit_YMM_state): New macro.
99 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
100 [__ASSEMBLER__] (index_AVX_Usable): ... this.
101 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
102 (CPUID_OSXSAVE): New macro.
103 (CPUID_AVX): New macro.
104 (CPUID_FMA4): New macro.
105 (index_YMM_Usable): Rename to...
106 (index_AVX_Usable): ... this.
107 (HAS_AVX): Use HAS_ARCH_FEATURE.
108 (HAS_FMA4): Likewise.
109 (HAS_YMM_USABLE): Remove.
110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
111 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
113 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
114 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
115 * sysdeps/x86_64/multiarch/Makefile: Likewise.
116 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
117 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
119 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
121 * math/libm-test.c: Support platforms without multiple rounding modes.
122 * math/bug-nextafter.c: Support platforms without FP exceptions.
123 * math/bug-nexttoward.c: Likewise.
124 * math/test-fenv.c: Likewise.
125 * math/test-misc.c: Likewise.
126 * stdlib/bug-getcontext.c: Likewise.
128 2012-05-17 Andreas Jaeger <aj@suse.de>
130 * manual/examples/search.c (critter_cmp): Change signature to
132 * manual/string.texi (Collation Functions): Likewise.
134 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
136 * bits/types.h: Fold copyright years.
137 * bits/typesizes.h: Likewise.
138 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
139 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
140 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
141 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
142 * time/time.h: Likewise.
144 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
147 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
148 in instead of returning them. Return void.
149 (__libc_mallinfo): Accumulate over all arenas.
150 (__malloc_stats): Adjust for change in int_mallinfo interface.
152 2012-05-16 Roland McGrath <roland@hack.frob.com>
155 * configure.in (NM): Add AC_CHECK_TOOL for it.
156 (libc_extra_cflags): New substituted variable.
157 Check for -fstack-protector being used implicitly.
158 * configure: Regenerated.
159 * config.make.in (config-extra-cflags): New variable,
160 gets @libc_extra_cflags@.
161 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
164 * configure.in: Check for _FORTIFY_SOURCE being predefined.
165 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
166 * configure: Regenerated.
167 * config.make.in (CPPUNDEFS): New substituted variable.
168 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
169 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
170 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
172 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
174 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
175 (mq_attr): Use __syscall_slong_t.
177 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
179 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
180 Check __x86_64__ instead of __WORDSIZE.
181 (_STAT_VER_LINUX): Likewise.
182 (stat): Check __x86_64__ instead of __WORDSIZE. Use
183 __syscall_ulong_t and __syscall_slong_t.
186 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
188 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
190 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
192 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
194 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
196 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
199 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
200 include <bits/wordsize.h>. Check __x86_64__ instead of
202 (greg_t): Use "__extension__ long long int" if __x86_64__ is
204 (mcontext_t): Replace "unsigned long" with "unsigned long long".
206 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
207 include <bits/wordsize.h>. Check __x86_64__ instead of
209 (user_regs_struct): Use "__extension__ unsigned long long"
210 instead of "unsigned long" if __x86_64__ is defined.
211 (user): Likewise. Pad after pointer field if __ILP32__ is
214 2012-05-16 Joseph Myers <joseph@codesourcery.com>
216 * configure.in (makeinfo): Require version 4.5 or later. Allow
218 * configure: Regenerated.
219 * manual/install.texi (texinfo): Increase version requirement to
221 * INSTALL: Regenerated.
223 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
225 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
227 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
229 * sysdeps/x86_64/x32/ffs.c: New file.
231 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
233 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
234 defined. Use __syscall_ulong_t.
235 (shminfo): Use __syscall_ulong_t.
236 (shm_info): Likewise.
238 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
241 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
243 (msgqnum_t): Use __syscall_ulong_t.
244 (msglen_t): Likewise.
245 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
248 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
249 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
251 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
253 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
254 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
256 * sysvipc/sys/msg.h (msgbuf): Replace long int with
259 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
260 include <bits/wordsize.h>. Check __x86_64__ instead of
263 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
264 "unsigned long long int" if __x86_64__ is defined.
265 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
267 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
268 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
269 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
271 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
273 (GET_PC): Cast to uintptr_t first.
274 (GET_FRAME): Likewise.
275 (GET_STACK): Likewise.
277 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
278 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
279 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
280 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
281 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
282 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
283 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
284 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
285 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
286 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
287 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
288 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
289 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
290 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
291 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
292 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
293 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
294 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
295 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
296 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
297 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
298 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
299 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
300 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
301 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
302 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
303 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
304 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
305 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
307 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
309 * Makerules (+depfiles): Also collect depfiles from .oS in
311 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
312 .oS, $(libnldbl-routines)).
314 * Makerules (native-compile-mkdep-flags): Define.
315 * sunrpc/Makefile (extra-objs): Add $(addprefix
316 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
317 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
318 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
319 calling $(make-target-directory).
321 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
323 * bits/types.h (__snseconds_t): Removed.
324 * time/time.h (struct timespec): Replace __snseconds_t with
326 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
327 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
329 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
330 (__SNSECONDS_T_TYPE): Likewise.
331 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
332 (__SNSECONDS_T_TYPE): Likewise.
333 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
334 (__SNSECONDS_T_TYPE): Likewise.
336 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
338 * sysdeps/mach/hurd/bits/typesizes.h
339 (__SYSCALL_SLONG_TYPE): New macro.
340 (__SYSCALL_ULONG_TYPE): Likewise.
342 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
344 * bits/types.h (__syscall_slong_t): New type.
345 (__syscall_ulong_t): Likewise.
347 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
348 (__SYSCALL_ULONG_TYPE): Likewise.
349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
350 (__SYSCALL_SLONG_TYPE): Likewise.
351 (__SYSCALL_ULONG_TYPE): Likewise.
352 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
353 (__SYSCALL_SLONG_TYPE): Likewise.
354 (__SYSCALL_ULONG_TYPE): Likewise.
355 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
356 (__SYSCALL_SLONG_TYPE): Likewise.
357 (__SYSCALL_ULONG_TYPE): Likewise.
359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
361 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
362 Add sigaltstack-offsets.sym.
363 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
364 <sigaltstack-offsets.h>.
365 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
367 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
368 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
370 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
372 2012-05-15 Joseph Myers <joseph@codesourcery.com>
374 * elf/stackguard-macros.h: Remove file.
375 * sysdeps/generic/stackguard-macros.h: New file.
376 * sysdeps/i386/stackguard-macros.h: Likewise.
377 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
378 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
379 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
380 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
381 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
382 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
383 * sysdeps/x86_64/stackguard-macros.h: Likewise.
384 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
385 <elf/stackguard-macros.h>.
388 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
389 __aligned__ in attribute.
390 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
391 (gregset_t): Likewise.
393 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
395 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
396 * sysdeps/x86_64/64/Implies-after: Here. New file.
397 * sysdeps/x86_64/x32/Implies-after: New file.
399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
401 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
402 and access return value for _dl_profile_fixup. Use R10_LP to
405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
407 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
411 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
412 * sysdeps/x86_64/x32/sysdep.h: New file.
414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
416 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
417 * sysdeps/x86_64/setjmp.S: Likewise.
419 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
421 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
422 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
423 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
424 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
425 remove unused global constant.
427 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
429 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
430 include of <not-cancel.h>.
432 2012-05-15 Roland McGrath <roland@hack.frob.com>
434 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
436 2012-05-15 Jeff Law <law@redhat.com>
437 Andreas Jaeger <aj@suse.de>
440 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
442 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
443 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
444 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
445 code changing __hst_map_handle.map.
447 2012-05-15 Roland McGrath <roland@hack.frob.com>
449 * configure.in (sysnames): Look for Implies-before and Implies-after
451 * configure: Regenerated.
453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
455 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
456 8-byte data alignment with LP_SIZE alignment.
458 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
460 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
463 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
465 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
467 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
469 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
470 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
471 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
473 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
477 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
478 (stackinfo_sub_sp): Likewise.
480 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
482 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
485 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
487 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
490 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
492 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
495 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
497 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
499 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
501 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
502 into R11_LP and load __x86_64_shared_cache_size_half into
505 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
507 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
510 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
512 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
514 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
518 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
519 powerpc32/power7/fpu/s_logb.c via #include.
520 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
521 powerpc32/power7/fpu/s_logbf.c via #include.
522 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
523 powerpc32/power7/fpu/s_logbl.c via #include.
525 2012-05-15 Joseph Myers <joseph@codesourcery.com>
527 * README.libm: Remove file.
529 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
531 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
532 count for x32. Use R*_LP and omit operand-size suffix.
534 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
536 * shlib-versions: Move x86_64-.*-linux.* entries to ...
537 * sysdeps/x86_64/64/shlib-versions: Here. New file.
538 * sysdeps/x86_64/x32/shlib-versions: New file.
540 2012-05-14 Roland McGrath <roland@hack.frob.com>
542 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
543 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
544 Use _dl_fatal_printf instead.
546 2012-05-14 Joseph Myers <joseph@codesourcery.com>
548 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
549 set if not set by the user. Do not allow for being unset.
550 * sysdeps/unix/sysv/linux/configure: Regenerated.
552 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
554 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
555 the `q' suffix from lea and replace .quad with ASM_ADDR.
557 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
560 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
562 (PTR_DEMANGLE): Likewise.
564 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
566 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
568 (ASM_ADDR): Likewise.
586 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
588 * sysdeps/x86_64/x32/dl-machine.h: New file.
590 2012-05-14 Andreas Jaeger <aj@suse.de>
592 * manual/Makefile (subdir): Remove export of subdir.
593 (all): Remove target.
594 (.PHONY): Remove all from list.
595 (mkinstalldirs): Remove.
596 (.PHONY): Remove installdirs from list.
597 ($(inst_infodir)/libc.info): Use make-target-directory.
598 (installdirs): Remove.
600 (glibc-targets): Remove.
603 ($(objpfx)stubs ../po/manual.pot): Remove.
604 ($(objpfx)stamp%): Remove.
605 (make-target-directory): Remove.
606 (subdir_install): Remove.
614 * manual/.gitignore: Remove, it's not needed anymore.
615 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
617 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
619 (texis): Renamed to $(objpfx)texis.
620 (texis-path): New, contains path to generated files.
621 (chapters.%): Use texis-path for complete path, add extra argument
623 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
624 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
625 (summary,texi, stamp-summary): Use complete path of
626 files. Generate files in build dir.
627 (dir-add.texi): Build in build dir.
628 (libm-err.texi,stamp-libm-err): Likewise.
629 (version.texi, stamp-version): Likewise.
630 (.%c.texi): Likewise.
631 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
632 (mostlyclean): Remove target.
633 (realclean): Remove target.
634 (generated): Add new variable with contents from mostlyclean and
635 realclean, remove entries duplicated in common-mostlyclean, add
636 stamp-libm-err and stamp-version.
637 (generated-dirs): Add libc directory.
638 ($(inst_infodir)/libc.info): Install files from build dir.
640 * manual/install.texi (Configuring and compiling): Adjust since
641 the info files are not part of the tar ball anymore.
643 2012-05-14 Andreas Jaeger <aj@suse.de>
645 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
648 2012-05-14 Joseph Myers <joseph@codesourcery.com>
651 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
652 to 2.2.0 where earlier.
653 * sysdeps/unix/sysv/linux/configure: Regenerated.
654 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
655 Remove conditional code.
656 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
657 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
658 Remove conditional code.
659 [!__NR_lchown]: Likewise.
660 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
661 [__NR_lchown]: Likewise.
662 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
663 comment referencing __ASSUME_LCHOWN_SYSCALL.
664 * sysdeps/unix/sysv/linux/i386/sigaction.c
665 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
666 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
667 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
668 Remove conditional code.
669 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
670 (__protocol_available): Remove #if 0 code.
671 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
673 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
674 * sysdeps/unix/sysv/linux/kernel-features.h
675 (__ASSUME_GETCWD_SYSCALL): Don't define.
676 (__ASSUME_REALTIME_SIGNALS): Likewise.
677 (__ASSUME_PREAD_SYSCALL): Likewise.
678 (__ASSUME_PWRITE_SYSCALL): Likewise.
679 (__ASSUME_POLL_SYSCALL): Likewise.
680 (__ASSUME_LCHOWN_SYSCALL): Likewise.
681 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
683 (__ASSUME_SIOCGIFNAME): Don't define.
684 (__ASSUME_MSG_NOSIGNAL): Likewise.
685 (__ASSUME_SENDFILE): Define unconditionally.
686 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
687 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
689 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
690 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
691 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
692 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
693 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
694 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
695 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
697 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
700 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
703 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
704 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
706 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
707 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
709 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
710 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
712 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
713 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
715 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
716 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
718 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
719 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
720 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
721 Remove conditional code.
722 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
723 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
724 Remove conditional code.
725 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
726 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
727 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
728 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
729 Remove conditional code.
730 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
731 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
732 Remove conditional code.
733 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
734 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
735 Remove conditional code.
736 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
737 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
738 Remove conditional code.
739 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
740 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
741 Remove conditional code.
742 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
743 * sysdeps/unix/sysv/linux/sh/pwrite64.c
744 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
745 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
746 * sysdeps/unix/sysv/linux/sigaction.c
747 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
748 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
749 * sysdeps/unix/sysv/linux/sigpending.c
750 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
751 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
752 * sysdeps/unix/sysv/linux/sigprocmask.c
753 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
754 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
755 * sysdeps/unix/sysv/linux/sigsuspend.c
756 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
757 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
758 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
759 (__libc_missing_rt_sigs): Remove.
760 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
761 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
762 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
763 Remove conditional code.
764 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
765 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
767 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
768 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
769 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
770 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
772 2012-05-14 Andreas Jaeger <aj@suse.de>
774 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
775 it's not used in glibc.
776 (__coshm1): Likewise.
777 (__acosh1p): Likewise.
780 * manual/string.texi (Copying and Concatenation): Add missing
781 variable in concat example.
782 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
784 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
787 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
788 __builtin_clzl with __builtin_clzll.
790 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
793 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
796 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
798 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
799 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
800 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
801 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
803 2012-05-14 Mike Frysinger <vapier@gentoo.org>
805 * NEWS: Update ia64 info.
807 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
809 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
812 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
814 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
815 * sysdeps/unix/syscalls.list (dup3): Likewise.
816 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
817 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
819 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
821 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
822 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
824 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
826 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
828 (TLS_IE): Use mov/add instead of movq/addq to load thread
830 (TLS_GD_PREFIX): New.
833 2012-05-11 David S. Miller <davem@davemloft.net>
835 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
836 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
837 (_FPU_SETCW): Likewise.
839 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
841 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
844 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
847 * iconvdata/gb18030.c: Update tables.
848 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
849 characters specially.
850 (BODY for TO_LOOP): Add encoding of missing ranges.
852 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
855 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
856 * sysdeps/mach/hurd/dup3.c: Likewise.
857 * sysdeps/mach/hurd/readlinkat.c: Likewise.
858 * sysdeps/powerpc/memmove.c:: Likewise.
860 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
862 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
863 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
865 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
867 * elf/elf.h (R_X86_64_RELATIVE64): New.
868 (R_X86_64_NUM): Updated.
869 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
870 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
871 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
872 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
873 tst-quad1pie tst-quad2pie
874 (modules-names): Add tst-quadmod1 tst-quadmod2.
875 ($(objpfx)tst-quad1): New dependency.
876 ($(objpfx)tst-quad2): Likewise.
877 ($(objpfx)tst-quad1pie): Likewise.
878 ($(objpfx)tst-quad2pie): Likewise.
879 * sysdeps/x86_64/tst-quad1.c: New file.
880 * sysdeps/x86_64/tst-quad1pie.c: New file.
881 * sysdeps/x86_64/tst-quad2.c: Likewise.
882 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
883 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
884 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
885 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
886 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
888 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
890 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
891 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
892 * streams/stropts.h (t_scalar_t): Define type.
894 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
895 (_PATH_PRESERVE): Set to "/var/lib".
896 (_PATH_RWHODIR): Set to "/var/spool/rwho".
898 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
901 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
902 if __dir_mkfile succeeded.
904 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
905 checking for _hurd_dtablesize. Unlock it right after having
906 finished _hurd_dtable allocation.
908 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
910 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
911 * sysdeps/mach/hurd/configure: Regenerated.
912 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
914 * sysdeps/gnu/configure.in: ... this new file.
915 * sysdeps/unix/sysv/linux/configure: Regenerated.
916 * sysdeps/gnu/configure: New generated file.
918 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
919 for Linux: use nsec instead of usec, as well as:
920 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
921 members of type struct timespec.
922 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
924 (struct stat64): Likewise.
925 (_STATBUF_ST_NSEC): New macro.
926 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
928 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
929 __strtoul_internal rather than strtoul.
931 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
933 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
936 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
938 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
939 which preserves existing values.
940 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
942 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
944 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
945 TIMEOUT values. Return EINVAL for NFDS values either negative or
946 greater than FD_SETSIZE.
948 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
950 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
951 allocated, call __vm_protect to finish enabling the existing space, and
952 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
953 allocate the remainder.
955 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
957 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
958 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
960 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
962 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
963 sysdeps/mach/hurd/readlink.c.
965 * posix/tst-sysconf.c (posix_options): Only use
966 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
967 _POSIX_SYNCHRONIZED_IO when they are defined
968 * sysdeps/mach/hurd/bits/posix_opt.h:
969 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
970 (_XOPEN_REALTIME): Undefine macro.
971 (_XOPEN_REALTIME_THREADS): Undefine macro.
972 (_XOPEN_SHM): Undefine macro.
973 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
975 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
977 (_POSIX_ASYNC_IO): Undefine macro.
978 (_POSIX_PRIORITIZED_IO): Undefine macro.
979 (_POSIX_SPIN_LOCKS): Define macro to -1.
981 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
982 SA_NODEFER, SA_RESETHAND.
983 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
984 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
987 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
989 * elf/Makefile (pldd-modules): Define unconditionally.
991 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
993 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
995 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
997 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
998 Return ENOENT when name is empty.
999 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1001 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1003 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1005 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1007 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1009 Fix mlock in all cases except non-readable pages.
1010 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1011 instead of VM_PROT_ALL as parameter to __vm_wire function.
1013 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1014 (__mkdir): When path is `/', just fail with EEXIST.
1015 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1017 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1019 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1020 <sys/uio.h> (for writev).
1021 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1022 and <sys/param.h> (for MIN).
1024 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1026 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1027 REQUESTED_TIME. Properly set the remaining time and return EINTR
1030 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1032 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1033 Depend on against $(link-rpcuserlibs).
1035 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1037 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1038 (__libc_stack_end): Do not use attribute_relro.
1039 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1040 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
1041 to libthread-provided value.
1042 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1045 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1048 * bits/libc-lock.h (__libc_once_get): New macro.
1049 * sysdeps/mach/bits/libc-lock.h: Likewise.
1050 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1051 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1052 instead of using implementation details.
1054 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1055 * libio/freopen.c: Likewise.
1056 * libio/freopen64.c: Likewise.
1057 * misc/syslog.c: Likewise.
1058 * nscd/connections.c: Likewise.
1059 * nscd/netgroupcache.c: Likewise.
1060 * sysdeps/posix/getcwd.c: Likewise.
1062 2012-05-10 Roland McGrath <roland@hack.frob.com>
1064 * math/w_ilogbf.c: Add #include <limits.h>.
1066 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1068 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
1069 path instead of returning without unlocking.
1071 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1072 immediate-write ioctls.
1073 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1075 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1077 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1078 __builtin_frame_address instead of making assumptions about the
1079 location of the return address relative to DATA. Force early load of
1081 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1082 __builtin_frame_address.
1085 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1086 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1087 implement dup3 and do some further code clean-ups.
1088 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1089 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1091 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1093 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1095 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1096 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1097 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1098 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1099 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1102 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1103 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1104 when handler == SIG_ERR, not when handler != SIG_ERR.
1106 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1108 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1109 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1112 accept4 for GNU Hurd.
1113 * include/sys/socket.h (__libc_accept4): New prototype.
1114 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1115 to implement __libc_accept4.
1116 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1118 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1120 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1121 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1122 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1125 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1127 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1129 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1131 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1132 assertion on O_CLOEXEC flag.
1133 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1134 * hurd/intern-fd.c: Likewise.
1135 * hurd/port2fd.c: Likewise.
1137 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1140 * bits/in.h (IPV6_PKTINFO): Define new macro.
1141 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1143 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1148 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1149 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1150 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1151 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1152 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1153 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1154 * math/libm-test.inc (logb_test) : Additional logb tests.
1156 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1157 Andreas Jaeger <aj@suse.de>
1159 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1160 * configure: Regenerated.
1161 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1162 * config.make.in (link-obsolete-rpc): New substituted variable.
1163 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1164 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1165 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1166 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1167 so that libc.a contains the symbols.
1168 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1169 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1170 * sunrpc/auth_none.c: Likewise.
1171 * sunrpc/auth_unix.c: Likewise.
1172 * sunrpc/authdes_prot.c: Likewise.
1173 * sunrpc/authuxprot.c: Likewise.
1174 * sunrpc/clnt_gen.c: Likewise.
1175 * sunrpc/clnt_perr.c: Likewise.
1176 * sunrpc/clnt_raw.c: Likewise.
1177 * sunrpc/clnt_simp.c: Likewise.
1178 * sunrpc/clnt_tcp.c: Likewise.
1179 * sunrpc/clnt_udp.c: Likewise.
1180 * sunrpc/clnt_unix.c: Likewise.
1181 * sunrpc/des_crypt.c: Likewise.
1182 * sunrpc/des_soft.c: Likewise.
1183 * sunrpc/get_myaddr.c: Likewise.
1184 * sunrpc/key_call.c: Likewise.
1185 * sunrpc/key_prot.c: Likewise.
1186 * sunrpc/netname.c: Likewise.
1187 * sunrpc/pm_getmaps.c: Likewise.
1188 * sunrpc/pm_getport.c: Likewise.
1189 * sunrpc/pmap_clnt.c: Likewise.
1190 * sunrpc/pmap_prot.c: Likewise.
1191 * sunrpc/pmap_prot2.c: Likewise.
1192 * sunrpc/pmap_rmt.c: Likewise.
1193 * sunrpc/publickey.c: Likewise.
1194 * sunrpc/rpc_cmsg.c: Likewise.
1195 * sunrpc/rpc_common.c: Likewise.
1196 * sunrpc/rpc_dtable.c: Likewise.
1197 * sunrpc/rpc_prot.c: Likewise.
1198 * sunrpc/rpc_thread.c: Likewise.
1199 * sunrpc/rtime.c: Likewise.
1200 * sunrpc/svc.c: Likewise.
1201 * sunrpc/svc_auth.c: Likewise.
1202 * sunrpc/svc_raw.c: Likewise.
1203 * sunrpc/svc_run.c: Likewise.
1204 * sunrpc/svc_tcp.c: Likewise.
1205 * sunrpc/svc_udp.c: Likewise.
1206 * sunrpc/svc_unix.c: Likewise.
1207 * sunrpc/svcauth_des.c: Likewise.
1208 * sunrpc/xcrypt.c: Likewise.
1209 * sunrpc/xdr.c: Likewise.
1210 * sunrpc/xdr_array.c: Likewise.
1211 * sunrpc/xdr_float.c: Likewise.
1212 * sunrpc/xdr_intXX_t.c: Likewise.
1213 * sunrpc/xdr_mem.c: Likewise.
1214 * sunrpc/xdr_rec.c: Likewise.
1215 * sunrpc/xdr_ref.c: Likewise.
1216 * sunrpc/xdr_sizeof.c: Likewise.
1217 * sunrpc/xdr_stdio.c: Likewise.
1219 2012-05-10 Roland McGrath <roland@hack.frob.com>
1221 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1222 change. Update copyright years.
1224 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1226 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1228 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1229 Joseph Myers <joseph@codesourcery.com>
1230 Paul Pluzhnikov <ppluzhnikov@google.com>
1233 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1235 [cross-compiling] (extra-libs): Likewise.
1236 [cross-compiling] (extra-libs-others): Likewise.
1237 [cross-compiling] (librpcsvc-routines): Likewise.
1238 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1239 [cross-compiling] (omit-deps): Likewise.
1240 (sunrpc-CPPFLAGS): New variable.
1241 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1242 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1243 (cross-rpcgen-objs): New variable.
1244 (extra-objs): Append $(cross-rpcgen-objs).
1245 ($(cross-rpcgen-objs)): New rule.
1246 ($(objpfx)cross-rpcgen): Likewise.
1247 (rpcgen-cmd): Define to use $(built-program-file). Expand
1249 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1250 ($(objpfx)x%.stmp): Likewise.
1251 * sunrpc/proto.h [IS_IN_build] (_): Define.
1252 [IS_IN_build] (_libc_intl_domainname): Likewise.
1254 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1256 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1257 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1258 and R_X86_64_TPOFF64.
1260 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1262 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1263 sysdeps/unix/sysv/syscalls.list.
1266 * sysdeps/unix/sysv/syscalls.list: Remove file.
1268 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1271 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1272 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1273 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1274 (__LC_IDENTIFICATION): Make these macros useful in #if
1275 expressions, as required by C99.
1277 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1279 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1280 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1283 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1285 * stdlib/longlong.h: Updated from GCC.
1287 2012-05-09 Andreas Jaeger <aj@suse.de>
1289 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1290 default is first entry.
1291 (run_mode): Set type.
1292 (main): Remove informal message about syslog.
1293 (options): Fix typo.
1296 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1299 (llrintf): Likewise.
1303 (nearbyint): Likewise.
1304 (nearbyintf): Likewise.
1306 2012-05-09 Andreas Jaeger <aj@suse.de>
1307 Pedro Alves <palves@redhat.com>
1309 * nscd/nscd.c (run_mode): Use enum.
1310 (main): Cleanup coding style issue.
1312 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
1313 Andreas Jaeger <aj@suse.de>
1315 * nscd/nscd.c (go_background): Replaced with...
1316 (run_mode): ... this.
1317 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1318 (options): Add -F --foreground.
1319 (main): Implement it.
1320 (parse_opt): Parse it.
1322 2012-05-09 Andreas Jaeger <aj@suse.de>
1325 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1326 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1327 -Wconversion warning.
1328 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1331 2012-05-09 Joseph Myers <joseph@codesourcery.com>
1333 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1335 (LC_ALL): Use macro-int-constant.
1336 (LC_COLLATE): Likewise.
1337 (LC_CTYPE): Likewise.
1338 (LC_MESSAGES): Likewise.
1339 (LC_MONETARY): Likewise.
1340 (LC_NUMERIC): Likewise.
1341 (LC_TIME): Likewise.
1342 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1343 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1344 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1345 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1347 [C99-based standards] (float_t): Expect type.
1348 [C99-based standards] (double_t): Expect type.
1349 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1351 [C99-based standards] (HUGE_VALL): Likewise.
1352 [C99-based standards] (INFINITY): Likewise.
1353 [C99-based standards] (NAN): Likewise.
1354 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1355 [C99-based standards] (FP_NAN): Likewise.
1356 [C99-based standards] (FP_NORMAL): Likewise.
1357 [C99-based standards] (FP_SUBNORMAL): Likewise.
1358 [C99-based standards] (FP_ZERO): Likewise.
1359 [C99-based standards] (FP_FAST_FMA): Use
1360 optional-macro-int-constant. Specify type. Require == 1.
1361 [C99-based standards] (FP_FAST_FMAF): Likewise.
1362 [C99-based standards] (FP_FAST_FMAL): Likewise.
1363 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1364 [C99-based standards] (FP_ILOGBNAN): Likewise.
1365 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1367 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1368 [C99-based standards] (math_errhandling): Specify type.
1369 [ISO99 || ISO11] (signgam): Do not allow.
1370 [non-C99-based standards] (copysignf): Do not allow.
1371 [non-C99-based standards] (exp2f): Likewise.
1372 [non-C99-based standards] (log2f): Likewise.
1373 [non-C99-based standards] (modff): Allow.
1374 [non-C99-based standards] (erff): Do not allow.
1375 [non-C99-based standards] (erfcf): Likewise.
1376 [non-C99-based standards] (gammaf): Likewise.
1377 [non-C99-based standards] (hypotf): Likewise.
1378 [non-C99-based standards] (j0f): Likewise.
1379 [non-C99-based standards] (j1f): Likewise.
1380 [non-C99-based standards] (jnf): Likewise.
1381 [non-C99-based standards] (lgammaf): Likewise.
1382 [non-C99-based standards] (tgammaf): Likewise.
1383 [non-C99-based standards] (y0f): Likewise.
1384 [non-C99-based standards] (y1f): Likewise.
1385 [non-C99-based standards] (ynf): Likewise.
1386 [non-C99-based standards] (isnanf): Likewise.
1387 [non-C99-based standards] (acoshf): Likewise.
1388 [non-C99-based standards] (asinhf): Likewise.
1389 [non-C99-based standards] (atanhf): Likewise.
1390 [non-C99-based standards] (cbrtf): Likewise.
1391 [non-C99-based standards] (expm1f): Likewise.
1392 [non-C99-based standards] (ilogbf): Likewise.
1393 [non-C99-based standards] (log1pf): Likewise.
1394 [non-C99-based standards] (logbf): Likewise.
1395 [non-C99-based standards] (nextafterf): Likewise.
1396 [non-C99-based standards] (remainderf): Likewise.
1397 [non-C99-based standards] (rintf): Likewise.
1398 [non-C99-based standards] (scalbf): Likewise.
1399 [non-C99-based standards] (copysignl): Likewise.
1400 [non-C99-based standards] (exp2l): Likewise.
1401 [non-C99-based standards] (log2l): Likewise.
1402 [non-C99-based standards] (modfl): Allow.
1403 [non-C99-based standards] (erfl): Do not allow.
1404 [non-C99-based standards] (erfcl): Likewise.
1405 [non-C99-based standards] (gammal): Likewise.
1406 [non-C99-based standards] (hypotl): Likewise.
1407 [non-C99-based standards] (j0l): Likewise.
1408 [non-C99-based standards] (j1l): Likewise.
1409 [non-C99-based standards] (jnl): Likewise.
1410 [non-C99-based standards] (lgammal): Likewise.
1411 [non-C99-based standards] (tgammal): Likewise.
1412 [non-C99-based standards] (y0l): Likewise.
1413 [non-C99-based standards] (y1l): Likewise.
1414 [non-C99-based standards] (ynl): Likewise.
1415 [non-C99-based standards] (isnanl): Likewise.
1416 [non-C99-based standards] (acoshl): Likewise.
1417 [non-C99-based standards] (asinhl): Likewise.
1418 [non-C99-based standards] (atanhl): Likewise.
1419 [non-C99-based standards] (cbrtl): Likewise.
1420 [non-C99-based standards] (expm1l): Likewise.
1421 [non-C99-based standards] (ilogbl): Likewise.
1422 [non-C99-based standards] (log1pl): Likewise.
1423 [non-C99-based standards] (logbl): Likewise.
1424 [non-C99-based standards] (nextafterl): Likewise.
1425 [non-C99-based standards] (remainderl): Likewise.
1426 [non-C99-based standards] (rintl): Likewise.
1427 [non-C99-based standards] (scalbl): Likewise.
1428 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1429 [non-C99-based standards] (FP_*): Do not allow.
1430 [C99-based standards] (FP_*): Change to
1431 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1432 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1434 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1435 (SIG_ERR): Likewise.
1436 [X/Open-based standards] (SIG_HOLD): Likewise.
1437 (SIG_IGN): Likewise.
1438 (SIGABRT): Use macro-int-constant. Specify type. Require
1443 (SIGSEGV): Likewise.
1445 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1446 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1447 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1448 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1449 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1450 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1451 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1452 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1453 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1454 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1455 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1456 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1457 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1458 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1459 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1460 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1461 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1462 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1463 [X/Open-based standards] (SIGTRAP): Likewise.
1464 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1465 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1466 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1467 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1468 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1471 2012-05-08 Ian Wienand <ianw@vmware.com>
1474 * time/tzset.c (__tzset_parse_tz): Update default rules for
1475 daylight time changes in the Energy Policy Act of 2005.
1477 2012-05-09 Andreas Jaeger <aj@suse.de>
1480 * elf/ldconfig.c (parse_conf): Change string to make clear that
1481 ldconfig only issued a warning if ld.so.conf does not exist.
1483 2012-05-08 David S. Miller <davem@davemloft.net>
1485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1486 movxtod instead of popping the value on the stack.
1488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1490 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1492 * config.h.in: Add HAVE_ARM_PCS_VFP.
1494 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1497 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1498 checking but the checks are disabled for any reason.
1500 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1502 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1503 and ELF64_R_TYPE with ELFW(R_TYPE).
1505 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1507 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1510 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1511 (settimeofday): Likewise.
1513 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1515 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1516 a struct th_u2 inside the union, and move tu_block/tu_code into
1517 a new th_u3 union of tu_block/tu_code inside of that. Move
1518 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1519 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1520 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1521 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1522 (th_stuff): Change to th_u1.tu_stuff.
1524 (th_msg): Change to th_u1.th_u2.tu_data.
1526 2012-05-07 David S. Miller <davem@davemloft.net>
1528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1531 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1532 (SETUP_PIC_REG): Use it.
1533 (SETUP_PIC_REG_LEAF): Use it.
1535 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1539 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1541 (EXPL_FINITE): Likewise.
1543 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1544 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1546 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1548 (EXPL_FINITE): Likewise.
1550 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1551 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1553 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1554 test of -max_value argument for long double.
1555 * sysdeps/i386/fpu/libm-test-ulps: Update.
1556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1558 2012-05-06 David S. Miller <davem@davemloft.net>
1560 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1561 quad soft-float symbols whose references which are compiler
1563 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1565 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1569 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1571 (EXPL_FINITE): Likewise.
1575 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1576 Adjust comments for base varying.
1577 (__expl_finite): Change alias to EXPL_FINITE.
1578 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1580 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1581 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1582 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1583 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1584 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1586 (EXPL_FINITE): Likewise.
1590 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1591 Adjust comments for base varying.
1592 (__expl_finite): Change alias to EXPL_FINITE.
1593 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1595 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1598 * math/libm-test.inc (check_float_internal): Correct ulp
1599 calculation for subnormal expected results.
1601 2012-05-06 Andreas Jaeger <aj@suse.de>
1603 * Makeconfig (+math-flags): New, set to -frounding-math.
1604 (+cflags): Add +math-flags so that all of glibc gets compiled with
1607 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1609 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1611 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1617 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1618 (__ieee754_expl): Allow for and saturate large arguments.
1619 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1620 (u_threshold): Likewise.
1621 (__exp): Call __ieee754_exp before checking for overflow and
1623 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1624 (u_threshold): Likewise.
1625 (__expf): Call __ieee754_expf before checking for overflow and
1627 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1628 (u_threshold): Likewise.
1629 (__expl): Call __ieee754_expl before checking for overflow and
1631 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1632 (__ieee754_expl): Allow for and saturate large arguments.
1633 * math/libm-test.inc (exp_test): Add another test. Do not allow
1634 missing overflow exception on overflow.
1635 (expm1_test): Do not allow missing overflow exception on overflow.
1637 * sysdeps/i386/fpu/e_expl.c: Move to ...
1638 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1639 rather than using inline asm.
1640 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1641 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1642 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1644 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1651 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1653 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1654 sysdeps/unix/common/syscalls.list.
1657 (ftruncate): Likewise.
1658 (getrusage): Likewise.
1659 (gettimeofday): Likewise.
1660 (setpgid): Likewise.
1661 (setregid): Likewise.
1662 (setreuid): Likewise.
1663 (sigaction): Likewise.
1664 (truncate): Likewise.
1665 (vhangup): Likewise.
1666 * sysdeps/unix/common/syscalls.list: Remove file.
1667 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1668 * sysdeps/unix/sysv/linux/Implies: Likewise.
1670 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1672 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1674 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1678 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1681 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1684 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1687 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1690 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1693 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1696 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1700 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1704 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1707 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1711 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1715 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1717 * sysdeps/unix/common/bits/dirent.h: Remove file.
1718 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1720 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1721 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1722 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1723 * sysdeps/unix/bsd/isatty.c: Likewise.
1724 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1725 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1726 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1728 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1731 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1732 long double comparison inaccuracies.
1733 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1736 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1738 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1739 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1741 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1744 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1745 nonzero digits before rounding a hex value.
1746 * stdlib/tst-strtod.c (tests): Add another test.
1748 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1750 * sysdeps/s390/fpu/libm-test-ulps: Update.
1752 2012-05-03 Andreas Jaeger <aj@suse.de>
1754 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1755 does not get optimized out.
1756 (malloc_opt_barrier): New.
1758 2012-05-03 Andreas Jaeger <aj@suse.de>
1759 Roland McGrath <roland@hack.frob.com>
1761 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1762 intermediate file deletion.
1763 (generated): Add .symlist files.
1765 2012-05-03 Joseph Myers <joseph@codesourcery.com>
1768 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1769 Redirect under this condition.
1770 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1771 [__USE_GNU] (__dprintf_chk): Not under this condition.
1772 [__USE_GNU] (__vdprintf_chk): Likewise.
1773 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1774 under this condition.
1775 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1776 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1777 [__USE_XOPEN2K8] (vdprintf): Likewise.
1778 [__USE_GNU] (__dprintf_chk): Not under this condition.
1779 [__USE_GNU] (__vdprintf_chk): Likewise.
1780 [__USE_GNU] (dprintf): Likewise.
1781 [__USE_GNU] (vdprintf): Likewise.
1783 2012-05-03 Roland McGrath <roland@hack.frob.com>
1785 * elf/Makefile (common-generated): Set this instead of generated for
1786 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1787 $(all-built-dso)-derived lists.
1789 2012-05-03 Andreas Jaeger <aj@suse.de>
1791 * sysdeps/i386/fpu/libm-test-ulps: Update.
1795 * scripts/gen-FAQ.pl: Likewise.
1796 * manual/install.texi (Installation): Point to online location of
1798 * Makefile (files-for-dist): Remove FAQ.
1801 2012-05-02 Allan McRae <allan@archlinux.org>
1803 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1804 (LDFLAGS-reldepmod5.so): Likewise.
1805 (LDFLAGS-reldep6mod1.so): Likewise.
1806 (LDFLAGS-reldep6mod4.so): Likewise.
1807 (LDFLAGS-reldep8mod3.so): Likewise.
1808 (LDFLAGS-unload4mod1.so): Likewise.
1809 (LDFLAGS-unload4mod2.so): Likewise.
1810 (LDFLAGS-tst-initorder): Likewise.
1811 (LDFLAGS-tst-initordera2.so): Likewise.
1812 (LDFLAGS-tst-initordera3.so): Likewise.
1813 (LDFLAGS-tst-initordera4.so): Likewise.
1814 (LDFLAGS-tst-initorderb2.so): Likewise.
1815 (LDFLAGS-noload): Likewise.
1816 (LDFLAGS-next): Likewise.
1817 (LDFLAGS-order2mod1.so): Likewise.
1818 (LDFLAGS-order2mod2.so): Likewise.
1819 (LDFLAGS-tst-initorder2): Likewise.
1820 (LDFLAGS-tst-initorder2a.so): Likewise.
1821 (LDFLAGS-tst-initorder2b.so): Likewise.
1822 (LDFLAGS-tst-initorder2c.so): Likewise.
1823 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1825 2012-05-02 David S. Miller <davem@davemloft.net>
1827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1829 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1832 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1834 2012-05-02 Andreas Jaeger <aj@suse.de>
1836 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1837 since we manipulate rounding mode.
1838 (CPPFLAGS-test-idouble.c): Likewise.
1839 (CPPFLAGS-test-ifloat.c): Likewise.
1840 (CFLAGS-test-ldouble.c): Likewise.
1841 (CFLAGS-test-double.c): Likewise.
1842 (CFLAGS-test-float.c): Likewise.
1843 (CFLAGS-test-misc.c): Likewise.
1844 (CFLAGS-test-test-fenv.c): Likewise.
1846 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1850 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1851 comparisons to determine direction to adjust input.
1853 2012-05-01 Roland McGrath <roland@hack.frob.com>
1855 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1856 output to the target.
1858 * scripts/localplt.awk: New file.
1859 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1860 (check-localplt-CFLAGS): Variable removed.
1861 ($(all-built-dso:=.jmprel)): New static pattern rule.
1862 (generated): Add those targets.
1863 (localplt-built-dso): New variable.
1864 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1866 * elf/check-localplt.c: File removed.
1868 * scripts/check-execstack.awk: New file.
1869 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1870 (check-execstack-CFLAGS): Variable removed.
1871 ($(objpfx)check-execstack.h): Target removed.
1872 ($(objpfx)execstack-default): New target.
1873 (generated): Add that instead of check-execstack.h.
1874 ($(all-built-dso:=.phdr)): New static pattern rule.
1875 (generated): Add those targets.
1876 * elf/check-execstack.c: File removed.
1878 * scripts/check-textrel.awk: New file.
1879 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1880 (check-textrel-CFLAGS): Variable removed.
1881 (all-built-dso): Use := to define.o
1882 ($(all-built-dso:=.dyn)): New static pattern rule.
1883 (generated): Add those targets.
1884 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1885 * config.make.in (READELF): New substituted variable.
1886 * elf/check-textrel.c: File removed.
1888 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1890 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1892 * conform/data/ctype.h-data [C99-based standards] (isblank):
1894 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1895 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1896 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1897 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1898 Specify type. Require positive value.
1901 [ISO || POSIX] (EILSEQ): Do not expect.
1902 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1903 Specify type. Require positive value.
1904 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1905 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1906 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1907 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1908 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1909 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1910 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1911 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1912 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1913 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1914 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1915 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1916 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1917 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1918 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1919 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1920 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1921 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1922 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1923 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1924 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1925 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1926 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1927 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1928 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1929 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1930 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1931 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1932 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1933 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1934 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1935 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1936 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1937 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1938 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1939 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1940 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1941 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1942 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1943 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1944 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1945 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1946 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1947 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1948 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1949 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1950 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1951 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1952 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1953 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1954 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1955 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1956 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1957 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1958 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1959 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1960 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1961 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1962 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1963 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1964 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1965 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1966 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1967 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1968 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1969 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1970 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1971 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1972 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1973 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1974 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1975 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1976 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1977 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1978 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1979 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1980 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1982 (FLT_ROUNDS): Expect as macro, not constant.
1983 (FLT_MANT_DIG): Use macro-int-constant.
1984 (DBL_MANT_DIG): Likewise.
1985 (LDBL_MANT_DIG): Likewise.
1986 (FLT_DIG): Likewise.
1987 (DBL_DIG): Likewise.
1988 (LDBL_DIG): Likewise.
1989 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1990 (DBL_MIN_EXP): Likewise.
1991 (LDBL_MIN_EXP): Likewise.
1992 (FLT_MAX_EXP): Use macro-int-constant.
1993 (DBL_MAX_EXP): Likewise.
1994 (LDBL_MAX_EXP): Likewise.
1995 (FLT_MAX_10_EXP): Likewise.
1996 (DBL_MAX_10_EXP): Likewise.
1997 (LDBL_MAX_10_EXP): Likewise.
1998 (FLT_MAX): Use macro-constant.
1999 (DBL_MAX): Likewise.
2000 (LDBL_MAX): Likewise.
2001 (FLT_EPSILON): Use macro-constant. Give upper bound.
2002 (DBL_EPSILON): Likewise.
2003 (LDBL_EPSILON): Likewise.
2004 (FLT_MIN): Likewise.
2005 (DBL_MIN): Likewise.
2006 (LDBL_MIN): Likewise.
2007 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2008 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2009 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2010 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2011 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2012 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2013 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2014 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2015 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2016 [ISO11] (FLT_TRUE_MIN): Likewise.
2017 [ISO11] (LDBL_TRUE_MIN): Likewise.
2018 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2019 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2020 (SCHAR_MIN): Use macro-int-constant. Specify type.
2021 (SCHAR_MAX): Likewise.
2022 (UCHAR_MAX): Likewise.
2023 (CHAR_MIN): Likewise.
2024 (CHAR_MAX): Likewise.
2025 (MB_LEN_MAX): Use macro-int-constant.
2026 (SHRT_MIN): Use macro-int-constant. Specify type.
2027 (SHRT_MAX): Likewise.
2028 (USHRT_MAX): Likewise.
2029 (INT_MAX): Likewise.
2030 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2032 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2034 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2036 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2037 bound negative. Suffix upper bound with "L".
2038 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2040 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2042 [C99-based standards] (LLONG_MAX): Likewise.
2043 [C99-based standards] (ULLONG_MAX): Likewise.
2044 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2046 [ISO11] (max_align_t): Require type.
2047 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2049 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2050 from $CFLAGS, without defining away __attribute__ calls.
2051 (checknamespace): Use $CFLAGS_namespace.
2053 * conform/conformtest.pl (@keywords): Only include C99 keywords
2054 for standards based on C99 or C11.
2056 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2058 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2061 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2062 usability of symbols in #if.
2064 * conform/conformtest.pl: If macro or constant types start
2065 "promoted:", expect the symbol to be of the following type
2066 promoted by the integer promotions.
2068 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2069 in one place. Also handle "macro-constant".
2071 * conform/conformtest.pl: Only accept expected macro values with
2072 "==". Parse all "macro" lines in one place.
2073 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2075 * conform/conformtest.pl: Handle braced types on "constant" lines
2076 instead of handling "typed-constant".
2077 * conform/data/signal.h-data: Use "constant" instead of
2080 * conform/conformtest.pl: Handle "optional-" at start of lines in
2081 one place rather than duplicating several cases. Handle each
2082 format of "macro" line with initial "optional-".
2084 * conform/conformtest.pl: Only accept expected constant or
2085 optional-constant values with "==". Parse all "constant" lines in
2086 one place. Parse all "optional-constant" lines in one place.
2087 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2088 * conform/data/fmtmsg.h-data: Likewise.
2089 * conform/data/netinet/in.h-data: Likewise.
2090 * conform/data/tar.h-data: Likewise.
2091 * conform/data/limits.h-data: Use "==" form on "constant" and
2092 "optional-constant" lines.
2094 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2095 Use -std=c99 for XOPEN2K.
2096 (@knownproblems): Remove.
2097 (newtoken): Don't check %isknown.
2099 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2100 Do not expect macro.
2101 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2102 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2103 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2104 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2105 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2106 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2107 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2108 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2109 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2110 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2111 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2112 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2113 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2114 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2115 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2116 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2117 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2118 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2119 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2120 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2121 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2122 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2123 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2124 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2125 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2126 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2127 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2128 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2129 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2130 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2131 [XPG3] (acosh): Likewise.
2132 [XPG3] (asinh): Likewise.
2133 [XPG3] (atanh): Likewise.
2134 [XPG3] (cbrt): Likewise.
2135 [XPG3] (expm1): Likewise.
2136 [XPG3] (ilogb): Likewise.
2137 [XPG3] (log1p): Likewise.
2138 [XPG3] (logb): Likewise.
2139 [XPG3] (nextafter): Likewise.
2140 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2141 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2142 [XPG3] (remainder): Likewise.
2143 [XPG3] (rint): Likewise.
2144 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2145 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2146 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2147 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2148 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2149 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2150 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2151 [UNIX98 || XOPEN2K] (scalb): Expect.
2152 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2153 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2154 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2155 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2156 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2157 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2158 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2159 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2160 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2161 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2162 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2163 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2164 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2165 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2166 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2167 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2168 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2169 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2170 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2171 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2172 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2173 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2174 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2175 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2176 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2177 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2178 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2179 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2180 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2181 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2182 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2183 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2184 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2185 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2186 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2187 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2188 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2189 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2190 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2191 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2192 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2193 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2194 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2195 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2196 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2197 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2198 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2199 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2200 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2201 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2202 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2203 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2204 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2205 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2206 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2207 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2208 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2209 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2210 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2211 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2212 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2213 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2214 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2215 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2216 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2217 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2218 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2219 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2220 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2221 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2222 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2223 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2224 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2225 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2226 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2227 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2228 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2229 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2230 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2231 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2232 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2233 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2234 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2235 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2236 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2237 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2238 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2239 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2240 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2241 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2242 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2243 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2244 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2245 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2246 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2247 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2248 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2249 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2250 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2251 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2252 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2253 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2254 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2255 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2256 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2257 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2258 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2259 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2260 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2261 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2262 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2263 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2264 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2265 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2266 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2267 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2268 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2269 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2270 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2271 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2272 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2273 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2274 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2275 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2276 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2277 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2278 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2279 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2280 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2281 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2282 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2283 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2284 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2285 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2286 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2287 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2288 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2290 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2291 _XOPEN_SOURCE_EXTENDED for XPG4.
2293 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2295 * Makeconfig (localtime): Remove variable.
2296 (inst_localtime-file): Likewise.
2298 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2319 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2323 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2324 comparisons to determine direction to adjust input.
2325 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2326 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2327 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2329 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2331 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2333 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2334 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2336 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2338 * math/libm-test.inc (nexttoward_test): Add more tests.
2340 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2343 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2344 in version GLIBC_2.1, not GLIBC_2.0.
2345 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2348 2012-04-30 Joseph Myers <joseph@codesourcery.com>
2351 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2353 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2354 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2355 * math/libm-test.inc (acos_test): Add more tests.
2356 (asin_test): Likewise.
2357 * sysdeps/i386/fpu/libm-test-ulps: Update.
2358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2361 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2363 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2364 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2365 * math/libm-test.inc (acos_test_tonearest): New function.
2366 (acos_test_towardzero): Likewise.
2367 (acos_test_downward): Likewise.
2368 (acos_test_upward): Likewise.
2369 (asin_test_tonearest): Likewise.
2370 (asin_test_towardzero): Likewise.
2371 (asin_test_downward): Likewise.
2372 (asin_test_upward): Likewise.
2373 (main): Call the new functions.
2374 * sysdeps/i386/fpu/libm-test-ulps: Update.
2375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2379 * math/e_exp10.c: Include <float.h>.
2380 (__ieee754_exp10): Handle underflow here rather than multiplying
2381 large negative argument by M_LN10.
2382 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2384 * math/e_exp10l.c: Include <float.h>.
2385 (__ieee754_exp10l): Handle underflow here rather than multiplying
2386 large negative argument by M_LN10l.
2387 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2388 spurious overflow exception on underflow.
2390 2012-04-29 Marek Polacek <polacek@redhat.com>
2392 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2393 (__fortify_function): New macro.
2394 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2395 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2396 __extern_always_inline.
2397 * libio/bits/stdio2.h: Likewise.
2398 * libio/bits/stdio.h: Likewise.
2399 * string/string.h: Likewise.
2400 * string/bits/string3.h: Likewise.
2401 * include/stdio.h: Likewise.
2402 * stdlib/bits/stdlib.h: Likewise.
2403 * stdlib/stdlib.h: Likewise.
2404 * rt/bits/mqueue2.h: Likewise.
2405 * rt/mqueue.h: Likewise.
2406 * posix/bits/unistd.h: Likewise.
2407 * posix/unistd.h: Likewise.
2408 * io/bits/poll2.h: Likewise.
2409 * io/bits/fcntl2.h: Likewise.
2410 * io/fcntl.h: Likewise.
2411 * io/sys/poll.h: Likewise.
2412 * misc/bits/syslog.h: Likewise.
2413 * misc/bits/syslog-ldbl.h: Likewise.
2414 * misc/sys/syslog.h: Likewise.
2415 * socket/bits/socket2.h: Likewise.
2416 * socket/sys/socket.h: Likewise.
2417 * debug/tst-chk1.c: Likewise.
2418 * wcsmbs/bits/wchar2.h: Likewise.
2419 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2420 * wcsmbs/wchar.h: Likewise.
2422 2012-04-29 Andreas Jaeger <aj@suse.de>
2424 * Makerules (tests): Remove enable-check-abi protection.
2425 (check-abi-warn): Remove.
2426 (check-abi-%): Remove check-abi-warn usage.
2428 * configure.in: Remove check-abi configure option.
2429 * configure: Regenerated.
2430 * config.make.in (enable-check-abi): Remove.
2432 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2435 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2436 double functions to double *_finite functions.
2439 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2440 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2442 * stdio-common/Makefile (tests): Add tst-sprintf3.
2443 * stdio-common/tst-sprintf3.c: New file.
2445 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2446 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2448 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2450 * conform/conformtest.pl: Remove duplicate typed-constant
2453 2012-04-28 David S. Miller <davem@davemloft.net>
2455 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2456 (check-abi-%): Remove AWK script prerequisite and explicit
2458 (check-abi): Rewrite to just diff the symlist with the abilist.
2459 (config-tls, config-abi-config): Delete, no longer used.
2460 (update-abi-%): Remove AWK script and explicit abilist directory.
2461 (update-abi): Rewrite to simply compare and conditionally copy the
2462 symlist and the sysdep abilist file. Remove update-abi-config
2464 * abilist/ld.abilist: Remove.
2465 * abilist/libBrokenLocale.abilist: Remove.
2466 * abilist/libanl.abilist: Remove.
2467 * abilist/libcrypt.abilist: Remove.
2468 * abilist/libdl.abilist: Remove.
2469 * abilist/librt.abilist: Remove.
2470 * abilist/libthread_db.abilist: Remove.
2471 * abilist/libutil.abilist: Remove.
2472 * scripts/extract-abilist.awk: Remove.
2473 * scripts/merge-abilist.awk: Remove.
2474 * sysdeps/generic/libcidn.abilist: New file.
2475 * sysdeps/generic/libnss_compat.abilist: New file.
2476 * sysdeps/generic/libnss_db.abilist: New file.
2477 * sysdeps/generic/libnss_dns.abilist: New file.
2478 * sysdeps/generic/libnss_files.abilist: New file.
2479 * sysdeps/generic/libnss_hesiod.abilist: New file.
2480 * sysdeps/generic/libnss_nis.abilist: New file.
2481 * sysdeps/generic/libnss_nisplus.abilist: New file.
2482 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2483 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2484 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2486 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2487 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2488 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2489 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2490 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2491 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2492 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2493 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2494 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2496 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2497 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2498 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2499 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2501 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2502 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2503 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2504 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2505 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2506 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2508 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2509 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2510 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2512 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2615 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2616 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2617 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2619 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2620 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2621 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2622 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2623 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2624 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2625 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2626 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2627 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2628 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2680 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2682 * conform/conformtest.pl: Fix typo in handling typed-constant from
2685 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2687 * README: Cut down references to pre-2.6 Linux kernels and
2688 Linuxthreads. Update lists of configurations in libc and ports
2689 and sort alphabetically. Say "or newer" with Linux kernel version
2692 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2694 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2697 * math/libm-test.inc (logb_test_downward): New test to expose
2698 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2701 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2704 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2706 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2707 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2709 2012-04-26 Joseph Myers <joseph@codesourcery.com>
2711 * sysdeps/unix/i386/brk.S: Remove file.
2712 * sysdeps/unix/i386/dl-brk.S: Likewise.
2713 * sysdeps/unix/i386/pipe.S: Likewise.
2714 * sysdeps/unix/i386/sigreturn.S: Likewise.
2715 * sysdeps/unix/i386/syscall.S: Likewise.
2716 * sysdeps/unix/i386/vfork.S: Likewise.
2717 * sysdeps/unix/i386/wait.S: Likewise.
2719 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2720 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2722 * configure.in (arm*-none*): Do not allow without
2723 --enable-hacker-mode.
2724 (netbsd*): Remove case setting base_os.
2725 (386bsd*): Likewise.
2726 (freebsd*): Likewise.
2730 (ultrix*): Likewise.
2731 (newsos*): Likewise.
2741 (solaris[2-9]*): Likewise.
2743 * configure: Regenerated.
2745 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2748 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2749 overflow or cancellation in calculating denominator.
2750 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2751 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2752 down expression to avoid unexpected rounding in newer GCCs.
2753 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2755 2012-04-26 David S. Miller <davem@davemloft.net>
2757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2758 long-double compat symbols.
2759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2773 2012-04-25 David S. Miller <davem@davemloft.net>
2775 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2776 HWCAP_* values only after the memory barriers have been defined.
2777 (atomic_full_barrier): Define.
2778 (atomic_read_barrier): Define.
2779 (atomic_write_barrier): Define.
2781 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2783 * shlib-versions: Add libgcc_s version information.
2784 * sysdeps/generic/libgcc_s.h: Remove.
2785 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2787 * sysdeps/gnu/unwind-resume.c: Likewise.
2788 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2790 2012-04-25 David S. Miller <davem@davemloft.net>
2792 * sysdeps/unix/sparc/brk.S: Delete.
2793 * sysdeps/unix/sparc/dl-brk.S: Delete.
2794 * sysdeps/unix/sparc/pipe.S: Delete.
2795 * sysdeps/unix/sparc/sysdep.S: Delete.
2796 * sysdeps/unix/sparc/sysdep.h: Delete.
2797 * sysdeps/unix/sparc/vfork.S: Delete.
2798 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2799 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2800 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2801 ret_ERRVAL, r0, r1, MOVE): Define.
2802 (JUMPTARGET): Remove.
2803 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2804 sysdeps/unix/sparc/sysdep.h
2805 (ENTRY, END): Remove.
2806 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2808 2012-04-25 Joseph Myers <joseph@codesourcery.com>
2810 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2811 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2814 * timezone/README: Update upstream location and email address for
2816 * timezone/zdump.c: Update from tzcode 2012b.
2817 * timezone/zic.c: Likewise.
2819 * configure.in (libc_cv_as_needed): Remove test.
2820 * configure: Regenerated.
2821 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2822 conditional definition.
2823 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2824 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2825 * config.make.in (have-as-needed): Remove variable.
2827 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2828 Paul Pluzhnikov <ppluzhnikov@google.com>
2830 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2833 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2835 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2836 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2837 * sysdeps/sh/strlen.S: Likewise.
2839 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2841 * sysdeps/unix/fork.S: Remove file.
2842 * sysdeps/unix/i386/fork.S: Likewise.
2843 * sysdeps/unix/sparc/fork.S: Likewise.
2845 * sysdeps/unix/system.c: Remove file.
2846 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2848 * sysdeps/unix/getegid.S: Remove file.
2849 * sysdeps/unix/geteuid.S: Likewise.
2851 2012-04-24 Roland McGrath <roland@hack.frob.com>
2853 * scripts/check-localplt.awk: New file.
2854 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2856 * scripts/data/localplt-generic.data: Add a comment.
2858 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2859 NODE when __dir_mkfile failed.
2860 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2861 Reported by Ludovic Courtès <ludo@gnu.org>.
2863 2012-04-24 Andreas Jaeger <aj@suse.de>
2865 * Makerules (common-clean): Also remove gen-as-const-headers
2868 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2870 * Makerules (native-compile): Do not change working directory for
2871 build. Use $(OUTPUT_OPTION) in command.
2872 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2874 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2877 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2878 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2879 * math/libm-test.inc (floor_test): Add more tests.
2880 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2882 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2884 * sysdeps/unix/getdents.c: Remove file.
2885 * sysdeps/unix/sysv/getdents.c: Likewise.
2886 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2888 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2889 sysdeps/unix/mman/syscalls.list.
2891 (mprotect): Likewise.
2894 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2895 * sysdeps/unix/mman/syscalls.list: Remove.
2896 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2898 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2899 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2900 * configure: Regenerated.
2901 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2903 * config.make.in (libgcc_s_suffix): Remove variable.
2905 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2907 * sysdeps/unix/sysv/gethostname.c: Move to ...
2908 * sysdeps/posix/gethostname.c: ... here.
2910 * sysdeps/unix/execve.S: Remove file.
2912 * sysdeps/unix/_exit.S: Remove file.
2914 2012-04-23 Andreas Jaeger <aj@suse.de>
2917 * manual/Makefile: Remove make dist support, there's no
2918 need for a stand-alone documentation tar ball.
2919 (TEXI2DVI): Define always, it's not in Makeconfig.
2923 (glibc-doc-$(edition).tar): Removed
2927 (ETAGS): Remove, it's in Makeconfig.
2928 (move-if-change): Remove, it's in Makeconfig.
2930 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2933 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2934 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2935 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2936 (strtod_l, strtof_l, strtold_l): Remove __wur.
2937 It is not necessarily an error to ignore strtol's return value.
2938 One can reliably look at the stored endptr to decide whether
2939 the number had valid syntax.
2941 2012-04-21 Andreas Jaeger <aj@suse.de>
2944 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2946 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2948 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2949 * sysdeps/unix/sysv/Versions: Remove file.
2951 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2954 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2956 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2959 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2960 version from __vm86.
2962 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2964 * sysdeps/unix/common/lxstat.c: Remove file.
2965 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2967 * sysdeps/unix/sysv/Makefile: Remove file.
2969 * sysdeps/unix/sysv/direct.h: Remove file.
2971 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2972 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2973 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2974 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2975 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2976 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2977 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2979 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2981 * sysdeps/unix/xmknod.c: Remove file.
2982 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2984 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2986 * sysdeps/unix/sysv/i386/time.S: Remove file.
2988 * sysdeps/unix/fxstat.c: Remove file.
2989 * sysdeps/unix/xstat.c: Likewise.
2990 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2992 * sysdeps/unix/sysv/sigaction.c: Remove file.
2994 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2995 (sysdep_headers): Remove variable.
2996 [termio.h not in sysdep_headers] (generated): Likewise.
2997 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2998 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2999 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3000 * sysdeps/unix/sysv/tcflow.c: Likewise.
3001 * sysdeps/unix/sysv/tcflush.c: Likewise.
3002 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3003 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3004 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3005 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3006 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3008 * sysdeps/unix/siglist.c: Remove file.
3010 * sysdeps/unix/getppid.S: Remove file.
3012 * sysdeps/unix/mkdir.c: Remove file.
3013 * sysdeps/unix/rmdir.c: Likewise.
3015 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3017 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3019 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3020 errlist-compat value.
3022 2012-04-18 David S. Miller <davem@davemloft.net>
3024 * sysdeps/generic/memcopy.h (reg_char): Delete.
3025 * debug/strcat_chk.c: Use char, not reg_char.
3026 * debug/strcpy_chk.c: Likewise.
3027 * debug/strncat_chk.c: Likewise.
3028 * debug/strncpy_chk.c: Likewise.
3029 * string/memchr.c: Likewise.
3030 * string/memrchr.c: Likewise.
3031 * string/rawmemchr.c: Likewise.
3032 * string/strcat.c: Likewise.
3033 * string/strchr.c: Likewise.
3034 * string/strchrnul.c: Likewise.
3035 * string/strcmp.c: Likewise.
3036 * string/strcpy.c: Likewise.
3037 * string/strncat.c: Likewise.
3038 * string/strncmp.c: Likewise.
3039 * string/strncpy.c: Likewise.
3041 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3043 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3044 __builtin_memcopy is called when src and dest ranges are known to not
3047 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3049 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3050 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3051 fwd_align_merge macro call.
3052 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3053 bwd_align_merge macro call.
3054 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3056 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3058 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3059 bwd_align_merge macros.
3060 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3061 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3062 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3064 2012-04-18 David S. Miller <davem@davemloft.net>
3066 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3068 2012-04-18 Andreas Jaeger <aj@suse.de>
3071 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3072 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3073 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3075 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3076 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3077 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3079 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3080 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3081 Adjust for changed ldbl-128 files.
3083 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3084 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3085 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3087 2012-04-17 David S. Miller <davem@davemloft.net>
3089 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3091 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3093 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3094 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3095 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3096 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3097 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3098 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3100 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3103 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3104 * math/libm-test.inc: Add ilogb errno and exception tests.
3105 * math/w_ilogb.c: New file: ilogb wrapper.
3106 * math/w_ilogbf.c: New file: ilogbf wrapper.
3107 * math/w_ilogbl.c: New file: ilogbl wrapper.
3108 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3109 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3110 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3111 exception being thrown with 0.0 as argument.
3112 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3113 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3114 exception being thrown with 0.0 as argument.
3115 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3116 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3117 exception being thrown with 0.0 as argument.
3118 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3119 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3120 exception being thrown with 0.0 as argument.
3121 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3122 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3123 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3124 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3125 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3126 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3127 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3128 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3129 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3131 2012-04-17 Petr Baudis <pasky@ucw.cz>
3133 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3136 2012-04-16 Marek Polacek <polacek@redhat.com>
3138 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3140 2012-04-16 Marek Polacek <polacek@redhat.com>
3142 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3143 operands of fdivp instruction.
3145 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3147 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3148 * elf/tst-auditmod3b.c: Likewise.
3149 * elf/tst-auditmod4b.c: Likewise.
3150 * elf/tst-auditmod5b.c: Likewise.
3151 * elf/tst-auditmod6b.c: Likewise.
3152 * elf/tst-auditmod6c.c: Likewise.
3153 * elf/tst-auditmod7b.c: Likewise.
3154 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3155 * sysdeps/x86_64/preconfigure.in: Likewise.
3156 * sysdeps/x86_64/preconfigure: Regenerated.
3158 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3160 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3163 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
3165 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3166 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3168 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3171 * locale/iso-639.def: Fix gl language name. Spotted by
3174 2012-04-12 Roland McGrath <roland@hack.frob.com>
3177 * libio/libio.h (__io_write_fn): Update comment.
3179 2012-04-12 Petr Baudis <pasky@ucw.cz>
3182 * stdio.texi (Hook Functions): The user provided writer function
3183 is not allowed to return -1.
3185 2012-04-11 David S. Miller <davem@davemloft.net>
3187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3189 2012-04-11 Mike Frysinger <vapier@gentoo.org>
3191 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3192 Add a leading slash to rtkaio.
3194 2012-04-11 Jim Meyering <meyering@redhat.com>
3197 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3198 It is not necessarily an error to ignore fwrite's return
3199 value. One can reliably use ferror to test for errors after
3202 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3204 * bits/types.h (__snseconds_t): New type.
3205 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3207 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3208 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3209 (__SNSECONDS_T_TYPE): Likewise.
3210 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3211 (__SNSECONDS_T_TYPE): Likewise.
3212 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3213 (__SNSECONDS_T_TYPE): Likewise.
3215 2012-04-10 Andreas Jaeger <aj@suse.de>
3218 * manual/time.texi (Processor Time): Return type of times is
3219 elapsed real time since an arbitrary point in the past.
3220 (CPU Time): Move CLK_TCK from here...
3221 (Processor Time): ...to here. Correct description.
3222 * manual/conf.texi (Constants for Sysconf): Correct description of
3225 2012-04-10 David S. Miller <davem@davemloft.net>
3228 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3229 where the is a gap between DT_REL(A) and DT_JMPREL.
3231 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3233 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3234 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3235 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3237 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3239 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3240 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3241 (dl_main): Handle --inhibit-cache.
3242 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3244 * elf/dl-load.c (_dl_map_object): Use it.
3245 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3247 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3250 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3251 (__ieee754_powl): Saturate large exponents rather than testing for
3252 overflow of y*log2(x).
3253 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3254 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3258 * math/s_ctan.c: Include <float.h>.
3259 (__ctan): Avoid internal overflow or cancellation in calculating
3261 * math/s_ctanf.c: Likewise.
3262 * math/s_ctanl.c: Likewise.
3263 * math/s_ctanh.c: Likewise.
3264 * math/s_ctanhf.c: Likewise.
3265 * math/s_ctanhl.c: Likewise.
3266 * math/libm-test.inc (ctan_test): Add more tests.
3267 (ctanh_test): Likewise.
3268 * sysdeps/i386/fpu/libm-test-ulps: Update.
3269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3271 2012-04-09 Andreas Jaeger <aj@suse.de>
3274 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3275 is an optional BSD extension.
3278 * manual/stdio.texi (Opening Streams): Document additional fopen
3281 2012-04-09 Roland McGrath <roland@hack.frob.com>
3283 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3284 %eax without telling the compiler.
3286 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3289 * manual/install.texi: Use sourceware.org.
3291 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3294 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3295 (__ieee754_pow): Generate overflow and underflow using huge*huge
3296 and tiny*tiny rather than just returning constant infinity or zero
3297 for large exponents.
3298 * math/libm-test.inc (pow_test): Require overflow exceptions for
3299 applicable cases of large exponents.
3302 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3303 (__ieee754_pow): Use iterative multiplication algorithm only for
3304 integer exponents with absolute value below 1024. Check for odd
3305 integer exponents when using algorithm for real exponents.
3306 * math/libm-test.inc (pow_test): Add more tests.
3307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3309 2012-04-08 Joseph Myers <joseph@codesourcery.com>
3312 * math/libm-test.inc (exp_test): Do not allow overflow exception
3315 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3318 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3319 instead of __kernel_standard_f.
3321 2012-04-08 Mike Frysinger <vapier@gentoo.org>
3323 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3324 * sysdeps/x86_64/memset_chk.S: Likewise.
3326 2012-04-08 Andreas Jaeger <aj@suse.de>
3329 * manual/startup.texi (Environment Access): Describe return value
3330 for putenv and setenv.
3333 * manual/filesys.texi (Directory Entries): Add description for
3337 * manual/filesys.texi (Directory Entries): Clarify that it's file
3338 system not operating system in the description of DT_UNKNOWN.
3341 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3343 2012-04-08 Stephen Compall <s11@member.fsf.org>
3346 * manual/llio.texi (Opening and Closing Files): Add cross
3347 reference to explain mode argument.
3349 2012-04-07 Mike Frysinger <vapier@gentoo.org>
3351 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3352 * sysdeps/x86_64/memset_chk.S: Likewise.
3354 2012-04-07 David S. Miller <davem@davemloft.net>
3356 * elf/elf.h (R_SPARC_WDISP10): Define.
3357 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3359 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3360 R_SPARC_SIZE64 and R_SPARC_H34.
3362 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3364 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3365 conditions and remove no longer applicable assertion.
3367 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3369 * bits/byteswap.h: Include <features.h>.
3370 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3371 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3373 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3375 * bits/byteswap.h (__bswap_16): Removed.
3376 Include <bits/byteswap-16.h> to get __bswap_16.
3377 * sysdeps/i386/bits/byteswap.h: Likewise.
3378 * sysdeps/s390/bits/byteswap.h: Likewise.
3379 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3380 * bits/byteswap-16.h: New file.
3381 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3382 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3383 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3384 * string/Makefile (headers): Add bits/byteswap-16.h.
3386 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3389 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3391 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3392 * nss/tst-nss-static.c: New.
3394 2012-04-06 Robert Millan <rmh@gnu.org>
3397 * manual/llio.texi (File Position Primitive): lseek
3398 refers to WHENCE when it really means OFFSET.
3400 2012-04-06 Andreas Jaeger <aj@suse.de>
3402 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3403 strncmp declarations.
3405 * abilist/libc.abilist: Add __poll and __ppoll.
3407 2012-04-05 David S. Miller <davem@davemloft.net>
3409 * scripts/check-local-headers.sh: Accept a host triplet in the
3410 path matched by the exclude regexp.
3412 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3414 * sysdeps/powerpc/powerpc32/dl-machine.h
3415 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3416 * sysdeps/s390/s390-32/dl-machine.h
3417 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3418 * sysdeps/sparc/sparc32/dl-machine.h
3419 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3420 * sysdeps/sparc/sparc64/dl-machine.h
3421 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3423 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3425 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3426 undefined symbol errors.
3428 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3431 2012-04-05 Michael Matz <matz@suse.de>
3434 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3436 2012-04-05 Andreas Jaeger <aj@suse.de>
3439 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3442 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3444 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3445 which ROUND is no valid rounding mode.
3447 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3449 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3451 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3453 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3455 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3456 an exception using FPU order intentionally.
3458 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3460 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3461 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3462 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3463 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3465 2012-04-05 Simon Josefsson <simon@josefsson.org>
3468 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3469 EINVAL when BUFLEN is too smal.
3471 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3474 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3475 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3477 2012-04-03 Andreas Jaeger <aj@suse.de>
3480 * manual/setjmp.texi (System V contexts): Fix sentence.
3483 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3484 New macro for this case.
3485 [!__GNUC__] (__bswap_64): New inline function for this case.
3486 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3487 * bits/byteswap.h: Likewise.
3488 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3489 ull, guard with __GLIBC_HAVE_LONG_LONG.
3491 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3492 __GLIBC_HAVE_LONG_LONG.
3494 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3495 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3497 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3500 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3501 inptr and inend, rather than using last_ch.
3503 2012-04-02 David S. Miller <davem@davemloft.net>
3505 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3506 * stdio-common/printf-parse.h (read_int): Change return type to
3507 'int', return -1 on INT_MAX overflow.
3508 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3509 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3510 overflows INT_MAX. Check for overflow of in-format-string precision
3511 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3512 SIZE_MAX not INT_MAX for integer overflow test.
3513 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3514 skip the construct in the format string but do not record anything.
3515 * stdio-common/bug22.c: Adjust to test both width/prevision
3516 INT_MAX overflow as well as total length INT_MAX overflow. Check
3517 explicitly for proper errno values.
3519 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3521 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3523 * string/test-strcmp.c [! WIDE]: Likewise.
3524 * time/tst-mktime2.c: Likewise for INT_MAX.
3525 * string/test-string.h: #include <sys/param.h> for MIN.
3527 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3528 * sysdeps/i386/init-first.c (init): Likewise.
3529 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3530 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3531 * sysdeps/sh/init-first.c (init): Likewise.
3533 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3535 * po/ru.po: Update from translation team.
3536 * po/vi.po: Likewise.
3538 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3540 * resolv/nss_dns/dns-host.c: Merge copyright years.
3542 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3544 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3545 Optimize memcpy with prefetch if
3546 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3547 src, dst pointers have unequal 16 byte alignments.
3549 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3552 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3553 from a CNAME entry and return the minimum ttl for the query.
3554 (gaih_getanswer_slice): Likewise.
3556 2012-03-30 Jeff Law <law@redhat.com>
3558 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3560 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3561 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3563 * resolv/nss_dns/dns-host.c: Update copyright year.
3565 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3567 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3568 requests to save a system call. Fix check that all bytes are sent.
3570 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3571 comments for sendmmsg.
3573 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3576 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3577 with only 1 character between 0x0041 and 0x01b0.
3578 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3579 * wcsmbs/tst-mbsnrtowcs.c: New file.
3581 2012-03-29 David S. Miller <davem@davemloft.net>
3583 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3584 small copies by hand.
3586 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3589 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3590 _nss_compat_initgroups_dyn): Fall back to malloc/free
3591 for large group memberships.
3593 2012-03-28 David S. Miller <davem@davemloft.net>
3595 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3596 that branches into memcpy.
3597 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3598 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3599 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3600 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3601 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3603 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3605 * sysdeps/sparc/mempcpy.S: New file.
3607 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3608 the IFUNC routine in the libc case.
3609 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3611 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3612 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3613 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3614 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3615 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3616 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3617 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3618 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3620 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3621 loop to 256 bytes instead of 64 bytes and fix test signedness.
3623 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3624 * sysdeps/sparc/sparc32/Makefile: rather than here...
3625 * sysdeps/sparc/sparc64/Makefile: and here.
3627 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3629 * malloc/mallocbug.c: Avoid warnings about unused variables.
3631 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3634 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3635 in the right place. Discard and retry query if response is
3636 larger than input buffer size.
3638 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3643 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3644 x for large integer exponent.
3645 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3646 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3647 sign of result as needed afterwards.
3648 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3649 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3650 result for underflowing pow the same as for overflow.
3651 (__kernel_standard_l): Handle powl overflow and underflow here
3652 rather than calling __kernel_standard.
3653 * math/libm-test.inc (pow_test): Add more tests.
3668 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3669 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3670 (__kernel_standard_l): New function.
3671 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3673 * math/w_acosl.c (__acosl): Likewise.
3674 * math/w_asinl.c (__asinl): Likewise.
3675 * math/w_atan2l.c (__atan2l): Likewise.
3676 * math/w_atanhl.c (__atanhl): Likewise.
3677 * math/w_coshl.c (__coshl): Likewise.
3678 * math/w_exp10l.c (__exp10l): Likewise.
3679 * math/w_exp2l.c (__exp2l): Likewise.
3680 * math/w_fmodl.c (__fmodl): Likewise.
3681 * math/w_hypotl.c (__hypotl): Likewise.
3682 * math/w_j0l.c (__j0l, __y0l): Likewise.
3683 * math/w_j1l.c (__j1l, __y1l): Likewise.
3684 * math/w_jnl.c (__jnl, __ynl): Likewise.
3685 * math/w_lgammal.c (__lgammal): Likewise.
3686 * math/w_log10l.c (__log10l): Likewise.
3687 * math/w_log2l.c (__log2l): Likewise.
3688 * math/w_logl.c (__logl): Likewise.
3689 * math/w_powl.c (__powl): Likewise.
3690 * math/w_remainderl.c (__remainderl): Likewise.
3691 * math/w_scalbl.c (sysv_scalbl): Likewise.
3692 * math/w_sinhl.c (__sinhl): Likewise.
3693 * math/w_sqrtl.c (__sqrtl): Likewise.
3694 * math/w_tgammal.c (__tgammal): Likewise.
3695 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3696 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3697 * math/libm-test.inc (acos_test): Add more tests.
3698 (acosh_test): Likewise.
3699 (asin_test): Likewise.
3700 (atanh_test): Likewise.
3701 (exp_test): Likewise.
3702 (exp10_test): Likewise.
3703 (exp2_test): Likewise.
3704 (expm1_test): Likewise.
3705 (lgamma_test): Likewise.
3706 (log_test): Likewise.
3707 (log10_test): Likewise.
3708 (log1p_test): Likewise.
3709 (log2_test): Likewise.
3710 (pow_test): Do not allow some spurious overflow exceptions.
3711 (sqrt_test): Add more tests.
3712 (tgamma_test): Likewise.
3713 (y0_test): Likewise.
3714 (y1_test): Likewise.
3715 (yn_test): Likewise.
3717 2012-03-27 Anton Blanchard <anton@samba.org>
3719 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3721 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3722 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3723 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3725 2012-03-27 David S. Miller <davem@davemloft.net>
3727 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3729 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3732 2012-03-27 Andreas Jaeger <aj@suse.de>
3734 * sysdeps/x86_64/elf/configure.in: Moved to ...
3735 * sysdeps/x86_64/configure.in: ... here.
3736 * sysdeps/x86_64/elf/start.S: Moved to ...
3737 * sysdeps/x86_64/start.S: ... here.
3738 * sysdeps/x86_64/elf/configure: Delete.
3740 * sysdeps/x86_64/configure.in: Merge contents from
3741 sysdeps/i386/configure.in (without i686 check).
3743 * sysdeps/i386/elf/Versions: Merge into ...
3744 * sysdeps/i386/Versions: ... this.
3745 * sysdeps/i386/elf/Versions: Delete file.
3746 * sysdeps/i386/elf/start.S: Moved to ...
3747 * sysdeps/i386/start.S: ...here.
3748 * sysdeps/i386/elf/configure.in: Merge into...
3749 * sysdeps/i386/configure.in: ...here.
3750 * sysdeps/i386/elf/configure.in: Delete file.
3751 * sysdeps/i386/elf/configure: Delete file.
3753 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3754 * debug/backtracesyms.c: ... here.
3755 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3756 * debug/backtracesymsfd.c: ... here.
3757 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3758 * sysdeps/generic/ifunc-sel.h: ... here.
3760 * sysdeps/unix/i386/start.c: Delete file.
3761 * sysdeps/unix/sparc/start.c: Delete file.
3762 * sysdeps/unix/start.c: Delete file.
3764 * sysdeps/sh/elf/configure.in: Moved to ...
3765 * sysdeps/sh/configure.in: ... here.
3766 * sysdeps/sh/elf/start.S: Moved to ...
3767 * sysdeps/sh/start.S: ... here.
3768 * sysdeps/sh/elf/configure: Delete file.
3770 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3771 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3772 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3773 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3774 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3775 * sysdeps/powerpc/powerpc64/start.S: here.
3776 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3777 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3778 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3779 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3780 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3782 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3783 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3784 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3785 * sysdeps/powerpc/powerpc32/start.S: ... here.
3786 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3787 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3788 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3790 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3791 * sysdeps/powerpc/ifunc-sel.h: ... here.
3792 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3793 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3795 * sysdeps/sparc/elf/configure.in: Moved to ...
3796 * sysdeps/sparc/configure.in: ... here.
3797 * sysdeps/sparc/elf/configure: Delete file.
3798 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3799 * sysdeps/sparc/sparc32/start.S: ... here.
3800 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3801 * sysdeps/sparc/sparc64/start.S: ... here.
3802 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3803 * sysdeps/sparc/sparc32/Makefile: ... this.
3804 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3805 * sysdeps/sparc/sparc64/Makefile: ... this.
3807 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3808 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3809 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3810 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3811 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3812 * sysdeps/s390/s390-32/setjmp.S: ... here.
3813 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3814 * sysdeps/s390/s390-32/configure.in: ... here.
3815 * sysdeps/s390/s390-32/elf/configure: Delete file.
3816 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3817 * sysdeps/s390/s390-32/start.S: ... here.
3819 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3820 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3821 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3822 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3823 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3824 * sysdeps/s390/s390-64/setjmp.S: ... here.
3825 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3826 * sysdeps/s390/s390-64/configure.in: ... here
3827 * sysdeps/s390/s390-64/elf/configure: Delete file.
3828 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3829 * sysdeps/s390/s390-64/start.S: ... here.
3830 * sysdeps/s390/s390-64/elf/configure: Delete.
3832 * configure.in: Remove support for elf directories in sysdeps.
3834 * configure: Regenerated.
3835 * sysdeps/i386/configure: Regenerated.
3836 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3837 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3838 * sysdeps/s390/s390-32/configure: Regenerated.
3839 * sysdeps/s390/s390-64/configure: Regenerated.
3840 * sysdeps/sh/configure: Regenerated.
3841 * sysdeps/sparc/configure: Regenerated.
3842 * sysdeps/x86_64/configure: Regenerated.
3844 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3848 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3849 denormal result into account.
3851 2012-03-25 Roland McGrath <roland@hack.frob.com>
3853 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3854 Reported by Allan McRae <allan@archlinux.org>.
3856 2012-03-23 Jeff Law <law@redhat.com>
3858 * nss/getnssent.c (__nss_getent): Fix typo.
3860 2012-03-23 David S. Miller <davem@davemloft.net>
3862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3864 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3866 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3867 to pad to uint64_t for each field.
3868 (dl_tls_index): Replace unsigned long with uint64_t.
3870 2012-03-23 Daniel Jacobowitz <dmj@google.com>
3871 Paul Pluzhnikov <ppluzhnikov@google.com>
3874 * grp/Makefile (otherlibs): Don't set it.
3875 * inet/Makefile (otherlibs): Likewise.
3876 * login/Makefile (otherlibs): Likewise.
3877 * nscd/Makefile (otherlibs): Likewise.
3878 * posix/Makefile (otherlibs): Likewise.
3879 * pwd/Makefile (otherlibs): Likewise.
3880 * rt/Makefile (otherlibs): Likewise.
3881 * sunrpc/Makefile (otherlibs): Likewise.
3882 * nss/Makefile (otherlibs): Likewise.
3883 Add libnss_files to routines and static-only-routines.
3884 ($(objpfx)getent): Remove rule.
3885 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3886 static-only-routines.
3888 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3891 * math/s_cexp.c: Include <float.h>.
3892 (__cexp): Handle exp result overflowing not necessarily
3893 overflowing both real and imaginary parts of result.
3894 * math/s_cexpf.c: Likewise.
3895 * math/s_cexpl.c: Likewise.
3896 * math/libm-test.inc (cexp_test): Add more tests.
3897 * sysdeps/i386/fpu/libm-test-ulps: Update.
3898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3900 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3902 * include/link.h (ELFW): New macro.
3903 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3904 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3906 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3908 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3911 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3913 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3915 (struct La_x32_retval): Likewise.
3917 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3919 * sysdeps/x86_64/preconfigure.in: New file.
3920 * sysdeps/x86_64/preconfigure: New generated file.
3922 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3925 * math/e_exp2l.c: Include <float.h>.
3926 (__ieee754_exp2l): Handle overflow and underflow cases
3927 separately. Only pass fractional part of argument to
3929 * math/libm-test.inc (exp2_test): Add more tests.
3931 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3932 negating x to take absolute value.
3933 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3935 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3936 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3938 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3939 computing low part if x was negated.
3940 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3942 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3944 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3946 (pltexit): Cast int_retval to ptrdiff_t.
3947 * elf/tst-auditmod3b.c: Likewise.
3948 * elf/tst-auditmod4b.c: Likewise.
3949 * elf/tst-auditmod5b.c: Likewise.
3950 * elf/tst-auditmod6b.c: Likewise.
3951 * elf/tst-auditmod6c.c: Likewise.
3952 * elf/tst-auditmod7b.c: Likewise.
3954 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3955 and x32_gnu_pltexit.
3957 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3959 (La_x32_regs): New macro.
3960 (La_x32_retval): Likewise.
3961 (la_x32_gnu_pltenter): New function prototype.
3962 (la_x32_gnu_pltexit): Likewise.
3964 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3966 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3971 * configure.in (libc_cv_cc_nofma): Check for option to disable
3972 generation of FMA instructions.
3973 * configure: Regenerate.
3974 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3975 * sysdeps/ieee754/dbl-64/Makefile: New file.
3976 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3977 Remove brandred-fma4.
3978 (CFLAGS-brandred-fma4.c): Remove.
3979 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3980 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3982 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3985 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3987 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3988 LLONG_MAX != LONG_MAX.
3989 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3990 (_fitoa_word): Likewise.
3991 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3992 LLONG_MAX != LONG_MAX.
3993 * stdio-common/_itowa.h: Include <_itoa.h>.
3994 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3995 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3996 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3997 only if not defined.
3998 (_ITOA_WORD_TYPE): Likewise.
3999 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4000 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4002 2012-03-21 David S. Miller <davem@davemloft.net>
4004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4006 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4008 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4009 of x86_64 when setting libc_cv_slibdir, libdir and
4011 * sysdeps/unix/sysv/linux/configure: Regenerated.
4013 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4015 * manual/lang.texi (Old Varargs): Remove section.
4016 (How Variadic): Update menu.
4017 (va_start): Do not mention varargs.h.
4019 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4020 Joseph Myers <joseph@codesourcery.com>
4022 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4024 * configure: Regenerated.
4026 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4028 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4029 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4032 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4035 * Makefile (files-for-dist): Remove NOTES.
4036 (NOTES): Remove rule.
4037 * README: Don't refer to NOTES.
4038 * manual/creature.texi: Don't include macros.texi.
4039 * manual/intro.texi (creature.texi): Remove comment referring to
4042 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4043 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4044 * configure: Regenerated.
4045 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4047 (libc_cv_as_i686): Likewise.
4048 (libc_cv_cc_avx): Likewise.
4049 (libc_cv_cc_sse2avx): Likewise.
4050 (libc_cv_cc_fma4): Likewise.
4051 (libc_cv_cc_novzeroupper): Likewise.
4052 * sysdeps/i386/configure: Regenerated.
4055 * sysdeps/i386/fpu/s_cexp.S: Remove.
4056 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4057 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4058 * math/libm-test.inc (cexp_test): Add more tests.
4059 * sysdeps/i386/fpu/libm-test-ulps: Update.
4060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4062 2012-03-21 Allan McRae <allan@archlinux.org>
4064 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4066 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4069 * math/w_exp2.c: Do not include <float.h>.
4070 (o_threshold, u_threshold): Remove.
4071 (__exp2): Calculate result before checking finiteness and calling
4073 * math/w_exp2f.c: Likewise.
4074 * math/w_exp2l.c: Likewise.
4075 * math/libm-test.inc (exp2_test): Require overflow exception for
4079 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4080 range of signed 64-bit integers before using fistpll. Remove
4081 checks for whether integers fit in mantissa bits.
4082 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4083 the range of signed 32-bit integers before using fistpl. Remove
4084 checks for whether integers fit in mantissa bits.
4085 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4086 (__ieee754_powl): Test for y outside the range of signed 64-bit
4087 integers before using fistpll. Reduce 64-bit values to 63-bit
4089 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4090 divide-by-zero is raised for zero to large negative powers.
4091 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4092 (__ieee754_powl): Test for y outside the range of signed 64-bit
4093 integers before using fistpll. Reduce 64-bit values to 63-bit
4095 * math/libm-test.inc (pow_test): Add more tests.
4097 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4099 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4100 <stdio-common/_itoa.h>.
4101 * debug/segfault.c: Likewise.
4102 * elf/dl-cache.c: Likewise.
4103 * elf/dl-minimal.c: Likewise.
4104 * elf/dl-misc.c: Likewise.
4105 * elf/dl-sysdep.c: Likewise.
4106 * elf/dl-version.c: Likewise.
4107 * elf/rtld.c: Likewise.
4108 * hurd/hurdsock.c: Likewise.
4109 * hurd/lookup-retry.c: Likewise.
4110 * malloc/malloc.c: Likewise.
4111 * malloc/mtrace.c: Likewise.
4112 * nscd/nscd_getgr_r.c: Likewise.
4113 * nscd/nscd_getpw_r.c: Likewise.
4114 * nscd/nscd_getserv_r.c: Likewise.
4115 * posix/getopt_init.c: Likewise.
4116 * posix/wordexp.c: Likewise.
4117 * stdio-common/_itoa.c: Likewise.
4118 * stdio-common/printf_fphex.c: Likewise.
4119 * stdio-common/vfprintf.c: Likewise.
4120 * string/_strerror.c: Likewise.
4121 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4122 * sysdeps/i386/i686/hp-timing.h: Likewise.
4123 * sysdeps/mach/_strerror.c: Likewise.
4124 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4125 * sysdeps/mach/hurd/sethostid.c: Likewise.
4126 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4127 * sysdeps/mach/xpg-strerror.c: Likewise.
4128 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4129 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4130 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4131 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4132 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4133 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4134 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4135 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4136 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4137 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4138 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4139 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4140 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4141 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4142 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4143 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4144 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4145 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4146 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4147 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4148 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4150 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4152 * stdio-common/_itoa.h: Moved to ...
4153 * sysdeps/generic/_itoa.h: Here.
4155 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4157 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4158 instead of "_itoa.h" and "_itowa.h".
4159 * stdio-common/vfprintf.: Likewise.
4161 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4163 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4165 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4166 (__signbit): Likwise.
4170 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4172 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4175 2012-03-20 Joseph Myers <joseph@codesourcery.com>
4177 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4178 OVERFLOW_EXCEPTION_OK.
4179 * math/libm-test.inc ("Philosophy"): Update comment about
4181 (OVERFLOW_EXCEPTION): Define.
4182 (OVERFLOW_EXCEPTION_OK): Likewise.
4183 (INVALID_EXCEPTION_OK): Renumber.
4184 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4185 (IGNORE_ZERO_INF_SIGN): Likewise.
4186 (test_exceptions): Handle FE_OVERFLOW.
4187 (exp10_test): Expect overflow exceptions.
4188 (exp2_test): Likewise.
4189 (expm1_test): Likewise.
4190 (nextafter_test): Likewise.
4191 (pow_test): Likewise.
4192 (scalbn_test): Likewise.
4193 (scalbln_test): Likewise.
4195 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4197 * sysdeps/x86_64/bits/atomic.h
4198 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4200 (atomic_exchange_acq): Likewise.
4201 (__arch_exchange_and_add_body): Likewise.
4202 (__arch_add_body): Likewise.
4203 (atomic_add_negative): Likewise.
4204 (atomic_add_zero): Likewise.
4206 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4208 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4209 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4211 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4213 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4214 Check __x86_64__ instead of __WORDSIZE.
4216 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4218 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4220 2012-03-19 David S. Miller <davem@davemloft.net>
4222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4224 * sysdeps/sparc/fpu/fenv_private.h: New file.
4225 * sysdeps/sparc/fpu/math_private.h: Use it.
4226 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4228 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4229 (libc_feholdexcept_setroundl): Remove.
4230 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4232 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4233 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4235 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4237 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4238 int64_t instead of long int.
4239 (INSERT_WORDS64): Likwise.
4241 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4243 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4244 _Unwind_GetCFA return to _Unwind_Ptr first.
4246 2012-03-19 Joseph Myers <joseph@codesourcery.com>
4249 * math/s_clog.c: Include <float.h>.
4250 (__clog): Scale large or subnormal inputs.
4251 * math/s_clogf.c: Likewise.
4252 * math/s_clogl.c: Likewise.
4253 * math/s_clog10.c: Include <float.h>.
4254 (M_LOG10_2): Define.
4255 (__clog10): Scale large or subnormal inputs.
4256 * math/s_clog10f.c: Likewise.
4257 * math/s_clog10l.c: Likewise.
4258 * math/libm-test.inc (clog_test): Add more tests.
4259 (clog10_test): Likewise.
4260 * sysdeps/i386/fpu/libm-test-ulps: Update.
4261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4264 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4266 * math/libm-test.inc (atan2_test): Add another test.
4268 * Makerules (common-objdir-compile): Remove.
4269 * sysdeps/unix/Makefile (config-generated): Do not add
4270 $(unix-generated) to variable.
4271 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4272 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4274 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4276 [generic bits/local_lim.h] (before-compile): Do not append to
4278 [generic bits/local_lim.h] (common-generated): Likewise.
4279 [generic sys/param.h] (before-compile): Do not append to variable.
4280 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4281 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4282 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4283 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4285 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4286 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4287 [generic sys/param.h] ($(addprefix
4288 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4289 [generic sys/param.h] (common-generated): Do not append to
4291 [generic sys/param.h] (sysdep_headers): Likewise.
4292 [generic bits/errno.h] (before-compile): Do not append to
4294 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4296 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4297 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4298 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4299 [generic bits/errno.h] (common-generated): Do not append to
4301 [generic bits/ioctls.h] (before-compile): Do not append to
4303 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4305 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4306 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4307 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4309 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4310 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4311 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4312 [generic bits/ioctls.h] (common-generated): Do not append to
4314 [generic sys/syscall.h] (syscall.h): Remove variable.
4315 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4317 [generic sys/syscall.h] (before-compile): Do not append to
4319 [generic sys/syscall.h] (common-generated): Likewise.
4320 * sysdeps/unix/errnos-tmpl.c: Remove file.
4321 * sysdeps/unix/errnos.awk: Likewise.
4322 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4323 * sysdeps/unix/ioctls.awk: Likewise.
4324 * sysdeps/unix/mk-local_lim.c: Likewise.
4325 * sysdeps/unix/snarf-ioctls: Likewise.
4327 2012-03-19 Richard Henderson <rth@twiddle.net>
4329 * sysdeps/i386/fpu/fenv_private.h: New file.
4330 * sysdeps/i386/fpu/math_private.h: Use it.
4331 (math_opt_barrier, math_force_eval): Remove.
4332 (libc_feholdexcept_setround_53bit): Remove.
4333 (libc_feupdateenv_53bit): Remove.
4334 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4335 (math_opt_barrier, math_force_eval): Remove.
4336 (libc_feholdexcept): Remove.
4337 (libc_feholdexcept_setround): Remove.
4338 (libc_fetestexcept, libc_fesetenv): Remove.
4339 (libc_feupdateenv_test): Remove.
4340 (libc_feupdateenv, libc_feholdsetround): Remove.
4341 (libc_feresetround): Remove.
4343 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4344 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4346 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4347 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4348 (libc_feupdateenv_testl): New.
4349 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4350 (libc_feupdateenv_testf): New.
4351 (libc_feupdateenv): Use libc_feupdateenv_test.
4352 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4353 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4355 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4356 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4357 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4358 (libc_feresetround_noex): New.
4359 (libc_feresetround_noexf): New.
4360 (libc_feresetround_noexl): New.
4361 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4362 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4363 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4364 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4366 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4367 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4369 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4370 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4371 SET_RESTORE_ROUND_NOEX.
4372 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4373 SET_RESTORE_ROUND_NOEXF.
4374 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4375 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4376 (libc_feholdsetroundf): New.
4377 (libc_feresetround, libc_feresetroundf): New.
4379 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4380 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4381 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4383 * sysdeps/generic/math_private.h: Include <fenv.h>.
4384 (default_libc_feholdexcept): New.
4385 (default_libc_feholdexcept_setround): New.
4386 (default_libc_fesetenv, default_libc_feupdateenv): New.
4387 (libc_feholdexcept): Only define if undefined.
4388 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4389 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4390 (libc_feholdexcept_setroundl): Likewise.
4391 (libc_feholdexcept_setround_53bit): Likewise.
4392 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4393 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4394 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4395 (libc_feupdateenv_53bit): Likewise.
4396 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4397 (libc_feholdexcept): Convert from macro to inline function.
4398 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4399 (libc_fesetenv, libc_feupdateenv): Likewise.
4401 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4402 not previously defined.
4403 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4404 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4405 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4406 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4407 * sysdeps/ieee754/flt-32/math_private.h: New file.
4408 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4409 math_private.h below SET_FLOAT_WORD.
4410 (__isnan, __isinf_ns, __finite): Remove.
4411 (__isnanf, __isinf_nsf, __finitef): Remove.
4413 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4417 2012-03-17 David S. Miller <davem@davemloft.net>
4420 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4423 2012-03-16 David S. Miller <davem@davemloft.net>
4425 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4429 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4431 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4432 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4433 sysdep_routines when subdir is sysvipc.
4434 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4437 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4439 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4441 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4444 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4446 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4447 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4448 (__lround): Renamed to ...
4449 (__llround): This. Replace long int with long long int.
4450 Define lround functions as aliases of llround functions.
4451 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4453 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4455 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4456 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4457 adresses to uintptr_t. Replace "long int" and "unsigned long
4458 int" with "greg_t" on va_arg.
4460 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4462 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4463 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4465 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4466 Move e_machine check before EI_CLASS check. Handle x32
4467 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4468 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4469 SKIP_EM_IA_64 and include
4470 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4472 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4473 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4474 (add_system_dir): New macro.
4476 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4477 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4479 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4490 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4492 * math/w_j0f.c (j0f): Likewise.
4494 * math/w_j0l.c (__j0l): Likewise.
4496 * math/w_j1.c (j1): Likewise.
4498 * math/w_j1f.c (j1f): Likewise.
4500 * math/w_j1l.c (__j1l): Likewise.
4502 * math/w_jn.c (jn): Likewise.
4504 * math/w_jnf.c (jnf): Likewise.
4506 * math/w_jnl.c (__jnl): Likewise.
4508 * math/libm-test.inc (j0_test): Add more tests.
4509 (j1_test): Likewise.
4510 (jn_test): Likewise. Add trailing semicolon to existing test.
4511 (y0_test): Likewise.
4512 (y1_test): Likewise.
4513 * sysdeps/i386/fpu/libm-test-ulps: Update.
4514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4518 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4519 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4520 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4521 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4522 (__tanl): Set errno for infinite argument.
4523 * sysdeps/i386/fpu/mptan.c: Remove.
4524 * sysdeps/i386/fpu/s_tan.S: Likewise.
4525 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4526 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4527 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4528 * math/libm-test.inc (tan_test): Add more tests and enable more
4529 tests for double and long double.
4530 * sysdeps/i386/fpu/libm-test-ulps: Update.
4531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4533 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4535 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4536 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4538 2012-03-16 Roland McGrath <roland@hack.frob.com>
4540 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4541 * configure.in: Use it for both main tree and add-ons.
4542 * configure: Regenerated.
4544 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4546 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4548 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4550 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4554 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4555 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4556 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4557 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4558 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4560 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4563 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4564 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4565 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4566 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4567 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4568 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4569 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4570 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4571 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4572 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4573 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4574 * math/libm-test.inc (cos_test): Add more tests and enable more
4575 tests for long double.
4576 (sin_test): Likewise.
4577 (sincos_test): Likewise.
4578 * sysdeps/i386/fpu/libm-test-ulps: Update.
4579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4581 2012-03-16 David S. Miller <davem@davemloft.net>
4583 * sysdeps/sparc/fpu/math_private.h: New file.
4585 2012-03-15 David S. Miller <davem@davemloft.net>
4587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4597 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4601 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4602 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4604 * sysdeps/sparc/sparc-ifunc.h: New file.
4605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4630 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4631 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4632 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4633 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4634 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4643 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4644 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4645 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4646 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4647 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4648 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4650 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4652 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4656 2012-03-15 Andreas Jaeger <aj@suse.de>
4659 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4660 ieee754/flt-32 implementation for sin, cos and sincos.
4661 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4662 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4663 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4664 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4665 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4666 ieee754/flt-32 implementation for tan.
4668 * math/libm-test.inc (cos_test): Enable some large input tests for
4670 (sin_test): Likewise.
4671 (sincos_test): Likewise.
4672 (tan_test): Add tests for large input.
4674 * sysdeps/i386/fpu/libm-test-ulps: Update.
4676 2012-03-15 Andreas Jaeger <aj@suse.de>
4679 * math/libm-test.inc (cos_test): Add more test cases.
4680 (sin_test): Likewise.
4681 (sincos_test): Likewise.
4683 2012-03-15 Andreas Jaeger <aj@suse.de>
4686 * math/libm-test.inc (cos_test): Add a test case for large input
4688 (sin_test): Likewise.
4689 (sincos_test): Likewise.
4691 2012-03-15 Andreas Jaeger <aj@suse.de>,
4692 Joseph Myers <joseph@codesourcery.com>
4695 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4696 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4697 * sysdeps/i386/fpu/branred.c: Likewise.
4698 * sysdeps/i386/fpu/dosincos.c: Likewise.
4699 * sysdeps/i386/fpu/mpa.c: Likewise.
4700 * sysdeps/i386/fpu/s_cos.S: Likewise.
4701 * sysdeps/i386/fpu/s_sin.S: Likewise.
4702 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4703 * sysdeps/i386/fpu/sincos32.c: Likewise.
4705 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4707 (libc_feupdateenv_53bit): Define.
4708 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4710 (libc_feupdateenv_53bit): Define.
4712 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4713 53 bit (without extend i386 double precision).
4715 * math/libm-test.inc (sincos_test): Add tests for large input.
4719 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4721 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4725 2012-03-15 David S. Miller <davem@davemloft.net>
4727 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4728 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4729 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4730 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4754 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4755 fmin/fmax sysdep routines.
4756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4758 2012-03-14 David S. Miller <davem@davemloft.net>
4760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4761 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4762 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4763 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4764 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4765 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4766 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4767 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4771 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4780 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4781 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4782 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4783 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4784 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4785 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4786 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4787 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4788 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4832 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4837 * sysdeps/sparc/configure.in: New file.
4838 * sysdeps/sparc/configure: Generate.
4839 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4840 * configure: Regenerate.
4841 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4842 * config.make.in (have-as-vis3): New.
4843 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4844 available use -Av9d instead of -Av9a.
4845 * sysdeps/sparc/sparc64/Makefile: Likewise.
4846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4855 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4856 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4857 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4858 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4859 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4861 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4862 fzeros/fnegs to load 0x80000000 into a float register instead of
4864 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4866 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4870 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4871 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4872 ($(inst_includedir)/bits/syscall.h): Remove rule.
4873 ($(objpfx)bits/syscall.d): Include instead of
4874 $(objpfx)syscall-list.d.
4875 (generated): Change syscall-list.h and syscall-list.d to
4876 bits/syscall.h and bits/syscall.d.
4878 2012-03-14 Roland McGrath <roland@hack.frob.com>
4881 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4883 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4886 * math/s_csqrt.c: Include <float.h>.
4887 (__csqrt): Scale large or subnormal inputs.
4888 * math/s_csqrtf.c: Likewise.
4889 * math/s_csqrtl.c: Likewise.
4890 * math/libm-test.inc (csqrt_test): Add more tests.
4891 * sysdeps/i386/fpu/libm-test-ulps: Update.
4892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4895 * math/libm-test.inc (hypot_test): Add more tests.
4897 2012-03-13 David S. Miller <davem@davemloft.net>
4900 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4901 double-precision for the calculation instead of scaling.
4903 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4905 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4906 manipulate bits before adding and subtracting TWO52[sx].
4907 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4908 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4910 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4912 2012-03-13 David S. Miller <davem@davemloft.net>
4914 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4915 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4916 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4917 rtld-global-offsets.h
4918 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4920 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4923 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4925 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4926 'err' in the ifdef scope in which it is actually used.
4928 * nss/nss_db/db-init.c: Include string.h
4930 2012-03-12 David S. Miller <davem@davemloft.net>
4932 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4933 masking out of the most significant byte of random value used.
4934 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4935 Fix coding style in previous change.
4937 * sysdeps/unix/sysv/linux/kernel-features.h
4938 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4939 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4941 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4944 2012-03-11 David S. Miller <davem@davemloft.net>
4946 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4947 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4948 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4949 for 'resultvar' otherwise things get truncated on 64-bit.
4951 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4952 Fix masking out of the most significant byte of random value used.
4954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4956 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4960 2012-03-09 David S. Miller <davem@davemloft.net>
4962 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4963 variables with appropriate CPP guards.
4964 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4965 frame pointer, not the stack pointer. Correct layout comments. Fix test
4966 on resulting framesize and the management of the outregs buffer for pltexit.
4967 Preserve floating point return values across _dl_call_pltexit call.
4968 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4969 framesize and the management of the outregs buffer for pltexit.
4970 Preserve floating point return values across _dl_call_pltexit
4972 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4973 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4974 (print_exit): Fix format string for return register value.
4976 2012-03-10 Joseph Myers <joseph@codesourcery.com>
4978 * sunrpc/Makefile (others): Add rpcgen.
4979 ($(objpfx)rpcgen): Remove special build rule and dependency on
4981 * sunrpc/rpcgen.c: New file.
4983 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4986 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4987 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4988 * sysdeps/i386/crti.S: Likewise.
4989 * sysdeps/i386/crtn.S: Likewise.
4990 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4991 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4992 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4993 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4994 * sysdeps/sh/crti.S: Likewise.
4995 * sysdeps/sh/crtn.S: Likewise.
4996 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4999 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5001 * locale/programs/locfile-kw.gperf: Likewise.
5002 * locale/programs/charmap-kw.h: Regenerated.
5003 * locale/programs/locfile-kw.h: Likewise.
5006 * intl/plural.y: Replace FSF snail mail address with URL.
5007 * intl/plural.c: Regenerated.
5009 2012-03-09 Richard Henderson <rth@twiddle.net>
5011 * include/math_private.h: Remove file.
5012 * math/math_private.h: Move file ...
5013 * sysdeps/generic/math_private.h: ... here.
5015 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5016 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5017 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5019 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
5020 and <math_private.h>.
5021 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5022 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5023 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5024 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5025 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5026 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5027 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5028 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5029 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5030 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5032 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5033 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5034 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5035 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5036 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5037 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5038 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5039 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5040 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5041 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5042 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5043 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5045 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5046 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5047 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5048 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5049 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5050 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5051 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5052 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5053 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5054 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5055 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5056 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5057 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5058 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5059 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5060 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5061 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5062 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5063 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5064 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5065 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5066 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5067 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5068 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5069 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5070 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5071 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5072 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5073 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5074 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5075 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5076 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5077 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5078 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5079 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5080 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5081 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5082 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5083 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5084 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5085 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5086 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5087 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5088 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5089 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5090 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5091 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5092 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5093 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5094 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5095 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5096 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5097 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5098 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5099 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5100 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5101 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5102 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5103 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5104 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5105 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5106 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5107 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5108 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5109 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5110 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5111 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5112 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5113 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5114 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5115 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5116 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5117 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5118 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5119 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5120 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5121 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5122 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5123 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5124 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5125 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5126 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5127 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5128 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5129 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5130 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5131 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5132 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5133 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5134 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5135 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5136 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5137 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5138 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5139 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5140 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5141 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5142 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5143 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5144 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5145 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5146 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5147 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5148 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5149 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5150 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5151 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5152 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5153 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5154 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5155 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5156 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5157 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5158 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5159 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5160 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5161 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5162 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5163 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5164 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5165 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5166 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5167 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5168 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5169 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5170 * sysdeps/ieee754/k_standard.c: Likewise.
5171 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5172 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5173 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5174 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5175 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5176 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5177 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5178 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5179 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5180 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5181 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5184 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5185 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5187 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5188 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5189 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5190 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5192 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5198 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5205 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5207 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5208 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5209 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5210 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5212 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5215 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5216 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5217 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5221 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5222 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5223 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5224 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5225 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5226 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5230 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5231 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5232 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5234 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5236 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5238 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5239 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5240 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5241 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5242 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5244 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5245 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5246 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5247 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5248 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5249 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5250 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5251 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5252 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5253 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5254 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5255 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5256 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5257 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5258 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5259 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5260 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5261 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5262 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5263 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5264 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5265 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5266 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5267 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5268 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5269 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5270 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5271 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5272 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5273 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5274 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5275 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5276 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5277 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5278 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5279 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5281 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5282 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5283 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5284 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5285 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5286 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5287 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5288 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5289 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5290 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5291 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5292 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5293 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5294 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5295 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5296 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5297 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5298 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5299 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5300 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5301 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5302 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5303 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5304 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5305 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5307 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5308 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5309 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5310 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5311 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5312 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5313 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5314 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5315 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5316 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5317 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5318 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5319 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5320 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5321 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5322 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5323 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5324 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5325 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5326 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5327 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5328 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5329 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5330 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5331 * sysdeps/ieee754/s_lib_version.c: Likewise.
5332 * sysdeps/ieee754/s_matherr.c: Likewise.
5333 * sysdeps/ieee754/s_signgam.c: Likewise.
5334 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5335 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5336 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5337 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5338 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5339 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5340 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5341 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5342 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5343 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5344 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5345 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5346 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5347 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5348 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5349 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5350 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5351 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5352 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5353 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5354 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5356 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5358 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5359 * sunrpc/rpc_main.c: Likewise.
5360 * sunrpc/rpc_svcout.c: Likewise.
5362 2012-03-09 David S. Miller <davem@davemloft.net>
5364 * include/math_private.h: New file.
5366 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5368 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5369 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5370 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5371 from <bits/socket_type.h>.
5372 (enum __socket_type): Don't define here.
5373 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5378 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5381 * Makerules ($(inst_includedir)/%.h): New rule.
5382 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5383 (install-others): Remove variable setting.
5384 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5386 2012-03-08 Richard Henderson <rth@twiddle.net>
5388 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5389 from macro to inline function; merge with the
5390 !__LIBC_INTERNAL_MATH_INLINES version.
5391 (__ieee754_sqrtf): Likewise.
5393 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5395 (__rintf, __floor, __floorf): Likewise.
5397 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5398 macro to inline function.
5399 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5401 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5402 not <math/math_private.h>.
5404 2012-03-08 David S. Miller <davem@davemloft.net>
5406 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5408 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5410 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5412 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5414 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5415 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5417 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5419 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5420 be defined individually, they must be defined as a block. Define
5421 S for printing a string instead of hidint the different by using a
5422 macro for adding the 'l'.
5423 * stdio-common/tst-fphex-wide.c: Adjust.
5425 2012-03-07 Marek Polacek <polacek@redhat.com>
5427 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5429 2012-03-08 Marek Polacek <polacek@redhat.com>
5432 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5433 * stdio-common/tst-fphex.c: Define a few macros to make the
5434 test reusable. Use them.
5435 * stdio-common/tst-fphex-wide.c: New file.
5437 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5440 * manual/macros.texi (gnusystems): New macro.
5441 (nongnusystems): Likewise.
5442 (gnulinuxhurdsystems): Likewise.
5443 (gnuhurdsystems): Likewise..
5444 (gnulinuxsystems): Likewise.
5445 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5446 variants of the GNU system, not "GNU system".
5447 * manual/conf.texi: Likewise.
5448 * manual/errno.texi: Likewise. Update example of errno macro
5450 * manual/filesys.texi: Likewise.
5451 (getumask): Document as specific to GNU/Hurd.
5452 * manual/install.texi: Likewise. Reword some references to
5454 * manual/intro.texi: Likewise.
5455 * manual/io.texi: Likewise.
5456 (File Name Portability): Detail which constraints are inapplicable
5457 to all GNU systems and which are only inapplicable to GNU/Hurd.
5458 * manual/job.texi: Likewise.
5459 * manual/llio.texi: Likewise.
5460 (O_NOCTTY): Document as present on GNU/Linux.
5461 * manual/maint.texi: Likewise.
5462 * manual/memory.texi: Likewise.
5463 * manual/pattern.texi: Likewise.
5464 * manual/pipe.texi: Likewise.
5465 * manual/process.texi: Likewise.
5466 * manual/resource.texi: Likewise.
5467 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5469 * manual/setjmp.texi: Likewise.
5470 * manual/signal.texi: Likewise.
5471 * manual/startup.texi: Likewise.
5472 * manual/stdio.texi: Likewise.
5473 * manual/terminal.texi: Likewise.
5474 (ONLCR): Document as POSIX.
5475 (OXTABS): Document availability on GNU/Linux as XTABS.
5476 (ONOEOT): Document availability separately from other bits.
5477 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5478 * manual/time.texi: Likewise.
5479 * manual/users.texi: Likewise.
5480 * INSTALL: Regenerated.
5481 * sysdeps/gnu/errlist.c: Regenerated.
5483 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5484 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5485 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5487 * configure: Regenerated.
5489 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5491 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5492 default includes instead of AC_HEADER_CHECK.
5493 * sysdeps/i386/configure: Regenerated.
5496 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5497 * math/s_cacoshf.c (__cacoshf): Likewise.
5498 * math/s_cacoshl.c (__cacoshl): Likewise.
5499 * math/s_casinh.c (__casinh): Set signs of result from argument.
5500 * math/s_casinhf.c (__casinhf): Likewise.
5501 * math/s_casinhl.c (__casinhl): Likewise.
5502 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5503 (casinh_test): Add more tests.
5504 * sysdeps/i386/fpu/libm-test-ulps: Update.
5505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5507 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5509 * po/zh_TW.po: Update from translation team.
5511 * login/Makefile (distribute): Remove variable.
5512 * catgets/Makefile: Likewise.
5513 * mach/Makefile: Likewise.
5514 * malloc/Makefile: Likewise.
5515 * misc/Makefile: Likewise.
5516 * iconv/Makefile: Likewise.
5517 * nscd/Makefile: Likewise.
5518 * hurd/Makefile: Likewise.
5519 * manual/Makefile: Likewise.
5520 * locale/Makefile: Likewise.
5521 * intl/Makefile: Likewise.
5522 * conform/Makefile: Likewise.
5523 * nss/Makefile: Likewise.
5524 * time/Makefile: Likewise.
5525 * soft-fp/Makefile: Likewise.
5526 * dirent/Makefile: Likewise.
5527 * gmon/Makefile: Likewise.
5528 * po/Makefile: Likewise.
5529 * rt/Makefile: Likewise.
5530 * socket/Makefile: Likewise.
5531 * math/Makefile: Likewise.
5532 * signal/Makefile: Likewise.
5533 * debug/Makefile: Likewise.
5534 * elf/Makefile: Likewise.
5535 * timezone/Makefile: Likewise.
5536 * stdlib/Makefile: Likewise.
5537 * iconvdata/Makefile: Likewise.
5538 * sunrpc/Makefile: Likewise.
5539 * io/Makefile: Likewise.
5540 * argp/Makefile: Likewise.
5541 * inet/Makefile: Likewise.
5542 * hesiod/Makefile: Likewise.
5543 * grp/Makefile: Likewise.
5544 * csu/Makefile: Likewise.
5545 * wctype/Makefile: Likewise.
5546 * crypt/Makefile: Likewise.
5547 * libio/Makefile: Likewise.
5548 * string/Makefile: Likewise.
5549 * nis/Makefile: Likewise.
5550 * resolv/Makefile: Likewise.
5551 * stdio-common/Makefile: Likewise.
5552 * wcsmbs/Makefile: Likewise.
5553 * dlfcn/Makefile: Likewise.
5554 * posix/Makefile: Likewise.
5557 * timezone/Makefile: Don't install timezone files, just the programs
5560 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5562 * nss/databases.def: Add missing gshadow entry.
5564 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5566 2012-03-06 Marek Polacek <polacek@redhat.com>
5569 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5570 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5571 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5572 * stdio-common/tst-long-dbl-fphex.c: New file.
5574 2012-03-06 David S. Miller <davem@davemloft.net>
5576 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5577 (set_obp_int): New function.
5578 (get_obp_int): New function.
5579 (__get_clockfreq_via_dev_openprom): Likewise.
5580 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5581 Avoid unused variable warnings on 'val' and use builtin_expect.
5582 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5584 (INLINE_CLONE_SYSCALL): Likewise.
5586 2012-03-05 David S. Miller <davem@davemloft.net>
5588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5590 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5594 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5596 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5598 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5600 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5601 Replace gettimeofday with __vdso_gettimeofday.
5603 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5604 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5605 __vdso_clock_gettime and __vdso_getcpu.
5607 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5608 time with __vdso_time.
5610 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5612 * manual/lang.texi (size_t): Note types to which size_t may be
5613 equivalent with the GNU C Library, but do not describe when
5614 differences between them are significant.
5616 2012-03-05 Andreas Jaeger <aj@suse.de>
5618 * sysdeps/i386/fpu/libm-test-ulps: Update.
5620 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5623 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5624 (__ieee754_pow): Save and restore rounding mode and use
5625 round-to-nearest for main computations.
5626 * math/libm-test.inc (pow_test_tonearest): New function.
5627 (pow_test_towardzero): Likewise.
5628 (pow_test_downward): Likewise.
5629 (pow_test_upward): Likewise.
5630 (main): Call the new functions.
5631 * sysdeps/i386/fpu/libm-test-ulps: Update.
5632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5635 * math/libm-test.inc (cosh_test_tonearest): New function.
5636 (cosh_test_towardzero): Likewise.
5637 (cosh_test_downward): Likewise.
5638 (cosh_test_upward): Likewise.
5639 (sinh_test_tonearest): Likewise.
5640 (sinh_test_towardzero): Likewise.
5641 (sinh_test_downward): Likewise.
5642 (sinh_test_upward): Likewise.
5643 (main): Call the new functions.
5644 * sysdeps/i386/fpu/libm-test-ulps: Update.
5645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5647 2012-03-05 Tom de Vries <tom@codesourcery.com>
5649 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5650 default stack guard is set in last bytes.
5651 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5653 2012-03-05 Kees Cook <keescook@chromium.org>
5655 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5658 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5659 possibly allocate from heap instead of stack.
5660 * stdio-common/bug-vfprintf-nargs.c: New file.
5661 * stdio-common/Makefile (tests): Add nargs overflow test.
5663 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5667 2012-03-03 Marek Polacek <polacek@redhat.com>
5669 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5670 * math/math_private.h: Likewise.
5671 * stdlib/tst-strtod.c: Likewise.
5672 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5673 * sysdeps/x86_64/bits/atomic.h: Likewise.
5675 2012-03-02 David S. Miller <davem@davemloft.net>
5677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5681 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5682 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5683 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5684 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5686 2012-03-02 Roland McGrath <roland@hack.frob.com>
5689 * manual/examples/README: New file, says the example source files
5690 can be used under GPL>=2.
5691 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5692 line containing just "*/".
5693 * manual/examples/add.c: Add copyright header (GPL>=2).
5694 * manual/examples/argp-ex1.c: Likewise.
5695 * manual/examples/argp-ex2.c: Likewise.
5696 * manual/examples/argp-ex3.c: Likewise.
5697 * manual/examples/argp-ex4.c: Likewise.
5698 * manual/examples/atexit.c: Likewise.
5699 * manual/examples/db.c: Likewise.
5700 * manual/examples/dir.c: Likewise.
5701 * manual/examples/dir2.c: Likewise.
5702 * manual/examples/execinfo.c: Likewise.
5703 * manual/examples/filecli.c: Likewise.
5704 * manual/examples/filesrv.c: Likewise.
5705 * manual/examples/fmtmsgexpl.c: Likewise.
5706 * manual/examples/genpass.c: Likewise.
5707 * manual/examples/inetcli.c: Likewise.
5708 * manual/examples/inetsrv.c: Likewise.
5709 * manual/examples/isockad.c: Likewise.
5710 * manual/examples/longopt.c: Likewise.
5711 * manual/examples/memopen.c: Likewise.
5712 * manual/examples/memstrm.c: Likewise.
5713 * manual/examples/mkfsock.c: Likewise.
5714 * manual/examples/mkisock.c: Likewise.
5715 * manual/examples/mygetpass.c: Likewise.
5716 * manual/examples/pipe.c: Likewise.
5717 * manual/examples/popen.c: Likewise.
5718 * manual/examples/rprintf.c: Likewise.
5719 * manual/examples/search.c: Likewise.
5720 * manual/examples/select.c: Likewise.
5721 * manual/examples/setjmp.c: Likewise.
5722 * manual/examples/sigh1.c: Likewise.
5723 * manual/examples/sigusr.c: Likewise.
5724 * manual/examples/stpcpy.c: Likewise.
5725 * manual/examples/strdupa.c: Likewise.
5726 * manual/examples/strftim.c: Likewise.
5727 * manual/examples/strncat.c: Likewise.
5728 * manual/examples/subopt.c: Likewise.
5729 * manual/examples/swapcontext.c: Likewise.
5730 * manual/examples/termios.c: Likewise.
5731 * manual/examples/testopt.c: Likewise.
5732 * manual/examples/testpass.c: Likewise.
5733 * manual/examples/timeval_subtract.c: Likewise.
5736 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5738 * manual/timeval_subtract.c.texi: ... here, new file.
5740 2012-03-02 David S. Miller <davem@davemloft.net>
5742 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5744 2012-03-02 Joseph Myers <joseph@codesourcery.com>
5747 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5748 (__sin): Save and restore rounding mode and use round-to-nearest
5749 for all computations.
5750 (__cos): Save and restore rounding mode and use round-to-nearest
5751 for all computations.
5752 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5754 (tan): Save and restore rounding mode and use round-to-nearest for
5756 * math/libm-test.inc (cos_test_tonearest): New function.
5757 (cos_test_towardzero): Likewise.
5758 (cos_test_downward): Likewise.
5759 (cos_test_upward): Likewise.
5760 (sin_test_tonearest): Likewise.
5761 (sin_test_towardzero): Likewise.
5762 (sin_test_downward): Likewise.
5763 (sin_test_upward): Likewise.
5764 (tan_test_tonearest): Likewise.
5765 (tan_test_towardzero): Likewise.
5766 (tan_test_downward): Likewise.
5767 (tan_test_upward): Likewise.
5768 (main): Call the new functions.
5769 * sysdeps/i386/fpu/libm-test-ulps: Update.
5770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5773 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5774 small n, then large n, before computing and testing k+n.
5775 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5778 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5780 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5781 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5782 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5783 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5784 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5785 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5786 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5787 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5788 * math/libm-test.inc (scalbn_test): Add more tests.
5789 (scalbln_test): Likewise.
5791 * manual/filesys.texi (mode_t): Describe constraints on size and
5792 signedness, not exact equivalence to a particular type.
5794 (ino64_t): Likewise.
5796 (nlink_t): Likewise.
5797 (blkcnt_t): Likewise.
5798 (blkcnt64_t): Likewise.
5799 * manual/llio.texi (off_t): Likewise.
5802 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5803 (__ieee754_exp): Save and restore rounding mode and use
5804 round-to-nearest for all computations.
5805 * math/libm-test.inc (exp_test_tonearest): New function.
5806 (exp_test_towardzero): Likewise.
5807 (exp_test_downward): Likewise.
5808 (exp_test_upward): Likewise.
5809 (main): Call the new functions.
5810 * sysdeps/i386/fpu/libm-test-ulps: Update.
5811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5813 2012-03-01 Chris Demetriou <cgd@google.com>
5815 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5816 have predictable order.
5818 2012-03-01 David S. Miller <davem@davemloft.net>
5820 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5822 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5823 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5824 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5825 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5827 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5828 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5829 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5831 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5832 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5833 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5834 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5835 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5839 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5840 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5841 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5843 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5844 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5845 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5846 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5847 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5848 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5849 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5850 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5851 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5852 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5853 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5854 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5855 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5856 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5857 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5858 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5859 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5860 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5861 * sysdeps/sparc/elf/configure: Regenerated.
5863 2012-03-01 Joseph Myers <joseph@codesourcery.com>
5865 * configure.in (AS, LD): Require binutils 2.20 or later.
5866 * configure: Regenerated.
5867 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5868 as required minimum version.
5869 * INSTALL: Regenerated.
5873 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5874 before squaring exponent.
5875 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5876 bottom long double and 27 bits of top long double before squaring
5878 * math/libm-test.inc (erfc_test): Add more tests.
5879 * sysdeps/i386/fpu/libm-test-ulps: Update.
5880 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5883 2012-03-01 Kai Tietz <ktietz@redhat.com>
5885 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5886 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5887 containing bit-fields.
5888 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5889 * soft-fp/single.h (_FP_UNION_S): Likewise.
5890 * soft-fp/double.h (_FP_UNION_D): Likewise.
5892 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5895 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5896 not include ../strcmp.S.
5897 [USE_AS_STRNCASECMP_L]: Likewise.
5898 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5899 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5900 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5901 (__strncasecmp_l_ia32): Define as alias to
5902 __strncasecmp_l_nonascii.
5905 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5906 * sysdeps/i386/fpu/libm-test-ulps: Update.
5907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5909 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5912 2012-02-29 Jeff Law <law@redhat.com>
5914 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5917 2012-02-29 Marek Polacek <polacek@redhat.com>
5920 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5921 * elf/Makefile: Add rules to run tst-unused-dep.out.
5923 2012-02-28 David S. Miller <davem@davemloft.net>
5925 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5926 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5927 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5928 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5929 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5930 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5932 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5934 * math/libm-test.inc (llround_test): Move one test from
5935 lround_test. Use TEST_f_L in moved test.
5936 (lround_test): Move misplaced test to llround_test. Add testcase
5939 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5941 * sysdeps/x86_64/fpu/e_expf.S: New file.
5942 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5944 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5947 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5948 of remain_len that may cause incomplete multi-byte character and
5950 * posix/bug-regex33.c: New file.
5951 * posix/Makefile (tests): Add bug-regex33.
5953 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5955 * manual/macros.texi: New file.
5956 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5957 * manual/libc.texinfo: Include macros.texi.
5958 * manual/creatute.texi: Likewise.
5959 * manual/install.texi: Likewise.
5960 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5961 @glibcadj{} in references to the GNU C Library.
5962 * manual/charset.texi: Likewise.
5963 * manual/conf.texi: Likewise.
5964 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5965 when not using those macros.
5966 * manual/creature.texi: Likewise.
5967 * manual/crypt.texi: Likewise.
5968 * manual/errno.texi: Likewise.
5969 * manual/filesys.texi: Likewise.
5970 * manual/header.texi: Likewise.
5971 * manual/install.texi: Likewise.
5972 * manual/intro.texi: Likewise.
5973 * manual/io.texi: Likewise.
5974 * manual/job.texi: Likewise.
5975 * manual/lang.texi: Likewise.
5976 * manual/libc.texiinfo: Likewise.
5977 * manual/llio.texi: Likewise.
5978 * manual/locale.texi: Likewise.
5979 * manual/maint.texi: Likewise.
5980 * manual/math.texi: Likewise.
5981 * manual/memory.texi: Likewise.
5982 * manual/message.texi: Likewise.
5983 * manual/nss.texi: Likewise.
5984 * manual/pattern.texi: Likewise.
5985 * manual/process.texi: Likewise.
5986 * manual/resource.texi: Likewise.
5987 * manual/search.texi: Likewise.
5988 * manual/setjmp.texi: Likewise.
5989 * manual/signal.texi: Likewise.
5990 * manual/socket.texi: Likewise.
5991 * manual/startup.texi: Likewise.
5992 * manual/stdio.texi: Likewise.
5993 * manual/string.texi: Likewise.
5994 * manual/sysinfo.texi: Likewise.
5995 * manual/syslog.texi: Likewise.
5996 * manual/terminal.texi: Likewise.
5997 * manual/time.texi: Likewise.
5998 * manual/users.texi: Likewise.
5999 * INSTALL: Regenerated.
6000 * NOTES: Regenerated.
6001 * sysdeps/gnu/errlist.c: Regenerated.
6003 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6005 * include/dirent.h: Include <dirstream.h> before
6008 2012-02-28 David S. Miller <davem@davemloft.net>
6010 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6011 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6012 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6013 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6015 2012-02-27 David S. Miller <davem@davemloft.net>
6017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6019 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6020 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6023 frame pointer instead of stack pointer relative arg slot.
6024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6025 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6026 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6028 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6031 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6033 2012-02-27 David S. Miller <davem@davemloft.net>
6035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6039 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6040 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6041 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6042 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6044 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6046 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6047 later. Allow versions 5-9.
6048 * configure: Regenerated.
6049 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6050 required minimum version and 4.6 as recommended version. Do not
6051 mention bugs in GCC 2.7 and 2.8.
6052 * INSTALL: Regenerated.
6054 2012-02-27 David S. Miller <davem@davemloft.net>
6056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6060 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6061 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6062 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6063 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6065 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6066 manipulate bits before adding and subtracting TWO112[sx].
6067 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6069 2012-02-27 Roland McGrath <roland@hack.frob.com>
6072 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6073 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6074 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6075 being in POSIX, because they are in 1003.1-2008.
6077 * rt/tst-aio.c: Include <fcntl.h>.
6078 * rt/tst-aio7.c: Likewise.
6079 * rt/tst-aio64.c: Likewise.
6081 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6083 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6085 * manual/install.texi (--with-headers): Describe headers as
6086 interface headers, not private headers.
6087 (Specific advice for GNU/Linux systems): Describe use of headers
6088 from "make headers_install", not private headers from older
6090 * INSTALL: Regenerated.
6091 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6093 * sysdeps/unix/sysv/linux/configure: Regenerated.
6095 * manual/llio.texi (fclean): Remove documentation.
6097 * manual/Makefile (libc-texi-generated): New variable. Include
6099 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6100 $(libc-texi-generated), not duplicated list of files.
6101 (version.texi, stamp-version): New rules.
6102 (realclean): Remove $(libc-texi-generated), not individual files
6103 from that list. Do not remove dir-add.texinfo.
6104 * manual/libc.texinfo: Comment out uses of edition numbers and
6105 references to printed manual. Remove last-updated dates.
6106 (EDITION): Comment out.
6108 (VERSION, UPDATED): Remove.
6109 (version.texi): Include.
6111 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6113 * sysdeps/posix/spawni.c: Include <signal.h>.
6114 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6115 * sysdeps/pthread/aio_fsync.c: Likewise.
6117 2012-02-26 Ulrich Drepper <drepper@gmail.com>
6119 * conform/Makefile (tests): Run only when not cross-compiling and
6120 when fast-check is not defined.
6122 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6123 * conform/data/limits.h-data: Fixes for POSIX2008.
6124 * conform/run-conformtest.sh: Run all tests.
6125 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6127 * include/bits/dlfcn.h: Likewise.
6128 * include/langinfo.h: Likewise.
6129 * include/monetary.h: Likewise.
6130 * include/sys/poll.h: Likewise.
6132 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6134 * posix/spawn.h: Define __need_sigset_t.
6135 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6136 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6137 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6138 to get sigevent_t only.
6139 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6141 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6142 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6143 process_vm_writev only for __USE_GNU.
6144 * termios/termios.h: Declare tcgetsid also for POSIX2008.
6146 * conform/Makefile: For now ignore errors from run-conformtest.
6147 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6148 POSIX to avoid namespace pollution. Don't prepend headers.
6149 * conform/data/aio.h-data: Fixes for POSIX testing.
6150 * conform/data/fcntl.h-data: Likewise.
6151 * conform/data/glob.h-data: Likewise.
6152 * conform/data/grp.h-data: Likewise.
6153 * conform/data/pthread.h-data: Likewise.
6154 * conform/data/pwd.h-data: Likewise.
6155 * conform/data/signal.h-data: Likewise.
6156 * conform/data/spawn.h-data: Likewise.
6157 * conform/data/stdio.h-data: Likewise.
6158 * conform/data/stdlib.h-data: Likewise.
6159 * conform/data/stropts.h-data: Likewise.
6160 * conform/data/sys/mman.h-data: Likewise.
6161 * conform/data/sys/stat.h-data: Likewise.
6162 * conform/data/sys/types.h-data: Likewise.
6163 * conform/data/sys/wait.h-data: Likewise.
6164 * conform/data/time.h-data: Likewise.
6165 * conform/data/unistd.h-data: Likewise.
6166 * conform/data/utime.h-data: Likewise.
6168 * io/sys/stat.h: fchmod was always in POSIX.
6169 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6170 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6171 * rt/aio.h: Define __need_timespec before including <time.h>.
6172 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6173 struct. Add forward declaration of pthread_attr_t and use it in
6175 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6176 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6177 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6178 always remove CLK_TCK definition.
6180 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6182 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6184 2012-02-25 Ulrich Drepper <drepper@gmail.com>
6186 * conform/run-conformtest.sh: New file.
6187 * conform/Makefile: Run run-conformtest for tests.
6188 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6191 * conform/data/uchar.h-data: New file.
6192 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6193 * conform/data/arpa/inet.h-data: Likewise.
6194 * conform/data/assert.h-data: Likewise.
6195 * conform/data/complex.h-data: Likewise.
6196 * conform/data/cpio.h-data: Likewise.
6197 * conform/data/ctype.h-data: Likewise.
6198 * conform/data/dirent.h-data: Likewise.
6199 * conform/data/dlfcn.h-data: Likewise.
6200 * conform/data/errno.h-data: Likewise.
6201 * conform/data/fcntl.h-data: Likewise.
6202 * conform/data/float.h-data: Likewise.
6203 * conform/data/fmtmsg.h-data: Likewise.
6204 * conform/data/fnmatch.h-data: Likewise.
6205 * conform/data/ftw.h-data: Likewise.
6206 * conform/data/glob.h-data: Likewise.
6207 * conform/data/grp.h-data: Likewise.
6208 * conform/data/iconv.h-data: Likewise.
6209 * conform/data/inttypes.h-data: Likewise.
6210 * conform/data/langinfo.h-data: Likewise.
6211 * conform/data/libgen.h-data: Likewise.
6212 * conform/data/limits.h-data: Likewise.
6213 * conform/data/locale.h-data: Likewise.
6214 * conform/data/math.h-data: Likewise.
6215 * conform/data/monetary.h-data: Likewise.
6216 * conform/data/mqueue.h-data: Likewise.
6217 * conform/data/ndbm.h-data: Likewise.
6218 * conform/data/net/if.h-data: Likewise.
6219 * conform/data/netdb.h-data: Likewise.
6220 * conform/data/netinet/in.h-data: Likewise.
6221 * conform/data/nl_types.h-data: Likewise.
6222 * conform/data/poll.h-data: Likewise.
6223 * conform/data/pthread.h-data: Likewise.
6224 * conform/data/pwd.h-data: Likewise.
6225 * conform/data/regex.h-data: Likewise.
6226 * conform/data/sched.h-data: Likewise.
6227 * conform/data/search.h-data: Likewise.
6228 * conform/data/semaphore.h-data: Likewise.
6229 * conform/data/setjmp.h-data: Likewise.
6230 * conform/data/signal.h-data: Likewise.
6231 * conform/data/spawn.h-data: Likewise.
6232 * conform/data/stdarg.h-data: Likewise.
6233 * conform/data/stdio.h-data: Likewise.
6234 * conform/data/stdlib.h-data: Likewise.
6235 * conform/data/string.h-data: Likewise.
6236 * conform/data/strings.h-data: Likewise.
6237 * conform/data/stropts.h-data: Likewise.
6238 * conform/data/sys/ipc.h-data: Likewise.
6239 * conform/data/sys/mman.h-data: Likewise.
6240 * conform/data/sys/msg.h-data: Likewise.
6241 * conform/data/sys/resource.h-data: Likewise.
6242 * conform/data/sys/select.h-data: Likewise.
6243 * conform/data/sys/sem.h-data: Likewise.
6244 * conform/data/sys/shm.h-data: Likewise.
6245 * conform/data/sys/socket.h-data: Likewise.
6246 * conform/data/sys/stat.h-data: Likewise.
6247 * conform/data/sys/statvfs.h-data: Likewise.
6248 * conform/data/sys/time.h-data: Likewise.
6249 * conform/data/sys/timeb.h-data: Likewise.
6250 * conform/data/sys/times.h-data: Likewise.
6251 * conform/data/sys/types.h-data: Likewise.
6252 * conform/data/sys/uio.h-data: Likewise.
6253 * conform/data/sys/un.h-data: Likewise.
6254 * conform/data/sys/utsname.h-data: Likewise.
6255 * conform/data/sys/wait.h-data: Likewise.
6256 * conform/data/syslog.h-data: Likewise.
6257 * conform/data/tar.h-data: Likewise.
6258 * conform/data/termios.h-data: Likewise.
6259 * conform/data/utime.h-data: Likewise.
6260 * conform/data/utmpx.h-data: Likewise.
6261 * conform/data/varargs.h-data: Likewise.
6262 * conform/data/wchar.h-data: Likewise.
6263 * conform/data/wctype.h-data: Likewise.
6264 * conform/data/wordexp.h-data: Likewise.
6266 * include/stropts.h: New file.
6267 * include/uchar.h: New file.
6268 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6269 * include/assert.h: Likewise.
6270 * include/ctype.h: Likewise.
6271 * include/dirent.h: Likewise.
6272 * include/dlfcn.h: Likewise.
6273 * include/fcntl.h: Likewise.
6274 * include/fnmatch.h: Likewise.
6275 * include/glob.h: Likewise.
6276 * include/grp.h: Likewise.
6277 * include/libio.h: Likewise.
6278 * include/locale.h: Likewise.
6279 * include/math.h: Likewise.
6280 * include/net/if.h: Likewise.
6281 * include/netdb.h: Likewise.
6282 * include/netinet/in.h: Likewise.
6283 * include/pthread.h: Likewise.
6284 * include/pwd.h: Likewise.
6285 * include/regex.h: Likewise.
6286 * include/sched.h: Likewise.
6287 * include/search.h: Likewise.
6288 * include/setjmp.h: Likewise.
6289 * include/signal.h: Likewise.
6290 * include/stdio.h: Likewise.
6291 * include/stdlib.h: Likewise.
6292 * include/string.h: Likewise.
6293 * include/sys/cdefs.h: Likewise.
6294 * include/sys/mman.h: Likewise.
6295 * include/sys/msg.h: Likewise.
6296 * include/sys/resource.h: Likewise.
6297 * include/sys/select.h: Likewise.
6298 * include/sys/socket.h: Likewise.
6299 * include/sys/stat.h: Likewise.
6300 * include/sys/statvfs.h: Likewise.
6301 * include/sys/time.h: Likewise.
6302 * include/sys/times.h: Likewise.
6303 * include/sys/uio.h: Likewise.
6304 * include/sys/utsname.h: Likewise.
6305 * include/sys/wait.h: Likewise.
6306 * include/termios.h: Likewise.
6307 * include/time.h: Likewise.
6308 * include/ulimit.h: Likewise.
6309 * include/unistd.h: Likewise.
6310 * include/utime.h: Likewise.
6311 * include/wchar.h: Likewise.
6312 * include/wctype.h: Likewise.
6313 * include/wordexp.h: Likewise.
6315 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6317 * time/time.h: TIME_UTC must be a macro.
6318 Make timespec_get available for ISO C11 only as well.
6320 2012-02-24 Ulrich Drepper <drepper@gmail.com>
6322 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6323 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6325 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6327 * configure.in: Use -o not -a in test for unsupported multi-arch.
6329 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6331 * manual/texinfo.tex: Update to version 2012-01-19.16.
6333 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6335 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6337 2012-02-24 Roland McGrath <roland@hack.frob.com>
6340 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6341 * manual/fdl-1.3.texi: New file.
6342 * manual/fdl-1.1.texi: File removed.
6345 * manual/libc.texinfo (FDL_VERSION): New @set.
6346 Use it for mention of FDL in cover text.
6347 (Documentation License): Use it in @include file name.
6349 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6350 Roland McGrath <roland@hack.frob.com>
6353 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6354 not LONG_LONG_MAX and LONG_LONG_MIN.
6355 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6356 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6358 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6360 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6364 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6365 manipulate bits before adding and subtracting TWO23[sx].
6366 * math/libm-test.inc (nearbyint_test): Add more tests.
6368 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6371 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6372 bits before adding and subtracting TWO23[sx].
6373 * math/libm-test.inc (rint_test): Add more tests.
6374 (rint_test_tonearest): Likewise.
6375 (rint_test_towardzero): Likewise.
6376 (rint_test_downward): Likewise.
6377 (rint_test_upward: Likewise.
6379 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6382 * include/stdc-predef.h: New file. Extracted from features.h.
6383 * include/features.h: Include stdc-predef.h.
6384 * Makefile (headers): Add stdc-predef.h.
6385 * CONFORMANCE (Compiler limitations): Update.
6387 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6389 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6391 2012-02-21 David S. Miller <davem@davemloft.net>
6393 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6394 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6396 2012-02-20 David S. Miller <davem@davemloft.net>
6398 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6399 using a normal save/restore sequence, rather than allocating a
6400 dummy stack frame just to store a frame pointer and restore.
6401 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6403 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6405 * manual/install.texi: Fix stray word in line-wrapped comment.
6407 2012-02-20 David S. Miller <davem@davemloft.net>
6409 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6410 both binutils and gcc support GOTDATA.
6412 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6413 "rd %pc" in the PIC register setup sequences.
6415 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6416 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6417 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6418 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6419 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6420 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6421 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6422 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6423 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6424 (SYSCALL_ERROR_HANDLER): Likewise.
6425 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6426 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6427 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6428 (SYSCALL_ERROR_HANDLER): Likewise.
6430 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6431 (HAVE_GCC_GOTDATA): New.
6432 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6433 relocation support in both binutils and gcc.
6434 * sysdeps/sparc/elf/configure: Regenerate.
6436 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6437 * sysdeps/sparc/sparc32/elf/configure: Delete.
6438 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6439 * sysdeps/sparc/sparc64/elf/configure: Delete.
6440 * sysdeps/sparc/elf/configure.in: New file.
6441 * sysdeps/sparc/elf/configure: Generate.
6443 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6444 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6445 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6446 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6447 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6449 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6451 * manual/install.texi: Do not mention specific glibc version
6453 * manual/libc.texinfo (VERSION, UPDATED): Update.
6454 (@copying): Use @copyright{} and range of years.
6456 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6459 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6460 [crti.S not in sysdirs] (generated): Do not append.
6461 [crti.S not in sysdirs] (omit-deps): Likewise.
6462 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6463 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6464 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6465 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6466 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6468 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6469 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6470 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6471 * csu/defs.awk: Remove file.
6472 * sysdeps/generic/initfini.c: Likewise.
6473 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6475 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6478 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6480 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6481 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6482 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6483 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6484 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6485 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6487 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6488 (__EPOLL_PACKED): Define to empty if not defined by
6490 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6494 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6496 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6497 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6498 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6499 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6501 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6505 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6507 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6509 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6510 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6511 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6514 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6516 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6517 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6519 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6521 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6522 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6524 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6526 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6529 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6531 * math/w_acos.c: Use non-signaling floating-point comparisons.
6532 * math/w_acosf.c: Likewise.
6533 * math/w_acosh.c: Likewise.
6534 * math/w_acoshf.c: Likewise.
6535 * math/w_acoshl.c: Likewise.
6536 * math/w_acosl.c: Likewise.
6537 * math/w_asin.c: Likewise.
6538 * math/w_asinf.c: Likewise.
6539 * math/w_asinl.c: Likewise.
6540 * math/w_atanh.c: Likewise.
6541 * math/w_atanhf.c: Likewise.
6542 * math/w_atanhl.c: Likewise.
6543 * math/w_exp2.c: Likewise.
6544 * math/w_exp2f.c: Likewise.
6545 * math/w_exp2l.c: Likewise.
6546 * math/w_j0.c: Likewise.
6547 * math/w_j0f.c: Likewise.
6548 * math/w_j0l.c: Likewise.
6549 * math/w_j1.c: Likewise.
6550 * math/w_j1f.c: Likewise.
6551 * math/w_j1l.c: Likewise.
6552 * math/w_jn.c: Likewise.
6553 * math/w_jnf.c: Likewise.
6554 * math/w_log.c: Likewise.
6555 * math/w_log10.c: Likewise.
6556 * math/w_log10f.c: Likewise.
6557 * math/w_log10l.c: Likewise.
6558 * math/w_log2.c: Likewise.
6559 * math/w_log2f.c: Likewise.
6560 * math/w_log2l.c: Likewise.
6561 * math/w_logf.c: Likewise.
6562 * math/w_logl.c: Likewise.
6563 * math/w_sqrt.c: Likewise.
6564 * math/w_sqrtf.c: Likewise.
6565 * math/w_sqrtl.c: Likewise.
6566 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6567 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6568 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6569 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6570 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6572 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6575 * manual/string.texi (strnlen): Use correct parameter name in
6576 equivalent expression.
6578 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6581 * manual/users.texi (seteuid): Consistently use neweuid for
6584 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6587 * manual/nss.texi (Services in the NSS configuration): Correct
6588 list of services in example configuration file.
6590 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6593 * manual/arith.texi: Remove statements about negative zero
6594 behaving identically to zero.
6596 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6599 * manual/install.texi: Do not document upgrading from libc5.
6601 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6604 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6606 2012-02-18 David S. Miller <davem@davemloft.net>
6608 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6609 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6610 %o7 across the call.
6611 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6613 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6615 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6616 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6617 * sysdeps/sparc/crtn.S: Likewise.
6619 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6621 * aout/Makefile: Remove.
6623 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6626 * manual/examples/argp-ex1.c (main): Format definition in GNU
6628 * manual/examples/argp-ex2.c (main): Likewise.
6629 * manual/examples/argp-ex3.c (main): Likewise.
6630 * manual/examples/argp-ex4.c (main): Likewise.
6631 * manual/examples/longopt.c (main): Use new-style prototype
6633 * manual/examples/strncat.c (main): Specify return type and use
6634 (void) for arguments.
6635 * manual/examples/subopt.c (main): Use char **argv argument.
6637 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6640 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6643 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6646 * manual/string.texi (strchr): Change when strchrnul is
6649 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6652 * manual/locale.texi (setlocale): Document LOCPATH.
6654 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6657 * manual/process.texi (execle): Move @dots{} before last argument.
6659 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6662 * manual/charset.texi (Generic Charset Conversion): Fix typo
6663 (LC_TYPE -> LC_CTYPE).
6665 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6668 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6669 (scalbnf): Likewise.
6670 (scalbnl): Likewise.
6671 (scalbln): Likewise.
6672 (scalblnf): Likewise.
6673 (scalblnl): Likewise.
6674 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6678 * manual/filesys.texi (telldir): Use braces around return type.
6679 * manual/llio.texi (mmap): Add space after comma.
6681 * manual/math.texi (jn): Use @var{} on parameter names.
6687 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6689 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6691 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6692 (sched_get_priority_max): Likewise.
6693 * manual/signal.texi (sigvec): Add space after comma.
6694 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6696 (if_indextoname): Likewise.
6697 (if_freenameindex): Likewise.
6698 (sendto): Use ',' instead of '.' in prototype.
6699 * manual/startup.texi (syscall): Use @dots{} instead of literal
6701 * manual/stdio.texi (__fpending): Separate initial words of
6702 paragraph from @deftypefun line.
6703 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6705 (vsyslog): Use @var{} on parameter names.
6706 * manual/terminal.texi (stty): Use @var{} on parameter names.
6707 * manual/users.texi (getutmp): Use @var{} on parameter names.
6708 (getutmpx): Likewise.
6710 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6713 * manual/stdio.texi (fopen): Fix typos in description of
6716 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6719 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6720 get clock_id definition.
6722 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
6725 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6726 (madvise): Cast every argument to void on its own.
6728 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6731 * manual/startup.texi (Exit Status): Fix typo.
6733 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6736 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6737 * manual/examples/argp-ex2.c: Likewise.
6738 * manual/examples/argp-ex3.c: Likewise.
6740 2012-02-16 Richard Henderson <rth@redhat.com>
6742 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6743 * sysdeps/s390/s390-32/initfini.c: Remove.
6744 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6745 * sysdeps/s390/s390-64/initfini.c: Remove.
6747 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6749 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6750 compiler output for sysdeps/generic/initfini.c.
6751 * sysdeps/sh/elf/initfini.c: Remove file.
6753 2012-02-16 David S. Miller <davem@davemloft.net>
6756 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6758 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6759 * sysdeps/sparc/crti.S: New file.
6760 * sysdeps/sparc/crtn.S: New file.
6761 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6762 * sysdeps/sparc/sparc64/Makefile: Likewise.
6764 2012-02-15 Mike Frysinger <vapier@gentoo.org>
6767 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6769 2012-02-15 Roland McGrath <roland@hack.frob.com>
6772 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6774 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6775 (write, read, close): Likewise.
6776 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6778 2012-02-15 Joseph Myers <joseph@codesourcery.com>
6780 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6781 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6782 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6783 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6785 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6786 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6789 2012-02-14 Marek Polacek <polacek@redhat.com>
6791 * sysdeps/x86_64/crti.S: New file.
6792 * sysdeps/x86_64/crtn.S: New file.
6793 * sysdeps/x86_64/elf/initfini.c: Remove file.
6795 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6797 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6798 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6799 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6800 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6802 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6806 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6808 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6809 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6810 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6811 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6813 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6817 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6819 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6820 __feraiseexcept instead of feraiseexcept.
6822 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6823 nanosleep invocations.
6824 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6825 strings, and add error checking for a nanosleep invocations.
6827 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6829 Replace FSF snail mail address with URLs, as per GNU coding standards.
6830 Most of the snail mail addresses were wrong anyway, and omitting
6831 them makes the source code easier to maintain. Almost all of the
6832 changes are to license notices and to locale LC_IDENTIFICATION
6833 addresses, except for this one:
6834 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6835 not its snail mail address.
6837 2012-02-09 Richard Henderson <rth@twiddle.net>
6839 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6840 of kernel-features.h.
6842 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6844 2012-02-08 Marek Polacek <polacek@redhat.com>
6846 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6847 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6848 * sysdeps/gnu/_G_config.h: Likewise.
6849 * sysdeps/generic/_G_config.h: Likewise.
6851 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6853 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6857 * sysdeps/powerpc/powerpc32/crti.S: New file.
6858 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6859 * sysdeps/powerpc/powerpc64/crti.S: New file.
6860 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6862 * Makeconfig (have-initfini): Don't set.
6863 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6864 * configure.in (nopic_initfini): Don't substitute.
6865 * config.h.in (HAVE_INITFINI): Don't #undef.
6866 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6867 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6869 2012-02-08 Joseph Myers <joseph@codesourcery.com>
6871 Support crti.S and crtn.S provided directly by architectures.
6872 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6873 [crti.S in sysdirs] (omit-deps): Likewise.
6874 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6875 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6876 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6877 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6878 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6879 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6880 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6881 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6882 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6883 compiler output for sysdeps/generic/initfini.c.
6884 * sysdeps/i386/elf/Makefile: Remove file.
6885 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6887 2012-02-07 Marek Polacek <polacek@redhat.com>
6889 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6890 * sysdeps/gnu/_G_config.h: Likewise.
6891 * sysdeps/mach/hurd/_G_config.h: Likewise.
6893 2012-02-07 Marek Polacek <polacek@redhat.com>
6895 * math/Makefile (tests): Add tst-CMPLX2.
6896 * math/tst-CMPLX2.c: New file.
6898 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6900 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6902 * math/libm-test.inc (jn_test): Add missing L suffix.
6904 2012-02-06 Marek Polacek <polacek@redhat.com>
6906 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6907 * sysdeps/i386/fpu/e_powf.S: Likewise.
6908 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6909 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6910 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6911 * sysdeps/i386/fpu/e_pow.S: Likewise.
6912 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6913 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6914 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6915 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6916 * sysdeps/i386/fpu/e_log2.S: Likewise.
6917 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6918 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6919 * sysdeps/i386/fpu/e_powl.S: Likewise.
6920 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6921 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6922 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6923 * sysdeps/i386/fpu/e_logl.S: Likewise.
6924 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6925 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6926 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6927 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6928 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6929 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6930 * sysdeps/i386/fpu/e_log.S: Likewise.
6931 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6932 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6933 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6934 * sysdeps/i386/fpu/e_logf.S: Likewise.
6935 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6936 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6937 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6938 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6939 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6940 * sysdeps/i386/fpu/e_log10.S: Likewise.
6941 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6942 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6943 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6944 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6945 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6946 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6947 * sysdeps/i386/asm-syntax.h: Likewise.
6948 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6949 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6950 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6951 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6952 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6953 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6954 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6955 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6956 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6957 * sysdeps/powerpc/sysdep.h: Likewise.
6958 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6959 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6961 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6964 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6966 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6968 * sysdeps/i386/sysdep.h: Include <features.h>.
6969 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6972 2012-02-05 Joseph Myers <joseph@codesourcery.com>
6974 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6976 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6979 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6981 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6982 (SETUP_PIC_REG): Use GET_PC_THUNK.
6983 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6986 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6988 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6989 for non-PIC compilation.
6990 (SETUP_PIC_REG): Add .p2align directive.
6991 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6992 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6993 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6994 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6995 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6996 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6997 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6998 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6999 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7000 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7001 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7002 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7003 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7004 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7005 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7006 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7007 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7008 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7009 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7010 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7011 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7012 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7013 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7014 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7015 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7016 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7017 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7018 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7019 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7020 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7021 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7022 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7023 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7024 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7025 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7026 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7027 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7028 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7029 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7030 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7031 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7033 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7035 * math/tst-CMPLX.c: Include <stdio.h>.
7037 2012-01-31 Joseph Myers <joseph@codesourcery.com>
7039 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7041 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7042 * sysdeps/sparc/bits/mathdef.h: Likewise.
7044 2012-01-31 Marek Polacek <polacek@redhat.com>
7046 * libio/libio.h: Don't define _PARAMS.
7047 * locale/programs/config.h: Don't define PARAMS.
7048 * stdlib/strtol_l.c: Likewise.
7049 (__strtol_l): Remove PARAMS from the prototype.
7051 2012-01-31 Ulrich Drepper <drepper@gmail.com>
7053 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7054 names. Just use the correct names. Remove unnecessary wrapper
7056 * malloc/arena.c: Likewise.
7057 * malloc/hooks.c: Likewise.
7059 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7060 ARENA_TEST says not to. Simplify test for creation of a new arena.
7061 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7063 2012-01-30 Ulrich Drepper <drepper@gmail.com>
7065 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7067 (update_get_addr): New function.
7068 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7069 GET_ADDR_MODULE parameter.
7071 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7073 * crypt/cert.c: Remove __STDC__ conditionals.
7074 * crypt/crypt-entry.c: Likewise.
7075 * crypt/crypt_util.c: Likewise.
7076 * libio/filedoalloc.c: Likewise.
7077 * libio/fileops.c: Likewise.
7078 * libio/genops.c: Likewise.
7079 * libio/iofclose.c: Likewise.
7080 * libio/iofdopen.c: Likewise.
7081 * libio/iofopen.c: Likewise.
7082 * libio/iofopen64.c: Likewise.
7083 * libio/iogetdelim.c: Likewise.
7084 * libio/iopopen.c: Likewise.
7085 * libio/obprintf.c: Likewise.
7086 * libio/oldfileops.c: Likewise.
7087 * libio/oldiofclose.c: Likewise.
7088 * libio/oldiofdopen.c: Likewise.
7089 * libio/oldiofopen.c: Likewise.
7090 * libio/oldiopopen.c: Likewise.
7091 * libio/wfiledoalloc.c: Likewise.
7092 * libio/wgenops.c: Likewise.
7093 * locale/programs/xmalloc.c: Likewise.
7094 * misc/syslog.c: Likewise.
7095 * stdio-common/xbug.c: Likewise.
7096 * string/memchr.c: Likewise.
7097 * string/memcmp.c: Likewise.
7098 * string/memrchr.c: Likewise.
7099 * string/rawmemchr.c: Likewise.
7100 * sysdeps/posix/getcwd.c: Likewise.
7101 * time/strftime_l.c: Likewise.
7103 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7105 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7106 * config.make.in (config-cflags-sse2avx): Define.
7107 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7110 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7112 * scripts/config.guess: Update from upstream config git repository.
7113 * scripts/config.sub: Likewise.
7115 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7117 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7119 (R_TILEPRO_*, R_TILEGX_*): New macros.
7121 * scripts/firstversions.awk: Fix bug in version range handling.
7123 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7125 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7127 * include/sys/epoll.h: New file.
7128 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7131 2012-01-28 Ulrich Drepper <drepper@gmail.com>
7133 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7134 Avoid unnecessary __WORDSIZE == 64 test.
7135 (fmaxf): Use VEX format if possible.
7140 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7141 * math/math_private.h: Remove libc_fegetround* and
7143 * sysdeps/i386/configure.in: Check for -msse2avx.
7144 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7145 also if SSE2AVX is defined.
7146 Remove libc_fegetround* and libc_fesetround*.
7147 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7148 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7149 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7151 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7152 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7153 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7154 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7155 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7157 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7159 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7161 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7163 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7165 2012-01-27 Ulrich Drepper <drepper@gmail.com>
7168 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7170 * Makeconfig (libm): Define.
7171 * elf/Makefile: Add rules to build and run tst-relsort1.
7172 * elf/tst-relsort1.c: New file.
7173 * elf/tst-relsort1mod1.c: New file.
7174 * elf/tst-relsort1mod2.c: New file.
7176 2012-01-27 Joseph Myers <joseph@codesourcery.com>
7178 * math/s_ldexp.c: Remove __STDC__ conditionals.
7179 * math/s_ldexpf.c: Likewise.
7180 * math/s_ldexpl.c: Likewise.
7181 * math/s_nextafter.c: Likewise.
7182 * math/s_nexttowardf.c: Likewise.
7183 * math/s_significand.c: Likewise.
7184 * math/s_significandf.c: Likewise.
7185 * math/s_significandl.c: Likewise.
7186 * math/w_jnl.c: Likewise.
7187 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7188 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7189 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7190 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7191 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7192 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7193 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7194 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7195 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7196 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7197 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7198 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7199 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7200 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7201 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7202 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7203 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7204 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7205 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7206 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7207 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7208 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7209 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7210 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7211 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7212 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7213 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7214 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7215 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7216 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7217 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7218 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7219 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7220 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7221 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7222 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7223 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7224 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7225 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7226 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7227 * sysdeps/ieee754/k_standard.c: Likewise.
7228 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7229 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7231 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7232 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7233 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7234 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7235 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7236 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7237 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7238 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7239 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7240 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7241 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7242 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7243 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7244 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7245 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7246 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7247 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7248 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7249 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7251 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7252 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7253 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7254 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7255 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7257 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7259 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7260 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7261 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7262 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7288 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7289 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7290 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7294 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7301 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7302 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7303 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7304 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7305 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7307 * sysdeps/ieee754/s_matherr.c: Likewise.
7308 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7309 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7310 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7311 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7313 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7315 * crypt/md5.h: Remove __STDC__ conditionals.
7316 * libio/libioP.h: Likewise.
7317 * locale/programs/config.h: Likewise.
7318 * sysdeps/generic/sysdep.h: Likewise.
7319 * sysdeps/i386/asm-syntax.h: Likewise.
7320 * sysdeps/s390/asm-syntax.h: Likewise.
7321 * sysdeps/unix/sysdep.h: Likewise.
7322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7325 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7327 * libio/libio.h: Remove __STDC__ conditionals.
7328 * malloc/obstack.h: Likewise.
7329 * math/complex.h: Likewise.
7330 * math/math.h: Likewise.
7331 * sysdeps/generic/_G_config.h: Likewise.
7332 * sysdeps/gnu/_G_config.h: Likewise.
7333 * sysdeps/mach/hurd/_G_config.h: Likewise.
7334 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7335 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7336 * sysdeps/sparc/bits/mathdef.h: Likewise.
7338 2012-01-26 Ulrich Drepper <drepper@gmail.com>
7341 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7342 Clean up HAS_* macros.
7343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7344 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7346 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7348 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7349 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7350 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7351 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7352 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7354 2012-01-25 Joseph Myers <joseph@codesourcery.com>
7356 * elf/tst-unique3.cc (gets): Remove declaration.
7357 * elf/tst-unique3lib.cc (gets): Likewise.
7358 * elf/tst-unique3lib2.cc (gets): Likewise.
7359 * elf/tst-unique4.cc (gets): Likewise.
7361 2012-01-24 Ulrich Drepper <drepper@gmail.com>
7363 * include/stdio.h: Add C++ protection. Add gets declarations and
7365 * debug/tst-chk1.c: Don't declare gets here.
7366 * stdio-common/tst-gets.c: Likewise.
7368 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7370 * posix/glob: Remove directory.
7372 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7374 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7376 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7378 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7379 of the non-standard EPFNOSUPPORT.
7381 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7383 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7384 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7385 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7387 2012-01-21 Ulrich Drepper <drepper@gmail.com>
7389 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7391 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7393 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7395 * nscd/grpcache.c (cache_addgr): Likewise.
7396 * nscd/hstcache.c (cache_addhst): Likewise.
7397 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7398 * nscd/pwdcache.c (cache_addpw): Likewise.
7399 * nscd/servicescache.c (cache_addserv): Likewise.
7401 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7403 * malloc/malloc.c: Various cleanups.
7404 * malloc/hooks.c: Likewise.
7406 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7407 * stdlib/bug-fmtmsg1.c: New file.
7409 * stdlib/fmtmsg.c (init): Add missing unlock.
7410 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7412 2012-01-12 Marek Polacek <polacek@redhat.com>
7414 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7417 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7419 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7420 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7421 macro to ensure uniqueness of label name.
7422 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7423 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7425 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7427 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7429 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7430 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7431 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7432 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7434 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7436 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7438 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7439 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7440 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7442 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7444 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7445 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7446 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7447 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7449 * math/bits/math-finite.h: Add ldexp support.
7451 2012-01-10 Marek Polacek <polacek@redhat.com>
7453 * locale/programs/localedef.h (show_archive_content): Add noreturn
7456 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7458 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7460 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7462 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7464 * io/Makefile (headers): Add bits/poll2.h.
7466 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7469 typo #include statement.
7471 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7473 * include/sys/cdefs.h: Define __attribute_alloc_size.
7474 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7475 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7476 * elf/pldd.c: Likewise.
7477 * iconv/iconv_charmap.c: Likewise.
7478 * iconv/iconvconfig.c: Likewise.
7479 * iconv/strtab.c: Likewise.
7480 * locale/programs/locale.c: Likewise.
7481 * locale/programs/localedef.h: Likewise.
7482 * locale/programs/simple-hash.c: Likewise.
7483 * nscd/nscd.h: Likewise.
7484 * nss/makedb.c: Likewise.
7485 * sysdeps/generic/ldconfig.h: Likewise.
7486 * locale/programs/localedef.c: Remove xmalloc prototype.
7487 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7489 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7491 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7494 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7496 * math/Makefile (tests): Add tst-CMPLX.
7497 * math/tst-CMPLX.c: New file.
7499 * math/complex.h (CMPLXL): Fix typo.
7501 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7502 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7504 * debug/tst-chk1.c: Add poll and ppoll tests.
7505 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7506 * include/sys/poll.h: Add hidden proto for ppoll.
7507 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7508 * sysdeps/mach/hurd/ppoll.c: Likewise.
7509 * io/ppoll.c: Likewise.
7510 * debug/poll_chk.c: New file.
7511 * debug/ppoll_chk.c: New file.
7512 * include/bits/poll2.h: New file.
7513 * io/bits/poll2.h: New file.
7516 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7518 * configure.in: static is always set to yes. Remove.
7519 * config.make.in: Don't set build-static.
7520 * Makeconfig: Remove use of build-static.
7521 * dlfcn/Makefile: Likewise.
7522 * elf/Makefile: Likewise.
7523 * math/Makefile: Likewise.
7524 * misc/Makefile: Likewise.
7525 * nptl/Makefile: Likewise.
7526 * sysdeps/mach/hurd/Makefile: Likewise.
7528 * configure.in: PWD_P is not used anymore.
7529 * config.make.in: Remove PWD_P entry.
7531 * configure.in: Remove last remnants of RANLIB.
7532 No need to check for signed size_t anymore.
7533 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7535 Remove __builtin_expect test because we require at least gcc 3.4.
7536 * aclocal.m4: Likewise.
7538 * wcsmbs/mbrtoc16.c: Implement using towc function.
7539 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7540 * wcsmbs/wcsmbsload.c: Likewise.
7541 * iconv/gconv_simple.c: Likewise.
7542 * iconv/gconv_int.h: Likewise.
7543 * iconv/gconv_builtin.h: Likewise.
7544 * iconv/iconv_prog.c: Remove CHAR16 handling.
7546 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7548 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7550 * configure.in: Remove --with-elf and --enable-bounded options.
7551 Dont set base_machine for ia64. More non-ELF conditions removed.
7552 Remove testing and setting of leading underscore information.
7553 * config.make.in (build-bounded): Set to no.
7554 * config.h.in: Remove NO_UNDERSCORES entry.
7555 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7557 * csu/start.c: Remove !NO_UNDERSCORE code.
7558 * locale/localeinfo.h: Likewise.
7559 * sysdeps/generic/machine-gmon.h: Likewise.
7560 * sysdeps/generic/sysdep.h: Likewise.
7561 * sysdeps/i386/sysdep.h: Likewise.
7562 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7563 * sysdeps/mach/sysdep.h: Likewise.
7564 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7565 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7566 * sysdeps/sh/sysdep.h: Likewise.
7567 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7568 * sysdeps/unix/i386/sysdep.S: Likewise.
7569 * sysdeps/unix/sparc/start.c: Likewise.
7570 * sysdeps/unix/sparc/sysdep.S: Likewise.
7571 * sysdeps/unix/sparc/sysdep.h: Likewise.
7572 * sysdeps/unix/start.c: Likewise.
7573 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7574 * sysdeps/x86_64/sysdep.h: Likewise.
7576 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7579 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7581 * argp/argp-fmtstream.h: Use const instead __const.
7582 * argp/argp.h: Likewise.
7583 * assert/assert.h: Likewise.
7584 * bits/fenv.h: Likewise.
7585 * bits/sched.h: Likewise.
7586 * bits/sigset.h: Likewise.
7587 * bits/sigthread.h: Likewise.
7588 * catgets/nl_types.h: Likewise.
7589 * conform/data/pthread.h-data: Likewise.
7590 * crypt/crypt-private.h: Likewise.
7591 * crypt/crypt.h: Likewise.
7592 * crypt/crypt_util.c: Likewise.
7593 * ctype/ctype.h: Likewise.
7594 * debug/execinfo.h: Likewise.
7595 * debug/mbsnrtowcs_chk.c: Likewise.
7596 * debug/mbsrtowcs_chk.c: Likewise.
7597 * debug/wcsnrtombs_chk.c: Likewise.
7598 * debug/wcsrtombs_chk.c: Likewise.
7599 * debug/wcstombs_chk.c: Likewise.
7600 * dirent/dirent.h: Likewise.
7601 * dlfcn/dlfcn.h: Likewise.
7602 * elf/neededtest4.c: Likewise.
7603 * grp/grp.h: Likewise.
7604 * gshadow/gshadow.h: Likewise.
7605 * iconv/gconv.h: Likewise.
7606 * iconv/gconv_int.h: Likewise.
7607 * iconv/gconv_simple.c: Likewise.
7608 * iconv/iconv.h: Likewise.
7609 * iconv/loop.c: Likewise.
7610 * iconv/skeleton.c: Likewise.
7611 * include/aio.h: Likewise.
7612 * include/aliases.h: Likewise.
7613 * include/argz.h: Likewise.
7614 * include/arpa/inet.h: Likewise.
7615 * include/assert.h: Likewise.
7616 * include/dirent.h: Likewise.
7617 * include/dlfcn.h: Likewise.
7618 * include/execinfo.h: Likewise.
7619 * include/fcntl.h: Likewise.
7620 * include/fenv.h: Likewise.
7621 * include/glob.h: Likewise.
7622 * include/grp.h: Likewise.
7623 * include/libintl.h: Likewise.
7624 * include/mntent.h: Likewise.
7625 * include/netdb.h: Likewise.
7626 * include/pwd.h: Likewise.
7627 * include/rpc/netdb.h: Likewise.
7628 * include/sched.h: Likewise.
7629 * include/search.h: Likewise.
7630 * include/shadow.h: Likewise.
7631 * include/signal.h: Likewise.
7632 * include/stdio.h: Likewise.
7633 * include/stdlib.h: Likewise.
7634 * include/string.h: Likewise.
7635 * include/sys/socket.h: Likewise.
7636 * include/sys/stat.h: Likewise.
7637 * include/sys/statfs.h: Likewise.
7638 * include/sys/statvfs.h: Likewise.
7639 * include/sys/syslog.h: Likewise.
7640 * include/sys/time.h: Likewise.
7641 * include/sys/uio.h: Likewise.
7642 * include/time.h: Likewise.
7643 * include/unistd.h: Likewise.
7644 * include/utmp.h: Likewise.
7645 * include/wchar.h: Likewise.
7646 * include/wctype.h: Likewise.
7647 * inet/aliases.h: Likewise.
7648 * inet/arpa/inet.h: Likewise.
7649 * inet/netinet/ether.h: Likewise.
7650 * inet/netinet/in.h: Likewise.
7651 * intl/libintl.h: Likewise.
7652 * io/bits/fcntl2.h: Likewise.
7653 * io/fcntl.h: Likewise.
7654 * io/ftw.h: Likewise.
7655 * io/sys/poll.h: Likewise.
7656 * io/sys/stat.h: Likewise.
7657 * io/sys/statfs.h: Likewise.
7658 * io/sys/statvfs.h: Likewise.
7659 * io/utime.h: Likewise.
7660 * libio/bits/stdio.h: Likewise.
7661 * libio/bits/stdio2.h: Likewise.
7662 * libio/libio.h: Likewise.
7663 * libio/libioP.h: Likewise.
7664 * libio/stdio.h: Likewise.
7665 * locale/lc-ctype.c: Likewise.
7666 * locale/locale.h: Likewise.
7667 * login/utmp.h: Likewise.
7668 * malloc/arena.c: Likewise.
7669 * malloc/malloc.c: Likewise.
7670 * malloc/malloc.h: Likewise.
7671 * malloc/mcheck.c: Likewise.
7672 * malloc/mtrace.c: Likewise.
7673 * math/bits/mathcalls.h: Likewise.
7674 * math/fenv.h: Likewise.
7675 * math/math_private.h: Likewise.
7676 * misc/bits/error.h: Likewise.
7677 * misc/bits/syslog.h: Likewise.
7678 * misc/err.h: Likewise.
7679 * misc/error.h: Likewise.
7680 * misc/fstab.h: Likewise.
7681 * misc/mntent.h: Likewise.
7682 * misc/regexp.h: Likewise.
7683 * misc/search.h: Likewise.
7684 * misc/sgtty.h: Likewise.
7685 * misc/sys/mman.h: Likewise.
7686 * misc/sys/syslog.h: Likewise.
7687 * misc/sys/uio.h: Likewise.
7688 * misc/sys/xattr.h: Likewise.
7689 * misc/ttyent.h: Likewise.
7690 * nis/rpcsvc/ypclnt.h: Likewise.
7691 * nss/nss.h: Likewise.
7692 * posix/bits/unistd.h: Likewise.
7693 * posix/fnmatch.h: Likewise.
7694 * posix/glob.h: Likewise.
7695 * posix/sched.h: Likewise.
7696 * posix/spawn.h: Likewise.
7697 * posix/sys/wait.h: Likewise.
7698 * posix/unistd.h: Likewise.
7699 * posix/wordexp.h: Likewise.
7700 * pwd/pwd.h: Likewise.
7701 * resolv/netdb.h: Likewise.
7702 * resource/sys/resource.h: Likewise.
7703 * rt/aio.h: Likewise.
7704 * rt/bits/mqueue2.h: Likewise.
7705 * rt/mqueue.h: Likewise.
7706 * shadow/shadow.h: Likewise.
7707 * signal/signal.h: Likewise.
7708 * socket/send.c: Likewise.
7709 * socket/sendto.c: Likewise.
7710 * socket/sys/socket.h: Likewise.
7711 * stdio-common/printf.h: Likewise.
7712 * stdlib/bits/stdlib.h: Likewise.
7713 * stdlib/fmtmsg.h: Likewise.
7714 * stdlib/monetary.h: Likewise.
7715 * stdlib/stdlib.h: Likewise.
7716 * stdlib/ucontext.h: Likewise.
7717 * streams/stropts.h: Likewise.
7718 * string/argz.h: Likewise.
7719 * string/bits/string2.h: Likewise.
7720 * string/string.h: Likewise.
7721 * string/strings.h: Likewise.
7722 * sunrpc/rpc/auth.h: Likewise.
7723 * sunrpc/rpc/auth_des.h: Likewise.
7724 * sunrpc/rpc/clnt.h: Likewise.
7725 * sunrpc/rpc/netdb.h: Likewise.
7726 * sunrpc/rpc/pmap_clnt.h: Likewise.
7727 * sunrpc/rpc/xdr.h: Likewise.
7728 * sysdeps/generic/inttypes.h: Likewise.
7729 * sysdeps/generic/net/if.h: Likewise.
7730 * sysdeps/generic/sys/swap.h: Likewise.
7731 * sysdeps/gnu/net/if.h: Likewise.
7732 * sysdeps/gnu/utmpx.h: Likewise.
7733 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7734 * sysdeps/i386/i486/bits/string.h: Likewise.
7735 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7736 * sysdeps/s390/bits/string.h: Likewise.
7737 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7738 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7739 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7740 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7741 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7742 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7743 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7744 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7745 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7746 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7747 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7748 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7749 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7750 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7751 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7752 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7753 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7755 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7756 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7757 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7758 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7759 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7760 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7761 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7762 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7763 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7764 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7765 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7766 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7767 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7768 * sysvipc/sys/ipc.h: Likewise.
7769 * sysvipc/sys/msg.h: Likewise.
7770 * sysvipc/sys/sem.h: Likewise.
7771 * sysvipc/sys/shm.h: Likewise.
7772 * termios/termios.h: Likewise.
7773 * time/sys/time.h: Likewise.
7774 * time/time.h: Likewise.
7775 * wcsmbs/bits/wchar2.h: Likewise.
7776 * wcsmbs/uchar.h: Likewise.
7777 * wcsmbs/wchar.h: Likewise.
7778 * wctype/wctype.h: Likewise.
7781 * Makeconfig: Remove all but ELF support including AIX support.
7782 * Makerules: Likewise.
7783 * config.h.in: Likewise.
7784 * config.make.in: Likewise.
7785 * configure: Likewise.
7786 * configure.in: Likewise.
7787 * csu/Makefile: Likewise.
7788 * csu/version.c: Likewise.
7789 * debug/Makefile: Likewise.
7790 * dlfcn/Makefile: Likewise.
7791 * elf/Makefile: Likewise.
7792 * extra-lib.mk: Likewise.
7793 * iconv/Makefile: Likewise.
7794 * include/libc-symbols.h: Likewise.
7795 * include/shlib-compat.h: Likewise.
7796 * resolv/Makefile: Likewise.
7797 * resolv/res_libc.c: Likewise.
7798 * rt/Makefile: Likewise.
7799 * sysdeps/i386/asm-syntax.h: Likewise.
7800 * sysdeps/i386/sysdep.h: Likewise.
7801 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7802 * sysdeps/mach/sysdep.h: Likewise.
7803 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7804 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7805 * sysdeps/s390/asm-syntax.h: Likewise.
7806 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7807 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7808 * sysdeps/sh/sysdep.h: Likewise.
7809 * sysdeps/unix/sparc/sysdep.h: Likewise.
7810 * sysdeps/wordsize-32/divdi3.c: Likewise.
7811 * sysdeps/x86_64/sysdep.h: Likewise.
7813 * argp/Versions: Remove _argp_unlock_xxx.
7816 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7817 * abilist/libBrokenLocale.abilist: Likewise.
7818 * abilist/libanl.abilist: Likewise.
7819 * abilist/libc.abilist: Likewise.
7820 * abilist/libcrypt.abilist: Likewise.
7821 * abilist/libdl.abilist: Likewise.
7822 * abilist/libm.abilist: Likewise.
7823 * abilist/libnsl.abilist: Likewise.
7824 * abilist/libpthread.abilist: Likewise.
7825 * abilist/libresolv.abilist: Likewise.
7826 * abilist/librt.abilist: Likewise.
7827 * abilist/libthread_db.abilist: Likewise.
7828 * abilist/libutil.abilist: Likewise.
7829 * abilist/libnss_db.abilist: New file.
7831 * scripts/abilist.awk: Add support for indirect functions.
7833 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7835 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7837 * shlib-versions: Remove entries for ports architectures.
7839 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7841 * elf/stackguard-macros.h: Remove support for IA-64.
7842 * elf/tst-auditmod1.c: Likewise.
7843 * sysdeps/generic/ldsodefs.h: Likewise.
7845 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7846 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7850 * configure.in: Remove --enable-omitfp support.
7852 * config.make.in: Likewise.
7853 * Makeconfig: Likewise.
7854 * manual/install.texi: Likewise.
7856 In case anyone cares, the IA-64 architecture could move to ports.
7857 * sysdeps/ia64/*: Removed.
7858 * sysdeps/unix/sysv/linux/ia64/*: Removed.
7859 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7862 * configure.in: Remove entries for unsupported architectures.
7865 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7866 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7868 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7869 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7870 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7871 fall back to using wcrtomb.
7872 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7873 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7875 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7876 * wcsmbs/tst-c16c32-1.c: New file.
7878 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7881 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7883 * elf/tst-unique3.cc: Add explicit declaration of gets.
7884 * elf/tst-unique3lib.cc: Likewise.
7885 * elf/tst-unique3lib2.cc: Likewise.
7886 * elf/tst-unique4.cc: Likewise.
7888 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7890 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7893 * assert/assert.h (static_assert): Don't define for C++.
7894 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7895 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7897 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7899 * iconv/loop.c (single loop): Fix assertion in storing of
7902 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7904 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7906 * posix/getconf.c: Update copyright year.
7907 * nss/getent.c: Likewise.
7908 * nss/makedb.c: Likewise.
7909 * iconv/iconvconfig.c: Likewise.
7910 * iconv/iconv_prog.c: Likewise.
7911 * elf/ldconfig.c: Likewise.
7912 * elf/pldd.c: Likewise.
7913 * elf/sotruss.ksh: Likewise.
7914 * catgets/gencat.c: Likewise.
7915 * csu/version.c: Likewise.
7916 * elf/ldd.bash.in: Likewise.
7917 * elf/sprof.c (print_version): Likewise.
7918 * locale/programs/locale.c: Likewise.
7919 * locale/programs/localedef.c: Likewise.
7920 * login/programs/pt_chown.c: Likewise.
7921 * nscd/nscd.c (print_version): Likewise.
7922 * debug/xtrace.sh: Likewise.
7923 * malloc/memusage.sh: Likewise.
7924 * malloc/mtrace.pl: Likewise.
7925 * debug/catchsegv.sh: Likewise.
7927 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7929 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7932 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7935 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7936 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7938 * iconv/gconv_int.h: Likewise.
7939 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7940 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7941 from libc for GLIBC_2.16.
7942 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7943 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7944 * wcsmbs/uchar.h: Really define mbstate_t.
7945 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7946 * wcsmbs/c16rtomb.c: New file.
7947 * wcsmbs/mbrtoc16.c: New file.
7948 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7950 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7951 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7953 * wcsmbs/wchar.h: Add missing __restrict.
7955 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7958 * time/Makefile (routines): Add timespec_get.
7959 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7960 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7961 timespec for ISO C11.
7962 * time/timespec_get.c: New file.
7963 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7964 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7967 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7968 * stdlib/stdlib.h: Declare aligned_alloc.
7969 * Versions.def: Add GLIBC_2.16 for libc.
7970 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7973 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7976 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7980 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7983 * assert/assert.h (static_assert): Define.
7985 * version.h: Update for 2.16 development version.
7988 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7991 * version.h (RELEASE): Bump for 2.15 release.
7992 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7994 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7995 Patch by Marek Polacek <mpolacek@redhat.com>.
7997 * bits/byteswap.h: Protect long long constants with __extension__.
7998 * sysdeps/i386/bits/byteswap.h: Likewise.
7999 * sysdeps/ia64/bits/byteswap.h: Likewise.
8000 * sysdeps/s390/bits/byteswap.h: Likewise.
8001 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8003 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8006 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8008 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8010 2011-12-23 Marek Polacek <polacek@redhat.com>
8012 * elf/dl-addr.c (determine_info): Add inline keyword.
8013 * elf/tst-auditmod4b.c (check_avx): Likewise.
8014 * elf/tst-auditmod6b.c (check_avx): Likewise.
8015 * elf/tst-auditmod6c.c (check_avx): Likewise.
8016 * elf/tst-auditmod7b.c (check_avx): Likewise.
8018 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8020 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8023 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8026 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8027 processing for last bytes.
8029 2011-08-06 Bruno Haible <bruno@clisp.org>
8032 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8033 U+0385, not to U+1FEE.
8036 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8037 entry for U+00A5 U+0301.
8039 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8042 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8043 buffer for the output is too small.
8045 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8049 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8050 SSE flags if possible.
8052 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8055 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8056 processing for last bytes.
8058 2011-12-22 Joseph Myers <joseph@codesourcery.com>
8060 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8061 (syscall-list-default-options, syscall-list-default-condition)
8062 (syscall-list-includes): Define.
8063 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8064 list of ABIs and options and #if conditions for each ABI. Do not
8065 handle common syscalls between ABIs specially.
8066 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8068 (syscall-list-variants, syscall-list-32bit-options)
8069 (syscall-list-32bit-condition, syscall-list-64bit-options)
8070 (syscall-list-64bit-condition): Define.
8071 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8072 (syscall-list-variants, syscall-list-32bit-options)
8073 (syscall-list-32bit-condition, syscall-list-64bit-options)
8074 (syscall-list-64bit-condition): Define.
8075 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8077 (syscall-list-variants, syscall-list-32bit-options)
8078 (syscall-list-32bit-condition, syscall-list-64bit-options)
8079 (syscall-list-64bit-condition): Define.
8080 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8082 (syscall-list-variants, syscall-list-32bit-options)
8083 (syscall-list-32bit-condition, syscall-list-64bit-options)
8084 (syscall-list-64bit-condition): Define.
8086 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8088 * locale/iso-639.def: Add brx entry.
8091 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8092 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8094 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8095 __feraiseexcept_renamed.
8097 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8100 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8101 EPOLLET with unsigned values.
8102 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8103 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8105 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8106 to large cancellation.
8107 * math/s_cacoshf.c: Likewise.
8108 * math/s_cacoshl.c: Likewise.
8110 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8114 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8115 * math/s_cacoshf.c: Likewise.
8116 * math/s_cacoshl.c: Likewise.
8118 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8121 * iconv/gconv.h: Define __GCONV_SWAP.
8122 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8123 * iconvdata/utf-16.c: Likewise.
8124 * iconvdata/utf-32.c: Likewise.
8126 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8129 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8130 numerator after shifting it by one limb.
8132 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8134 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8135 under [__USE_EXTERN_INLINES].
8137 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8140 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8142 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8144 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8145 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8147 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8148 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8149 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8150 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8151 for strncasecmp/strncasecmp_l compilation.
8152 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8153 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8155 2011-12-08 Marek Polacek <mpolacek@redhat.com>
8158 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8161 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8164 * time/tzfile.c (__tzfile_read): Check values from file header.
8166 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8168 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8169 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8170 * powerpc/powerpc32/dl-start.S: Likewise.
8171 * powerpc/powerpc32/elf/start.S: Likewise.
8172 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8173 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8174 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8175 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8176 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8177 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8178 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8179 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8180 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8181 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8182 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8183 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8184 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8185 * powerpc/powerpc32/memset.S: Likewise.
8186 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8187 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8188 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8189 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8190 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8191 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8192 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8193 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8194 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8195 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8196 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8197 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8198 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8200 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8202 * math/libm-test.inc: Added more nearbyint tests.
8203 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8204 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8205 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8206 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8208 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8210 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8213 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8215 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8216 Add wcscpy-ssse3 wcscpy-c.
8217 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8218 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8219 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8220 * sysdeps/x86_64/wcschr.S: New file.
8221 * sysdeps/x86_64/wcsrchr.S: New file.
8222 * string/test-strcmp.c: Remove checking of wcscmp function for
8224 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8225 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8226 wcsrchr-sse2 wcsrchr-c.
8227 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8228 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8229 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8230 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8231 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8232 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8233 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8234 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8235 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8236 * wcsmbc/wcschr.c (WCSCHR): New macro.
8238 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8240 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8241 * wcsmbs/test-wcsrchr.c: New file.
8242 * string/test-strrchr.c: Add wcsrchr support.
8244 * wcsmbs/test-wcscpy.c: New file.
8245 * string/test-strcpy.c: Add wcscpy support.
8248 2011-12-10 Ulrich Drepper <drepper@gmail.com>
8250 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8253 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8256 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8258 2011-12-04 Ulrich Drepper <drepper@gmail.com>
8260 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8261 Minor optimizations.
8263 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8264 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8265 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8267 2011-12-03 Ulrich Drepper <drepper@gmail.com>
8269 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8270 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8271 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8272 for gcc to avoid warnings.
8273 * inet/Makefile (tests): Add tst-checks.
8274 * inet/tst-checks.c: New file.
8276 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8279 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8282 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8283 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8285 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8287 2011-12-02 Ulrich Drepper <drepper@gmail.com>
8289 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8292 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8294 2011-11-29 Joseph Myers <joseph@codesourcery.com>
8296 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8297 conditional on GCC version.
8298 (__arch_compare_and_exchange_val_8_acq)
8299 (__arch_compare_and_exchange_val_16_acq)
8300 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8301 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8302 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8304 2011-12-02 Joseph Myers <joseph@codesourcery.com>
8306 * sysdeps/sh/backtrace.c: New file.
8308 2011-12-02 Andreas Schwab <schwab@redhat.com>
8310 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8313 2011-12-01 Andreas Schwab <schwab@redhat.com>
8315 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8316 falling back to utime.
8318 2011-11-30 Andreas Schwab <schwab@redhat.com>
8320 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8321 expectations for float.
8323 2011-11-29 Andreas Schwab <schwab@redhat.com>
8325 * locale/weight.h (findidx): Add parameter len.
8326 * locale/weightwc.h (findidx): Likewise.
8327 * posix/fnmatch_loop.c (FCT): Adjust caller.
8328 * posix/regcomp.c (build_equiv_class): Likewise.
8329 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8330 * posix/regexec.c (check_node_accept_bytes): Likewise.
8331 * string/strcoll_l.c (STRCOLL): Likewise.
8332 * string/strxfrm_l.c (STRXFRM): Likewise.
8334 2011-11-17 Ulrich Drepper <drepper@gmail.com>
8336 * Makefile.in: Remove CVSOPT handling.
8337 * configure.in: Remove use of AC_REVISION.
8338 * iconvdata/Makefile (distribute): No need to filter out CVS.
8339 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8342 2011-11-16 Andreas Schwab <schwab@redhat.com>
8344 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8345 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8346 [USE_AS_STRNCASECMP_L]: Likewise.
8347 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8348 NO_TLS_DIRECT_SEG_REFS.
8349 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8350 Fix argument offsets for non-PIC.
8351 [USE_AS_STRNCASECMP_L]: Likewise.
8352 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8353 NO_TLS_DIRECT_SEG_REFS.
8355 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8357 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8359 * locale/loadlocale.c (_nl_load_locale): Likewise.
8361 2011-11-15 Andreas Schwab <schwab@redhat.com>
8363 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8364 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8365 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8366 (SYSCALL_GETTIME): Set errno on error.
8368 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8369 count references to noai6ai_cached.
8371 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8373 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8375 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8376 FD_CLOEXEC for /proc/self/maps.
8378 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8379 FD_CLOEXEC for /proc/meminfo.
8381 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8384 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8385 FD_CLOEXEC for given file.
8387 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8389 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8390 FD_CLOEXEC for /etc/hosts.
8391 (_gethtent): Likewise.
8393 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8395 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8396 cancellation and set FD_CLOEXEC for /etc/netgroup.
8398 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8399 reading /etc/publickey.
8401 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8402 allow cancellation when reading /etc/group.
8404 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8406 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8408 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8409 when using data file.
8411 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8413 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8414 (write_nis_obj): Use "c" and "e" in fopen.
8416 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8418 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8420 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8422 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8424 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8427 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8429 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8431 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8433 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8434 file parsing and set FD_CLOEXEC.
8436 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8438 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8440 2011-11-14 Andreas Schwab <schwab@redhat.com>
8442 * malloc/arena.c (arena_get2): Don't call reused_arena when
8443 _int_new_arena failed.
8445 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8447 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8448 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8449 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8450 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8451 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8452 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8453 to compile strcasecmp and strncasecmp.
8454 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8455 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8457 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8459 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8461 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8462 locale-defines.sym to gen-as-const-headers.
8463 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8464 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8465 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8466 to compile strcasecmp and strncasecmp.
8467 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8468 strcasecmp_l and strncasecmp_l.
8469 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8470 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8471 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8472 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8473 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8474 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8475 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8476 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8477 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8478 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8479 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8481 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8483 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8484 result of SYSDEP_GETTIME_CPU to retval.
8485 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8486 parameter list to macro. Remove trailing semicolon. Adjust users.
8488 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8491 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8493 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8495 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8496 from unused variable.
8498 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8500 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8503 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8506 * sunrpc/rpc_prot.c (rejected): Fix case value.
8508 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8509 unsigned long long int to avoid warnings in shift.
8511 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8513 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8516 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8517 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8518 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8520 * nis/nis_table.c (nis_list): Use variable of correct type for
8521 result of __follow_path call.
8523 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8525 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8526 of math functions ceil, trunc, floor, round, and sqrt, when
8527 avaliable on the platform.
8528 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8530 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8531 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8532 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8534 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8536 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8537 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8539 2011-11-11 Roland McGrath <roland@hack.frob.com>
8541 * include/unistd.h: Fix __readlink return type.
8542 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8544 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8546 * stdlib/ucontext.h: Undo last change for makecontext.
8548 2011-11-11 Andreas Schwab <schwab@redhat.com>
8550 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8552 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8553 * setjmp/setjmp.h: Mark functions as non-leaf.
8554 * setjmp/bits/setjmp2.h: Likewise.
8555 * stdlib/ucontext.h: Likewise.
8557 2011-11-10 Andreas Schwab <schwab@redhat.com>
8559 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8560 (reused_arena): Don't check arena limit.
8561 (arena_get2): Atomically check arena limit.
8563 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8565 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8566 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8571 2011-11-07 Andreas Schwab <schwab@redhat.com>
8573 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8574 handler when locking.
8576 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8577 Fix size of allocated buffer.
8579 2011-11-04 Andreas Schwab <schwab@redhat.com>
8582 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8583 declarations for long double functions.
8584 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8586 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8588 2011-11-03 Andreas Schwab <schwab@redhat.com>
8590 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8593 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8596 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8598 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8600 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8602 * include/alloca.h (stackinfo_alloca_round): Define.
8603 (extend_alloca): Use it.
8604 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8605 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8608 * scripts/check-local-headers.sh: Ignore libaudit.h.
8610 * nscd/Makefile (extra-objs): Make recursively expanded.
8612 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8614 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8617 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8618 * posix/tst-rfc3484-2.c: Likewise.
8619 * posix/tst-rfc3484-3.c: Likewise.
8621 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8623 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8625 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8626 process_vm_writev from libc using GLIBC_2.15 version.
8628 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8630 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8632 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8635 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8638 * nss/getent.c (initgroups_keys): Show error message in case no group
8641 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8642 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8643 __bump_nl_timestamp.
8644 * nscd/connections (nscd_init): When host database is served open
8645 netlink socket and request notification about configuration changes.
8646 (main_loop_poll): Track netlink file descriptor and bump timestamp
8647 in case data becomes available.
8648 (main_loop_epoll): Likewise.
8649 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8650 (database_pers_head): Add extra_data fileds.
8651 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8652 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8653 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8655 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8656 in6ai data, call __free_in6ai.
8657 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8659 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8660 interface information. Reuse previous data if netlink timestamp
8662 (__bump_nl_timestamp): New function.
8663 (__free_in6ai): New function.
8665 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8667 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8668 close_not_cancel_no_status here.
8669 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8671 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8674 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8677 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8678 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8679 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8681 2011-07-03 Andreas Jaeger <aj@suse.de>
8684 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8685 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8686 * math/libm-test.inc (sin_test): Add test case.
8688 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8691 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8692 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8694 * elf/chroot_canon.c (chroot_canon): Cleanups.
8696 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8699 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8700 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8702 * string/test-strchr.c: Make usable for strchrnul testing.
8703 * string/test-strchrnul.c: New file.
8704 * string/Makefile (strop-tests): Add strchrnul.
8706 * po/it.po: Update from translation team.
8707 * po/es.po: Likewise.
8709 2011-10-28 Ulrich Drepper <drepper@gmail.com>
8711 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8712 the three constants needed as parameters. Drop the others.
8713 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8714 __m128i_strloadu_tolower.
8715 Create and initialize variable zero and use it in all the places
8716 where _mm_setzero_si128 was used.
8718 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8719 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8720 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8721 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8723 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8724 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8725 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8726 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8727 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8728 __mpranred, __mptan.
8729 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8730 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8731 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8732 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8733 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8734 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8735 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8736 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8737 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8739 2011-10-28 Andreas Schwab <schwab@redhat.com>
8741 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8743 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8745 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8746 wide char related routines to wcsmbs subdir.
8748 2011-10-27 Andreas Schwab <schwab@redhat.com>
8751 * misc/sys/cdefs.h (__THROWNL): Define.
8752 * posix/unistd.h: Use __THREADNL instead of __THREAD
8753 for memory synchronization functions.
8755 2011-10-26 Roland McGrath <roland@hack.frob.com>
8758 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8760 * manual/stdio.texi (Obstack Streams): Node removed.
8762 2011-10-26 Andreas Schwab <schwab@redhat.com>
8764 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8765 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8766 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8768 * math/math_private.h (math_force_eval): Allow non-addressable
8770 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8772 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8774 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8777 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8778 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8779 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8780 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8781 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8782 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8783 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8784 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8786 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8787 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8788 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8789 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8790 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8791 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8792 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8793 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8794 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8795 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8796 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8797 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8798 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8799 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8800 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8801 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8802 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8803 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8804 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8806 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8807 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8809 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8810 place. Use VEX encoding when compiling for AVX.
8812 2011-10-25 Andreas Schwab <schwab@redhat.com>
8814 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8815 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8817 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8819 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8821 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8822 useless if() expression.
8823 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8832 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8833 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8834 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8835 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8836 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8837 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8838 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8839 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8841 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8843 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8845 2011-10-25 Andreas Schwab <schwab@redhat.com>
8847 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8849 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8851 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8853 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8854 .text section. Avoid duplicate constants.
8855 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8865 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8867 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8870 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8872 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8878 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8879 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8880 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8881 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8882 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8883 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8884 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8885 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8886 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8887 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8888 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8889 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8890 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8891 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8892 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8893 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8894 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8895 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8896 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8897 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8898 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8899 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8901 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8903 * sysdeps/x86_64/dla.h: Move to ...
8904 * sysdeps/x86_64/fpu/dla.h: ...here.
8905 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8906 situations. Use __builtin_fma only for gcc 4.6 and up.
8908 * config.make.in: Add have-mfma4 entry.
8909 * configure.in: Substitute libc_cv_cc_fma4.
8910 * math/Makefile (dbl-only-routines): Add sincostab.
8911 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8912 Use __sincostab not sincos.
8913 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8915 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8920 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8921 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8922 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8923 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8925 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8926 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8928 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8929 define aliases when function name is a macro.
8930 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8931 sysdeps/ieee754/dbl-64/sincos.tbl.
8932 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8933 fma4-enabled routines.
8934 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8935 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8936 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8937 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8938 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8939 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8940 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8941 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8942 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8943 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8944 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8945 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8946 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8947 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8948 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8949 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8950 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8951 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8952 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8953 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8954 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8955 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8956 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8957 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8958 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8959 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8960 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8961 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8962 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8963 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8965 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8967 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8968 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8969 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8971 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8973 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8974 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8976 2011-10-24 Andreas Schwab <schwab@redhat.com>
8978 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8980 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8982 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8984 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8986 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8988 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8989 Remove unused variable magic_bits.
8990 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8992 * string/strnlen.c: Define and use STRNLEN macro.
8993 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8994 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8995 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8996 * wcsmbs/wcslen.c: Define and use WCSLEN.
8997 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8998 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8999 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9000 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9001 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9002 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9003 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9005 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9008 strnlen-sse2-no-bsf.
9009 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9010 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9011 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9012 Add strnlen support.
9013 (USE_AS_STRNLEN): New macro.
9014 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9015 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9016 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9017 * sysdeps/x86_64/wcslen.S: New file.
9019 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9021 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9022 XMM-moves are used for copying on small sizes.
9024 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9026 * wcsmbs/Makefile (strop-tests): Add wcschr.
9027 * wcsmbs/test-wcschr.c: New file.
9028 * string/test-strchr.c: Update.
9032 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9034 * wcsmbs/Makefile (strop-tests): Add wcslen.
9035 * wcsmbs/test-wcslen.c: New file.
9036 * string/test-strlen.c: Update.
9040 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9042 * po/it.po: Update from translation team.
9044 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9046 * sysdeps/x86_64/wcscmp.S: Update.
9047 Fix wrong comparison semantics.
9048 wcscmp shall use signed comparison not unsigned.
9049 Don't use substraction to avoid overflow bug.
9050 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9051 * wcsmbc/wcscmp.c: Likewise.
9052 * string/test-strcmp.c: Likewise.
9053 Add new tests to check cases with negative values.
9055 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9057 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9058 * sysdeps/x86_64/dla.h: ...here. New file.
9059 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9060 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9069 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9071 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9072 __ynl_finite aliases.
9074 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9078 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9080 [DLA_FMA] (EMULV): Use DLA_FMA.
9081 [DLA_FMA] (MUL12): Use EMULV.
9082 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9083 that are not needed.
9084 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9085 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9086 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9087 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9088 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9089 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9090 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9092 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9094 * math/s_nan.c: Undef __nan.
9095 * math/s_nanf.c: Undef __nanf.
9096 * math/s_nanl.c: Undef __nanl.
9097 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9100 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9102 * math/s_catan.c: Add branch predictions.
9103 * math/s_catanf.c: Likewise.
9104 * math/s_catanh.c: Likewise.
9105 * math/s_catanhf.c: Likewise.
9106 * math/s_catanhl.c: Likewise.
9107 * math/s_catanl.c: Likewise.
9108 * math/s_cexp.c: Likewise.
9109 * math/s_cexpf.c: Likewise.
9110 * math/s_cexpl.c: Likewise.
9111 * math/s_clog.c: Likewise.
9112 * math/s_clog10.c: Likewise.
9113 * math/s_clog10f.c: Likewise.
9114 * math/s_clog10l.c: Likewise.
9115 * math/s_clogf.c: Likewise.
9116 * math/s_clogl.c: Likewise.
9117 * math/s_csqrt.c: Likewise.
9118 * math/s_csqrtf.c: Likewise.
9119 * math/s_csqrtl.c: Likewise.
9120 * math/s_ctanf.c: Likewise.
9121 * math/s_ctanh.c: Likewise.
9122 * math/s_ctanhf.c: Likewise.
9123 * math/s_ctanhl.c: Likewise.
9124 * math/s_ctanl.c: Likewise.
9126 * math/math_private.h: Define __nan, __nanf, __nanl.
9127 * math/s_cacosh.c: Include <math_private.h>.
9128 * math/s_cacoshl.c: Likewise.
9129 * math/s_casinh.c: Likewise.
9130 * math/s_casinhf.c: Likewise.
9131 * math/s_casinhl.c: Likewise.
9132 * math/s_ccos.c: Rely entire on ccosh.
9133 * math/s_ccosf.c: Rely entire on ccoshf.
9134 * math/s_ccosl.c: Rely entirely on ccoshl.
9135 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9136 Remove tests for FE_INVALID.
9137 * math/s_ccoshf.c: Likewise.
9138 * math/s_ccoshl.c: Likewise.
9139 * math/s_csin.c: Likewise.
9140 * math/s_csinf.c: Likewise.
9141 * math/s_csinh.c Likewise.
9142 * math/s_csinhf.c: Likewise.
9143 * math/s_csinhl.c: Likewise.
9144 * math/s_csinl.c: Likewise.
9145 * math/s_ctan.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9147 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9148 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9150 2011-10-21 Ulrich Drepper <drepper@gmail.com>
9152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9153 compilation problems.
9155 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9158 2011-10-20 Ulrich Drepper <drepper@gmail.com>
9160 * sysdeps/i386/configure.in: Test for -mfma4 option.
9161 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9162 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9163 COMMON_CPUID_INDEX_80000001.
9164 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9165 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9166 use it if FMA3 is not supported.
9167 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9169 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9170 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9172 2011-10-20 Andreas Schwab <schwab@redhat.com>
9175 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9176 it would create a cycle with a link time dependency.
9178 2011-10-19 Ulrich Drepper <drepper@gmail.com>
9180 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9182 * string/Makefile (strop-tests): Add rawmemchr.
9183 * string/test-rawmemchr.c: New file.
9185 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9186 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9187 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9188 when compiling str{,n}casecmp and when AVX is available. Hook up
9189 new optimized code in initializers.
9191 2011-10-19 Andreas Schwab <schwab@redhat.com>
9193 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9194 __feraiseexcept instead of feraiseexcept.
9196 2011-10-18 Ulrich Drepper <drepper@gmail.com>
9198 * math/math_private.h: Define defaults for libc_fetestexcept and
9200 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9201 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9202 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9203 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9204 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9205 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9206 libc_fetestexcept and libc_feupdateenv.
9208 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9209 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9210 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9211 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9212 libc_feholdexcept_setround.
9214 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9215 Add s_nearbyint-c and s_nearbyintf-c.
9216 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9218 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9219 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9220 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9221 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9223 * math/math_private.h: Define defaults for libc_fegetround,
9224 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9225 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9226 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9227 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9228 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9230 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9231 Remove comments and hacks for old compiler versions.
9232 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9233 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9236 2011-10-18 Andreas Schwab <schwab@redhat.com>
9238 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9239 (__feraiseexcept_renamed): Add __NTH.
9240 (feraiseexcept): Add __NTH. Rename local variables to fix
9241 namespace violations.
9243 2011-10-17 Ulrich Drepper <drepper@gmail.com>
9245 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9247 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9249 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9250 recently added interfaces.
9251 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9253 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9254 about macro parameter expansion.
9256 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9257 __NO_MATH_INLINES is defined. Cleanups.
9259 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9260 and __floorf is target has SSE4.1.
9261 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9262 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9263 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9264 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9266 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9270 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9272 2011-10-17 Andreas Schwab <schwab@redhat.com>
9274 * misc/sys/cdefs.h: Fix last change.
9276 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9279 2011-10-16 Ulrich Drepper <drepper@gmail.com>
9281 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9283 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9284 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9285 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9286 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9287 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9288 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9289 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9290 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9291 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9292 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9293 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9294 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9295 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9296 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9297 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9298 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9299 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9300 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9301 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9302 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9303 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9304 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9306 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9307 ceil, ceilf, floor, floorf.
9309 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9310 Perform IRELATIVE relocations last.
9312 * elf/do-rel.h: Add another parameter nrelative, replacing the
9313 local variable with the same name. Change name of the function
9314 to end in Rel or Rela (uppercase).
9315 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9316 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9317 elf_dynamic_do_##reloc function.
9319 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9321 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9322 is sufficient, at least on modern CPUs.
9324 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9326 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9327 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9329 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9331 * math/bits/math-finite.h: Add entries for exp.
9332 * math/e_expl.c: Add __*_finite alias.
9333 * sysdeps/i386/fpu/e_exp.S: Likewise.
9334 * sysdeps/i386/fpu/e_expf.S: Likewise.
9335 * sysdeps/i386/fpu/e_expl.c: Likewise.
9336 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9337 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9338 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9340 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9341 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9342 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9344 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9345 is sufficient, at least on modern CPUs.
9347 * ctype/ctype-info.c (__ctype_init): Define.
9348 * include/ctype.h (__ctype_init): Declare.
9349 (__ctype_b_loc): The variable is always initialized.
9350 (__ctype_toupper_loc): Likewise.
9351 (__ctype_tolower_loc): Likewise.
9352 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9353 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9355 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9357 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9359 * configure.in: Also look in $cxxmachine/include for C++ system
9362 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9364 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9365 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9366 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9367 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9368 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9369 (USE_AS_WMEMCMP): New macro.
9371 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9372 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9373 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9374 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9376 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9377 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9378 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9379 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9380 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9381 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9382 (USE_AS_WMEMCMP): New macro.
9383 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9384 * sysdeps/string/test-memcmp.c: Update.
9387 * wcsmbs/wmemcmp.c: Update.
9388 (WMEMCMP): New macro.
9391 2011-10-12 Andreas Jaeger <aj@suse.de>
9394 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9396 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9398 * libio/iofwide.c (do_length): Avoid warning.
9400 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9402 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9404 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9406 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9407 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9408 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9409 * sysdeps/i386/i686/fpu/e_log.S: New file.
9410 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9411 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9413 * ctype/ctype.h: Add support for inlined isXXX functions when
9416 2011-10-14 Andreas Schwab <schwab@redhat.com>
9418 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9420 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9422 2011-10-13 Roland McGrath <roland@hack.frob.com>
9425 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9427 2011-10-13 Andreas Schwab <schwab@redhat.com>
9429 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9430 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9433 * sysdeps/x86_64/memrchr.S: Check for zero size.
9435 * string/stratcliff.c: Add memrchr tests.
9437 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9439 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9440 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9441 rawmemchr-sse2 rawmemchr-sse2-bsf.
9442 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9443 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9444 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9445 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9446 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9447 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9448 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9449 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9450 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9451 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9452 * string/memrchr.c (MEMRCHR): New macro.
9454 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9456 Add integration with gcc's -ffinite-math-only and optimize wrapper
9458 * Versions.def: Define GLIBC_2.15 version for libm.
9459 * math/Makefile (headers): Add bits/math-finite.h.
9460 * math/bits/math-finite.h: New file.
9461 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9462 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9463 * math/e_acoshl.c: Add __*_finite alias.
9464 * math/e_acosl.c: Likewise.
9465 * math/e_asinl.c: Likewise.
9466 * math/e_atan2l.c: Likewise.
9467 * math/e_atanhl.c: Likewise.
9468 * math/e_coshl.c: Likewise.
9469 * math/e_exp10.c: Likewise.
9470 * math/e_exp10f.c: Likewise.
9471 * math/e_exp10l.c: Likewise.
9472 * math/e_exp2l.c: Likewise.
9473 * math/e_fmodl.c: Likewise.
9474 * math/e_gammal_r.c: Likewise.
9475 * math/e_hypotl.c: Likewise.
9476 * math/e_j0l.c: Likewise.
9477 * math/e_j1l.c: Likewise.
9478 * math/e_jnl.c: Likewise.
9479 * math/e_lgammal_r.c: Likewise.
9480 * math/e_log10l.c: Likewise.
9481 * math/e_log2l.c: Likewise.
9482 * math/e_logl.c: Likewise.
9483 * math/e_powl.c: Likewise.
9484 * math/e_sinhl.c: Likewise.
9485 * math/e_sqrtl.c: Likewise.
9486 * math/e_scalb.c: Completely rewritten and optimized.
9487 * math/e_scalbf.c: Likewise.
9488 * math/e_scalbl.c: Likewise.
9489 * math/w_acos.c: Likewise.
9490 * math/w_acosf.c: Likewise.
9491 * math/w_acosl.c: Likewise.
9492 * math/w_acosh.c: Likewise.
9493 * math/w_acoshf.c: Likewise.
9494 * math/w_acoshl.c: Likewise.
9495 * math/w_asin.c: Likewise.
9496 * math/w_asinf.c: Likewise.
9497 * math/w_asinl.c: Likewise.
9498 * math/w_atan2.c: Likewise.
9499 * math/w_atan2f.c: Likewise.
9500 * math/w_atan2l.c: Likewise.
9501 * math/w_atanh.c: Likewise.
9502 * math/w_atanhf.c: Likewise.
9503 * math/w_atanhl.c: Likewise.
9504 * math/w_exp10.c: Likewise.
9505 * math/w_exp10f.c: Likewise.
9506 * math/w_exp10l.c: Likewise.
9507 * math/w_fmod.c: Likewise.
9508 * math/w_fmodf.c: Likewise.
9509 * math/w_fmodl.c: Likewise.
9510 * math/w_j0.c: Likewise.
9511 * math/w_j0f.c: Likewise.
9512 * math/w_j0l.c: Likewise.
9513 * math/w_j1.c: Likewise.
9514 * math/w_j1f.c: Likewise.
9515 * math/w_j1l.c: Likewise.
9516 * math/w_jn.c: Likewise.
9517 * math/w_jnf.c: Likewise.
9518 * math/w_log.c: Likewise.
9519 * math/w_logf.c: Likewise.
9520 * math/w_logl.c: Likewise.
9521 * math/w_log10.c: Likewise.
9522 * math/w_log10f.c: Likewise.
9523 * math/w_log10l.c: Likewise.
9524 * math/w_log2.c: Likewise.
9525 * math/w_log2f.c: Likewise.
9526 * math/w_log2l.c: Likewise.
9527 * math/w_pow.c: Likewise.
9528 * math/w_powf.c: Likewise.
9529 * math/w_powl.c: Likewise.
9530 * math/w_remainder.c: Likewise.
9531 * math/w_remainderf.c: Likewise.
9532 * math/w_remainderl.c: Likewise.
9533 * math/w_scalb.c: Likewise.
9534 * math/w_scalbf.c: Likewise.
9535 * math/w_scalbl.c: Likewise.
9536 * math/w_sqrt.c: Likewise.
9537 * math/w_sqrtf.c: Likewise.
9538 * math/w_sqrtl.c: Likewise.
9539 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9540 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9542 * math/math_private.h: Declare __kernel_standard_f.
9543 * math/w_cosh.c: Remove cruft and optimize a bit.
9544 * math/w_coshf.c: Likewise.
9545 * math/w_coshl.c: Likewise.
9546 * math/w_exp2.c: Likewise.
9547 * math/w_exp2f.c: Likewise.
9548 * math/w_exp2l.c: Likewise.
9549 * math/w_hypot.c: Likewise.
9550 * math/w_hypotf.c: Likewise.
9551 * math/w_hypotl.c: Likewise.
9552 * math/w_lgamma.c: Likewise.
9553 * math/w_lgamma_r.c: Likewise.
9554 * math/w_lgammaf.c: Likewise.
9555 * math/w_lgammaf_r.c: Likewise.
9556 * math/w_lgammal.c: Likewise.
9557 * math/w_lgammal_r.c: Likewise.
9558 * math/w_sinh.c: Likewise.
9559 * math/w_sinhf.c: Likewise.
9560 * math/w_sinhl.c: Likewise.
9561 * math/w_tgamma.c: Likewise.
9562 * math/w_tgammaf.c: Likewise.
9563 * math/w_tgammal.c: Likewise.
9564 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9565 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9566 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9567 Minor optimizations. Pretty printing. Remove cruft.
9568 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9569 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9570 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9571 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9572 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9573 * sysdeps/i386/fpu/e_asin.S: Likewise.
9574 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9575 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9576 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9577 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9578 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9579 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9580 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9581 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9582 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9583 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9584 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9585 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9586 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9587 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9588 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9589 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9590 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9591 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9592 * sysdeps/i386/fpu/e_log.S: Likewise.
9593 * sysdeps/i386/fpu/e_log10.S: Likewise.
9594 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9595 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9596 * sysdeps/i386/fpu/e_log2.S: Likewise.
9597 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9598 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9599 * sysdeps/i386/fpu/e_logf.S: Likewise.
9600 * sysdeps/i386/fpu/e_logl.S: Likewise.
9601 * sysdeps/i386/fpu/e_pow.S: Likewise.
9602 * sysdeps/i386/fpu/e_powf.S: Likewise.
9603 * sysdeps/i386/fpu/e_powl.S: Likewise.
9604 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9605 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9606 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9607 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9608 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9609 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9610 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9611 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9612 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9613 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9614 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9615 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9616 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9617 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9618 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9619 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9620 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9621 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9622 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9623 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9624 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9625 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9626 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9627 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9629 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9630 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9631 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9633 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9634 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9635 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9636 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9637 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9638 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9639 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9640 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9641 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9642 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9643 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9644 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9645 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9646 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9647 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9648 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9649 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9650 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9651 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9652 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9653 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9654 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9655 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9656 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9657 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9658 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9659 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9660 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9661 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9662 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9663 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9664 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9665 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9666 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9667 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9668 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9669 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9670 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9671 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9672 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9673 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9674 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9675 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9676 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9677 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9678 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9679 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9680 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9681 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9682 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9684 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9685 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9691 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9693 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9694 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9696 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9697 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9698 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9699 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9700 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9701 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9703 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9704 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9705 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9706 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9707 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9708 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9709 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9710 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9711 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9712 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9713 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9714 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9715 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9716 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9717 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9718 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9719 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9720 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9721 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9722 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9723 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9724 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9725 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9726 (__isnanf): Likewise.
9727 (__isinf_ns): Likewise.
9728 (__isinf_nsf): Likewise.
9729 (__finite): Likewise.
9730 (__finitef): Likewise.
9731 (__ieee754_sqrt): Define as macro.
9732 (__ieee754_sqrtf): Define as macro.
9733 (__ieee754_sqrtl): Define as macro.
9734 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9736 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9737 __FINITE_MATH_ONLY__ consistent.
9738 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9740 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9742 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9745 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9747 2011-10-09 Ulrich Drepper <drepper@gmail.com>
9749 * po/ja.po: Update from translation team.
9751 2011-10-08 Roland McGrath <roland@hack.frob.com>
9753 * locale/programs/locarchive.c (prepare_address_space): New function.
9754 (create_archive, enlarge_archive, open_archive): Use it.
9756 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9757 inside [SHARED], where it is used.
9759 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9761 * nss/getent.c (netgroup_keys): Remove unused variable.
9762 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9764 2011-10-08 Ulrich Drepper <drepper@gmail.com>
9766 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9767 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9768 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9769 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9770 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9771 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9772 * math/Makefile (libm-calls): Add s_isinf_ns.
9773 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9774 * math/multc3.c: Likewise.
9775 * math/s_casin.c: Likewise.
9776 * math/s_casinf.c: Likewise.
9777 * math/s_casinl.c: Likewise.
9778 * math/s_ccos.c: Likewise.
9779 * math/s_ccosf.c: Likewise.
9780 * math/s_ccosl.c: Likewise.
9781 * math/s_ctan.c: Likewise.
9782 * math/s_ctanf.c: Likewise.
9783 * math/s_ctanh.c: Likewise.
9784 * math/s_ctanhf.c: Likewise.
9785 * math/s_ctanhl.c: Likewise.
9786 * math/s_ctanl.c: Likewise.
9787 * math/w_fmod.c: Likewise.
9788 * math/w_fmodf.c: Likewise.
9789 * math/w_fmodl.c: Likewise.
9790 * math/w_remainder.c: Likewise.
9791 * math/w_remainderf.c: Likewise.
9792 * math/w_remainderl.c: Likewise.
9793 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9794 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9795 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9796 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9797 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9798 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9799 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9800 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9802 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9804 * stdio-common/printf_fphex.c: Likewise.
9805 * stdio-common/printf_size.c: Likewise.
9807 * math/e_exp10.c: Include math_private.h using <...> not "...".
9808 * math/e_exp10f.c: Likewise.
9809 * math/e_exp10l.c: Likewise.
9810 * math/e_exp2l.c: Likewise.
9811 * math/e_j0l.c: Likewise.
9812 * math/e_j1l.c: Likewise.
9813 * math/e_jnl.c: Likewise.
9814 * math/e_lgammal_r.c: Likewise.
9815 * math/e_rem_pio2l.c: Likewise.
9816 * math/e_scalb.c: Likewise.
9817 * math/e_scalbf.c: Likewise.
9818 * math/e_scalbl.c: Likewise.
9819 * math/k_cosl.c: Likewise.
9820 * math/k_sinl.c: Likewise.
9821 * math/k_tanl.c: Likewise.
9822 * math/s_cacoshf.c: Likewise.
9823 * math/s_catan.c: Likewise.
9824 * math/s_catanf.c: Likewise.
9825 * math/s_catanh.c: Likewise.
9826 * math/s_catanhf.c: Likewise.
9827 * math/s_catanhl.c: Likewise.
9828 * math/s_catanl.c: Likewise.
9829 * math/s_ccosh.c: Likewise.
9830 * math/s_ccoshf.c: Likewise.
9831 * math/s_ccoshl.c: Likewise.
9832 * math/s_cexp.c: Likewise.
9833 * math/s_cexpf.c: Likewise.
9834 * math/s_cexpl.c: Likewise.
9835 * math/s_clog.c: Likewise.
9836 * math/s_clog10.c: Likewise.
9837 * math/s_clog10f.c: Likewise.
9838 * math/s_clog10l.c: Likewise.
9839 * math/s_clogf.c: Likewise.
9840 * math/s_clogl.c: Likewise.
9841 * math/s_csin.c: Likewise.
9842 * math/s_csinf.c: Likewise.
9843 * math/s_csinh.c: Likewise.
9844 * math/s_csinhf.c: Likewise.
9845 * math/s_csinhl.c: Likewise.
9846 * math/s_csinl.c: Likewise.
9847 * math/s_csqrt.c: Likewise.
9848 * math/s_csqrtf.c: Likewise.
9849 * math/s_csqrtl.c: Likewise.
9850 * math/s_ctan.c: Likewise.
9851 * math/s_ctanf.c: Likewise.
9852 * math/s_ctanh.c: Likewise.
9853 * math/s_ctanhf.c: Likewise.
9854 * math/s_ctanhl.c: Likewise.
9855 * math/s_ctanl.c: Likewise.
9856 * math/s_ldexp.c: Likewise.
9857 * math/s_ldexpf.c: Likewise.
9858 * math/s_ldexpl.c: Likewise.
9859 * math/s_significand.c: Likewise.
9860 * math/s_significandf.c: Likewise.
9861 * math/s_significandl.c: Likewise.
9862 * math/w_acos.c: Likewise.
9863 * math/w_acosf.c: Likewise.
9864 * math/w_acosh.c: Likewise.
9865 * math/w_acoshf.c: Likewise.
9866 * math/w_acoshl.c: Likewise.
9867 * math/w_acosl.c: Likewise.
9868 * math/w_asin.c: Likewise.
9869 * math/w_asinf.c: Likewise.
9870 * math/w_asinl.c: Likewise.
9871 * math/w_atan2.c: Likewise.
9872 * math/w_atan2f.c: Likewise.
9873 * math/w_atan2l.c: Likewise.
9874 * math/w_atanh.c: Likewise.
9875 * math/w_atanhf.c: Likewise.
9876 * math/w_atanhl.c: Likewise.
9877 * math/w_cosh.c: Likewise.
9878 * math/w_coshf.c: Likewise.
9879 * math/w_coshl.c: Likewise.
9880 * math/w_dremf.c: Likewise.
9881 * math/w_exp10.c: Likewise.
9882 * math/w_exp10f.c: Likewise.
9883 * math/w_exp10l.c: Likewise.
9884 * math/w_exp2.c: Likewise.
9885 * math/w_exp2f.c: Likewise.
9886 * math/w_fmod.c: Likewise.
9887 * math/w_fmodf.c: Likewise.
9888 * math/w_fmodl.c: Likewise.
9889 * math/w_hypot.c: Likewise.
9890 * math/w_hypotf.c: Likewise.
9891 * math/w_hypotl.c: Likewise.
9892 * math/w_j0.c: Likewise.
9893 * math/w_j0f.c: Likewise.
9894 * math/w_j0l.c: Likewise.
9895 * math/w_j1.c: Likewise.
9896 * math/w_j1f.c: Likewise.
9897 * math/w_j1l.c: Likewise.
9898 * math/w_jn.c: Likewise.
9899 * math/w_jnf.c: Likewise.
9900 * math/w_jnl.c: Likewise.
9901 * math/w_lgamma.c: Likewise.
9902 * math/w_lgamma_r.c: Likewise.
9903 * math/w_lgammaf.c: Likewise.
9904 * math/w_lgammaf_r.c: Likewise.
9905 * math/w_lgammal.c: Likewise.
9906 * math/w_lgammal_r.c: Likewise.
9907 * math/w_log.c: Likewise.
9908 * math/w_log10.c: Likewise.
9909 * math/w_log10f.c: Likewise.
9910 * math/w_log10l.c: Likewise.
9911 * math/w_log2.c: Likewise.
9912 * math/w_log2f.c: Likewise.
9913 * math/w_log2l.c: Likewise.
9914 * math/w_logf.c: Likewise.
9915 * math/w_logl.c: Likewise.
9916 * math/w_pow.c: Likewise.
9917 * math/w_powf.c: Likewise.
9918 * math/w_powl.c: Likewise.
9919 * math/w_remainder.c: Likewise.
9920 * math/w_remainderf.c: Likewise.
9921 * math/w_remainderl.c: Likewise.
9922 * math/w_scalb.c: Likewise.
9923 * math/w_scalbf.c: Likewise.
9924 * math/w_scalbl.c: Likewise.
9925 * math/w_sinh.c: Likewise.
9926 * math/w_sinhf.c: Likewise.
9927 * math/w_sinhl.c: Likewise.
9928 * math/w_sqrt.c: Likewise.
9929 * math/w_sqrtf.c: Likewise.
9930 * math/w_sqrtl.c: Likewise.
9931 * math/w_tgamma.c: Likewise.
9932 * math/w_tgammaf.c: Likewise.
9933 * math/w_tgammal.c: Likewise.
9935 * po/ja.po: Update from translation team.
9937 2011-09-29 Andreas Jaeger <aj@suse.de>
9940 * sunrpc/netname.c (netname2host): Fix logic.
9944 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9946 * math/w_remainder.c (__remainder): Likewise.
9947 * math/w_remainderf.c (__remainderf): Likewise.
9948 * math/libm-test.inc (remainder_test): Add test cases.
9950 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9952 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9955 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9957 * string/test-memcmp.c: Avoid unncessary #defines.
9958 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9960 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9962 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9963 Use new sse2 version for core i3 - i7 as it's faster
9965 (bit_Prefer_PMINUB_for_stringop): New.
9966 * sysdeps/x86_64/rawmemchr.S: Update.
9967 Replace with faster SSE2 version.
9968 * sysdeps/x86_64/memrchr.S: New file.
9969 * sysdeps/x86_64/memchr.S: Update.
9970 Replace with faster SSE2 version.
9972 2011-09-12 Marek Polacek <mpolacek@redhat.com>
9974 * elf/dl-load.c (lose): Add cast to avoid warning.
9976 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9978 * po/ca.po: Update from translation team.
9980 * inet/getnetgrent_r.c: Hook up nscd.
9981 * nscd/Makefile (routines): Add nscd_netgroup.
9982 (nscd-modules): Add netgroupcache.
9983 (CFLAGS-netgroupcache.c): Define.
9984 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9985 (cache_search): Add const to second parameter.
9986 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9988 (dbs): Add netgrdb entry.
9989 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9990 (verify_persistent_db): Handle netgrdb.
9991 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9992 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9994 (netgroup_response_header): Define.
9995 (innetgroup_response_header): Define.
9996 (datahead): Add netgroup_response_header and innetgroup_response_header
9998 * nscd/nscd.conf: Add entries for netgroup cache.
9999 * nscd/nscd.h (dbtype): Add netgrdb.
10000 (_PATH_NSCD_NETGROUP_DB): Define.
10001 (netgroup_iov_disabled): Declare.
10002 (xmalloc, xcalloc, xrealloc): Move declarations here.
10003 (cache_search): Adjust prototype.
10004 Add netgroup-related prototypes.
10005 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10006 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10007 (__nscd_innetgr): Declare.
10008 * nscd/selinux.c (perms): Use access_vector_t as element type and
10009 add netgroup-related initializers.
10010 * nscd/netgroupcache.c: New file.
10011 * nscd/nscd_netgroup.c: New file.
10012 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10013 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10014 For four parameters use innetgr.
10015 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10016 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10017 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10018 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10020 * nscd/connections.c (register_traced_file): Don't register file
10021 for disabled databases.
10023 2011-10-06 Ulrich Drepper <drepper@gmail.com>
10025 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10027 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10028 from tree and freeing node.
10030 2011-09-25 Jiri Olsa <jolsa@redhat.com>
10032 * nss/nsswitch.c (__nss_database_lookup): Handle
10033 nss_parse_service_list out of memory case.
10035 2011-09-15 Jiri Olsa <jolsa@redhat.com>
10037 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10038 out of memory case.
10040 2011-10-04 Andreas Schwab <schwab@redhat.com>
10042 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10043 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10045 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10046 elf_machine_rela, elf_machine_lazy_rel.
10047 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10048 (ELF_DYNAMIC_DO_REL): Likewise.
10049 (ELF_DYNAMIC_DO_RELA): Likewise.
10050 (ELF_DYNAMIC_RELOCATE): Likewise.
10051 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10052 to ELF_DYNAMIC_DO_REL.
10053 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10054 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10055 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10057 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10058 skip_ifunc, don't call ifunc function if non-zero.
10059 (elf_machine_rela): Likewise.
10060 (elf_machine_lazy_rel): Likewise.
10061 (elf_machine_lazy_rela): Likewise.
10062 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10063 (elf_machine_lazy_rel): Likewise.
10064 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10066 (elf_machine_lazy_rel): Likewise.
10067 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10069 (elf_machine_lazy_rel): Likewise.
10070 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10071 (elf_machine_lazy_rel): Likewise.
10072 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10073 (elf_machine_lazy_rel): Likewise.
10074 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10075 (elf_machine_lazy_rel): Likewise.
10076 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10077 (elf_machine_lazy_rel): Likewise.
10078 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10079 (elf_machine_lazy_rel): Likewise.
10080 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10081 (elf_machine_lazy_rel): Likewise.
10083 2011-09-28 Ulrich Drepper <drepper@gmail.com>
10085 * nss/nss_files/files-init.c (_nss_files_init): Use static
10086 initialization for all the *_traced_file variables.
10088 2011-09-28 Andreas Schwab <schwab@redhat.com>
10090 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10092 2011-09-27 Roland McGrath <roland@hack.frob.com>
10095 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10097 2011-09-27 Andreas Schwab <schwab@redhat.com>
10099 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10100 Reread the line before reparsing it.
10102 2011-09-26 Andreas Schwab <schwab@redhat.com>
10104 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10106 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10107 Maxim Kuvyrkov <maxim@codesourcery.com>
10108 Joseph Myers <joseph@codesourcery.com>
10110 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10111 if needed for __stack_chk_guard.
10113 2011-09-19 Roland McGrath <roland@hack.frob.com>
10115 * sysdeps/posix/spawni.c (script_execute): Always define it.
10116 It will be optimized away if unused.
10117 (maybe_script_execute): New function.
10118 (__spawni): Call it.
10120 * Makerules: Don't include tls.make.
10121 (config-tls): Always set to thread.
10122 * tls.make.c: File removed.
10124 2011-09-19 Mike Frysinger <vapier@gentoo.org>
10126 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10127 * config.make.in (CPPFLAGS-config): New substituted variable.
10129 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10131 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10134 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10135 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10137 2011-09-15 Roland McGrath <roland@hack.frob.com>
10139 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10140 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10141 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10142 (CALL_FAIL): Likewise.
10143 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10144 (CALL_FAIL): Macro removed.
10145 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10147 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10149 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10150 for __FINITE_MATH_ONLY__ == 1.
10152 2011-09-15 Andreas Schwab <schwab@redhat.com>
10154 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10155 __ieee754_sqrt instead of sqrt.
10156 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10157 __ieee754_sqrtf instead of sqrtf.
10158 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10159 __floorf instead of floorf.
10160 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10161 __floorf, __truncf instead of floorf, truncf.
10163 2011-09-14 Ulrich Drepper <drepper@gmail.com>
10165 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10167 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10168 __extern_always_inline.
10169 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10172 2011-09-14 Andreas Schwab <schwab@redhat.com>
10174 * elf/rtld.c (dl_main): Also relocate in dependency order when
10175 doing symbol dependency testing.
10177 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10179 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10180 Always define `refsym'.
10182 2011-09-13 Andreas Schwab <schwab@redhat.com>
10184 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10185 (__FD_ELT): Renamed from __FDELT.
10186 * misc/bits/select2.h (__FD_ELT): Likewise.
10187 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10188 __FD_MASK instead of __FDELT, __FDMASK.
10189 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10191 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10194 * elf/Makefile (gen-ldd): Fix pattern.
10196 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10197 (init_tls): Likewise.
10199 2011-09-12 Ulrich Drepper <drepper@gmail.com>
10201 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10203 2011-09-12 Andreas Schwab <schwab@redhat.com>
10205 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10206 `struct cmsghdr *' instead of `void *'.
10207 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10210 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10212 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10214 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10215 ldd_rewrite_script.
10217 2011-09-11 Ulrich Drepper <drepper@gmail.com>
10219 * configure.in: Remove --with-tls option.
10220 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10221 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10222 out in case it is missing.
10223 * sysdeps/ia64/elf/configure.in: Likewise.
10224 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10225 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10226 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10227 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10228 * sysdeps/sh/elf/configure.in: Likewise.
10229 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10230 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10231 * sysdeps/x86_64/elf/configure.in: Likewise.
10232 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10233 * sysdeps/mach/hurd/tls.h: Likewise.
10236 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10239 * configure.in: Fix use of AC_INIT.
10241 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10243 2011-09-10 Ulrich Drepper <drepper@gmail.com>
10245 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10247 * malloc/hooks.c: Likewise.
10250 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10251 variables statically.
10252 (narenas): Initialize.
10253 (list_lock): Initialize.
10254 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10255 initializtion of main_arena and list_lock. Small cleanups.
10256 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10257 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10258 Add initializers to main_arena and mp_.
10259 (malloc_state): Remove pagesize member. Change all users to use
10262 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10263 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10264 is always initialized.
10266 * malloc/malloc.c: Removed unused configurations and dead code.
10267 * malloc/arena.c: Likewise.
10268 * malloc/hooks.c: Likewise.
10269 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10271 * include/tls.h: Removed. USE___THREAD must always be defined.
10272 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10273 * elf/dl-libc.c: Likewise.
10274 * elf/dl-tsd.c: Likewise.
10275 * include/errno.h: Likewise.
10276 * include/netdb.h: Likewise.
10277 * include/resolv.h: Likewise.
10278 * inet/herrno-loc.c: Likewise.
10279 * inet/herrno.c: Likewise.
10280 * malloc/arena.c: Likewise.
10281 * malloc/hooks.c: Likewise.
10282 * malloc/malloc.c: Likewise.
10283 * resolv/res-state.c: Likewise.
10284 * resolv/res_libc.c: Likewise.
10285 * sysdeps/i386/dl-machine.h: Likewise.
10286 * sysdeps/ia64/dl-machine.h: Likewise.
10287 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10288 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10289 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10290 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10291 * sysdeps/sh/dl-machine.h: Likewise.
10292 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10293 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10294 * sysdeps/unix/i386/sysdep.S: Likewise.
10295 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10296 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10297 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10298 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10299 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10300 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10301 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10303 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10304 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10305 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10306 * sysdeps/x86_64/dl-machine.h: Likewise.
10307 * tls.make.c: Likewise.
10309 * configure.in: Remove --with-__thread option. Make tests for
10310 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10311 tls_model attribute fail if no support is available. Remove
10313 * Makeconfig: Adjust for dropped configure option. All features are
10315 * Makerules: Likewise.
10316 * Versions.def: Likewise.
10317 * argp/argp-fmtstream.c: Likewise.
10318 * argp/argp-fmtstream.h: Likewise.
10319 * argp/argp-help.c: Likewise.
10320 * assert/assert.c: Likewise.
10321 * config.h.in: Likewise.
10322 * config.make.in: Likewise.
10323 * configure: Likewise.
10324 * configure.in: Likewise.
10325 * csu/Versions: Likewise.
10326 * csu/init.c: Likewise.
10327 * elf/tst-audit2.c: Likewise.
10328 * elf/tst-tls10.c: Likewise.
10329 * elf/tst-tls10.h: Likewise.
10330 * elf/tst-tls11.c: Likewise.
10331 * elf/tst-tls12.c: Likewise.
10332 * elf/tst-tls14.c: Likewise.
10333 * elf/tst-tlsmod11.c: Likewise.
10334 * elf/tst-tlsmod12.c: Likewise.
10335 * elf/tst-tlsmod13.c: Likewise.
10336 * elf/tst-tlsmod13a.c: Likewise.
10337 * elf/tst-tlsmod14a.c: Likewise.
10338 * elf/tst-tlsmod15b.c: Likewise.
10339 * elf/tst-tlsmod16a.c: Likewise.
10340 * elf/tst-tlsmod16b.c: Likewise.
10341 * elf/tst-tlsmod7.c: Likewise.
10342 * elf/tst-tlsmod8.c: Likewise.
10343 * elf/tst-tlsmod9.c: Likewise.
10344 * gmon/gmon.c: Likewise.
10345 * grp/fgetgrent_r.c: Likewise.
10346 * grp/putgrent.c: Likewise.
10347 * hurd/fopenport.c: Likewise.
10348 * include/libc-symbols.h: Likewise.
10349 * include/tls.h: Likewise.
10350 * intl/gettextP.h: Likewise.
10351 * intl/loadinfo.h: Likewise.
10352 * locale/global-locale.c: Likewise.
10353 * locale/localeinfo.h: Likewise.
10354 * mach/devstream.c: Likewise.
10355 * malloc/arena.c: Likewise.
10356 * malloc/set-freeres.c: Likewise.
10357 * misc/err.c: Likewise.
10358 * misc/getttyent.c: Likewise.
10359 * misc/mntent_r.c: Likewise.
10360 * posix/getopt.c: Likewise.
10361 * posix/wordexp.c: Likewise.
10362 * pwd/fgetpwent_r.c: Likewise.
10363 * resolv/Versions: Likewise.
10364 * resolv/res_hconf.c: Likewise.
10365 * shadow/fgetspent_r.c: Likewise.
10366 * shadow/putspent.c: Likewise.
10367 * stdio-common/printf_fphex.c: Likewise.
10368 * stdio-common/tmpfile.c: Likewise.
10369 * stdlib/abort.c: Likewise.
10370 * stdlib/fmtmsg.c: Likewise.
10371 * sunrpc/auth_unix.c: Likewise.
10372 * sunrpc/clnt_perr.c: Likewise.
10373 * sunrpc/clnt_tcp.c: Likewise.
10374 * sunrpc/clnt_udp.c: Likewise.
10375 * sunrpc/clnt_unix.c: Likewise.
10376 * sunrpc/openchild.c: Likewise.
10377 * sunrpc/svc_simple.c: Likewise.
10378 * sunrpc/svc_tcp.c: Likewise.
10379 * sunrpc/svc_udp.c: Likewise.
10380 * sunrpc/svc_unix.c: Likewise.
10381 * sunrpc/xdr.c: Likewise.
10382 * sunrpc/xdr_array.c: Likewise.
10383 * sunrpc/xdr_rec.c: Likewise.
10384 * sunrpc/xdr_ref.c: Likewise.
10385 * sunrpc/xdr_stdio.c: Likewise.
10387 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10389 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10391 2011-07-03 Andreas Jaeger <aj@suse.de>
10393 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10394 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10395 regenerate with gen-libm-tests.pl.
10397 2010-05-12 Petr Baudis <pasky@suse.cz>
10400 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10401 around j0() zero points by switching to j1().
10402 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10403 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10404 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10405 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10407 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10409 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10411 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10414 Patch in part by Pavel Roskin <proski@gnu.org>.
10417 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10419 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10420 Free memory block if necessary.
10423 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10424 be NULL. Don't lock in this case.
10426 2011-09-09 Roland McGrath <roland@hack.frob.com>
10428 * elf/elf.h (ELFOSABI_GNU): New macro.
10429 (ELFOSABI_LINUX): Define to that.
10431 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10433 * string/strncat.c (strncat): Undef the symbol in case it has been
10434 defined in bits/string.h.
10436 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10438 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10440 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10443 2011-08-17 Andreas Jaeger <aj@suse.de>
10445 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10447 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10448 Ian Lance Taylor <iant@google.com>
10450 * math/libm-test.inc (lround_test): New testcase.
10451 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10453 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10455 * Makefile: Remove support for automatic cvs check-ins.
10456 * Makerules: Likewise.
10457 * config.make.in: Likewise.
10458 * configure.in: Likewise.
10459 * intl/Makefile: Likewise.
10460 * locale/Makefile: Likewise.
10461 * po/Makefile: Likewise.
10462 * posix/Makefile: Likewise.
10463 * sysdeps/gnu/Makefile: Likewise.
10464 * sysdeps/mach/hurd/Makefile: Likewise.
10465 * sysdeps/sparc/sparc32/Makefile: Likewise.
10468 * posix/Makefile (bug-regex32-ENV): Define.
10469 Patch by John Stanley <jpsinthemix@verizon.net>.
10471 * misc/Makefile (headers): Add bits/select2.h.
10472 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10473 * misc/bits/select2.h: New file.
10474 * include/bits/select2.h: New file.
10475 * debug/Makefile (routines): Add fdelt_chk.
10476 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10477 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10479 * debug/fdelt_chk.c: New file.
10481 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10482 * wcsmbs/test-wmemcmp.c: Likewise.
10483 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10484 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10486 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10488 * string/Makefile (strop-tests): Add memcmp.
10489 * string/test-wmemcmp.c: New file.
10490 * string/test-memcmp.c: Add wmemcmp support.
10492 2011-09-08 Roland McGrath <roland@hack.frob.com>
10495 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10498 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10499 garbage value in a __mach_port_mod_refs call in the cases of the
10500 task-self and thread-self ports.
10502 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10504 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10506 2011-09-08 Andreas Schwab <schwab@redhat.com>
10508 * elf/dl-load.c (lose): Check for non-null L.
10510 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10512 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10514 * elf/dl-libc.c (dlerror_run): Pass back error code from
10518 * elf/dl-load.c (lose): Free l_origin if it is valid.
10520 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10522 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10523 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10524 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10525 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10526 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10527 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10529 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10531 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10532 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10533 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10534 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10535 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10536 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10537 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10538 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10539 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10540 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10542 2011-08-15 Alan Modra <amodra@gmail.com>
10545 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10546 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10547 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10548 ppc_mcount to static-only-routines.
10549 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10551 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10552 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10554 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10556 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10557 for finite and infinity parameters.
10559 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10562 and add nop instructions for throughput optimization.
10563 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10565 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10567 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10568 aligned copy for power7 with vector-scalar instructions.
10569 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10571 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10573 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10576 2011-09-07 Andreas Schwab <schwab@redhat.com>
10579 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10582 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10584 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10585 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10586 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10587 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10590 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10592 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10593 Forgot to demangle the pointer.
10595 * sysdeps/i386/sysdep.h: Define atom_text_section.
10596 * sysdeps/x86_64/sysdep.h: Likewise.
10597 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10598 section with atom_text_section.
10599 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10600 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10601 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10602 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10603 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10605 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10606 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10607 already be defined. Change to take two parameters and don't assign
10608 result to variable. Adjust all users.
10609 Define INTERNAL_GETTIME if not already defined.
10610 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10613 HAVE_CLOCK_GETTIME_VSYSCALL.
10614 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10616 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10617 gettimeofday vsyscall, just use time.
10619 2011-09-06 Andreas Schwab <schwab@redhat.com>
10621 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10624 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10626 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10628 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10630 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10631 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10632 syscall if possible.
10634 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10636 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10637 e_ident. Don't pass to find_mapsXX.
10638 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10640 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10643 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10644 * sysdeps/x86_64/multiarch/strchr.S: Update.
10645 Check bit_slow_BSF bit.
10646 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10647 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10648 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10650 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10653 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10655 (tryshell): Define.
10656 (__spawni): Change last parameter to be flag. Test
10657 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10658 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10659 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10660 * posix/spawni.c: Likewise.
10661 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10662 * posix/spawnp.c: Likewise. Change normal version to use
10663 SPAWN_XFLAGS_USE_PATH.
10664 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10665 SPAWN_XFLAGS_TRY_SHELL.
10668 * posix/glob.h: Remove gcc 1.x support.
10671 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10673 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10675 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10676 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10678 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10679 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10680 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10681 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10682 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10683 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10685 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10687 * sysdeps/x86_64/wcscmp.S: New file.
10689 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10690 wcscmp-c wcscmp-sse2
10691 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10692 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10693 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10694 * wcsmbs/wcscmp.c: Allow renaming.
10696 2011-09-05 David S. Miller <davem@davemloft.net>
10698 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10699 stack slot, rather than the struct return pointer slot.
10700 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10701 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10703 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10705 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10707 * po/ja.po: Update from translation team.
10710 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10711 kernel in 64-bit binaries.
10713 2011-09-01 David S. Miller <davem@davemloft.net>
10715 * elf/elf.h (HWCAP_SPARC_*): Move to..
10716 * sysdeps/sparc/sysdep.h: this new file and add new values.
10717 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10718 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10719 _DL_HWCAP_COUNT to 24.
10720 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10722 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10723 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10724 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10725 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10726 instead of magic constants.
10727 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10729 2011-08-31 David S. Miller <davem@davemloft.net>
10731 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10732 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10733 Reimplement to do errno handling inline.
10734 (SYSCALL_ERROR_HANDLER): New macro.
10735 (__SYSCALL_STRING): Do not do errno handling in asm.
10736 (__CLONE_SYSCALL_STRING): Delete.
10737 (__INTERNAL_SYSCALL_STRING): Delete.
10738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10739 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10740 (PSEUDO): Reimplement to do errno handling inline.
10741 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10742 (SYSCALL_ERROR_HANDLER): New macro.
10743 (__SYSCALL_STRING): Do not do errno handling in asm.
10744 (__CLONE_SYSCALL_STRING): Delete.
10745 (__INTERNAL_SYSCALL_STRING): Delete.
10746 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10747 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10749 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10750 (inline_syscall*): Add 'err' argument.
10751 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10752 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10753 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10754 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10756 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10757 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10759 2011-08-30 Andreas Schwab <schwab@redhat.com>
10761 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10763 2011-08-29 Jiri Olsa <jolsa@redhat.com>
10765 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10768 2011-08-24 David S. Miller <davem@davemloft.net>
10770 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10772 2011-08-24 Andreas Schwab <schwab@redhat.com>
10774 * elf/Makefile: Add rules to build and run unload8 test.
10775 * elf/unload8.c: New file.
10776 * elf/unload8mod1.c: New file.
10777 * elf/unload8mod1x.c: New file.
10778 * elf/unload8mod2.c: New file.
10779 * elf/unload8mod3.c: New file.
10781 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10784 2011-08-23 David S. Miller <davem@davemloft.net>
10786 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10787 subtract stack bias.
10788 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10789 %sp not %fp in calculations.
10790 (_JMPBUF_UNWINDS_ADJ): Likewise.
10792 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10793 (aio_suspend): Call it to force an exception region around the
10794 AIO_MISC_WAIT() invocation.
10796 2011-08-23 Andreas Schwab <schwab@redhat.com>
10798 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10801 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10803 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10805 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10806 and <dl-machine.h>.
10807 (Elf64_FuncDesc): Remove.
10809 2011-08-22 David S. Miller <davem@davemloft.net>
10811 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10812 sigaltstack check, add missing cfi directives.
10813 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10814 missing cfi directives, and sigaltstack handling.
10816 2011-08-16 Andreas Schwab <schwab@redhat.com>
10819 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10820 object is seen twice.
10821 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10823 * elf/Makefile (distribute): Add tst-initorder2.c.
10824 (tests): Add tst-initorder2.
10825 (modules-names): Add tst-initorder2a tst-initorder2b
10826 tst-initorder2c tst-initorder2d. Add rules to build them.
10827 ($(objpfx)tst-initorder2.out): New rule.
10828 * elf/tst-initorder2.c: New file.
10829 * elf/tst-initorder2.exp: New file.
10831 2011-08-22 Andreas Schwab <schwab@redhat.com>
10833 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10835 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10836 dependencies back to end of function.
10838 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10839 $(elfobjdir)/ld.so.
10841 2011-08-21 Ulrich Drepper <drepper@gmail.com>
10843 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10844 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10845 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10846 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10847 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10848 of __vdso_gettimeofday.
10849 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10850 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10852 (_libc_vdso_platform_setup): Remove initialization of
10853 __vdso_gettimeofday and __vdso_time.
10855 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10857 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10858 and fgetc_unlocked.
10859 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10862 * elf/dl-open.c (add_to_global): Report additions to the global scope
10863 for LD_DEBUG=scopes.
10864 (dl_open_worker): Also print scope of newly loaded dependencies.
10865 (_dl_show_scope): Indicate if there is no scope.
10868 * stdio-common/Makefile (tests): Add bug24.
10869 * stdio-common/bug24.c: New file.
10871 2011-08-19 Andreas Jaeger <aj@suse.de>
10874 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10875 non-existant file when using close-on-exec mode.
10877 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10879 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10880 the very first instruction.
10882 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10883 the CFI state in the end.
10884 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10885 inclusion of dl-trampoline.h.
10886 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10888 2011-08-19 Andreas Schwab <schwab@redhat.com>
10890 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10891 expectations for long double.
10893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10894 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10896 2011-08-14 David S. Miller <davem@davemloft.net>
10898 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10899 artificual limit depends upon the system page size.
10901 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10903 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10904 * resolv/Makefile: Define CFLAGS-libresolv.
10906 2011-08-17 Andreas Schwab <schwab@redhat.com>
10908 * nss/makedb.c (compute_tables): Make variables used in nested
10911 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10913 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10914 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10915 if buffer was too small.
10917 * elf/pldd.c (main): Attach to all threads in the process.
10918 Rewrite /proc handling to use *at functions.
10920 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10922 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10923 specifies first scope to show.
10924 (dl_open_worker): Update callers. Move printing scope of new
10925 object to before the relocation.
10926 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10927 * sysdeps/generic/ldsodefs.h: Update declaration.
10929 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10930 string for the scope number.
10932 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10934 * nscd/servicescache.c (cache_addserv): Make sure written is always
10937 2011-08-14 Roland McGrath <roland@hack.frob.com>
10939 * sysdeps/i386/i486/bits/atomic.h
10940 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10941 statement expression, so as to suppress "set but not used" warning.
10942 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10944 * string/strncat.c (STRNCAT): Use prototype definition.
10946 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10947 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10949 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10950 (localedef-modules): Add localedef.
10951 (locale-modules): Add locale.
10953 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10954 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10955 to avoid a warning.
10957 2011-08-14 David S. Miller <davem@davemloft.net>
10959 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10960 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10962 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10964 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10965 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10966 * elf/rtld.c (dl_main): Set l_name of vDSO.
10967 Call _dl_show_scope when DL_DEBUG_SCOPES.
10968 (process_dl_debug): Recognize scopes flag and also set it for all.
10969 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10970 Declare _dl_show_scope.
10972 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10973 (do_dlopen): Pass caller_dlopen to dl_open.
10974 (__libc_dlopen_mode): Initialize caller_dlopen.
10976 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10977 of libc. Make tolower call locale-independent. Optimize a bit by
10978 using isdigit instead of isalnum.
10979 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10981 2011-08-12 Ulrich Drepper <drepper@gmail.com>
10983 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10984 was a dependency or dynamically loaded.
10986 2011-08-11 Ulrich Drepper <drepper@gmail.com>
10988 * intl/l10nflist.c: Allow architecture-specific pop function.
10989 * sysdeps/x86_64/l10nflist.c: New file.
10991 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10994 2011-08-10 Andreas Schwab <schwab@redhat.com>
10996 * include/dirent.h: Add libc_hidden_proto for scandirat and
10997 scandirat64. Don't declare __scandirat64.
10998 * dirent/scandirat.c: Add libc_hidden_def.
10999 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11000 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11002 2011-08-10 David S. Miller <davem@davemloft.net>
11004 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11006 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11007 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11008 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11010 2011-08-09 Ulrich Drepper <drepper@gmail.com>
11012 * Versions.def [libc]: Add GLIBC_2.15.
11013 * dirent/Makefile (routines): Add scandirat and scandirat64.
11014 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11016 * dirent/dirent.h: Declare scandirat and scandirat64.
11017 * dirent/scandirat.c: New file.
11018 * dirent/scandirat64.c: New file.
11019 * sysdeps/wordsize-64/scandirat.c: New file.
11020 * sysdeps/wordsize-64/scandirat64.c: New file.
11021 * dirent/opendir.c: Define opendirat.
11022 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11024 * dirent/scandir64.c: Adjust for scandir.c change.
11025 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11026 __scandirat64, and __scandir_cancel_handler.
11027 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11028 additional parameter and use openat instead of open (outside of ld.so).
11029 Add new __opendir as wrapper around __opendirat.
11030 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11031 here without requiring old scandirat implementation.
11033 2011-08-08 Ulrich Drepper <drepper@gmail.com>
11035 * dirent/scandir.c (cancel_handler): Renamed to
11036 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11037 defined. Adjust users.
11038 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11039 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11041 2011-08-04 Ulrich Drepper <drepper@gmail.com>
11043 * string/test-string.h (IMPL): Use __STRING to expand name and then
11046 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11049 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11051 * string/Makefile: Update.
11052 (strop-tests): Append strncat.
11053 * string/test-wcscmp.c: New file.
11054 New comprehensive test for wcscmp.
11055 * string/test-strcmp.c: Update.
11056 (WIDE): New define.
11058 2011-07-22 Andreas Schwab <schwab@redhat.com>
11060 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11063 2011-07-26 Andreas Schwab <schwab@redhat.com>
11065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11066 encoding to ACE if AI_IDN.
11068 2011-08-01 Jakub Jelinek <jakub@redhat.com>
11070 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11071 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11073 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11075 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11076 Fix overflow bug in strncat.
11077 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11079 * string/test-strncat.c: Update.
11080 Add new tests for checking overflow bugs.
11082 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11085 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11086 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11087 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11088 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11089 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11090 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11091 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11092 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11094 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11095 (USE_AS_STRCAT): Define.
11096 Add strcat and strncat support.
11097 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11099 2011-07-25 Andreas Schwab <schwab@redhat.com>
11101 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11102 __n bigger than INT_MAX+1.
11103 (__strncmp_g): Likewise.
11105 2011-07-23 Ulrich Drepper <drepper@gmail.com>
11107 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11108 * libio/stido.h: Likewise.
11110 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11112 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11115 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11116 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11117 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11118 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11119 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11122 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11127 (_dl_x86_64_save_sse): Likewise.
11129 2011-07-22 Ulrich Drepper <drepper@gmail.com>
11131 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11133 (_dl_x86_64_save_sse): Likewise.
11135 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11137 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11139 2011-07-21 Andreas Schwab <schwab@redhat.com>
11141 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11143 (_dl_x86_64_save_sse): Use correct AVX check.
11145 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11147 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11148 bug in strncpy/strncat.
11149 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11151 2011-07-21 Ulrich Drepper <drepper@gmail.com>
11153 * string/tester.c (test_strcat): Add tests for different alignments
11154 of source and destination.
11155 (test_strncat): Likewise.
11157 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11160 * posix/glob.c (glob): Check passed in values before using them in
11161 expressions to avoid some overflows.
11162 (glob_in_dir): Likewise.
11165 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11166 check for AVX enablement so that we don't crash with old kernels and
11168 * elf/tst-audit4.c: Add same checks here.
11169 * elf/tst-audit6.c: Likewise.
11171 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
11173 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11175 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11177 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11179 * po/cs.po: Update from translation team.
11180 * po/bg.po: Likewise.
11182 2011-07-12 Marek Polacek <mpolacek@redhat.com>
11184 * misc/sys/cdefs.h: Add support for const attribute.
11185 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11186 to gnu_dev_{major,minor,makedev} functions.
11188 2011-07-20 Marek Polacek <mpolacek@redhat.com>
11190 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11192 2011-07-20 Andreas Schwab <schwab@redhat.com>
11194 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11197 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11199 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11200 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11201 register in order to avoid conflicts with the soft frame pointer
11202 being held in r11 when necessary.
11203 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11204 (INTERNAL_VSYSCALL_NCS): Likewise.
11206 2011-07-14 Marek Polacek <mpolacek@redhat.com>
11208 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11209 * elf/dl-fini.c (_dl_fini): Adjust caller.
11210 * elf/dl-close.c (_dl_close_worker): Likewise.
11211 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11213 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11215 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11216 "aux_cache->nlibs < 0".
11218 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11219 in the reload-count case.
11221 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11224 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11225 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11226 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11227 * sysdeps/x86_64/multiarch/strcat.S: New file.
11228 * sysdeps/x86_64/multiarch/strncat.S: New file.
11229 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11230 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11231 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11232 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11233 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11234 (USE_AS_STRCAT): Define.
11235 Add strcat and strncat support.
11236 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11237 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11238 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11239 * string/strncat.c: Update.
11240 (USE_AS_STRNCAT): Define.
11241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11242 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11244 * sysdeps/x86_64/multiarch/init-arch.h
11245 (bit_Prefer_PMINUB_for_stringop): New.
11246 (index_Prefer_PMINUB_for_stringop): Likewise.
11247 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11248 bit_Prefer_PMINUB_for_stringop.
11250 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11252 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11254 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11255 of casting of buffer.
11256 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11257 buffer32 and buffer64.
11258 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11259 writes instead of casting of buffer.
11260 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11262 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11265 2011-07-19 Andreas Schwab <schwab@redhat.com>
11267 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11269 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11271 * nscd/nscd.c (termination_handler): Don't do anything for a database
11272 if it has not yet been initialized.
11274 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11276 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11278 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11280 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11282 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11284 * po/nl.po: Update from translation team.
11285 * po/sv.po: Likewise.
11287 2011-07-16 Roland McGrath <roland@hack.frob.com>
11289 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11290 now disallowed by GCC.
11292 * configure.in (use-default-link): Default to yes if a test -shared
11293 link meets our qualifications.
11294 * configure: Regenerated.
11296 * config.make.in (output-format): New variable.
11297 * configure.in: Check for ld --print-output-format support.
11298 * configure: Regenerated.
11299 * Makerules ($(common-objpfx)format.lds)
11300 [$(output-format) != unknown]: Just use $(output-format),
11301 instead of the linker-script munging.
11303 2011-07-14 Roland McGrath <roland@hack.frob.com>
11305 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11306 of $(common-objpfx)shlib.lds.
11307 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11309 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11310 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11312 * configure.in (-z relro check): Adjust test code to add a large
11313 writable data section after it.
11314 * configure: Regenerated.
11316 2011-07-11 Roland McGrath <roland@hack.frob.com>
11318 * configure.in (-z relro check): Fix test code to make the variable
11320 * configure: Regenerated.
11322 2011-07-11 Ulrich Drepper <drepper@gmail.com>
11324 * nscd/nscd.h (struct traced_file): Define.
11325 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11326 elements. Add traced_files.
11327 (inotify_fd): Declare.
11328 (register_traced_file): Declare.
11329 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11330 (inotify_fd): Export.
11331 (resolv_conf_descr): Remove.
11332 (nscd_init): Move inotify descriptor creation to main.
11333 Don't register files for notification here.
11334 (register_traced_file): New function.
11335 (invalidate_cache): Don't use reset_res to determine whether to call
11336 res_init, go through the list of registered files.
11337 (main_loop_poll): The inotify descriptors are now stored in the
11338 structures for the traced files.
11339 (main_loop_epoll): Likewise
11340 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11341 to __nss_disable_nscd.
11342 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11343 for a database anymore. Check the records for all the registered
11345 * nss/Makefile (libnss_files-routines): Add files-init.
11346 (libnss_db-routines): Add db-init.
11347 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11348 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11349 * nss/nss_db/db-init.c: New file.
11350 * nss/nss_files/files-init.c: New file.
11351 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11352 __nss_lookup_function.
11353 (__nss_lookup_function): Call nss_load_library.
11354 (nss_load_all_libraries): New function.
11355 (__nss_disable_nscd): Take parameter with callback function for files
11356 to register. Set is_nscd. Load all the DSOs for the NSS modules
11357 used for the cached services.
11358 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11359 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11360 options for features to all the files in nscd.
11362 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11364 2011-07-10 Roland McGrath <roland@hack.frob.com>
11366 * csu/elf-init.c (__libc_csu_init): Comment typo.
11368 2011-07-09 Ulrich Drepper <drepper@gmail.com>
11370 * po/pl.po: Update from translation team.
11371 * po/ja.po: Likewise.
11372 * po/ru.po: Likewise.
11373 * po/ko.po: Likewise.
11374 * po/fr.po: Likewise.
11376 2011-07-09 Roland McGrath <roland@hack.frob.com>
11378 * configure.in (.ctors/.dtors header and trailer check):
11379 Use an empirical test on a built program.
11380 * configure: Regenerated.
11382 * configure.in (-z relro check): Use an empirical test on a built DSO.
11383 Detect, but do not require, on ia64.
11384 * configure: Regenerated.
11386 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11387 Update tests that use readelf to use $READELF instead.
11388 * configure: Regenerated.
11390 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11392 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11393 if the result is not used.
11395 2011-07-05 Andreas Jaeger <aj@suse.de>
11398 * stdlib/tst-strtod.c: Add testcase.
11400 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11402 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11403 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11404 The latter has a higher limit. Take additional parameter to pass to
11406 (__pathconf): Pass file to __statfs_link_max.
11407 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11409 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11413 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11414 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11416 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11417 (__statfs_filesize_max): Likewise.
11418 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11420 2011-07-05 Andreas Jaeger <aj@suse.de>
11422 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11424 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11426 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11428 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11431 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11433 * Makefile (strop-tests): Add strncat.
11434 * string/test-strncat.c: New file.
11436 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11438 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11440 2011-06-21 Andreas Jaeger <aj@suse.de>
11442 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11443 Copy rule from iconvdata/Makefile.
11445 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11448 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11449 but no long options are defined, just return 'W'.
11451 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11454 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11456 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11458 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11460 (innetgr): Likewise.
11462 2011-07-05 Roland McGrath <roland@hack.frob.com>
11464 * config.make.in (install_root): Default to $(DESTDIR).
11466 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11468 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11470 2011-07-02 Roland McGrath <roland@hack.frob.com>
11472 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11474 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11475 containing directory rather than embedding absolute directory names.
11477 * scripts/check-local-headers.sh: Rewritten using awk.
11478 Match by word, not by line. Print error messages for matches.
11479 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11481 * Makerules [shlib-lds-flags empty]:
11482 ($(common-objpfx)libc_pic.opts): New target.
11483 ($(common-objpfx)libc_pic.os.clean): New target.
11484 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11486 * config.make.in (OBJCOPY): New variable.
11487 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11488 * configure: Regenerated.
11490 * config.make.in (use-default-link): New variable.
11491 * configure.in (use_default_link): Grok --with-default-link to set it.
11492 * configure: Regenerated.
11493 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11494 (shlib-lds, shlib-lds-flags): Define to empty.
11496 * Makerules (shlib-lds): New variable.
11497 (shlib-lds-flags): New variable.
11498 (build-shlib, build-moduile, build-module-asneeded): Use it.
11499 ($(common-objpfx)libc.so): Use $(shlib-lds).
11500 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11501 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11503 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11504 DT_FLAGS/DT_FLAGS_1 with zero flags.
11506 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11507 linker script munging.
11509 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11511 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11513 * crypt/sha512.c (sha512_process_block): Perform total addition using
11514 128-bit if possible.
11515 (__sha512_finish_ctx): Likewise.
11516 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11518 * crypt/sha256.c (SWAP64): Define.
11519 (sha256_process_block): Perform total addition using 64-bit if
11521 (__sha256_finish_ctx): Likewise.
11523 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11525 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11526 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11527 * nscd/hstcache.c (cache_addhst): Likewise.
11528 * nscd/grpcache.c (cache_addgr): Likewise.
11529 * nscd/aicache.c (addhstaiX): Likewise
11530 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11532 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11534 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11535 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11536 * nscd/hstcache.c (cache_addhst): Likewise.
11537 * nscd/grpcache.c (cache_addgr): Likewise.
11538 * nscd/aicache.c (addhstaiX): Likewise
11540 2011-07-01 Andreas Schwab <schwab@redhat.com>
11542 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11543 domain only when needed.
11545 2011-06-30 Andreas Schwab <schwab@redhat.com>
11547 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11548 is always restored.
11550 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11552 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11553 are re-adding the entry.
11554 * nscd/servicescache.c (cache_addserv): Likewise.
11556 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11558 * sysdeps/generic/dl-irel.h: fix protection against multiple
11560 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11562 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11565 * malloc/memusage.sh: Fix quoting in message.
11566 * debug/xtrace.sh: Likewise.
11568 * configure.in: Remove support for --experimental-malloc option, make
11570 * config.make.in: Likewise.
11571 * malloc/Makefile: Likewise.
11573 2011-06-27 Andreas Schwab <schwab@redhat.com>
11575 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11576 two-byte characters.
11578 2011-06-27 Roland McGrath <roland@hack.frob.com>
11580 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11581 AC_CACHE_CHECK invocation.
11582 * configure: Regenerated.
11584 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11586 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11589 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11590 bit from old_res_options.
11592 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11594 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11595 value type for setfct.
11597 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11599 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11600 __gettimeofday instead of gettimeofday.
11602 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11604 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11606 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11608 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11613 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11616 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11617 strcpy-sse2-unaligned strncpy-sse2-unaligned
11618 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11619 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11620 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11621 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11622 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11623 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11624 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11625 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11626 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11627 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11628 (STRCPY): Support SSE2 and SSSE3 versions.
11630 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11633 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11634 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11635 kernels which artificially limit size of requests.
11637 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11639 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11640 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11641 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11642 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11643 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11644 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11645 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11646 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11647 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11648 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11649 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11650 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11651 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11652 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11653 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11655 Enable unaligned load optimization for Intel Core i3, i5 and i7
11657 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11659 (index_Fast_Unaligned_Load): Define.
11660 (HAS_FAST_UNALIGNED_LOAD): Define.
11662 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11664 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11666 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11669 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11670 until it is clear that the information is realy needed.
11671 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11673 2011-06-22 Andreas Schwab <schwab@redhat.com>
11675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11677 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11679 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11680 /sys/devices/system/cpu/online if it is usable.
11682 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11683 reading the information from the /proc filesystem to once a second.
11685 2011-06-21 Andreas Jaeger <aj@suse.de>
11687 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11688 NULL after inclusion of kernel headers.
11690 2011-06-21 Ulrich Drepper <drepper@gmail.com>
11692 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11693 calls to internal_setent.
11696 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11697 addresses using gethostbyname4_r ignore IPv4 addresses.
11699 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11700 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11702 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11704 2011-06-20 David S. Miller <davem@davemloft.net>
11706 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11708 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11710 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11711 (elf_irel): Use it.
11712 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11713 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11714 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11715 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11716 * sysdeps/x86_64/dl-irel.h: Likewise.
11718 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11719 * elf/dl-sym.c: Likewise.
11721 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11723 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11724 need to dereference resplen2.
11726 2011-06-14 Andreas Schwab <schwab@redhat.com>
11728 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11730 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11732 * Makeconfig: Define vardbdir and inst_vardbdir.
11733 * nss/Makefile: Add rules to install db-Makefile.
11735 * nss/nss_db/db-XXX.c: Cleanup.
11737 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11738 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11740 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11741 * nss/makedb.c: Implement -g option to specify that value strings
11742 are generated and should not be added to table iterated over for
11744 * nss/nss_db/db-initgroups.c: New file.
11746 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11749 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11750 (internal_getgrouplist): Adjust to name change.
11751 Update use_initgroups_entry if this is not the first call.
11752 * nss/databases.def: Add initgroups entry.
11754 * nss/makedb.c (compute_tables): Check result of multiple hash table
11755 sizes to minimize maximum chain length.
11757 2011-06-14 Ulrich Drepper <drepper@gmail.com>
11759 * Versions.def: Add entry for libnss_db.
11760 * shlib-versions: Likewise.
11761 * nss/Makefile: Add rules to build libnss_db.
11762 * nss/Versions: Add libnss_db information. Organize libnss_files
11764 * nss/db-Makefile: Add gshadow support. Change rules for the new
11765 makedb progra. Some minor improvements to generate smaller files.
11766 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11768 * nss/makedb.c: ...here.
11769 Improve database format to be smaller and require less memory at
11771 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11773 * nss/nss_db/db-netgrp.c: Likewise.
11774 * nss/nss_db/db-open.c: Likewise.
11775 * nss/nss_files/flies-XXX.x: Adjust comments.
11776 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11777 * nss/nss_files/files-grp.c: Likewise.
11778 * nss/nss_files/files-hosts.c: Likewise.
11779 * nss/nss_files/files-network.c: Likewise.
11780 * nss/nss_files/files-proto.c: Likewise.
11781 * nss/nss_files/files-pwd.c: Likewise.
11782 * nss/nss_files/files-rpc.c: Likewise.
11783 * nss/nss_files/files-service.c: Likewise.
11784 * nss/nss_files/files-sgrp.c: Likewise.
11785 * nss/nss_files/files-spwd.c: Likewise.
11786 * nss/nss_db/db-alias.c: Removed.
11787 * nss/nss_db/dummy-db.h: Removed.
11789 2011-06-02 Ulrich Drepper <drepper@gmail.com>
11791 * nss/makedb.c: Rewritten to not use database library.
11792 * nss/Makefile: Update to build new makedb program.
11794 2011-06-14 Andreas Jaeger <aj@suse.de>
11796 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11797 memset declaration.
11799 2011-06-10 Andreas Schwab <schwab@redhat.com>
11801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11804 2011-06-10 Roland McGrath <roland@hack.frob.com>
11806 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11807 * elf/Makefile ($(objpfx)ld.so): Likewise.
11809 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11810 Don't list ld.so twice in dependencies.
11812 * posix/bug-regex31.c: Include <stdlib.h>.
11814 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11816 * nis/nss_compat/compat-spwd.c
11817 (getspent_next_nss_netgr): Remove unused variable.
11818 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11820 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11821 nonmembers" output to use the right array.
11823 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11825 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11827 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11828 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11829 * catgets/gencat.c (read_input_file): Likewise.
11830 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11832 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11833 variable definition inside #if's controlling its use.
11835 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11837 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11839 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11841 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11844 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11846 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11847 * configure: Regenerated.
11849 * Makerules: Revert last change.
11850 * elf/Makefile: Likewise.
11852 2011-06-09 Roland McGrath <roland@hack.frob.com>
11854 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11855 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11856 (reloc-link): Likewise.
11858 2011-06-09 Ulrich Drepper <drepper@gmail.com>
11860 * elf/Makefile: Add rules to build pldd.
11861 * elf/pldd.c: New file.
11862 * elf/pldd-xx.c: New file.
11864 2011-06-07 Ulrich Drepper <drepper@gmail.com>
11866 * version.h: Update for 2.15 development version.
11868 2011-06-07 David S. Miller <davem@davemloft.net>
11870 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11872 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11873 elf_machine_lazy_rel): Likewise.
11874 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11875 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11876 elf_machine_lazy_rel): Likewise.
11877 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11878 dl_hwcap via passed in argument.
11879 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11882 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11884 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11886 2011-06-06 Roland McGrath <roland@hack.frob.com>
11889 * manual/fdl-1.1.texi: New file, verbatim from:
11890 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11891 * manual/lgpl-2.1.texi: New file, verbatim from:
11892 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11893 * manual/Makefile (licenses): New variable, list those new file names.
11895 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11897 * manual/fdl.texi: File removed.
11898 * manual/lesser.texi: File removed.
11899 * manual/libc.texinfo (Copying, Documentation License):
11900 Use new @include file names, put @appendix directive before @include.
11902 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11905 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11906 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11907 (mq_open): Add __NTH.
11909 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11912 Assume Intel Core i3/i5/i7 processor if AVX is available.
11914 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11916 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11919 2011-05-31 Andreas Schwab <schwab@redhat.com>
11921 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11922 memory. Use alloca_account. Fix memory leak when retrying.
11924 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11926 * version.h (RELEASE): Bump for 2.14 release.
11927 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11929 * config.make.in (RANLIB): Remove entry.
11931 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11933 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11934 (libc.pot): Work around missing support for .ksh extension in xgettext.
11937 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11938 if both request failed.
11939 (send_dg): In case of server errors clear resplen or *resplen2.
11942 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11943 when there are multiple maps.
11944 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11945 (_dl_fini): Remove test here.
11947 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11949 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11952 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11953 bit from old_res_options.
11954 (gaih_inet): Likewise.
11957 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11960 * resolv/res_init.c (res_setoptions): Make the code more compact.
11963 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11967 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11969 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11972 * malloc/malloc.h: Declare malloc hook variables as volatile.
11974 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11978 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11979 raise in the comment.
11980 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11981 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11982 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11984 2011-05-28 Ulrich Drepper <drepper@gmail.com>
11987 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11988 grow the buffers more if it already has to be sufficient.
11989 (build_wcs_upper_buffer): Likewise.
11990 * posix/regexec.c (check_matching): Likewise.
11991 (clean_state_log_if_needed): Likewise.
11992 (extend_buffers): Don't enlarge buffers beyond size of the input
11994 Patches mostly by Emil Wojak <emil@wojak.eu>.
11995 * posix/bug-regex32.c: New file.
11996 * posix/Makefile (tests): Add bug-regex32.
11998 * locale/findlocale.c (_nl_find_locale): Return right away if
11999 _nl_explode_name failed.
12000 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12002 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12004 * debug/xtrace.sh: Unify messages.
12005 * malloc/memusage.sh: Likewise.
12008 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12009 time symbol from vDSO. Substitute with vsyscall if not available.
12010 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12013 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12014 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12015 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12016 Add sendmmsg and internal_sendmmsg.
12017 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12018 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12019 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12021 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12022 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12023 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12025 2011-05-27 Ulrich Drepper <drepper@gmail.com>
12028 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12029 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12031 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12035 * iconvdata/Makefile (tests): Add bug-iconv9.
12036 * iconvdata/bug-iconv9.c: New file.
12038 2011-05-27 Andreas Schwab <schwab@redhat.com>
12041 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12043 2011-05-25 Jakub Jelinek <jakub@redhat.com>
12045 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12046 (struct user_regs_struct): Change intcs field back to cs.
12048 2011-05-25 Ulrich Drepper <drepper@gmail.com>
12050 * po/ja.po: Update from translation team.
12052 2011-05-23 Ulrich Drepper <drepper@gmail.com>
12055 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12056 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12058 2011-05-20 Andreas Schwab <schwab@redhat.com>
12060 * stdlib/longlong.h: Update from GCC.
12062 2011-05-23 Andreas Schwab <schwab@redhat.com>
12064 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12066 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12067 Add parameter name.
12068 (__sysconf): Pass it down.
12070 2011-05-22 Ulrich Drepper <drepper@gmail.com>
12073 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12075 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12076 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12077 add in in __libc_use_alloca calls. Adjust callers.
12078 (glob): Use malloc in some situations.
12080 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12081 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12084 2011-05-21 Ulrich Drepper <drepper@gmail.com>
12086 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12087 and CLOCK_BOOTTIME_ALARM.
12090 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12093 * string/_strerror.c (__strerror_r): Print negative errors as signed
12097 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12098 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12099 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12101 * configure.in: Fix typo in redirection and correct removal of test
12102 files in two cases.
12105 * locale/setlocale.c (new_composite_name): Fix test to check for
12106 identical name of all categories.
12109 * libio/filedoalloc.c (local_isatty): New function.
12110 (_IO_file_doallocate): Use local_isatty.
12111 * stdio-common/perror.c (perror): In case a new stream is used
12112 forward the stream error.
12113 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12116 2011-05-20 Ulrich Drepper <drepper@gmail.com>
12119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12121 * include/alloca.h (extend_alloca_account): Define.
12124 * posix/regex.h: Fix comments with documentation of user-accessible
12125 fields after compilation and describe correct free'ing of pattern
12126 after re_compile_pattern.
12127 Patch by Reuben Thomas <rrt@sc3d.org>.
12129 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12131 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12132 and -mno-altivec to prevent the compiler from using Altivec and/or
12133 VSX instructions when the corresponding registers are not available.
12135 2011-05-19 Andreas Schwab <schwab@redhat.com>
12137 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12139 2011-05-19 Ulrich Drepper <drepper@gmail.com>
12141 * libio/freopen.c (freopen): Use __dup2, not dup2.
12142 * libio/freopen64.c (freopen64): Likewise.
12144 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12147 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12148 * math/Makefile (tests): Add test-powl.
12149 (CFLAGS-test-powl.c): Define.
12150 * math/test-powl.c: New file.
12152 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12154 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12156 2011-05-17 Ulrich Drepper <drepper@gmail.com>
12159 * iconvdata/gb18030.c: Update to GB18020-2005.
12161 2011-05-16 Ulrich Drepper <drepper@gmail.com>
12163 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12164 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12165 Patch by Aharon Robbins <arnold@skeeve.com>.
12168 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12172 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12173 through underflows.
12176 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12177 point to strings before performing equality test for error_one_per_line
12181 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12184 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12185 (struct user_fpregs_struct): Avoid __uint*_t types.
12188 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12189 symbol info. Use it instead of calling _dl_addr locally.
12190 (lock_and_info): New function.
12191 (tr_freehook): Call lock_and_info and pass symbol info as additional
12192 parameter to tr_where.
12193 (tr_mallochook): Likewise.
12194 (tr_reallochook): Likewise.
12195 (tr_memalignhook): Likewise.
12197 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12198 used and couldn't be at all thread-safe.
12200 2011-05-15 Ulrich Drepper <drepper@gmail.com>
12202 * libio/freopen.c (freopen): Don't close old file descriptor
12203 before the new one is opened. Instead dup the new file descriptor
12204 to the old one after the new stream is created.
12205 * libio/freopen64.c (freopen64): Likewise.
12206 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12207 * libio/fileops.c (_IO_new_file_close_it): Handle new
12208 _IO_FLAGS2_NOCLOSE flag.
12209 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12210 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12211 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12212 _IO_FLAGS2_NOCLOSE flag.
12213 * include/unistd.h: Add hidden_proto for dup3.
12214 Define __have_dup3.
12215 * io/dup3.c: Define hidden symbol.
12216 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12219 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12220 when an incomplete long option is used.
12221 * posix/tst-getopt_long1.c: New file.
12222 * posix/Makefile (tests): Add tst-getopt_long1.
12225 * scripts/config.guess: Update from autoconf-2.68.
12226 * scripts/config.sub: Likewise.
12229 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12231 (has_cpuclock): ...this. New function.
12232 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12233 macro here based on has_cpuclock code.
12236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12237 First byte (not low byte) is now always NUL.
12238 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12240 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12241 Use non-cancelable interfaces.
12244 * locale/iso-639.def: Add entry for Sorani.
12247 * include/stdlib.h: Move include protection to the right place.
12248 Define abort_msg_s. Declare __abort_msg with it.
12249 * stdlib/abort.c (__abort_msg): Adjust type.
12250 * assert/assert.c (__assert_fail_base): New function. Majority
12251 of code from __assert_fail. Allocate memory for __abort_msg with
12253 (__assert_fail): Now call __assert_fail_base.
12254 * assert/assert-perr.c: Remove bulk of implementation. Use
12255 __assert_fail_base.
12256 * include/assert.hL Declare __assert_fail_base.
12257 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12259 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12261 2011-05-14 Ulrich Drepper <drepper@gmail.com>
12265 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12266 until all modules are registered in the DTV.
12267 * elf/Makefile: Add rules to build and run tst-tls19.
12268 * elf/tst-tls19.c: New file.
12269 * elf/tst-tls19mod1.c: New file.
12270 * elf/tst-tls19mod2.c: New file.
12271 * elf/tst-tls19mod3.c: New file.
12272 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12275 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12279 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12280 two-byte sequence errors.
12281 * iconvdata/Makefile (tests): Add bug-iconv8.
12282 * iconvdata/bug-iconv8.c: New file.
12285 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12288 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12291 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12292 (dummy_getcfa): New function.
12293 (init): Get _Unwind_GetCFA address, use dummy if not found.
12294 (backtrace_helper): In recursion check, also check whether CFA changes.
12295 (__backtrace): Completely initialize arg.
12297 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12298 storing incomplete byte sequence in state object. Avoid testing for
12299 guaranteed too small input if we know there is enough data available.
12301 2011-05-11 Andreas Schwab <schwab@redhat.com>
12303 * Makeconfig (+link-pie): Indent.
12304 * Rules (binaries-pie): Define if $(have-fpie) and
12306 (binaries-shared): Also filter out $(binaries-pie).
12307 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12308 * nscd/Makefile (others-pie): Add nscd.
12309 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12310 ($(objpfx)nscd): Remove command override.
12311 * login/Makefile (others-pie): Add pt_chown.
12312 ($(objpfx)pt_chown): Remove command override.
12313 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12314 remove command overrides.
12316 2011-05-13 Ulrich Drepper <drepper@gmail.com>
12318 * libio/tst_putwc.c: Fix error messages.
12321 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12322 currently writing and seek to current position when not.
12323 * libio/Makefile (tests): Add bug-fclose1.
12324 * libio/bug-fclose1.c: New file.
12326 2011-05-12 Ulrich Drepper <drepper@gmail.com>
12329 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12330 don't set DF_1_NODELETE here.
12331 (do_lookup_x): When entering new entry test for copy relocation
12332 and if necessary set DF_1_NODELETE flag.
12333 * elf/tst-unique4.cc: New file.
12334 * elf/tst-unique4.h: New file.
12335 * elf/tst-unique4lib.cc: New file.
12336 * elf/Makefile: Add rules to build and run tst-unique4.
12337 Patch by Piotr Bury <pbury@goahead.com>.
12339 2011-05-11 Ulrich Drepper <drepper@gmail.com>
12342 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12345 * misc/mntent_r.c (addmntent): Flush the stream after the output
12348 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12349 (is_trusted_path_normalize): Skip initial colon. Append slash
12350 to empty buffer. Duplicate is_trusted_path code but allow
12351 constructed patch to be prefix.
12352 (is_dst): Allow $ORIGIN followed by /.
12353 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12354 Correct testing of result of is_trusted_path_normalize
12355 (decompose_rpath): Fix warning.
12357 2011-05-10 Ulrich Drepper <drepper@gmail.com>
12360 * grp/initgroups.c (internal_getgrouplist): When we found the service
12361 list through the initgroups entry in nsswitch.conf do not always
12362 continue on a successful lookup. Don't always use the
12363 __nss_group_database value if it is set.
12364 * nss/nsswitch.conf (initgroups): Change action for successful db
12365 lookup to continue for compatibility.
12367 2011-05-09 Ulrich Drepper <drepper@gmail.com>
12370 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12372 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12374 * iconvdata/tst-tables.sh: Likewise.
12375 * iconvdata/cp770.c: New file.
12376 * iconvdata/cp771.c: New file.
12377 * iconvdata/cp772.c: New file.
12378 * iconvdata/cp773.c: New file.
12379 * iconvdata/cp774.c: New file.
12380 * iconvdata/testdata/CP770: New file.
12381 * iconvdata/testdata/CP770..UTF8: New file.
12382 * iconvdata/testdata/CP771: New file.
12383 * iconvdata/testdata/CP771..UTF8: New file.
12384 * iconvdata/testdata/CP772: New file.
12385 * iconvdata/testdata/CP772..UTF8: New file.
12386 * iconvdata/testdata/CP773: New file.
12387 * iconvdata/testdata/CP773..UTF8: New file.
12388 * iconvdata/testdata/CP774: New file.
12389 * iconvdata/testdata/CP774..UTF8: New file.
12391 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12393 * iconvdata/gen-8bit-gap.sh: Likewise.
12394 * iconvdata/gen-8bit.sh: Likewise.
12396 * locale/iso-639.def: Add ary entry.
12399 * locale/C-translit.h.in: Add U20A1 transliteration.
12402 * locale/iso-639.def: Add wae entry.
12403 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12406 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12410 * locale/C-translit.h.in: Add entry for U20B9.
12411 Patch by pravin.d.s@gmail.com.
12413 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12416 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12417 ENAMETOOLONG use generic getcwd.
12418 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12419 in rtld. Use *stat64.
12420 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12421 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12422 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12423 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12424 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12425 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12426 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12427 __fstatat64 macros.
12428 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12429 * dirent/rewinddir.c: Add libc_hidden_def.
12430 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12431 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12433 * include/dirent.h (__alloc_dir): Add flags parameter.
12434 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12435 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12437 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12438 from fdopendir if O_CLOEXEC is already set.
12440 2011-03-15 Alan Modra <amodra@gmail.com>
12442 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12443 l_tls_firstbyte_offset non-zero. Save padding offset in
12444 l_tls_firstbyte_offset for later use.
12445 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12446 freeing static tls block.
12448 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12450 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12451 where #ifdef was intended. The intent is to prevent ARG_MAX from
12452 being defined by the kernel headers.
12454 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12457 * resolv/resolv.h: Define RES_NOTLDQUERY.
12458 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12459 no-tld-query and set RES_NOTLDQUERY.
12460 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12461 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12462 modern BIND to search name as TLD unless forbidden.
12464 2011-05-07 Petr Baudis <pasky@suse.cz>
12465 Ulrich Drepper <drepper@gmail.com>
12468 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12469 (is_trusted_path): ...to here.
12470 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12471 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12472 using is_trusted_path_normalize() in setuid scripts.
12474 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12476 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12477 __BEGIN/__END_DECLS.
12479 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12481 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12482 NSS_STATUS_NOTFOUND if no record was found.
12484 2011-05-05 Andreas Schwab <schwab@redhat.com>
12486 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12487 (headers-not-in-tirpc): Remove rpc/netdb.h
12488 * resolv/netdb.h: Revert last change.
12490 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12492 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12493 circular dependency between libgcc.a and libc.a.
12495 2011-05-05 Andreas Schwab <schwab@redhat.com>
12497 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12498 * nis/Makefile: Don't install rpcsvc/*.
12499 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12500 instead of <rpc/types.h>.
12501 (MAXHOSTNAMELEN): Define.
12503 2011-05-03 Andreas Schwab <schwab@redhat.com>
12505 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12507 2011-04-28 Maciej Babinski <mbabinski@google.com>
12510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12511 gethostbyname4_r when IPv6 results are possible.
12513 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12516 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12517 _PC_PIPE_BUF handling.
12519 2011-04-30 Bruno Haible <bruno@clisp.org>
12522 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12523 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12525 * inet/getnameinfo.c (getnameinfo): Likewise.
12527 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12529 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12530 to groups setting in database lookup.
12531 * nss/nsswitch.conf: Add initgroups entry.
12533 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12536 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12538 Patch by Eric Blake <eblake@redhat.com>.
12540 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12542 * sunrpc/Makefile (need-export-routines): Add svc_run.
12543 (routines): Remove svc_run.
12544 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12545 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12546 * sunrpc/svc_run.c (svc_run): Likewise.
12547 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12549 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12551 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12552 problem in reallocation in last patch.
12554 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12556 * sunrpc/Makefile: Move inclusion of Rules.
12558 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12560 * nss/nss_files/files-initgroups.c: New file.
12561 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12562 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12563 _nss_files_initgroups_dyn.
12565 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12567 * elf/elf.h (R_ARM_IRELATIVE): Define.
12569 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12571 * po/ru.po: Update from translation team.
12573 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12575 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12578 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12581 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12582 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12583 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12584 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12585 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12587 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12589 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12591 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12592 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12593 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12595 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12598 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12600 * stdlib/bug-getcontext.c: New file.
12601 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12603 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12605 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12606 instructions into .machine "z9-109".
12607 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12608 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12610 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12612 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12613 between environment variables and auxiliary vector.
12615 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12617 * Makefile: Add rules to build linkobj/libc.so.
12618 * include/libc-symbols.h: Define libc_hidden_nolink.
12619 * include/rpc/auth.h: Mark functions which are to be hidden.
12620 * include/rpc/auth_des.h: Likewise.
12621 * include/rpc/auth_unix.h: Likewise.
12622 * include/rpc/clnt.h: Likewise.
12623 * include/rpc/des_crypt.h: Likewise.
12624 * include/rpc/key_prot.h: Likewise.
12625 * include/rpc/pmap_clnt.h: Likewise.
12626 * include/rpc/pmap_prot.h: Likewise.
12627 * include/rpc/pmap_rmt.h: Likewise.
12628 * include/rpc/rpc_msg.h: Likewise.
12629 * include/rpc/svc.h: Likewise.
12630 * include/rpc/svc_auth.h: Likewise.
12631 * include/rpc/xdr.h: Likewise.
12632 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12633 * nss/Makefile: Likewise.
12634 * sunrpc/Makefile: Don't install headers. Build library with normal
12635 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12636 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12637 for the compat linking library. Remove use of INTDEF/INTUSE.
12638 * sunrpc/auth_none.c: Likewise.
12639 * sunrpc/auth_unix.c: Likewise.
12640 * sunrpc/authdes_prot.c: Likewise.
12641 * sunrpc/authuxprot.c: Likewise.
12642 * sunrpc/clnt_gen.c: Likewise.
12643 * sunrpc/clnt_perr.c: Likewise.
12644 * sunrpc/clnt_raw.c: Likewise.
12645 * sunrpc/clnt_simp.c: Likewise.
12646 * sunrpc/clnt_tcp.c: Likewise.
12647 * sunrpc/clnt_udp.c: Likewise.
12648 * sunrpc/clnt_unix.c: Likewise.
12649 * sunrpc/des_crypt.c: Likewise.
12650 * sunrpc/des_soft.c: Likewise.
12651 * sunrpc/get_myaddr.c: Likewise.
12652 * sunrpc/key_call.c: Likewise.
12653 * sunrpc/key_prot.c: Likewise.
12654 * sunrpc/netname.c: Likewise.
12655 * sunrpc/pm_getmaps.c: Likewise.
12656 * sunrpc/pm_getport.c: Likewise.
12657 * sunrpc/pmap_clnt.c: Likewise.
12658 * sunrpc/pmap_prot.c: Likewise.
12659 * sunrpc/pmap_prot2.c: Likewise.
12660 * sunrpc/pmap_rmt.c: Likewise.
12661 * sunrpc/publickey.c: Likewise.
12662 * sunrpc/rpc_cmsg.c: Likewise.
12663 * sunrpc/rpc_common.c: Likewise.
12664 * sunrpc/rpc_dtable.c: Likewise.
12665 * sunrpc/rpc_prot.c: Likewise.
12666 * sunrpc/rpc_thread.c: Likewise.
12667 * sunrpc/rtime.c: Likewise.
12668 * sunrpc/svc.c: Likewise.
12669 * sunrpc/svc_auth.c: Likewise.
12670 * sunrpc/svc_authux.c: Likewise.
12671 * sunrpc/svc_raw.c: Likewise.
12672 * sunrpc/svc_run.c: Likewise.
12673 * sunrpc/svc_simple.c: Likewise.
12674 * sunrpc/svc_tcp.c: Likewise.
12675 * sunrpc/svc_udp.c: Likewise.
12676 * sunrpc/svc_unix.c: Likewise.
12677 * sunrpc/svcauth_des.c: Likewise.
12678 * sunrpc/xcrypt.c: Likewise.
12679 * sunrpc/xdr.c: Likewise.
12680 * sunrpc/xdr_array.c: Likewise.
12681 * sunrpc/xdr_float.c: Likewise.
12682 * sunrpc/xdr_intXX_t.c: Likewise.
12683 * sunrpc/xdr_mem.c: Likewise.
12684 * sunrpc/xdr_rec.c: Likewise.
12685 * sunrpc/xdr_ref.c: Likewise.
12686 * sunrpc/xdr_sizeof.c: Likewise.
12687 * sunrpc/xdr_stdio.c: Likewise.
12689 2011-04-10 Ulrich Drepper <drepper@gmail.com>
12692 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12693 * sysdeps/ia64/dl-tls.h: Likewise.
12694 * sysdeps/powerpc/dl-tls.h: Likewise.
12695 * sysdeps/s390/dl-tls.h: Likewise.
12696 * sysdeps/sh/dl-tls.h: Likewise.
12697 * sysdeps/sparc/dl-tls.h: Likewise.
12698 * sysdeps/x86_64/dl-tls.h: Likewise.
12699 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12701 2011-03-14 Andreas Schwab <schwab@redhat.com>
12703 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12704 rpath element also skip the following colon.
12705 (expand_dynamic_string_token): Add is_path parameter and pass
12706 down to DL_DST_REQUIRED and _dl_dst_substitute.
12707 (decompose_rpath): Call expand_dynamic_string_token with
12708 non-zero is_path. Ignore empty rpaths.
12709 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12712 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12717 2011-04-09 Ulrich Drepper <drepper@gmail.com>
12720 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12721 Patch by Filipe David Manana <fdmanana@apache.org>.
12723 2011-04-07 Andreas Schwab <schwab@redhat.com>
12725 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12726 Maintain aligned stack.
12727 (CHECK_RSP): Remove unused macro.
12729 2011-04-03 Ulrich Drepper <drepper@gmail.com>
12731 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12732 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12734 2011-04-02 Ulrich Drepper <drepper@gmail.com>
12736 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12738 * include/features.h: Mention __USE_XOPEN2K8 in comment.
12740 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12743 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12744 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12745 * sysdeps/x86_64/memmove.c: New file.
12746 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12747 (memcpy): Renamed to ...
12748 (__new_memcpy): This.
12749 (memcpy): Provide GLIBC_2_14 memcpy.
12750 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12751 (memcpy): Provide GLIBC_2_2_5 memcpy.
12753 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12756 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12758 2011-03-30 Andreas Schwab <schwab@redhat.com>
12760 * misc/syncfs.c: New file.
12761 * misc/Makefile (routines): Add syncfs.
12762 * posix/unistd.h: Declare syncfs.
12763 * sysdeps/unix/syscalls.list: Add syncfs.
12765 2011-04-01 Andreas Schwab <schwab@redhat.com>
12767 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12769 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12770 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12772 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12774 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12777 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12779 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12780 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12781 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12783 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12785 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12787 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12788 sync_file_range.c with -fexceptions.
12789 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12790 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12791 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12792 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12793 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12794 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12795 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12796 sync_file_range as cancellation point
12797 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12798 now a wrapper around __call_sync_file_range with cancellation handling.
12799 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12800 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12801 function name to __call_sync_file_range.
12802 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12803 Add call_sync_file_range.
12805 2011-04-01 Andreas Schwab <schwab@redhat.com>
12807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12810 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12812 * iconv/iconv.h: Fix typo in comment.
12813 * io/fcntl.h: Likewise.
12814 * libio/stdio.h: Likewise.
12815 * posix/spawn.h: Likewise.
12816 * posix/unistd.h: Likewise.
12817 * stdlib/stdlib.h: Likewise.
12818 * time/time.h: Likewise.
12819 * wcsmbs/wchar.h: Likewise.
12821 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12822 open_by_handle): Add.
12823 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12824 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12825 Augment a few comments.
12826 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12827 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12828 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12830 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12831 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12834 * io/fcntl.h (AT_EMPTY_PATH): Define.
12836 2011-03-30 Ulrich Drepper <drepper@gmail.com>
12838 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12839 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12840 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12842 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
12843 * Versions.def: Add GLIBC_2.14.
12844 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12847 2011-03-22 Ulrich Drepper <drepper@gmail.com>
12849 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12851 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12853 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12856 * string/test-strncmp.c (do_page_test): New function.
12857 (check2): Likewise.
12858 (test_main): Call check2.
12859 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12861 2011-03-20 Ulrich Drepper <drepper@gmail.com>
12864 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12865 Handle cache information in CPU leaf 4.
12866 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12868 2011-03-18 Ulrich Drepper <drepper@gmail.com>
12871 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12872 character representation.
12873 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12875 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12877 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12878 END(__isnan) to END(__isnanf) to match function entry point/label
12879 EALIGN(__isnanf,...).
12881 2011-03-10 Jakub Jelinek <jakub@redhat.com>
12883 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12885 2011-03-10 Ulrich Drepper <drepper@gmail.com>
12888 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12889 copy from the symbol referenced in the relocation to initialize the
12891 Patch by Piotr Bury <pbury@goahead.com>.
12892 * elf/Makefile: Add rules to build and tst-unique3.
12893 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12894 * elf/tst-unique3.cc: New file.
12895 * elf/tst-unique3.h: New file.
12896 * elf/tst-unique3lib.cc: New file.
12897 * elf/tst-unique3lib2.cc: New file.
12899 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12901 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12903 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12904 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12907 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12909 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12910 to-be-loaded object along a path to loader is ld.so.
12912 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12913 Ulrich Drepper <drepper@gmail.com>
12915 * sysdeps/x86_64/memset.S: After aligning destination, code
12916 branches to different locations depending on the value of
12917 misalignment, when multiarch is enabled. Fix this.
12919 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12921 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12922 Set _x86_64_preferred_memory_instruction for AMD processsors.
12923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12924 Set bit_Prefer_SSE_for_memop for AMD processors.
12926 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12928 * libio/fmemopen.c (fmemopen): Optimize a bit.
12930 2011-03-03 Andreas Schwab <schwab@redhat.com>
12932 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12934 2011-03-03 Roland McGrath <roland@redhat.com>
12936 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12938 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12940 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12941 __bzero_ultra1 instead of __memset_ultra1.
12943 2011-02-23 Andreas Schwab <schwab@redhat.com>
12944 Ulrich Drepper <drepper@gmail.com>
12947 * include/link.h (struct link_map): Add l_orig_initfini.
12948 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12949 returning unsuccessfully.
12950 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12951 close of a file loaded at startup, restore the original l_initfini
12953 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12954 list, store the pointer.
12955 * elf/Makefile ($(objpfx)noload-mem): New rule.
12956 (noload-ENV): Define.
12957 (tests): Add $(objpfx)noload-mem.
12958 * elf/noload.c: Include <memcheck.h>.
12959 (main): Call mtrace. Close all opened handles.
12961 2011-02-17 Andreas Schwab <schwab@redhat.com>
12964 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12965 dependencies are missing.
12967 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12969 Fix __if_freereq crash: Unlike the generic version which uses free,
12971 * sysdeps/mach/hurd/ifreq.h: New file.
12973 2011-01-27 Petr Baudis <pasky@suse.cz>
12974 Ulrich Drepper <drepper@gmail.com>
12977 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12978 to extend_alloca().
12979 * stdio-common/bug23.c: New file.
12980 * stdio-common/Makefile (tests): Add bug23.
12982 2010-09-28 Andreas Schwab <schwab@redhat.com>
12983 Ulrich Drepper <drepper@gmail.com>
12986 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12987 before performing relro protection. At old place add assertion
12988 to make sure nothing changed.
12990 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12991 Glauber de Oliveira Costa <glommer@gmail.com>
12993 * elf/elf.h: Add new ARM TLS relocs.
12995 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12998 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13000 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13002 * sysdeps/wordsize-64/tst-writev.c: New file.
13004 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13006 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13007 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13008 insns in _dl_start to prevent a TOC reference before relocs are
13011 2011-02-15 Ulrich Drepper <drepper@gmail.com>
13014 * Makeconfig: Remove RANLIB definition.
13015 * Makerules: Don't use RANLIB.
13016 * aclocal.m4: Remove ranlib test.
13017 * configure.in: No need to check for ranlib.
13018 * elf/rtld-Rules: Don't use RANLIB.
13020 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13022 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13024 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13025 inclusion protection macro.
13027 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13028 SIGRTMIN and SIGRTMAX and print information in that case only when
13029 SIGRTMIN is defined.
13031 2011-02-11 Jakub Jelinek <jakub@redhat.com>
13033 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13034 arginfo fn returning -1.
13036 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13037 and thousands string is zero terminated.
13039 2011-02-03 Andreas Schwab <schwab@redhat.com>
13041 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13042 sysdeps/unix/sysv/linux/bits/socket.h.
13044 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13046 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13047 (__CPU_COUNT): Remove old macros.
13048 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13049 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13050 (__CPU_ALLOC, __CPU_FREE): Add macros.
13051 (__sched_cpualloc, __sched_cpufree): Add declarations.
13053 2011-02-05 Ulrich Drepper <drepper@gmail.com>
13055 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13056 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13057 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13058 (readdhstai): Return value of addhstaiX call.
13059 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13060 (addgrbyX): Return value returned by cache_addgr.
13061 (readdgrbyname): Return value returned by addgrbyX.
13062 (readdgrbygid): Likewise.
13063 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13064 (addpwbyX): Return value returned by cache_addpw.
13065 (readdpwbyname): Return value returned by addhstbyX.
13066 (readdpwbyuid): Likewise.
13067 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13068 (addservbyX): Return value returned by cache_addserv.
13069 (readdservbyname): Return value returned by addservbyX:
13070 (readdservbyport): Likewise.
13071 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13072 (addhstbyX): Return value returned by cache_addhst.
13073 (readdhstbyname): Return value returned by addhstbyX.
13074 (readdhstbyaddr): Likewise.
13075 (readdhstbynamev6): Likewise.
13076 (readdhstbyaddrv6): Likewise.
13077 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13078 (readdinitgroups): Return value returned by addinitgroupsX.
13079 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13080 (prune_cache): Keep track of timeout value of re-added entries.
13081 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13082 * nscd/nscd.h: Adjust prototypes of readd* functions.
13084 2011-02-04 Roland McGrath <roland@redhat.com>
13086 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13087 (nis_stats): Likewise.
13088 * nis/nis_modify.c (nis_modify): Likewise.
13089 * nis/nis_remove.c (nis_remove): Likewise.
13090 * nis/nis_add.c (nis_add): Likewise.
13092 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13094 * posix/fnmatch_loop.c: Add some consts.
13096 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13098 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13101 * config.make.in (config-cflags-novzeroupper): Define.
13102 * configure.in: Substitute libc_cv_cc_novzeroupper.
13103 * elf/Makefile (AVX-CFLAGS): Define.
13104 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13105 (CFLAGS-tst-auditmod4a.c): Likewise.
13106 (CFLAGS-tst-auditmod4b.c): Likewise.
13107 (CFLAGS-tst-auditmod6b.c): Likewise.
13108 (CFLAGS-tst-auditmod6c.c): Likewise.
13109 (CFLAGS-tst-auditmod7b.c): Likewise.
13110 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13112 2011-02-02 Ulrich Drepper <drepper@gmail.com>
13114 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13115 function to the callback.
13116 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13118 2011-02-02 Andreas Schwab <schwab@redhat.com>
13120 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13123 2011-01-19 Ulrich Drepper <drepper@gmail.com>
13126 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13128 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13130 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13133 * elf/Makefile: Add rules to build and run new test.
13134 * elf/tst-initorder.c: New file.
13135 * elf/tst-initorder.exp: New file.
13136 * elf/tst-initordera1.c: New file.
13137 * elf/tst-initordera2.c: New file.
13138 * elf/tst-initordera3.c: New file.
13139 * elf/tst-initordera4.c: New file.
13140 * elf/tst-initorderb1.c: New file.
13141 * elf/tst-initorderb2.c: New file.
13142 * elf/tst-order-a1.c: New file.
13143 * elf/tst-order-a2.c: New file.
13144 * elf/tst-order-a3.c: New file.
13145 * elf/tst-order-a4.c: New file.
13146 * elf/tst-order-b1.c: New file.
13147 * elf/tst-order-b2.c: New file.
13148 * elf/tst-order-main.c: New file.
13149 New test case by George Gensure <werkt0@gmail.com>.
13151 2010-10-01 Andreas Schwab <schwab@redhat.com>
13153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13154 decoding ACE if AI_CANONIDN.
13156 2011-01-18 Ulrich Drepper <drepper@gmail.com>
13158 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13160 2011-01-17 Ulrich Drepper <drepper@gmail.com>
13162 * version.h (RELEASE): Bump for 2.13 release.
13163 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13165 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13167 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13169 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13170 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13171 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13172 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13173 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13174 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13176 * posix/getconf.c: Update copyright year.
13177 * catgets/gencat.c: Likewise.
13178 * csu/version.c: Likewise.
13179 * debug/catchsegv.sh: Likewise.
13180 * debug/xtrace.sh: Likewise.
13181 * elf/ldconfig.c: Likewise.
13182 * elf/ldd.bash.in: Likewise.
13183 * elf/sprof.c (print_version): Likewise.
13184 * iconv/iconv_prog.c: Likewise.
13185 * iconv/iconvconfig.c: Likewise.
13186 * locale/programs/locale.c: Likewise.
13187 * locale/programs/localedef.c: Likewise.
13188 * malloc/memusage.sh: Likewise.
13189 * malloc/mtrace.pl: Likewise.
13190 * nscd/nscd.c (print_version): Likewise.
13191 * nss/getent.c: Likewise.
13193 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13194 PF_CAIF, and PF_ALG.
13195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13197 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13199 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13200 (modules-names): Use them.
13201 (ifunc-test-modules, ifunc-pie-tests): Define.
13202 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13203 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13204 (test-extras): Likewise.
13205 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13206 $(compile-command.c).
13207 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13208 (all-built-dso): Define.
13209 (check-textrel.out, check-execstack.out): Depend on it.
13211 * configure.in: Don't override --enable-multi-arch.
13213 2011-01-15 Ulrich Drepper <drepper@gmail.com>
13216 * nscd/hstcache.c (tryagain): Define.
13217 (cache_addhst): Return tryagain not notfound for temporary errors.
13218 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13221 2011-01-14 Ulrich Drepper <drepper@gmail.com>
13224 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13225 to make the syscall.
13226 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13229 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13230 and fall back to matching as normal character if the string ends before
13231 the matching ']' is found. This is what POSIX requires.
13232 * posix/testfnm.c: Adjust test result.
13233 * posix/globtest.sh: Adjust test result. Add new test.
13234 * posix/tst-fnmatch.input: Likewise.
13235 * posix/tst-fnmatch2.c: Add new test.
13237 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13239 * elf/Makefile (check-execstack): Revert last change. Depend on
13241 (check-execstack.h): New target.
13242 (generated): Add check-execstack.h.
13243 * elf/check-execstack.c: Include "check-execstack.h".
13244 (main): Revert last change.
13245 (handle_file): Return zero if GNU_STACK is absent and
13246 DEFAULT_STACK_PERMS doesn't include PF_X.
13248 2011-01-13 Ulrich Drepper <drepper@gmail.com>
13250 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13251 in child fails because the descriptor is already closed.
13252 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13253 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13254 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13257 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13261 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13262 temporary buffer used to handle multi lookups locally.
13263 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13265 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13267 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13270 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13272 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13273 alignment for SSE2.
13275 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13278 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13279 characters. When rounding increased number of integer digits recompute
13281 * stdio-common/tst-grouping.c: New file.
13282 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13284 2011-01-09 Ulrich Drepper <drepper@gmail.com>
13286 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13287 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13289 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13291 * bits/select.h: Likewise.
13293 2011-01-08 Ulrich Drepper <drepper@gmail.com>
13295 * po/ja.po: Update from translation team.
13297 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
13300 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13301 implementation just like for lxstat, fxstatat, et al.
13303 2010-12-27 Jim Meyering <meyering@redhat.com>
13306 * posix/regexec.c (build_trtable): Return failure indication upon
13307 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13309 2010-12-25 Ulrich Drepper <drepper@gmail.com>
13312 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13313 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13314 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13315 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13318 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13321 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13322 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13324 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13326 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13327 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13328 script has SORT_BY_INIT_PRIORITY.
13329 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13330 NO_CTORS_DTORS_SECTIONS is defined.
13331 * elf/soinit.c: Likewise.
13332 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13333 NO_CTORS_DTORS_SECTIONS is defined.
13334 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13335 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13336 * sysdeps/sh/init-first.c: Likewise.
13337 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13339 2010-12-24 Ulrich Drepper <drepper@gmail.com>
13341 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13342 always use the slow path.
13344 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13346 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13347 similar rule which adds the sysdep directories to the header search in
13348 order to pick up the correct platform stackinfo.h.
13349 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13350 perform test if it is, otherwise return successfully without testing.
13351 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13352 DEFAULT_STACK_PERMS define in stackinfo.h.
13353 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13354 defined in stackinfo.h.
13355 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13356 DEFAULT_STACK_PERMS defined in stackinfo.h.
13357 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13358 * sysdeps/ia64/stackinfo.h: Likewise.
13359 * sysdeps/s390/stackinfo.h: Likewise.
13360 * sysdeps/sh/stackinfo.h: Likewise.
13361 * sysdeps/sparc/stackinfo.h: Likewise.
13362 * sysdeps/x86_64/stackinfo.h: Likewise.
13363 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13364 PF_X for powerpc64. Retain PF_X for powerpc32.
13366 2010-12-19 Ulrich Drepper <drepper@gmail.com>
13368 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13370 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13371 GETDENTS_64BIT_ALIGNED.
13373 2010-12-14 Ulrich Drepper <dreper@gmail.com>
13375 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13377 2010-12-10 Andreas Schwab <schwab@redhat.com>
13379 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13382 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13383 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13385 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13386 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13388 2010-12-09 Ulrich Drepper <drepper@gmail.com>
13391 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13394 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13396 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13398 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13400 * po/it.po: Update from translation team.
13402 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13407 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13409 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13411 2010-11-24 Andreas Schwab <schwab@redhat.com>
13413 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13415 (gaih_getanswer_slice): Likewise.
13417 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13419 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13421 2010-05-31 Petr Baudis <pasky@suse.cz>
13424 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13425 silently even in the chroot mode.
13427 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13429 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13430 last patch a bit. Pretty printing
13432 2010-05-31 Petr Baudis <pasky@suse.cz>
13435 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13436 initialization of skip_initgroups_dyn.
13438 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13440 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13441 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13443 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13445 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13447 2010-11-11 Andreas Schwab <schwab@redhat.com>
13449 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13450 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13451 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13452 ($(objpfx)tst-fnmatch-mem): New rule.
13453 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13454 * posix/tst-fnmatch.c (main): Call mtrace.
13456 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13459 Support Intel processor model 6 and model 0x2c.
13461 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13463 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13466 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13469 * string/test-strncasecmp.c (check_result): New function.
13470 (do_one_test): Use it.
13471 (check1): New function.
13472 (test_main): Use it.
13473 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13474 Support strcasecmp and strncasecmp.
13476 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13479 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13480 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13482 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13484 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13488 * sysdeps/x86_64/multiarch/bzero.S: New file.
13489 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13490 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13491 * sysdeps/x86_64/multiarch/memset.S: New file.
13492 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13494 Set bit_Prefer_SSE_for_memop for Intel processors.
13495 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13497 (index_Prefer_SSE_for_memop): Define.
13498 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13500 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13502 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13503 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13505 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13508 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13509 (__x86_64_raw_data_cache_size_half): Likewise.
13510 (__x86_64_raw_shared_cache_size): Likewise.
13511 (__x86_64_raw_shared_cache_size_half): Likewise.
13513 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13514 (__x86_64_raw_data_cache_size_half): Likewise.
13515 (__x86_64_raw_shared_cache_size): Likewise.
13516 (__x86_64_raw_shared_cache_size_half): Likewise.
13517 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13518 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13519 and __x86_64_raw_shared_cache_size_half. Round
13520 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13521 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13522 to multiple of 256 bytes.
13524 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13527 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13528 of inacessible symlinks. Verify result of symlink before returning it.
13529 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13530 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13532 2010-10-28 Erich Ritz <erichritz@gmail.com>
13534 * math/math.h (isinf): Fix typo in comment.
13536 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13538 * po/da.po: Update from translation team.
13540 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13542 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13543 is added to the list.
13545 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13546 Ulrich Drepper <drepper@gmail.com>
13548 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13549 the global list here. Move code to...
13550 (_dl_add_to_namespace_list): ...here. New function.
13551 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13552 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13553 * elf/dl-load.c (lose): Don't remove the element from the list.
13554 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13555 (_dl_map_object): Likewise.
13557 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13560 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13561 into all bytes of SSE register.
13562 Patch by Richard Li <richardpku@gmail.com>.
13564 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13567 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13570 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13572 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13573 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13574 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13575 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13580 2010-10-22 Andreas Schwab <schwab@redhat.com>
13582 * include/dlfcn.h (__RTLD_SECURE): Define.
13583 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13584 mode & __RTLD_SECURE instead.
13585 (open_path): Rename preloaded parameter to secure.
13586 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13587 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13588 * elf/dl-deps.c (openaux): Likewise.
13589 * elf/rtld.c (struct map_args): Remove is_preloaded.
13590 (map_doit): Don't use it.
13591 (dl_main): Likewise.
13592 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13593 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13595 2010-09-09 Andreas Schwab <schwab@redhat.com>
13597 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13598 (sysd-rules-targets): Remove duplicates.
13599 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13600 rtld-%.$o dependency.
13602 2010-10-18 Andreas Schwab <schwab@redhat.com>
13604 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13605 _dl_map_object do it.
13607 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13609 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13610 fast fma builtins, define the macros in the C99 standard.
13611 (FP_FAST_FMAF): Likewise.
13612 (FP_FAST_FMAL): Likewise.
13613 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13615 * bits/mathdef.h: Update copyright year.
13616 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13618 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13620 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13621 builtins, define the macros in the C99 standard.
13622 (FP_FAST_FMAF): Likewise.
13623 (FP_FAST_FMAL): Likewise.
13624 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13626 (FP_FAST_FMAF): Likewise.
13628 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13631 * math/libm-test.inc (fma_test): Some new testcases.
13632 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13633 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13634 y and infinite z. Do multiplication by C already in long double.
13635 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13637 y and infinite z. Do bitwise or of inexact bit into u.d.
13638 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13639 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13640 * sysdeps/i386/fpu/s_fma.S: Removed.
13641 * sysdeps/i386/fpu/s_fmal.S: Removed.
13643 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13646 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13648 computation is not scheduled after fetestexcept. Fix value
13649 of minimum denormal long double.
13651 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13654 * math/libm-test.inc (fma_test): Add some more tests.
13655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13658 2010-10-15 Andreas Schwab <schwab@redhat.com>
13660 * scripts/data/localplt-s390-linux-gnu.data: New file.
13661 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13663 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13666 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13667 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13669 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13671 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13673 if one of x and y is very large and the other is subnormal.
13674 * sysdeps/s390/fpu/s_fmaf.c: New file.
13675 * sysdeps/s390/fpu/s_fma.c: New file.
13676 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13677 * sysdeps/powerpc/fpu/s_fma.S: New file.
13678 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13679 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13680 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13682 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13685 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13687 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13688 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13689 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13690 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13691 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13692 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13693 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13695 2010-10-12 Ulrich Drepper <drepper@redhat.com>
13698 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13699 * posix/bug-regex31.input: Add test case.
13701 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13703 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13704 * posix/bug-regex31.input: New file.
13707 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13708 (parse_sub_exp): Fix last change, use postorder.
13710 * posix/bug-regex31.c: New file.
13711 * posix/Makefile: Add rules to build and run bug-regex31.
13713 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13716 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13719 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13720 to have entries in sys_siglist.
13723 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13726 2010-10-07 Jakub Jelinek <jakub@redhat.com>
13729 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13730 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13731 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13732 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13733 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13734 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13735 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13736 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13737 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13738 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13739 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13740 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13741 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13742 * math/ftestexcept.c (fetestexcept): Likewise.
13743 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13744 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13745 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13746 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13747 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13748 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13749 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13751 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13754 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13757 2010-10-06 Ulrich Drepper <drepper@gmail.com>
13759 * string/bug-strstr1.c: New file.
13760 * string/Makefile: Add rules to build and run bug-strstr1.
13762 2010-10-05 Eric Blake <eblake@redhat.com>
13765 * string/str-two-way.h (two_way_long_needle): Always clear memory
13766 when skipping input due to the shift table.
13768 2010-10-03 Ulrich Drepper <drepper@gmail.com>
13771 * malloc/mcheck.c: Handle large requests.
13774 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13775 for strncmp and strncasecmp.
13776 * string/stratcliff.c: Add tests for strcmp and strncmp.
13777 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13779 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13781 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13784 2010-09-30 Andreas Jaeger <aj@suse.de>
13786 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13787 (CGROUP_SUPER_MAGIC): Define.
13788 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13789 Handle btrfs and cgroup file systems.
13790 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13793 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
13795 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13796 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13798 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13801 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13802 trying to locate the ELF header.
13804 2010-09-27 Andreas Schwab <schwab@redhat.com>
13807 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13808 Mask out sign-bit copies when constructing f_fsid.
13810 2010-09-24 Petr Baudis <pasky@suse.cz>
13812 * debug/stack_chk_fail_local.c: Add missing licence exception.
13813 * debug/warning-nop.c: Likewise.
13815 2010-09-15 Joseph Myers <joseph@codesourcery.com>
13817 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13818 implementing getdents64 using getdents syscall, set d_type if
13819 __ASSUME_GETDENTS32_D_TYPE.
13821 2010-09-16 Andreas Schwab <schwab@redhat.com>
13823 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13824 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13826 2010-09-21 Ulrich Drepper <drepper@redhat.com>
13829 * posix/unistd.h: Undo change of feature selection for ftruncate from
13832 2010-09-20 Ulrich Drepper <drepper@redhat.com>
13834 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13837 2010-09-20 Andreas Schwab <schwab@redhat.com>
13839 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13841 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13843 2010-09-14 Andreas Schwab <schwab@redhat.com>
13845 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13846 variables after CHECK_SP call.
13847 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13849 2010-09-13 Andreas Schwab <schwab@redhat.com>
13850 Ulrich Drepper <drepper@redhat.com>
13852 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13853 re-relocationg ld.so.
13854 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13855 _dl_init_paths call.
13856 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13859 2010-09-14 Ulrich Drepper <drepper@redhat.com>
13861 * resolv/res_init.c (__res_vinit): Count the default server we added.
13863 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13864 Ulrich Drepper <drepper@redhat.com>
13867 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13868 (____longjmp_chk): Use %ebx for saving value across system call.
13871 2010-09-06 Andreas Schwab <schwab@redhat.com>
13873 * manual/Makefile: Don't mix pattern rules with normal rules.
13875 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13877 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13879 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13880 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13881 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13882 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13883 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13886 2010-09-04 Ulrich Drepper <drepper@redhat.com>
13889 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13890 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13892 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13894 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13895 * sysdeps/x86_64/addmul_1.S: Likewise.
13896 * sysdeps/x86_64/lshift.S: Likewise.
13897 * sysdeps/x86_64/mul_1.S: Likewise.
13898 * sysdeps/x86_64/rshift.S: Likewise.
13899 * sysdeps/x86_64/sub_n.S: Likewise.
13900 * sysdeps/x86_64/submul_1.S: Likewise.
13902 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13904 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13905 Define __sched_param instead of SCHED_* and sched_param when
13906 <bits/sched.h> is included with __need_schedparam defined.
13907 * bits/sched.h [__need_schedparam]
13908 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13909 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13910 (__defined_schedparam): Define to 1.
13911 (__sched_param): New structure, identical to sched_param.
13912 (__need_schedparam): Undefine.
13914 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13916 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13917 (epoll_create1): Declare.
13919 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13921 2010-08-31 Andreas Schwab <schwab@redhat.com>
13924 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13925 shifting retval into place.
13927 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13929 * nis/rpcsvc/nis.h: Update copyright notice.
13930 * nis/rpcsvc/nis.x: Likewise.
13931 * nis/rpcsvc/nis_callback.h: Likewise.
13932 * nis/rpcsvc/nis_callback.x: Likewise.
13933 * nis/rpcsvc/nis_object.x: Likewise.
13934 * nis/rpcsvc/nis_tags.h: Likewise.
13935 * nis/rpcsvc/yp.h: Likewise.
13936 * nis/rpcsvc/yp.x: Likewise.
13937 * nis/rpcsvc/ypupd.h: Likewise.
13938 * nis/yp_xdr.c: Likewise.
13939 * nis/ypupdate_xdr.c: Likewise.
13941 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13942 mainly the body of pmap_getport. Add parameters to specify timeouts.
13943 (pmap_getport): Use __libc_rpc_getport.
13944 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13945 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13946 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13948 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13953 2010-08-27 Roland McGrath <roland@redhat.com>
13955 * sysdeps/i386/i686/multiarch/Makefile
13956 (CFLAGS-varshift.c): New variable.
13958 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13960 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13961 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13963 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13965 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13967 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13969 * sysdeps/x86_64/strlen.S: Unroll the loop.
13970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13971 strlen-sse2 strlen-sse2-bsf.
13972 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13973 __strlen_no_bsf if bit_Slow_BSF is set.
13974 (__strlen_sse42): Removed.
13975 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13976 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13978 2010-08-25 Roland McGrath <roland@redhat.com>
13980 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13981 * sysdeps/x86_64/multiarch/varshift.c: New file.
13982 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13983 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13984 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13985 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13987 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13989 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13990 strlen-sse2 strlen-sse2-bsf.
13991 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13992 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13993 (__strlen_sse2): Removed.
13994 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13995 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13997 bit_Slow_BSF for Atom.
13998 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13999 (index_Slow_BSF): Define.
14000 (HAS_SLOW_BSF): Define.
14002 2010-08-25 Ulrich Drepper <drepper@redhat.com>
14005 * resolv/res_init.c (__res_vinit): When no server address at all
14006 is given default to loopback.
14008 2010-08-24 Roland McGrath <roland@redhat.com>
14010 * configure.in: Remove config-name.h generation.
14011 * configure: Regenerated.
14012 * config-name.in: File removed.
14013 * scripts/config-uname.sh: New file.
14014 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14015 ($(objdir)config-name.h): New target.
14017 * sunrpc/rpc_parse.h: Avoid nested comment.
14019 2010-08-24 Richard Henderson <rth@redhat.com>
14020 Ulrich Drepper <drepper@redhat.com>
14021 H.J. Lu <hongjiu.lu@intel.com>
14023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14025 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14026 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14027 _mm_alignr_epi8 with _mm_loadu_si128.
14028 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14029 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14030 (__m128i_shift_right): Removed.
14031 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14032 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14033 * sysdeps/x86_64/multiarch/varshift.h: New file.
14034 * sysdeps/x86_64/multiarch/varshift.S: New file.
14036 2010-08-21 Mike Frysinger <vapier@gentoo.org>
14038 * configure.in: Move assembler checks to before sysdep dir checking.
14040 2010-08-20 Petr Baudis <pasky@suse.cz>
14042 * LICENSES: Sync the sunrpc license.
14044 2010-08-19 Ulrich Drepper <drepper@redhat.com>
14046 * sunrpc/auth_des.c: Update copyright notice once again.
14047 * sunrpc/auth_none.c: Likewise.
14048 * sunrpc/auth_unix.c: Likewise.
14049 * sunrpc/authdes_prot.c: Likewise.
14050 * sunrpc/authuxprot.c: Likewise.
14051 * sunrpc/bindrsvprt.c: Likewise.
14052 * sunrpc/clnt_gen.c: Likewise.
14053 * sunrpc/clnt_perr.c: Likewise.
14054 * sunrpc/clnt_raw.c: Likewise.
14055 * sunrpc/clnt_simp.c: Likewise.
14056 * sunrpc/clnt_tcp.c: Likewise.
14057 * sunrpc/clnt_udp.c: Likewise.
14058 * sunrpc/clnt_unix.c: Likewise.
14059 * sunrpc/des_crypt.c: Likewise.
14060 * sunrpc/des_soft.c: Likewise.
14061 * sunrpc/get_myaddr.c: Likewise.
14062 * sunrpc/getrpcport.c: Likewise.
14063 * sunrpc/key_call.c: Likewise.
14064 * sunrpc/key_prot.c: Likewise.
14065 * sunrpc/openchild.c: Likewise.
14066 * sunrpc/pm_getmaps.c: Likewise.
14067 * sunrpc/pm_getport.c: Likewise.
14068 * sunrpc/pmap_clnt.c: Likewise.
14069 * sunrpc/pmap_prot.c: Likewise.
14070 * sunrpc/pmap_prot2.c: Likewise.
14071 * sunrpc/pmap_rmt.c: Likewise.
14072 * sunrpc/rpc/auth.h: Likewise.
14073 * sunrpc/rpc/auth_unix.h: Likewise.
14074 * sunrpc/rpc/clnt.h: Likewise.
14075 * sunrpc/rpc/des_crypt.h: Likewise.
14076 * sunrpc/rpc/key_prot.h: Likewise.
14077 * sunrpc/rpc/netdb.h: Likewise.
14078 * sunrpc/rpc/pmap_clnt.h: Likewise.
14079 * sunrpc/rpc/pmap_prot.h: Likewise.
14080 * sunrpc/rpc/pmap_rmt.h: Likewise.
14081 * sunrpc/rpc/rpc.h: Likewise.
14082 * sunrpc/rpc/rpc_des.h: Likewise.
14083 * sunrpc/rpc/rpc_msg.h: Likewise.
14084 * sunrpc/rpc/svc.h: Likewise.
14085 * sunrpc/rpc/svc_auth.h: Likewise.
14086 * sunrpc/rpc/types.h: Likewise.
14087 * sunrpc/rpc/xdr.h: Likewise.
14088 * sunrpc/rpc_clntout.c: Likewise.
14089 * sunrpc/rpc_cmsg.c: Likewise.
14090 * sunrpc/rpc_common.c: Likewise.
14091 * sunrpc/rpc_cout.c: Likewise.
14092 * sunrpc/rpc_dtable.c: Likewise.
14093 * sunrpc/rpc_hout.c: Likewise.
14094 * sunrpc/rpc_main.c: Likewise.
14095 * sunrpc/rpc_parse.c: Likewise.
14096 * sunrpc/rpc_parse.h: Likewise.
14097 * sunrpc/rpc_prot.c: Likewise.
14098 * sunrpc/rpc_sample.c: Likewise.
14099 * sunrpc/rpc_scan.c: Likewise.
14100 * sunrpc/rpc_scan.h: Likewise.
14101 * sunrpc/rpc_svcout.c: Likewise.
14102 * sunrpc/rpc_tblout.c: Likewise.
14103 * sunrpc/rpc_util.c: Likewise.
14104 * sunrpc/rpc_util.h: Likewise.
14105 * sunrpc/rpcinfo.c: Likewise.
14106 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14107 * sunrpc/rpcsvc/key_prot.x: Likewise.
14108 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14109 * sunrpc/rpcsvc/mount.x: Likewise.
14110 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14111 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14112 * sunrpc/rpcsvc/rex.x: Likewise.
14113 * sunrpc/rpcsvc/rstat.x: Likewise.
14114 * sunrpc/rpcsvc/rusers.x: Likewise.
14115 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14116 * sunrpc/rpcsvc/spray.x: Likewise.
14117 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14118 * sunrpc/rtime.c: Likewise.
14119 * sunrpc/svc.c: Likewise.
14120 * sunrpc/svc_auth.c: Likewise.
14121 * sunrpc/svc_authux.c: Likewise.
14122 * sunrpc/svc_raw.c: Likewise.
14123 * sunrpc/svc_run.c: Likewise.
14124 * sunrpc/svc_simple.c: Likewise.
14125 * sunrpc/svc_tcp.c: Likewise.
14126 * sunrpc/svc_udp.c: Likewise.
14127 * sunrpc/svc_unix.c: Likewise.
14128 * sunrpc/svcauth_des.c: Likewise.
14129 * sunrpc/xcrypt.c: Likewise.
14130 * sunrpc/xdr.c: Likewise.
14131 * sunrpc/xdr_array.c: Likewise.
14132 * sunrpc/xdr_float.c: Likewise.
14133 * sunrpc/xdr_mem.c: Likewise.
14134 * sunrpc/xdr_rec.c: Likewise.
14135 * sunrpc/xdr_ref.c: Likewise.
14136 * sunrpc/xdr_sizeof.c: Likewise.
14137 * sunrpc/xdr_stdio.c: Likewise.
14139 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14142 2010-08-19 Andreas Schwab <schwab@redhat.com>
14144 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14146 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
14148 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14149 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14150 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14151 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14152 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14153 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14154 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14155 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14156 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14157 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14158 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14159 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14160 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14161 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14163 2010-07-26 Anton Blanchard <anton@samba.org>
14165 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14166 * malloc/arena.c (heap_trim): Likewise.
14168 2010-08-16 Ulrich Drepper <drepper@redhat.com>
14170 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14172 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14173 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14175 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14177 * sysdeps/i386/elf/Makefile: New file.
14179 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14181 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14182 from fanotify_init.
14183 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14184 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14186 2010-08-15 Ulrich Drepper <drepper@redhat.com>
14188 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14190 * sysdeps/multiarch/strcmp.S: Likewise.
14192 2010-08-14 Ulrich Drepper <drepper@redhat.com>
14194 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14195 strncase_l-nonascii.
14196 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14197 Add strncase_l-ssse3.
14198 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14199 * sysdeps/x86_64/strcmp.S: Likewise.
14200 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14201 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14202 * sysdeps/x86_64/strncase.S: New file.
14203 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14204 * sysdeps/x86_64/strncase_l.S: New file.
14205 * string/Makefile (strop-tests): Add strncasecmp.
14206 * string/test-strncasecmp.c: New file.
14208 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14211 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14212 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14214 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14216 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14218 2010-08-12 Ulrich Drepper <drepper@redhat.com>
14220 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14221 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14222 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14224 2010-05-01 Alan Modra <amodra@gmail.com>
14226 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14227 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14228 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14229 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14230 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14231 tidying. Don't tail-call __sigjmp_save for static lib.
14232 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14234 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14235 (CALL_MCOUNT): Add eh info, and nop after bl.
14236 (TAIL_CALL_SYSCALL_ERROR): New macro.
14237 (PSEUDO_RET): Use it.
14238 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14239 Correct save location of integer regs and cr.
14240 (_dl_profile_resolve): Correct cr save location. Delete nops
14241 after bl when SHARED. Reduce cfi size a little by better
14242 placement of cfi directives.
14243 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14244 make a stack frame. Instead use parm save area as a temp.
14245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14246 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14248 Don't make a stack frame for parent, use parm save area.
14249 Increase child stack frame to 112 bytes. Don't save unused reg,
14250 and adjust reg usage. Set up cfi on error recovery and
14251 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14253 (__makecontext): Add dummy nop after jump to exit.
14254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14255 Use correct parm save area and cr save, reduce stack frame.
14256 Correct cfi for possible PSEUDO_RET frame setup.
14257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14258 Branch to local label emitted by PSEUDO_RET rather than
14261 2010-08-12 Andreas Schwab <schwab@redhat.com>
14264 * locale/programs/locale.c (print_assignment): New function.
14265 (show_locale_vars): Use it.
14267 2010-08-11 Ulrich Drepper <drepper@redhat.com>
14269 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14271 (struct statfs64): Likewise.
14272 (_STATFS_F_FLAGS): Define.
14273 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14274 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14275 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14276 (ST_VALID): Define locally.
14277 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14278 __statvfs_getflags, use the provided value.
14279 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14280 __ASSUME_STATFS_F_FLAGS.
14282 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14284 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14285 Add sys/fanotify.h.
14286 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14287 fanotify_mask for GLIBC_2.13.
14288 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14289 fanotify_init and fanotify_mark.
14290 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14291 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14293 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14295 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14296 prlimit64 for GLIBC_2.13.
14297 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14299 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14302 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14303 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14304 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14305 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14307 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14310 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14311 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14313 * nss/Makefile: Add rules to build and run tst-nss-test1.
14314 * shlib-versions: Add entry for libnss_test1.
14315 * nss/nss_test1.c: New file.
14316 * nss/tst-nss-test1.c: New file.
14318 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14319 (__nss_configure_lookup): Set appropriate entry in
14320 __nss_configure_lookup to true.
14321 * nss/nsswitch.h: Define enum with indeces of databases in
14322 databases and __nss_database_custom arrays. Declare
14323 __nss_database_custom.
14324 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14325 to avoid using nscd when custom rules are installed.
14326 * nss/getXXbyYY_r.c: Likewise.
14327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14329 * nss/nss_files/files-parse.c: Whitespace fixes.
14331 2010-08-09 Ulrich Drepper <drepper@redhat.com>
14334 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14335 * posix/fnmatch_loop.c: Likewise.
14337 2010-07-17 Andi Kleen <ak@linux.intel.com>
14339 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14340 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14341 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14342 * Versions.def [GLIBC_2.13]: Add.
14344 2010-08-06 Ulrich Drepper <drepper@redhat.com>
14346 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14347 Also fail if tpwd after pwuid call is NULL.
14349 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14351 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14352 when converting to ms.
14354 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14356 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14357 EOPNOTSUPP errors with ENOTTY.
14358 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14359 EOPNOTSUPP errors with ENOTTY.
14361 2010-07-31 Ulrich Drepper <drepper@redhat.com>
14363 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14364 Add strcasecmp_l-ssse3.
14365 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14367 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14368 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14369 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14371 2010-07-30 Ulrich Drepper <drepper@redhat.com>
14373 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14375 * string/Makefile (strop-tests): Add strcasecmp.
14376 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14377 strcasecmp_l-nonascii.
14378 (gen-as-const-headers): Add locale-defines.sym.
14379 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14380 * sysdeps/x86_64/strcasecmp.S: New file.
14381 * sysdeps/x86_64/strcasecmp_l.S: New file.
14382 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14383 * sysdeps/x86_64/locale-defines.sym: New file.
14384 * string/test-strcasecmp.c: New file.
14386 * string/test-strcasestr.c: Test both ends of the range of characters.
14387 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14389 2010-07-29 Roland McGrath <roland@redhat.com>
14392 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14394 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14396 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14399 2010-07-27 Andreas Schwab <schwab@redhat.com>
14401 * manual/memory.texi (Malloc Tunable Parameters): Document
14404 2010-07-26 Roland McGrath <roland@redhat.com>
14407 * configure.in (-fgnu89-inline check): Set and substitute
14408 gnu89_inline, not libc_cv_gnu89_inline.
14409 * configure: Regenerated.
14410 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14412 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14414 * string/test-strnlen.c: New file.
14415 * string/Makefile (strop-tests): Add strnlen.
14416 * string/tester.c (test_strnlen): Add a few more test cases.
14417 * string/tst-strlen.c: Better error reporting.
14419 * sysdeps/x86_64/strnlen.S: New file.
14421 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14423 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14424 lower-latency instructions.
14426 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14428 * string/test-strcasestr.c: New file.
14429 * string/test-strstr.c: New file.
14430 * string/Makefile (strop-tests): Add strstr and strcasestr.
14431 * string/str-two-way.h: Don't undefine MAX.
14432 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14434 2010-07-21 Andreas Schwab <schwab@redhat.com>
14436 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14437 strcasestr-nonascii.
14438 (CFLAGS-strcasestr-nonascii.c): Define.
14439 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14440 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14441 Remove unused attribute.
14443 2010-07-20 Roland McGrath <roland@redhat.com>
14445 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14446 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14447 ld.so.cache was broken. With it, there is no way to disable dsocaps
14448 like LD_HWCAP_MASK can disable hwcaps.
14450 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14452 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14454 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14456 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14457 call in strcasestr.
14458 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14459 __strcasestr_sse42_nonascii.
14460 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14461 strcasestr-nonascii.c.
14462 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14464 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14466 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14467 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14468 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14469 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14471 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14473 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14476 2010-07-06 Andreas Schwab <schwab@redhat.com>
14479 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14482 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14484 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14485 _PC_PIPE_BUF using F_GETPIPE_SZ.
14487 2010-07-05 Roland McGrath <roland@redhat.com>
14489 * manual/arith.texi (Rounding Functions): Fix rint description
14490 implicit in round description.
14492 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14494 * elf/Makefile: Fix linking for a few tests to make recent linker
14497 2010-06-30 Andreas Schwab <schwab@redhat.com>
14499 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14500 $(common-objpfx)libc_nonshared.a.
14502 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14504 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14505 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14506 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14507 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14508 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14509 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14510 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14511 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14526 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14527 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14528 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14529 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14530 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14531 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14532 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14533 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14534 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14535 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14536 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14537 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14553 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14555 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14556 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14557 * string/memmove.c (memmove): Renamed to ...
14558 (MEMMOVE): ...this. Default to memmove.
14559 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14560 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14563 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14564 mempcpy-ssse3-back memmove-ssse3-back.
14565 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14566 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14567 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14568 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14569 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14570 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14571 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14572 * sysdeps/x86_64/multiarch/memmove.c: New file.
14573 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14574 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14575 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14576 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14577 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14578 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14580 (index_Fast_Copy_Backward): Define.
14581 (HAS_ARCH_FEATURE): Define.
14582 (HAS_FAST_REP_STRING): Define.
14583 (HAS_FAST_COPY_BACKWARD): Define.
14585 2010-06-21 Andreas Schwab <schwab@redhat.com>
14587 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14588 Restore proper fallback handling.
14590 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14593 * posix/group_member.c (__group_member): Correct checking loop.
14595 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14596 OOM in getpwuid_r correctly. Return error number when the caller
14597 should return, otherwise -1.
14598 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14599 call returning > 0 value.
14600 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14602 2010-06-07 Andreas Schwab <schwab@redhat.com>
14604 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14605 libc_nonshared.a from targets in modules-names.
14607 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14609 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14612 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14614 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14615 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14616 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14617 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14619 2010-06-02 Andreas Schwab <schwab@redhat.com>
14621 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14623 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14625 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14627 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14628 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14629 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14631 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14632 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14634 2010-06-14 Roland McGrath <roland@redhat.com>
14636 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14638 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14640 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14641 __REDIRECT followed by __THROW.
14642 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14643 * posix/getopt.h (getopt): Likewise.
14645 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14647 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14648 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14649 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14651 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14652 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14654 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14656 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14658 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14662 Properly check family and model.
14664 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14666 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14668 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14670 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14672 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14674 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14677 2010-05-19 Andreas Schwab <schwab@redhat.com>
14679 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14682 2010-05-21 Andreas Schwab <schwab@redhat.com>
14684 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14685 and internal_recvmmsg.
14686 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14687 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14688 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14689 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14691 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14692 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14693 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14695 2010-05-20 Andreas Schwab <schwab@redhat.com>
14697 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14699 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
14701 POWER7 optimizations.
14702 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14703 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14705 2010-05-19 Ulrich Drepper <drepper@redhat.com>
14707 * version.h: Update for 2.13 development version.
14709 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
14711 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14712 exceptions. Return 0.
14714 2010-05-07 Roland McGrath <roland@redhat.com>
14716 * elf/ldconfig.c (main): Add a const.
14718 2010-05-06 Ulrich Drepper <drepper@redhat.com>
14720 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14721 (args_options): Add no-idn option.
14722 (ahosts_keys_int): Add idn_flags to ai_flags.
14723 (parse_option): Handle 'i' option to clear idn_flags.
14725 * malloc/malloc.c (_int_free): Possible race in the most recently
14726 added check. Only act on the data if no current modification
14729 See ChangeLog.17 for earlier changes.